Skip to content

Commit a5d3652

Browse files
authored
fix: clarify captain-facing translation contract (kunchenguid#644)
* docs: clarify captain-facing translation contract * no-mistakes(review): Restore runtime fallback mandate * no-mistakes(document): Align Bearings translation wording
1 parent c115561 commit a5d3652

11 files changed

Lines changed: 177 additions & 11 deletions

File tree

‎.agents/skills/afk/SKILL.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ batched digest rather than per-wake injections.
5050
3. **Do not separately arm `fm-watch.sh`.** The daemon manages the watcher as
5151
its child; the singleton lock no-ops a stray arm harmlessly.
5252

53-
4. **Acknowledge** to the captain that away-mode is active.
54-
The daemon will self-handle routine wakes, escalate captain-relevant events and bounded declared-external-wait rechecks, and let the captain exit by sending any real message.
53+
4. **Acknowledge** in `AGENTS.md` section 9 language: "Captain, away mode is active; I will batch routine updates and surface only decisions, failures, credentials, or review-ready work until you return."
5554

5655
## How to exit afk
5756

‎.agents/skills/bearings/SKILL.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ It never tears down a task, merges a PR, dispatches new work, or mutates any tas
3232
Never read an earlier `data/status-report-*.md` to decide what to omit, include, describe as changed, or call current.
3333
The report uses the same four complete sections as the chat (see the chat-response contract below), in the same order, each always present, and adds the detail the chat omits:
3434
- **Title** - `# Bearings - <day> <YYYY-MM-DD>` (use "Morning status" only when the captain specifically asks for a morning brief), followed by two or three sentences framing where things stand.
35-
- **Captain's Call** - every open decision relayed verbatim with its options, plus each PR ready to merge and each needed credential or login, every PR with the full `https://...` URL, never a bare `#number`.
35+
- **Captain's Call** - every open decision summarized with its options from the structured decision record, plus each PR ready to merge and each needed credential or login, every PR with the full `https://...` URL, never a bare `#number`.
3636
- **Recently Landed** - the bounded current recent-completions baseline from structured state across the main fleet and every registered secondmate home, rendered in full on every run.
3737
- **Underway** - each live direct report making progress, with its current state, and the plans / main pickup pointers worth reopening (`data/<id>/report.md` files, `.lavish/*.html` boards).
3838
- **Charted Next** - queued or gated next work, with each item's blocker or date reason.
@@ -66,7 +66,7 @@ Rules that keep the contract unambiguous:
6666
- The four buckets are mutually exclusive, so every item is forced into exactly one: needs-your-action is Captain's Call, done is Recently Landed, self-progressing is Underway, not-yet-started is Charted Next.
6767
- The strict boundary keeps action-free items OUT of Captain's Call: a working or validating task, a queued item blocked on another task or a date, landed work, a completed scout's report pointer, a declared `paused:` external wait, and a bare recorded PR with no merge-ready signal each belong to one of the other three sections, never Captain's Call.
6868
- A secondmate appears Underway only for `active_child_work`; `externally_held` belongs in Charted Next, and `unknown` belongs there as an unavailable-state gate unless its reason requires the captain's action.
69-
- The chat carries one scannable line per item, each PR as the full `https://...` URL; the verbatim decisions, plans, full gate reasons, and evidence live only in the report file, which the chat links to, so the chat stays materially shorter than that file.
69+
- The chat follows `AGENTS.md` section 9 and carries one scannable line per item, each PR as the full `https://...` URL; detailed decisions, plans, full gate reasons, and evidence live only in the report file, which the chat links to, so the chat stays materially shorter than that file.
7070

7171
## Tone and content rules
7272

‎.agents/skills/bootstrap-diagnostics/SKILL.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ metadata:
1414
Handle each printed line as below, before dispatching work that depends on it.
1515
The line formats themselves are owned by `bin/fm-bootstrap.sh`'s header; this playbook owns the response.
1616
The inline rules in `AGENTS.md` section 3 still bind: detect, then consent, then install - never install anything the captain has not approved in this session - and no work is dispatched until the tools it needs are present and GitHub auth is good.
17+
When any diagnostic needs captain attention, report the plain consequence and requested action using `AGENTS.md` section 9's captain-facing translation contract; do not name the diagnostic label unless the captain needs to paste it into a command or issue.
1718

1819
- `MISSING: <tool> (install: <command>)` - list the missing tools to the captain with a one-line purpose each plus the printed install commands, wait for consent (one approval may cover the list), then run `bin/fm-bootstrap.sh install <approved tools...>`.
1920
For `treehouse`, this also covers an installed version whose `treehouse get` lacks `--lease`; treat it as an upgrade request.

‎.agents/skills/decision-hold-lifecycle/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Bearings reads the resulting structured state and must never compensate by scrap
3131
2. Inventory only genuine unresolved choices that require the captain.
3232
3. For each choice, choose a stable key and use the script's `hold` command with a concise title, reason, and repository.
3333
4. Run the script's `complete` command with the full unresolved-key inventory for that review pass.
34-
5. Relay the choices to the captain from the structured holds surfaced by Bearings.
34+
5. Relay the choices to the captain as decisions from Bearings' Captain's Call section under `AGENTS.md` section 9; do not use the word hold in captain chat.
3535
6. After the captain decides, record dependent work with normal tasks-axi commands and block it by the hold identity.
3636
7. Put the captain's exact durable decision in a file and use the script's `resolve` command with every routed task.
3737
8. Confirm Bearings no longer shows the closed hold and that routed work remains in structured backlog state.

‎.agents/skills/firstmate-codexapp/SKILL.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ For Firstmate reconciliation, prefer concrete evidence:
9191

9292
Avoid repeating long transcripts into Firstmate docs or PR bodies.
9393
Summarize only the host-tool calls, the status-file result, and the archive result.
94+
When reporting a Desktop-thread result to the captain, translate status prefixes and return-channel evidence through `AGENTS.md` section 9.
9495

9596
## Archive
9697

‎.agents/skills/fmx-respond/SKILL.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Normal reversible work - filing backlog, a scout investigation, gated code chang
7575

7676
The answer is posted publicly through the relay under a **shared** bot identity.
7777
This is a strict version of the section 9 "talk in outcomes" rule, with a wider blast radius - assume anyone can read it.
78+
It supplements `AGENTS.md` section 9; apply both, and this public-channel rule wins wherever it is stricter.
7879
The asker being your own captain (owner-only routing) does **not** relax this: a public reply is public no matter who prompted it, so an owner's request never licenses leaking private state into a public reply.
7980

8081
Never include, in any form:

‎.agents/skills/harness-adapters/SKILL.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ The primary-session watcher wake protocols are rendered from `docs/supervision-p
3131
The supervision knowledge lives here: busy signature, exit command, interrupt, dialogs, resume behavior, skill invocation, and quirks.
3232

3333
Never dispatch a crewmate or secondmate on an unverified adapter.
34-
If `config/crew-harness` or `config/secondmate-harness` names an unverified adapter, tell the captain and fall back to firstmate's own harness until that adapter is verified.
34+
If `config/crew-harness` or `config/secondmate-harness` names an unverified adapter, tell the captain under `AGENTS.md` section 9 that the requested worker runtime is not verified yet, use firstmate's own verified runtime for current work, and ask only whether to verify the requested runtime before future use.
35+
Do not pause current work for that future-verification choice, and never launch an unverified adapter.
3536
If the captain asks for a new harness, propose verifying it first: spawn a trivial supervised task using `fm-spawn`'s raw-launch-command escape hatch, confirm every fact empirically, then record the mechanics in `fm-spawn`, the busy signature in `fm-watch.sh` and `fm-tmux-lib.sh` defaults, any needed `FM_COMPOSER_IDLE_RE` empty-composer override plus any novel bare agent prompt glyph in `bin/fm-composer-lib.sh`'s shared composer classifier (the one fleet-wide owner of the empty/dead-shell/pending decision, so a new harness's own idle composer is not misread as a dead shell), the tmux agent-process liveness classification in `bin/backends/tmux.sh` when the harness can launch a secondmate, and the verified knowledge here.
3637

3738
## Detection

‎.agents/skills/stuck-crewmate-recovery/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ Escalate in order:
4646
Genuine wedging means looping, unresponsive, repeating the same obstacle, or truly dead.
4747
A low context reading is not wedging; modern harnesses auto-compact and keep going.
4848
The worktree and commits persist, so relaunch is cheap.
49-
5. If a second relaunch fails too, write `failed` to the backlog and tell the captain with evidence.
49+
5. If a second relaunch fails too, write `failed` to the backlog and tell the captain the plain failure, preserved work, and consequence using `AGENTS.md` section 9; do not mention metadata, harness, window, or worktree unless the path itself is needed for action.

‎.agents/skills/updatefirstmate/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This touches only the firstmate repo and its own worktrees, never anything under
4444
A secondmate that was skipped, already current, or has no live metadata is not on the list and needs no nudge.
4545

4646
4. **Report to the captain in plain outcomes.**
47-
Summarize what landed without firstmate's internal vocabulary: which parts of the fleet are now on the latest, and which were left as-is and why.
47+
Summarize what landed under `AGENTS.md` section 9 without firstmate's internal vocabulary: which parts of the fleet are now on the latest, and which were left as-is and why.
4848
For example: "Captain, firstmate and both domain supervisors are now on the latest."
4949
Surface any skipped target whose reason needs the captain's attention - for instance a home with its own un-landed changes (diverged) or local edits (dirty), which were left untouched on purpose.
5050

‎AGENTS.md‎

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,27 @@ Load `stuck-crewmate-recovery` after a stale wake, looping or confused pane, ans
358358
## 9. Escalation and captain etiquette
359359

360360
**Talk in outcomes, not mechanics.**
361-
Describe what is being investigated, built, ready, blocked, failed, or awaiting a decision in plain language at the captain's altitude.
362-
Do not expose internal terms such as startup machinery, locks, watchers, polling, crewmates, task ids, briefs, worktrees, status or metadata files, teardown, promotion, harness names, context budgets, delivery-mode names, or autonomy flags.
363-
Translate those details into the project's outcome and consequence.
361+
Every captain-facing message must translate internal state into the project outcome, consequence, and next decision.
362+
Use the captain's nouns: the investigation, the scout, the fix, the PR, the review, the decision, the blocker, the credential, the local copy, the worker, or the project.
363+
Do not expose internal terms such as startup machinery, locks, watchers, polling, crewmates, task ids, briefs, worktrees, checkouts, status or metadata files, teardown, promotion, harness names, runtime backend names, context budgets, delivery-mode names, autonomy flags, wake types, status prefixes, decision holds, pipeline step names, validation-state labels, or compressed safety labels such as fail-closed, fails closed, fail-open, fails open, fail loudly, or close variants.
364+
Scout is accepted Firstmate nautical house vocabulary and does not need translation when it naturally names that work.
365+
When evidence uses an internal label, rewrite it before sending:
366+
367+
- worktree, checkout, primary checkout, or local-main -> local copy, isolated copy, or local branch, only if the location matters.
368+
- teardown -> cleanup.
369+
- wake, watcher, heartbeat, stale, signal, or check -> notification, monitoring, waiting too long, or stopped responding.
370+
- hold, gate, ask-user, needs-decision, blocked, or paused -> the concrete decision, wait, approval, blocker, or external delay.
371+
- done, failed, fix-review, checks-passed, cancelled, validation step, or pipeline state -> the concrete result, review finding, passing checks, failed check, or stopped validation.
372+
- brief -> instructions.
373+
- crewmate or secondmate -> worker or domain supervisor, only when naming the helper matters.
374+
- harness, backend, runtime, or adapter -> worker runtime or tool, only when the tool choice itself blocks work.
375+
- status file, metadata, state, task id, or raw path -> durable record, local record, or omit it unless the captain needs the file path to act.
376+
- fail-closed, fails closed, fail loudly, or refuses loudly -> stops safely when something goes wrong, refuses rather than proceeding, or reports the concrete missing requirement.
377+
- fail-open, fails open, passive fail-open, or degraded-open -> steps aside and lets work continue when the check cannot complete, or continues without that optional protection.
378+
379+
Never relay worker reports, status lines, tool output, validation-state labels, or decision records verbatim into captain chat.
380+
Read them as evidence, then send the plain-English outcome and consequence.
381+
Private evidence reports may retain exact identifiers, paths, status lines, validation labels, and internal terms when they are useful, but the captain-facing chat summary that points to the report still follows this translation rule.
364382

365383
Every escalation must stand alone and remain concise.
366384
Lead directly with concrete evidence, then the consequence, options when applicable, and a recommendation.

0 commit comments

Comments
 (0)