Skip to content

docs: tighten captain-facing communication - #16

Merged
kunchenguid merged 3 commits into
mainfrom
fm/comms-plain-f3
Jun 14, 2026
Merged

kunchenguid merged 3 commits into
mainfrom
fm/comms-plain-f3

Conversation

@kunchenguid

Copy link
Copy Markdown
Owner

Intent

Tighten firstmate captain-facing communication in AGENTS.md only. Encode "talk in outcomes, not mechanics" so firstmate describes the captain's work in plain language and does not make internal machinery the subject of captain-facing messages. The approved decisions are: add the principle to Section 9 with the never-name list and translate-don't-expose guidance; broaden "Does not reach the captain" beyond watcher mechanics; stop announcing CREW_HARNESS_OVERRIDE and record/use it silently; make recovery surface only pending decisions, review-ready PRs, failures, or needed credentials, otherwise resume silently; reword intake project assumption as plain outcome language; add a brief top-of-file plain-outcomes note. This is a documentation-only change to AGENTS.md, preserving operational behavior and relying on CLAUDE.md being a symlink to AGENTS.md.

What Changed

  • Updates AGENTS.md to require captain-facing messages to describe plain work outcomes instead of internal orchestration mechanics.
  • Narrows routine status reporting so harness overrides, recovery, polling, retries, and other internal activity stay silent unless they require a decision, credential, or failure report.
  • Syncs README.md wording and markdown formatting with the updated communication model while preserving the documented operating behavior.

Risk Assessment

✅ Low: The branch only updates AGENTS.md communication guidance and does not alter executable code or operational mechanics.

Testing

I verified the diff is limited to AGENTS.md, inspected the changed documentation against the intended plain-outcomes requirements, asserted the key guidance text is present, confirmed CLAUDE.md still symlinks to AGENTS.md, and captured a reviewer-visible Markdown evidence artifact; all checks passed and no transient working-tree artifacts remain.

Evidence: Plain-outcomes documentation evidence

Shows only AGENTS.md changed, key AGENTS.md communication guidance lines, and CLAUDE.md -> AGENTS.md symlink target.

# Communication docs evidence

Changed files between base and target:
`` `
AGENTS.md
`` `

Key AGENTS.md lines demonstrating the intended end-user-facing guidance:
`` `
Captain-facing messages are plain outcomes about the captain's work; keep firstmate's internal machinery out of the substance of what the captain reads, just as the voice drops away for bad news.
- `CREW_HARNESS_OVERRIDE: <name>` - record and use the override silently; surface a harness fact only if it actually blocks work or the captain asks.
6. Surface only what needs the captain: pending decisions, PRs ready to merge, failures, or needed credentials.
   If there is nothing that needs them, say nothing and resume.
4. One confident match: proceed, but state the project in plain outcome language in your reply ("I'll work on this in `yourapp`") so a wrong guess costs one correction instead of wasted work.
**Talk in outcomes, not mechanics.**
Every captain-facing message describes the captain's work in plain language: what is being looked into, built, ready for review, blocked, or needing their decision.
Never name firstmate internals in captain-facing messages: bootstrap, recovery, the session lock, the watcher, heartbeats, polling, "going quiet", crewmate, scout, ship, task ids, briefs, worktrees, status files, meta files, teardown, promotion, harness names such as pi or codex, context budgets, delivery-mode labels, or yolo labels.
Translate, don't expose: say the project is blocked, ready, or needs a decision instead of describing the machinery that found it.

Reaches the captain immediately:

- Work ready for review, with the full PR URL.
- Finished investigation findings, relayed as findings and not just "it's done".
- Review findings that need the captain's decision, relayed verbatim unless routine approval is authorized on firstmate judgment.
- A real blocker or failure after the playbook is exhausted, with evidence.
- Anything destructive, irreversible, or security-sensitive.
- A needed credential or login.

Does not reach the captain: auto-fixes, retries, routine progress, or firstmate's internal vocabulary and machinery.
Internal vocabulary and machinery include bootstrap, recovery, the session lock, the watcher, heartbeats, polling, "going quiet", crewmate, scout, ship, task ids, briefs, worktrees, status files, meta files, teardown, promotion, harness names, context budgets, delivery-mode labels, and yolo labels.
`` `

