Skip to content

feat: make /quiet a statement on attended supervision hosts - #5779

Closed
kunchenguid wants to merge 14 commits into
mainfrom
fm/fm-3c4-quiet-r1
Closed

kunchenguid wants to merge 14 commits into
mainfrom
fm/fm-3c4-quiet-r1

Conversation

@kunchenguid

@kunchenguid kunchenguid commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Intent

yes do A.

Context: that chose option A for PR #5631 (AFK revamp rung 3c): land the approved repeated-escalation fix first, then re-cut 5631 from the branch's final validated tree into four PRs in dependency order - 3c-1 broken-session latch; 3c-2 dialog mirror for Claude and Cursor; 3c-3 attended posture core with the two drain fixes and the reconciled prompt rule, keeping every Pi home unchanged; 3c-4 the /quiet statement - and move Codex attended support to rung 3d. Each PR ships through no-mistakes and the captain merges. 3c-1 (#5701), 3c-2 (#5707), and 3c-3 (#5748) have landed, and PR 5631 is closed; this is 3c-4, the last piece.

The AFK revamp's standing words also apply: "2 should be done by opus crewmates" and "this is a major architectural revamp so i want it to do very careful live validation including regression in isolated live environments with some real complex sessions before calling it done. it's ok to use my real llm tokens here".

Substance of the referenced assessment for 3c-4: making /quiet a statement on the supervision host - bin/fm-afk-launch.sh's quiet-check and quiet refusals, the quiet and afk skill text, and the tests in tests/fm-afk-launch.test.sh - roughly 80 production, 165 test, and 15 doc lines, behind the config/supervision-host opt-in. The assessment noted /quiet readiness has many states (engine, tools, verified writer, identifiable main session, valid mirror, latch pause) - each with a reason, heavy for what the plan called a statement, but acceptable.

What Changed

  • Add quiet-check so /quiet enters nothing when an opted-in attended host is ready, reports a paused session, and refuses entry while an away record is live.
  • Fall back to the quiet daemon when attended supervision is unavailable; record quiet mode so later daemon starts preserve it, and validate the dialog mirror without advancing its cursor.
  • Update the quiet and AFK guidance, host documentation, and regression tests for these paths.

Risk Assessment

⚠️ Medium: The attended-host and daemon-fallback transitions are stateful and warrant the dedicated test phase, but this review found no substantiated blocking defect.

Testing

The targeted launcher, fallback, return, and rendered-instruction tests passed. A real Claude primary could not start because the required worktree-local tmux socket path was too long, so none of the primary-driven flows has live evidence. No reviewer-visible artifact was produced; this is a CLI change.

  • Live validation: ⚠️ inconclusive - 0 of 4 scenarios driven live against the product
Scenario Result Live Evidence
An opted-in Claude captain invokes /quiet with a ready attended host; no daemon or away record is entered ⏸️ untested no The required private tmux socket was 113 bytes and tmux returned “File name too long.” A shorter worktree path or explicit permission for a shorter disposable lab path would permit a live primary.
An opted-in Claude captain invokes /quiet during a live away record, including over a fallback quiet flag; return clears before quiet proceeds ⏸️ untested no The required private tmux socket exceeded the Unix socket path limit. A shorter worktree path or explicit permission for a shorter disposable lab path would permit a live primary.
An opted-in Claude captain with a malformed mirror enters fallback quiet mode; start-native honors the recorded quiet mode without an explicit mode variable ⏸️ untested no The required private tmux socket exceeded the Unix socket path limit. A shorter worktree path or explicit permission for a shorter disposable lab path would permit a live primary.
A home without the supervision-host opt-in retains its daemon-backed quiet behavior ⏸️ untested no The required private tmux socket exceeded the Unix socket path limit. A shorter worktree path or explicit permission for a shorter disposable lab path would permit a live primary.
  • Outcome: ⚠️ 1 warning across 1 run (1m54s)

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

⚠️ **Review** - medium risk

✅ No issues found.

⚠️ **Test** - 1 warning
  • ⚠️ live validation verdict: inconclusive (0 of 4 scenarios were driven live against the product); untested: An opted-in Claude captain invokes /quiet with a ready attended host; no daemon or away record is entered, An opted-in Claude captain invokes /quiet during a live away record, including over a fallback quiet flag; return clears before quiet proceeds, An opted-in Claude captain with a malformed mirror enters fallback quiet mode; start-native honors the recorded quiet mode without an explicit mode variable, A home without the supervision-host opt-in retains its daemon-backed quiet behavior
  • Live validation: ⚠️ inconclusive - 0 of 4 scenarios driven live against the product
Scenario Result Live Evidence
An opted-in Claude captain invokes /quiet with a ready attended host; no daemon or away record is entered ⏸️ untested no The required private tmux socket was 113 bytes and tmux returned “File name too long.” A shorter worktree path or explicit permission for a shorter disposable lab path would permit a live primary.
An opted-in Claude captain invokes /quiet during a live away record, including over a fallback quiet flag; return clears before quiet proceeds ⏸️ untested no The required private tmux socket exceeded the Unix socket path limit. A shorter worktree path or explicit permission for a shorter disposable lab path would permit a live primary.
An opted-in Claude captain with a malformed mirror enters fallback quiet mode; start-native honors the recorded quiet mode without an explicit mode variable ⏸️ untested no The required private tmux socket exceeded the Unix socket path limit. A shorter worktree path or explicit permission for a shorter disposable lab path would permit a live primary.
A home without the supervision-host opt-in retains its daemon-backed quiet behavior ⏸️ untested no The required private tmux socket exceeded the Unix socket path limit. A shorter worktree path or explicit permission for a shorter disposable lab path would permit a live primary.
  • bash tests/fm-afk-quiet-fallback.test.sh
  • bash tests/fm-afk-launch.test.sh
  • bash tests/fm-supervision-instructions.test.sh
  • Attempted to launch a real Claude primary on a disposable lab home's private tmux socket; tmux refused the 113-byte socket path.
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@kunchenguid

Copy link
Copy Markdown
Owner Author

Superseded by #5928, which re-landed the /quiet statement from a clean branch (with its live second-mate scenarios validated inside no-mistakes) and has now merged. Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant