lock(tui): COR-222/223/224 consent, @file chip, undo sheet - #70
Conversation
1 similar comment
Add designer and runtime lock_v2 scenes for local-tools consent, composer @file chip, and /undo /redo /rewind sheet at 40x12 and 120x40. Leave permission-prompt boards unchanged. Co-authored-by: Mathis <echobt@users.noreply.github.com>
Add MockTerminal captures at 40x12 and 120x40, and keep the @file chip path short enough to stay visible on the narrow composer. Co-authored-by: Mathis <echobt@users.noreply.github.com>
Use Enter:confirm Esc:cancel for local-tools consent and the undo sheet instead of Typed/Idle composer strips. Shorten 40x12 consent options and body, and paint the about-conversation behind the wide undo sheet. Co-authored-by: Mathis <echobt@users.noreply.github.com>
Re-render consent, @file chip, and undo sheet at both sizes after confirm/cancel footers, narrow consent copy, and undo backdrop. Co-authored-by: Mathis <echobt@users.noreply.github.com>
873e287 to
29cd901
Compare
1 similar comment
Greptile SummaryThis PR expands visual-lock coverage for local-tools consent, attached Confidence Score: 5/5Safe to merge; there are no outstanding blocking concerns. No new findings were identified. The previously reported selective-capture concern is fixed because IDs are validated before output is written. The file-chip accent test now checks the accented Reviews (6): Last reviewed commit: "fix(tui): exclude trailing-slash @mentio..." | Re-trigger Greptile |
Reject unknown, repeated, and empty --only scene lists before writing frames. Assert composer file-chip paints ACCENT on @, not just text. Co-authored-by: Mathis <echobt@users.noreply.github.com>
File-chip hints now require a whitespace-delimited @path, so emails and a bare trailing @ keep Enter/newline/mode instead of @:files. Co-authored-by: Mathis <echobt@users.noreply.github.com>
Emails already skip FileChip because @ is not a token start. Also treat @src/ as still typing so unfinished mentions keep typed hints. Co-authored-by: Mathis <echobt@users.noreply.github.com>
Keep COR-23 computer scenes and #70 consent/@file/undo boards. Combined SPEC §7 set is 89 wide / 43 narrow (132 PNGs). Co-authored-by: Mathis <echobt@users.noreply.github.com>
#69) * docs(tui): add computer fail-closed lock_v2 scenes Add designer and runtime lock boards for This PC/SSH fail-closed messaging and the Computer · Cloud shipped default at 40×12 and 120×40. Permission-prompt, cloud-handoff, and error-unavailable boards are unchanged. Co-authored-by: Mathis <echobt@users.noreply.github.com> * docs(tui): add runtime computer lock_v2 pngs Rasterise the new fail-closed and Cloud-default scenes from MockTerminal at 40×12 and 120×40, and quiet non-test imports in the computer lock module. Co-authored-by: Mathis <echobt@users.noreply.github.com> * docs(tui): lock computer runtime inventory at 84/38 Re-render computer lock_v2 runtime frames, drop the stray narrow jobs.png so 40x12 is exactly 38 unique hashes, and wire scene_state with explicit computer arms. Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(tui): satisfy clippy expect_fun_call on lock_v2 tests Co-authored-by: Mathis <echobt@users.noreply.github.com> * docs(tui): correct lock_v2 inventory and computer scene kinds Co-authored-by: Mathis <echobt@users.noreply.github.com> * style(tui): rustfmt footer hold after rebase Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(ci): isolate CodeBuild PR concurrency by event pull_request and pull_request_target shared one group on github.ref, so one cancelled the other and the cancelled job rendered as matrix.context. Co-authored-by: Mathis <echobt@users.noreply.github.com> * docs(tui): sync lock_v2 inventory after #70 rebase Keep COR-23 computer scenes and #70 consent/@file/undo boards. Combined SPEC §7 set is 89 wide / 43 narrow (132 PNGs). Co-authored-by: Mathis <echobt@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mathis <echobt@users.noreply.github.com>
* feat(tui): residual lock chrome for shortcuts, goal, composer Interactive /shortcuts sheet, /goal status polish, composer hover and Alt+Enter, denser diff/markdown locks, and distinct thinking/stop/todos question states. COR-7/9/10/14/15 only — not offline or 429 chrome. Co-authored-by: Mathis <echobt@users.noreply.github.com> * chore(tui): recapture lock v2 runtime pngs Regenerate 36×40×12 and 82×120×40 unique hashes via scripts/render-tui-lock-v2.sh for COR-7/9/10/14/15 chrome. Co-authored-by: Mathis <echobt@users.noreply.github.com> * feat(tui): lock /model effort radios and custom labels Align /model list and High/Medium/Low effort rows with lock v2 copy, gutter, and footers. Enter chooses then applies; custom providers stay Cortex-safe. COR-13 residual only. Co-authored-by: Mathis <echobt@users.noreply.github.com> * chore(tui): recapture /model effort lock pngs Runtime 40×12 and 120×40 hashes after COR-13 /model residual. Co-authored-by: Mathis <echobt@users.noreply.github.com> * feat(tui): lock farm modes, mcp, hover, resume, sandbox Document Esc/Ctrl+C/Shift+Tab/Ctrl+x/F2, polish Plan/Ask/Agent and /mcp/resume/clear/sandbox-deny chrome. Permission-prompt radios unchanged. Co-authored-by: Mathis <echobt@users.noreply.github.com> * chore(tui): recapture farm lock pngs Runtime 40x12 and 120x40 proofs for mode, mcp, resume, clear, sandbox. Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(tui): split lock modules and keep custom models distinct Extract MCP panel and session banner helpers so lock files stay under the 1000-line source policy. Split keyboard/mouse handlers to cap complexity. Third-party /model rows keep unique Custom labels without vendor names. Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(tui): split key handlers after rebase onto main Keep interactive, overlay, and selection dispatch under the source policy complexity cap now that #67 is on main. Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(tui): align inline picker clicks with chrome MCP, permissions, clear-confirm, and resume paint banner/search rows above options. Hit-testing now uses that same origin so mouse selects the visible row. Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(tui): resume picker ux contract and keyboard coverage /sessions opens the inline resume list, not a modal stack. Cover Ctrl+x, Shift+Tab, palette arrows, and Esc cancel in verify_mcp. Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(tui): match picker clicks when banners crowd the stack On short terminals the update and opt-in banners collapse the transcript, so the picker is no longer composer_y minus its height. Click zones now use the same stack origin as paint. Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(tui): rebase lock chrome onto main picker and overlay fixes Keep lock PNG blobs from #67/#69/#70. Wire TodoWrite into the live checklist, clamp compact shortcut hits, and drop stale stopped copy. Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(tui): drop source-policy complexity after main rebase Split picker-row painting and custom interactive footers so the rebase onto #69/#70 stays at the main complexity baseline. Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(tui): apply TodoWrite checklist without dropping the queue Apply live Working n/m from spawn args and completion output so a full tool-event channel cannot hide the checklist. Co-authored-by: Mathis <echobt@users.noreply.github.com> * fix(tui): import computer lock scenes after #71 rebase Co-authored-by: Mathis <echobt@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mathis <echobt@users.noreply.github.com>
Summary
Designer lock for COR-222/223/224 on draft PR #70, rebased onto
origin/mainafter #67 (offline/rate-limit).HOLD still in this revision:
Enter:confirm | Esc:cancel(wide also↑↓:select), not Typed/Idle composer strips and notFooterSet::Approval(e:edit command).Yes — run tools here,Always allow project,This PC · current directory · Cloud is default).consent-local-tools,composer-file-chip, andundo-sheetat both sizes.SPEC counts after rebase: 87 wide / 41 narrow (128 PNGs).
permission-prompt*is untouched. No audit markdown. Linear labels unchanged. Stays draft for Designer cli re-QA.Base:
623ad25(origin/main, includes #67).Test plan
origin/mainwithout dropping footer / narrow-copy fixescargo test -p cortex-tui --lib lock_v2./scripts/clippy.sh(CI)cargo audit(CI)Attestation (required)
I attest that:
.envfiles are included.Risk
Visual-lock / TUI chrome only. No auth, exec policy, sandbox, or API-contract impact.