Repository navigation
Conversation
moon-jam
force-pushed
the
feat/editor-options
branch
from
October 7, 2026 05:08
f781aaf to
9c33f63
Compare
jserv
reviewed
Oct 7, 2026
moon-jam
force-pushed
the
feat/editor-options
branch
from
October 7, 2026 05:24
9c33f63 to
663752a
Compare
The lobby offered one fixed editor configuration. Add independent preferences and capture them when an interview starts, so later choices cannot change that interview's options. Existing links keep all editor features enabled.
Interview links carry editor preferences, but the editor previously ignored them. Enable or disable highlighting, automatic indentation, bracket auto-close and monospace font according to those settings. Keep native undo, manual indentation and line numbers available. Load parser assets only when automatic indentation or syntax highlighting is enabled.
Disabling execution must also change how the interviewer verifies code. Accept hand traces of written code and ignore execution events, while keeping the existing hiring bar. Preserve the choice across language switches and reconnects, and disclose it in saved and exported reports. Version the live and report prompt changes under contract bundle 31.
moon-jam
force-pushed
the
feat/editor-options
branch
from
October 7, 2026 11:53
663752a to
48b11b4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add five independent editor options below Difficulty: syntax highlighting, code execution, automatic indentation, bracket auto-close, and monospace font. All are enabled by default. Choices survive lobby reloads and are captured when an interview starts; existing links retain the default behavior.
The editor applies these settings while preserving native undo/redo, manual indentation, and line numbers. Parser assets load only when automatic indentation or bracket highlighting needs them.
When code execution is disabled, Run and its keyboard shortcuts are disabled, and all five languages remain available. The interviewer asks candidates to trace their written code through ordinary and boundary cases instead of requesting a run. Execution events cannot earn Test credit, the hiring bar remains unchanged, and saved and exported reports disclose the restriction. The live and report prompt changes are recorded under contract bundle 31.
Closes #73
Closes #85
Summary by cubic
Adds five independent lobby editor options below Difficulty — syntax highlighting, code execution, automatic indentation, bracket auto-close, and monospace font — all enabled by default. Choices survive lobby reloads, are captured when an interview starts, and existing links keep every feature on.
Editor options
Disabled code execution
Written for commit 48b11b4. Summary will update on new commits.