CLAUDE.md symlink:
`` `
AGENTS.md
`` `

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

✅ **Test** - passed

✅ No issues found.

  • git diff --stat 84e7d321709b16e1abf887253cbd7f8412b94659..15ca5c24c319cbce74abe94b652a4d49433e0ac5
  • git diff --name-only 84e7d321709b16e1abf887253cbd7f8412b94659..15ca5c24c319cbce74abe94b652a4d49433e0ac5
  • git diff --unified=3 84e7d321709b16e1abf887253cbd7f8412b94659..15ca5c24c319cbce74abe94b652a4d49433e0ac5 -- AGENTS.md
  • test -L CLAUDE.md && test "$(readlink CLAUDE.md)" = "AGENTS.md"
  • git diff --quiet 84e7d321709b16e1abf887253cbd7f8412b94659..15ca5c24c319cbce74abe94b652a4d49433e0ac5 -- . ':(exclude)AGENTS.md'
  • perl -0ne &#39;BEGIN { $ok = 1 } $ok &amp;&amp;= /Captain-facing messages are plain outcomes about the captain.s work/; $ok &amp;&amp;= /CREW_HARNESS_OVERRIDE: &lt;name&gt; - record and use the override silently/; $ok &&= /Surface only what needs the captain: pending decisions, PRs ready to merge, failures, or needed credentials/; $ok &&= /state the project in plain outcome language/; $ok &&= /Talk in outcomes, not mechanics/; $ok &&= /Never name firstmate internals in captain-facing messages/; $ok &&= /Does not reach the captain: auto-fixes, retries, routine progress, or firstmate.s internal vocabulary and machinery/; END { exit($ok ? 0 : 1) }' AGENTS.md`
  • Created reviewer evidence at /var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KV3W8MY3TN5K0KC9C93TDE5H/comms-plain-evidence.md
  • git status --short
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@kunchenguid
kunchenguid merged commit 1d1db25 into main Jun 14, 2026
3 checks passed
@kunchenguid
kunchenguid deleted the fm/comms-plain-f3 branch June 14, 2026 20:21
vipentti pushed a commit to vipentti/firstmate that referenced this pull request Aug 5, 2026
* Tighten captain-facing communication

* no-mistakes(document): Sync README communication docs

* no-mistakes(lint): Clean markdown lint fixes
@kboyd12

kboyd12 commented Aug 6, 2026

Copy link
Copy Markdown

Retired on the captain's decision, 2026-08-06, following the board triage of that date.

