Adventure mode#2241
Draft
disconcision wants to merge 9 commits into
Draft
Conversation
Interactive tutorial system with: - Floating dialog with avatar and speech bubble UI - Script-based step sequencing (Message, AgentAction, UserGate, Checkpoint) - Gate predicates for detecting user task completion - Checkpoint/reset functionality - Keyboard shortcut Cmd/Ctrl+Shift+A to start Known issues documented in plans/adventure-mode.md: - Gate checking not yet triggered (needs calculate() integration) - Wrong keyboard hint in script (says Ctrl+P, should be Ctrl+E) - Should create fresh scratch slide instead of using current editor 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix gate checking: Add check_gate call in Page.Update.calculate() after statics are computed. Gates now auto-advance when satisfied. - Fix keyboard shortcut hint: Change Ctrl+P to Ctrl+E in tutorial text - Create fresh scratch slide: When adventure starts in Scratch mode, create a new "Adventure Tutorial" slide and switch to it. Original slide index is stored for restoration when adventure ends. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Block mode/slide navigation during active adventure - Fix mode indicator not updating (add Attr.value to select) - Remove unused original_location and adventure_slide_index fields - Extract helper functions in Page.re: - create_adventure_slide: Creates new scratch slide for adventure - apply_adventure_result: Handles checkpoint/reset side effects - Update plan with current implementation details - Add TextContains/TextEquals gate predicates - Add action preview showing upcoming agent actions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add turn indicator showing Tutor (🌰) and User (👤) with caret icons - Caret icons match editor caret shape, colored green/red by turn - Editor caret turns green during tutor's turn - Space key advances when editor is locked (tutor's turn) - Add keyboard hint "(Space)" below Next button - Exit confirmation with contextual message based on whose turn 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add confirming_exit to Core Types documentation - Update keyboard shortcuts (space to advance) - Add space-to-advance to completed items - Document known issue: UserActed never dispatched - Add Known Issues section for technical debt 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Integrated action counting into check_gate: when the gate predicate is not satisfied, increments actions_since_gate and triggers the reset suggestion when threshold is reached. Users will now see "Stuck? You can reset" after many failed attempts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The blocking overlay is now fully transparent - it still blocks clicks during tutor's turn but doesn't gray out the editor. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Member
Author
|
@copilot resolve the merge conflicts in this pull request |
Copilot stopped work on behalf of
disconcision due to an error
April 30, 2026 12:49
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.
No description provided.