Repository navigation
docs(harness): correct Grok exit guidance - #742
Merged
Merged
Conversation
kirubeltadesse
added a commit
to kirubeltadesse/firstmate
that referenced
this pull request
Jul 20, 2026
Intent
Correct the stale empirically verified Grok exit-command fact in the shared harness-adapters skill. Re-verify the installed Grok version once in an isolated scratch tmux lab, confirm that /exit typed into the composer cleanly terminates the TUI process, and separately confirm that double Ctrl+Q remains a working fallback. Update only that Grok exit fact and its dated version-evidence stamp, preserve that Ctrl+D is the quit key in VS Code family terminals and Ctrl+C is interrupt rather than exit, use plain dashes and one sentence per line, and keep the change tiny and focused.
What Changed
/exitas the clean TUI exit path that prints the session resume command.Ctrl+Qas a fallback, clarifyCtrl+DandCtrl+Cbehavior, and refresh the exit-path evidence stamp for Grok 0.2.103.Risk Assessment
✅ Low: The tiny, single-file documentation change satisfies the specified Grok exit-fact constraints without affecting executable behavior or dependent code.
Testing
The supplied full-suite baseline had already passed; focused live tmux checks verified both Grok exit paths on 0.2.103, the evidence transcript captures the user-visible resume output and clean exits, and the worktree remained clean.
Evidence: Live Grok exit-path verification transcript
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
🔧 **Test** - 1 issue found → auto-fixed ✅
.agents/skills/harness-adapters/SKILL.md:243- The exit fact says double Ctrl+Q "printsResume this session with...", but live Grok 0.2.103 showed that text only for/exit. Ctrl+Q showed its confirmation, then exited with code 0 and no resume text. Move the resume-output claim to/exitor remove it from Ctrl+Q.command -v tmux >/dev/null || { echo "tmux is required for e2e tests" >&2; exit 1; }; tmux -V; rc=0; for t in tests/*.test.sh; do echo "== $t =="; bash "$t" || rc=1; done; exit "$rc"Baseline supplied as passed:command -v tmux >/dev/null || { echo "tmux is required for e2e tests" >&2; exit 1; }; tmux -V; rc=0; for t in tests/*.test.sh; do echo "== $t =="; bash "$t" || rc=1; done; exit "$rc"grok --version- verified installedgrok 0.2.103 (89c3d36fb6f1) [stable]bash tests/fm-grok-harness.test.shManual isolated tmux lab: launchedgrok --always-approve, typed/exitinto the composer, pressed Enter, and captured the rendered TUI plus exit codeManual isolated tmux lab: launched a fresh Grok TUI, sent Ctrl+Q twice 250ms apart, captured its confirmation plus exit codegit diff --check b2bf95fa9e1eac5ff23eb0ea7f6c5241bfdf82eb..dbc35a1121dfa46d0627967dd172bee2bd6444adand worktree-status check🔧 Fix: Correct Grok exit resume attribution
✅ Re-checked - no issues remain.
command -v tmux >/dev/null || { echo "tmux is required for e2e tests" >&2; exit 1; }; tmux -V; rc=0; for t in tests/*.test.sh; do echo "== $t =="; bash "$t" || rc=1; done; exit "$rc"Provided baseline, already successful:command -v tmux >/dev/null || { echo "tmux is required for e2e tests" >&2; exit 1; }; tmux -V; rc=0; for t in tests/*.test.sh; do echo "== $t =="; bash "$t" || rc=1; done; exit "$rc"git diff --check b2bf95fa9e1eac5ff23eb0ea7f6c5241bfdf82eb c349c37a1bd8a971e65d0911387fa91c62162942Live isolated tmux lab with Grok 0.2.103: selected New worktree, typed/exit, waited one second for autocomplete, and pressed Enter. The retained pane showed the resume command and exit status 0.Live isolated tmux lab with Grok 0.2.103: selected New worktree and pressed Ctrl+Q twice 200ms apart. The first press displayed the confirmation and the process exited with status 0.Focused documentation acceptance check for the changed fact: required/exit, Ctrl+Q fallback, Ctrl+D, Ctrl+C, one-sentence, plain-dash, changed-file scope, and whitespace constraints.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.