This is one of four prior dashboard framings (#16, #21, #26, #19) that the approved 2026-08-05 design work supersedes. #350 names them as "prior framings of this page, to fold in or close", and the captain has chosen to close.

Specifically: #350 argues against keying a dashboard off role at all, since capabilities resolve as a union across held roles and role-keying would reintroduce what #203 removed — which contradicts #16's premise directly. The Stitch-template framing in #21 is superseded by the three 2026-08-05 design studies. #26 and #19 are absorbed by that cluster plus #217 and the Project Detail epics #177–#181.

Nothing here is lost: a closed issue stays readable, and the live successors are #350, #217, #328 and #177–#181. Reopen if a requirement here turns out to have no successor.

@pragyancf

Copy link
Copy Markdown

What this does

WS-2/T1 HarnessPort adapter interface spec v1: the seam the daemon codes against, distilled from both spike reports. No engine code — spec doc plus TypeScript types plus conformance tests. Settles the interface so WS-2/T2 can build without reading the spikes. Verdicts incorporated, not re-litigated: raw Pi behind this port, Flue as documented fallback.

Review path (in this order)

  1. docs/harness-port.md — start here. Pin policy (0.99.1 exact, why ranges are rejected), lifecycle, sessions, agent_settled-as-only-done-signal, approval hooks, stats, and §9–§10 (Flue fallback, falsified TAD assumptions). Your opinion matters most on strictness: exact pin, 60s first-boot budget, no Pi-isms above the port.
  2. shared/src/harness-port/lifecycle.ts + sessions.ts — boot/bind semantics, the three footguns the spike found (bindExtensions mandatory, agentDir required, {dir, source} object shape) enforced in types.
  3. shared/src/harness-port/events.ts, approvals.ts, stats.ts, version.ts — event vocabulary, approval-gate surface, token/cost accounting, spec version gate.
  4. shared/test/harness-port.test.ts — conformance: pin check, footgun guards, settled-signal rule.

How to verify

  • npm run ci green (required check on this PR).
  • Skim §10 against the TAD: every corrected flag should trace to a spike finding, not an assertion.

Decisions to opine on

  • Exact version pin vs caret range: is the re-spike cost on every Pi minor acceptable to you?
  • PiRpcEngine default with PiSdkEngine for supervisor co-location only — right split?
  • Flue fallback documented but unbuilt: keep as prose, or do you want even a thin probe?

This was referenced Oct 1, 2026
fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 2, 2026
* feat(porting): add second-machine guide and portable home sync

Ship an explicit captain-triggered export/import/push/pull tool and guide
so a fresh machine can load captain-private material from a private
transport without porting secrets, state/, or projects/.

Co-authored-by: Cursor <cursoragent@cursor.com>

* no-mistakes(review): fix token-scan boundary, drop dead overrides and no-op block

* no-mistakes(review): surface push divergence and announce leftover staging dirs

* no-mistakes(test): skip herdr e2e when typed-text detection unavailable

* no-mistakes(review): fix push to commit onto remote history; scope name local

* no-mistakes(test): fix locale-unsafe composer glyph handling and skip env-gated tests

* no-mistakes(test): wait for wedge timer in paused-recheck triage test

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 2, 2026
…ment (kunchenguid#16)

* fix(bin): opt Starship's Deepgram listen and speak requests out of model improvement

* no-mistakes(ci): The failing check ("Behavior portable serial 8") came from a flaky test, not from this PR's Deepgram change. The one failure was `tests/fm-remote-job.test.sh`: "not ok - the replacement adopted an unrelated persisted pid". That test covers the remote job worker, which this PR does not touch, but the rules say flaky tests must be made deterministic, so I fixed it. Rule the test broke: the "unclean exit" fixture's fake stale state (worker.pid, worker.lock/pid, a backdated worker.ready) must not be changed by any running worker process while the test runs `ensure_worker` against it. Cause: the fixture SIGKILLed only the serving child. On the Linux path its restart supervisor stays alive. The supervisor immediately runs `worker_supervisor_cleanup_dead_child` (removing the lock, pid, ready and identity files) and restarts a child after a backoff. All of that races the test's writes. I reproduced it: a 0.3s pause after the kill made the test fail every time ("an unclean exit did not retain the worker ownership lock"). The CI failure is another way the same race plays out. Fix (test only, `tests/fm-remote-job.test.sh` around line 463): SIGKILL the whole worker process group (supervisor, child and heartbeat together, found with `fm_remote_job_process_pgid`) and wait until the group is gone before writing the stale state. The crash is still unclean, so the lock is left behind, but nothing is left running to touch the fixture. The only other place that kills just the child (around line 675) is meant to test the supervisor restart and writes no stale state, so it stays as is. Verification: with 1.5s pauses added before and after the fixture writes, the fixed test passes in full, where a 0.3s pause broke it before. The unmodified fixed test passed in full locally, including "stale ownership is reclaimed without signaling a reused pid". `bash -n` passes, and shellcheck shows only the existing SC1091 info notes. Separate issue: one later check in the same file ("an idle worker kept polling with sleep") failed in some runs on this Mac, both before my change (1 of 3 runs) and after it (1 of 2 plain runs). It counts sleep calls over 4 seconds and is sensitive to machine load. Main's CI has passed on every recent commit and this check did not cause the reported failure, so I left it alone. The change is left uncommitted for the outer executor
ghazni101 pushed a commit to ghazni101/firstmate-dsh that referenced this pull request Nov 19, 2026
…able coordinator crew' (kunchenguid#16) from fm/per-session-crews into main
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.

3 participants