Skip to content

feat(bin): add grounding, candidate-finding, and pause-wording contracts to ship briefs - #9

Merged
alandomio merged 11 commits into
mainfrom
fm/brief-worker-grounding-and-retro
Sep 3, 2026
Merged

alandomio merged 11 commits into
mainfrom
fm/brief-worker-grounding-and-retro

Conversation

@alandomio

Copy link
Copy Markdown
Owner

Intent

Add six missing contracts to bin/fm-brief.sh's generated SHIP crewmate brief only (scout and secondmate contracts left untouched, since the assembled context record data/brief-worker-grounding-and-retro/context.md never mentions them): (1) Verify PP Brain before believing a failure - if the session-start banner reports pp-brain: auth_missing or anything suggests PP Brain is unauthenticated, the worker must make ONE real search_knowledge call before acting on it; that warning is a known false positive; only a failing live call is evidence; never stop, and never proceed without org context, on the banner alone. (2) A typed degraded-mode status line - when a server is genuinely unreachable after that live check, the worker must use one exact status verb the classifier already recognizes (chosen: the existing 'blocked:' verb, with a fixed template 'blocked: unreachable (confirmed by a live call, not the startup banner)' - verified against bin/fm-classify-lib.sh's status_is_terminal_verb/status_is_captain_relevant, which only recognize working/needs-decision/blocked/paused/done/failed/resolved/captain-held; do not invent a new verb). (3) Findings become candidates, not writes - the worker must record durable findings (knowledge-store drift, a ticket whose real state differs from the brief, verified tool behavior, a trap) as working: CANDIDATE - {finding} status lines for the supervisor to promote, and must NEVER write to PP Brain or any shared memory itself; this reuses the existing status-file channel the supervisor already reads on every append rather than creating a new one. (4) Declare the wait, not just done - after opening the PR/MR (direct-PR and no-mistakes delivery modes only; local-only never opens one), the worker must append a done: PR/MR {url} line immediately followed by a paused: {why} line naming the wait, using the existing / forge-vocabulary variables so this stays correct for both GitHub and GitLab, because a declared pause gets a long recheck cadence while a bare done: alarms every few minutes indefinitely until merge. (5) Correct the pause wording - the wait is on a colleague's approval, never the captain's merge decision, because the captain cannot approve their own merge/pull request; this wording must be correct everywhere it is introduced (verified no occurrence of the wrong wording survives in the file). (6) Require the retrospective, and one real return - before its final done:/failed: line, the worker must run the retrospective skill in its no-human-reachable mode (gated writes become drafted pending items rather than skipped or assumed), mandatory when it hit a gotcha/trap/anything that cost time; the worker must also send at least one working: status carrying real substance before its terminal line, never a report that is a single done: line with nothing before it. Constraints honored: bin/ is firstmate's shared tracked material (firstmate-coding-guidelines skill loaded before editing); upstream carries five unmerged commits touching this same file, so the change is additive/surgical rather than restructuring; this repo's no-mistakes usage and its CI attestation-block-in-PR-body convention were NOT stripped (that rule is for company repos, not this one); source comments default to none with a hard 3-line cap and no ticket ids. Acceptance already verified before this run: bash -n passes; all four brief variants (ship no-mistakes/direct-PR/local-only/herdr-lab, scout, secondmate) were scaffolded into scratch dirs and inspected, including a GitLab-remote ship brief to confirm MR wording; worktree-isolation assertion, keyed decision/blocker semantics, forge-vocabulary derivation, and the Herdr lab contract (including its loud NOT-ENABLED declaration) were all confirmed intact and unchanged; bin/fm-lint.sh (pinned shellcheck) passes clean.

What Changed

  • bin/fm-brief.sh now emits a PP Brain grounding contract in ship briefs: a session-start pp-brain: auth_missing banner is declared a known false positive, the worker must make one real search_knowledge call before acting on it, and only a genuinely failing live call justifies the fixed blocked: <server> unreachable (confirmed by a live call, not the startup banner) status line.
  • Ship briefs gain a note: status verb in the Rule 4 state list: durable findings are recorded as note: CANDIDATE - {finding} for firstmate to promote instead of the worker writing to PP Brain or any shared memory, note: is declared nonterminal alongside working:, and the brief discloses that the supervisor's wedge guards do not yet cover note:. Rule 4 also now requires at least one substantive working: line before the first done:/failed:, and adds a forge-vocabulary pause note (a wait on an open PR/MR is a colleague's approval, never the captain's merge decision) that is suppressed in local-only mode. Scout briefs and secondmate charters are unchanged.
  • AGENTS.md records the matching routing duty for the note: CANDIDATE channel; tests/fm-brief.test.sh adds a test_ship_worker_operating_contracts case asserting the new wording across the no-mistakes, direct-PR, local-only, and GitLab-remote ship variants, and asserting its absence from scout and secondmate output.

Risk Assessment

⚠️ Medium: The change is well-bounded prose in a generated brief plus one mode-gated variable, with no altered control flow, but it puts a new status verb (note:) into worker hands whose interaction with the supervisor's wedge guards is a real, reachable hole that this change discloses rather than fixes — safe to merge with the guard fix tracked as the stated follow-up.

Testing

Ran the change's own suite (tests/fm-brief.test.sh, all 28 checks pass) and the production consumer test for the note: channel (tests/fm-wake-drain-unread-status.test.sh, all pass), then demonstrated the intent the way a crewmate experiences it: I scaffolded all six brief variants and saved the rendered briefs, then had a simulated crewmate read its status-file path and its literal line templates out of the generated brief and append them, and asked the unmodified production consumers what they made of it — bin/fm-classify-lib.sh parses the fixed degraded-mode line as a terminal, captain-relevant blocked: line, every verb the brief enumerates (note included) is one the classifier already knows so nothing was invented, and bin/fm-wake-drain.sh actually printed the note: CANDIDATE line back under UNREAD STATUS, proving the candidate channel reaches firstmate rather than merely being described. A contract matrix over the rendered briefs confirms the contracts are ship-only, absent from scout/secondmate, that the pause reminder is absent from local-only, that PR/MR and pull-request/merge-request vocabulary is correct per forge with zero occurrences of the wrong captain's-merge-decision wording, and that each PR/MR-opening DOD ends on its done: line with no trailing paused:. I also verified the brief's wedge-guard disclosure is an accurate statement of current supervisor behavior rather than false comfort. No screenshot or rendered-HTML artifact applies: the changed surface is a generated markdown prompt file a worker agent consumes as text in a terminal pane, so the reviewer-visible artifact is the rendered brief itself, included verbatim, plus the CLI transcripts. Everything passed and the worktree was left clean.

Evidence: Rendered ship brief a crewmate receives (no-mistakes mode, GitHub remote) — carries all six contracts

Source: Rendered ship brief a crewmate receives (no-mistakes mode, GitHub remote) — carries all six contracts

You are a crewmate: an autonomous worker agent managed by firstmate. Work on your own; do not wait for a human.

# Task
{TASK}

# Grounding
Before your first substantive action, search PP Brain (`search_knowledge` with both `query` and `prompt` populated - one alone kills two of six retrieval paths) and the local memory store for prior decisions, refuted approaches, and known traps on this subject.
Treat the `# Task` section above as firstmate's assembly of that context, a starting point rather than a substitute.
Report what you found and what it changed in your next status line, or state plainly that both were silent.
If the session-start banner reports `pp-brain: auth_missing`, or anything else suggests PP Brain is unauthenticated, treat that alone as a known false positive: make ONE real `search_knowledge` call before acting on it.
Only a failing live call is evidence - never stop, and never proceed without org context, on the banner alone.
If that live call genuinely fails, append `blocked: <server> unreachable (confirmed by a live call, not the startup banner)` to the status file and stop; firstmate will help.

# Herdr lifecycle declaration - NOT ENABLED
**HARD SAFETY GATE:** this scaffold cannot inspect the task text that replaces `{TASK}` later.
If the task will start, stop, delete, restart, profile, or otherwise drive Herdr lifecycle behavior, stop and regenerate the brief with `--herdr-lab` before dispatch.
Do not add Herdr lifecycle commands to this unguarded brief by hand.

# Setup
You are in a disposable git worktree of gh-proj, at a detached HEAD on a clean default branch.

**Verify isolation before anything else.** Run `pwd -P` and `git rev-parse --show-toplevel`; both must resolve to the disposable task worktree you were launched in, such as a treehouse pool path or an Orca-managed worktree, not the primary checkout firstmate operates from.
The path check is authoritative: `git rev-parse --git-dir` and `git rev-parse --git-common-dir` can help inspect the repo, but they do not prove you are outside the primary checkout.
If the top-level path is the primary checkout or not the worktree you were launched in, STOP - do not branch or commit here - append `blocked: launched in primary checkout, not an isolated worktree` to the status file and stop.

1. First action: create your branch: `git checkout -b fm/ev-ship-nomistakes`
2. Run `no-mistakes doctor`; if it reports the repo is not initialized here, run `no-mistakes init`.

# Rules
1. Never push to the default branch. Never merge a pull request.
2. Stay inside this worktree; modify nothing outside it.
3. Use gh-axi for GitHub operations and chrome-devtools-axi for browser operations.
4. Report status by appending one line:
   `echo "{state}: {one short line}" >> '/tmp/fm-brief-evidence/home/state/ev-ship-nomistakes.status'`
   States: working, note, needs-decision, blocked, paused, done, failed.
   Each append wakes firstmate, so report sparingly: only phase changes a supervisor
   would act on (setup done, bug reproduced, fix implemented, validation passed) and the
   needs-decision/blocked/paused/done/failed states. No step-by-step FYI progress lines;
   firstmate reads your pane for that.
   A mid-task `working:` or `note:` line (including setup complete) is nonterminal: do not end the
   turn after it; continue the same stage until a defined `done:` gate under Definition of done.
   Use `paused: {why}` - distinct from `blocked:` - ONLY when you are deliberately idling on a
   known external wait you expect to clear on its own (an upstream release, a rate-limit reset,
   a scheduled window): firstmate then leaves your idle pane alone and rechecks it on a long
   cadence instead of treating it as a possible wedge. Use `blocked:` when you are stuck and need help. If a declared wait concerns an open PR under review, describe it as awaiting a colleague's approval, never the captain's merge decision - the captain cannot approve their own pull request.
   When you discover a durable finding (knowledge-store drift, a ticket whose real state differs
   from this brief, verified behavior of a tool, a trap the next worker would hit), append it as
   `note: CANDIDATE - {finding}` rather than acting on it yourself: you record candidates, only
   firstmate promotes them, and you must never write to PP Brain or any shared memory directly.
   Every `note:` line reaches firstmate: the next status drain presents it whatever its wording.
   But `note:` is not yet covered by the supervision wedge guards that protect `working:`,
   `resolved:` and `captain-held:`, so while a note whose prose happens to match a legacy
   captain-relevant free-text pattern is your last line, wedge detection for your pane can be
   suppressed. That gap lives in those guards, not in note wording, and is tracked separately.
   Before the FIRST `done:` or `failed:` line you write, send at least one `working:` status
   that carries real substance (a finding, a decision, a completed stage) - never end a task on
   a single `done:` line with nothing reported before it.
5. If you hit the same obstacle twice, append `blocked: {why}` and stop; firstmate will help.
6. If a decision belongs above the implementation worker (product choices, destructive actions, ask-user findings),
   append `needs-decision: {summary of options}` and stop. Firstmate will reply with the decision.
   A decision or blocker you opened stays open until a `resolved` line carrying its exact key lands; a later `done:` or `working:` line never closes it, even when the answer is what started that work.
   Firstmate's reply normally writes that closing line at answer time; when a blocker or wait clears WITHOUT a firstmate reply, append `resolved: {how it cleared}` yourself (same `[key=<slug>]` if you opened it with one) as you resume.
7. Never stop, restart, or update the shared `no-mistakes` daemon - it is one instance serving
   every lane/home, so restarting it kills other lanes' in-flight pipeline runs. On ANY no-mistakes
   daemon error, append `blocked: {the daemon error}` and stop; only firstmate manages the daemon.

# Project memory
If `AGENTS.md` or `CLAUDE.md` already exists, or if this task produced durable project-intrinsic knowledge, run `~/.no-mistakes/worktrees/38493c8a7325/01M1GXZQ6VT5SJGY37RFJ2YQAZ/bin/fm-ensure-agents-md.sh .` in the worktree.
Record only project knowledge useful to almost every future session.
For anything the codebase already shows, prefer a pointer to the authoritative file, command, or doc over copying the detail.
If you touch a project `AGENTS.md` that lacks `## Maintaining this file`, add that short self-governance section from `~/.no-mistakes/worktrees/38493c8a7325/01M1GXZQ6VT5SJGY37RFJ2YQAZ/bin/fm-ensure-agents-md.sh` in the same pass.
Keep it proportionate: skip `AGENTS.md` edits for trivial tasks that produced no durable project knowledge.

# Definition of done
Delivery contract: mode=no-mistakes
The task is complete only when committed on your branch.
When you believe it is complete, append `done: {summary}` to the status file and stop.
Firstmate will then instruct you to run /no-mistakes to validate and ship a pull request.

You drive no-mistakes by responding to its gates, not by implementing fixes.
Follow the guidance no-mistakes itself provides for the mechanics: it loads when you invoke /no-mistakes, and `no-mistakes axi run --help` plus the `help` lines in each `axi` response are authoritative and version-matched to the installed binary.
When starting no-mistakes, make `--intent` preserve all relevant content from this brief's `# Task` section plus every later accepted Firstmate requirement, clarification, constraint, exclusion, and supersession, carrying only each requirement's current accepted form; retain direct requirements instead of substituting a diff summary, and exclude generic operational, status, delivery, and other scaffold boilerplate unless it is task-specific.
Do not hand-edit, commit, or fix findings yourself while a run is active - the pipeline applies every fix.

Three firstmate-specific rules layer on top of that guidance:
- ask-user findings are never yours to answer: escalate to firstmate (rule 6) and stop.
  Firstmate applies `ask-user-authority` and obtains any required captain decision.
  When the decision comes back, feed it to the gate with `no-mistakes axi respond` and let the pipeline apply it - do not route the question to "the user" or implement the fix yourself.
- Avoid `--yes`: it would silently bypass firstmate's authority check and any required captain escalation.
- Write the PR description, and any later revision to it (including a review-fix revision), with the `mr-description` skill.

After /no-mistakes reports CI green (the CI-ready return point - do not wait for it to keep monitoring in the background until merge), append `done: PR {url} checks green` and stop. You are finished.
Evidence: Rendered ship brief on a GitLab remote (direct-PR) — MR / merge request vocabulary

Source: Rendered ship brief on a GitLab remote (direct-PR) — MR / merge request vocabulary

You are a crewmate: an autonomous worker agent managed by firstmate. Work on your own; do not wait for a human.

# Task
{TASK}

# Grounding
Before your first substantive action, search PP Brain (`search_knowledge` with both `query` and `prompt` populated - one alone kills two of six retrieval paths) and the local memory store for prior decisions, refuted approaches, and known traps on this subject.
Treat the `# Task` section above as firstmate's assembly of that context, a starting point rather than a substitute.
Report what you found and what it changed in your next status line, or state plainly that both were silent.
If the session-start banner reports `pp-brain: auth_missing`, or anything else suggests PP Brain is unauthenticated, treat that alone as a known false positive: make ONE real `search_knowledge` call before acting on it.
Only a failing live call is evidence - never stop, and never proceed without org context, on the banner alone.
If that live call genuinely fails, append `blocked: <server> unreachable (confirmed by a live call, not the startup banner)` to the status file and stop; firstmate will help.

# Herdr lifecycle declaration - NOT ENABLED
**HARD SAFETY GATE:** this scaffold cannot inspect the task text that replaces `{TASK}` later.
If the task will start, stop, delete, restart, profile, or otherwise drive Herdr lifecycle behavior, stop and regenerate the brief with `--herdr-lab` before dispatch.
Do not add Herdr lifecycle commands to this unguarded brief by hand.

# Setup
You are in a disposable git worktree of gl-proj, at a detached HEAD on a clean default branch.

**Verify isolation before anything else.** Run `pwd -P` and `git rev-parse --show-toplevel`; both must resolve to the disposable task worktree you were launched in, such as a treehouse pool path or an Orca-managed worktree, not the primary checkout firstmate operates from.
The path check is authoritative: `git rev-parse --git-dir` and `git rev-parse --git-common-dir` can help inspect the repo, but they do not prove you are outside the primary checkout.
If the top-level path is the primary checkout or not the worktree you were launched in, STOP - do not branch or commit here - append `blocked: launched in primary checkout, not an isolated worktree` to the status file and stop.

1. First action: create your branch: `git checkout -b fm/ev-ship-gitlab`

# Rules
1. Never push to the default branch (push only your `fm/ev-ship-gitlab` branch). Never merge a merge request.
2. Stay inside this worktree; modify nothing outside it.
3. Use glab for GitLab operations and chrome-devtools-axi for browser operations.
4. Report status by appending one line:
   `echo "{state}: {one short line}" >> '/tmp/fm-brief-evidence/home/state/ev-ship-gitlab.status'`
   States: working, note, needs-decision, blocked, paused, done, failed.
   Each append wakes firstmate, so report sparingly: only phase changes a supervisor
   would act on (setup done, bug reproduced, fix implemented, validation passed) and the
   needs-decision/blocked/paused/done/failed states. No step-by-step FYI progress lines;
   firstmate reads your pane for that.
   A mid-task `working:` or `note:` line (including setup complete) is nonterminal: do not end the
   turn after it; continue the same stage until a defined `done:` gate under Definition of done.
   Use `paused: {why}` - distinct from `blocked:` - ONLY when you are deliberately idling on a
   known external wait you expect to clear on its own (an upstream release, a rate-limit reset,
   a scheduled window): firstmate then leaves your idle pane alone and rechecks it on a long
   cadence instead of treating it as a possible wedge. Use `blocked:` when you are stuck and need help. If a declared wait concerns an open MR under review, describe it as awaiting a colleague's approval, never the captain's merge decision - the captain cannot approve their own merge request.
   When you discover a durable finding (knowledge-store drift, a ticket whose real state differs
   from this brief, verified behavior of a tool, a trap the next worker would hit), append it as
   `note: CANDIDATE - {finding}` rather than acting on it yourself: you record candidates, only
   firstmate promotes them, and you must never write to PP Brain or any shared memory directly.
   Every `note:` line reaches firstmate: the next status drain presents it whatever its wording.
   But `note:` is not yet covered by the supervision wedge guards that protect `working:`,
   `resolved:` and `captain-held:`, so while a note whose prose happens to match a legacy
   captain-relevant free-text pattern is your last line, wedge detection for your pane can be
   suppressed. That gap lives in those guards, not in note wording, and is tracked separately.
   Before the FIRST `done:` or `failed:` line you write, send at least one `working:` status
   that carries real substance (a finding, a decision, a completed stage) - never end a task on
   a single `done:` line with nothing reported before it.
5. If you hit the same obstacle twice, append `blocked: {why}` and stop; firstmate will help.
6. If a decision belongs above the implementation worker (product choices, destructive actions, ask-user findings),
   append `needs-decision: {summary of options}` and stop. Firstmate will reply with the decision.
   A decision or blocker you opened stays open until a `resolved` line carrying its exact key lands; a later `done:` or `working:` line never closes it, even when the answer is what started that work.
   Firstmate's reply normally writes that closing line at answer time; when a blocker or wait clears WITHOUT a firstmate reply, append `resolved: {how it cleared}` yourself (same `[key=<slug>]` if you opened it with one) as you resume.
7. Never stop, restart, or update the shared `no-mistakes` daemon - it is one instance serving
   every lane/home, so restarting it kills other lanes' in-flight pipeline runs. On ANY no-mistakes
   daemon error, append `blocked: {the daemon error}` and stop; only firstmate manages the daemon.

# Project memory
If `AGENTS.md` or `CLAUDE.md` already exists, or if this task produced durable project-intrinsic knowledge, run `~/.no-mistakes/worktrees/38493c8a7325/01M1GXZQ6VT5SJGY37RFJ2YQAZ/bin/fm-ensure-agents-md.sh .` in the worktree.
Record only project knowledge useful to almost every future session.
For anything the codebase already shows, prefer a pointer to the authoritative file, command, or doc over copying the detail.
If you touch a project `AGENTS.md` that lacks `## Maintaining this file`, add that short self-governance section from `~/.no-mistakes/worktrees/38493c8a7325/01M1GXZQ6VT5SJGY37RFJ2YQAZ/bin/fm-ensure-agents-md.sh` in the same pass.
Keep it proportionate: skip `AGENTS.md` edits for trivial tasks that produced no durable project knowledge.

# Definition of done
Delivery contract: mode=direct-PR
This task ships **direct-PR**: you raise the merge request yourself, without the no-mistakes pipeline.
The task is complete only when committed on your branch.
When it is implemented and committed, push your branch and open a merge request with glab, then append `done: MR {url}` to the status file and stop.
Write the MR description, and any later revision to it, with the `mr-description` skill.
Do NOT run /no-mistakes. The configured merge authority decides whether to merge the merge request; firstmate relays the outcome.
Evidence: Rendered local-only ship brief — pause reminder correctly absent (mode never opens a PR/MR)

Source: Rendered local-only ship brief — pause reminder correctly absent (mode never opens a PR/MR)

You are a crewmate: an autonomous worker agent managed by firstmate. Work on your own; do not wait for a human.

# Task
{TASK}

# Grounding
Before your first substantive action, search PP Brain (`search_knowledge` with both `query` and `prompt` populated - one alone kills two of six retrieval paths) and the local memory store for prior decisions, refuted approaches, and known traps on this subject.
Treat the `# Task` section above as firstmate's assembly of that context, a starting point rather than a substitute.
Report what you found and what it changed in your next status line, or state plainly that both were silent.
If the session-start banner reports `pp-brain: auth_missing`, or anything else suggests PP Brain is unauthenticated, treat that alone as a known false positive: make ONE real `search_knowledge` call before acting on it.
Only a failing live call is evidence - never stop, and never proceed without org context, on the banner alone.
If that live call genuinely fails, append `blocked: <server> unreachable (confirmed by a live call, not the startup banner)` to the status file and stop; firstmate will help.

# Herdr lifecycle declaration - NOT ENABLED
**HARD SAFETY GATE:** this scaffold cannot inspect the task text that replaces `{TASK}` later.
If the task will start, stop, delete, restart, profile, or otherwise drive Herdr lifecycle behavior, stop and regenerate the brief with `--herdr-lab` before dispatch.
Do not add Herdr lifecycle commands to this unguarded brief by hand.

# Setup
You are in a disposable git worktree of gh-proj, at a detached HEAD on a clean default branch.

**Verify isolation before anything else.** Run `pwd -P` and `git rev-parse --show-toplevel`; both must resolve to the disposable task worktree you were launched in, such as a treehouse pool path or an Orca-managed worktree, not the primary checkout firstmate operates from.
The path check is authoritative: `git rev-parse --git-dir` and `git rev-parse --git-common-dir` can help inspect the repo, but they do not prove you are outside the primary checkout.
If the top-level path is the primary checkout or not the worktree you were launched in, STOP - do not branch or commit here - append `blocked: launched in primary checkout, not an isolated worktree` to the status file and stop.

1. First action: create your branch: `git checkout -b fm/ev-ship-localonly`

# Rules
1. Never push to any remote and never open a pull request. Work only on your `fm/ev-ship-localonly` branch; firstmate handles the merge into local `main`.
2. Stay inside this worktree; modify nothing outside it.
3. Use gh-axi for GitHub operations and chrome-devtools-axi for browser operations.
4. Report status by appending one line:
   `echo "{state}: {one short line}" >> '/tmp/fm-brief-evidence/home/state/ev-ship-localonly.status'`
   States: working, note, needs-decision, blocked, paused, done, failed.
   Each append wakes firstmate, so report sparingly: only phase changes a supervisor
   would act on (setup done, bug reproduced, fix implemented, validation passed) and the
   needs-decision/blocked/paused/done/failed states. No step-by-step FYI progress lines;
   firstmate reads your pane for that.
   A mid-task `working:` or `note:` line (including setup complete) is nonterminal: do not end the
   turn after it; continue the same stage until a defined `done:` gate under Definition of done.
   Use `paused: {why}` - distinct from `blocked:` - ONLY when you are deliberately idling on a
   known external wait you expect to clear on its own (an upstream release, a rate-limit reset,
   a scheduled window): firstmate then leaves your idle pane alone and rechecks it on a long
   cadence instead of treating it as a possible wedge. Use `blocked:` when you are stuck and need help.
   When you discover a durable finding (knowledge-store drift, a ticket whose real state differs
   from this brief, verified behavior of a tool, a trap the next worker would hit), append it as
   `note: CANDIDATE - {finding}` rather than acting on it yourself: you record candidates, only
   firstmate promotes them, and you must never write to PP Brain or any shared memory directly.
   Every `note:` line reaches firstmate: the next status drain presents it whatever its wording.
   But `note:` is not yet covered by the supervision wedge guards that protect `working:`,
   `resolved:` and `captain-held:`, so while a note whose prose happens to match a legacy
   captain-relevant free-text pattern is your last line, wedge detection for your pane can be
   suppressed. That gap lives in those guards, not in note wording, and is tracked separately.
   Before the FIRST `done:` or `failed:` line you write, send at least one `working:` status
   that carries real substance (a finding, a decision, a completed stage) - never end a task on
   a single `done:` line with nothing reported before it.
5. If you hit the same obstacle twice, append `blocked: {why}` and stop; firstmate will help.
6. If a decision belongs above the implementation worker (product choices, destructive actions, ask-user findings),
   append `needs-decision: {summary of options}` and stop. Firstmate will reply with the decision.
   A decision or blocker you opened stays open until a `resolved` line carrying its exact key lands; a later `done:` or `working:` line never closes it, even when the answer is what started that work.
   Firstmate's reply normally writes that closing line at answer time; when a blocker or wait clears WITHOUT a firstmate reply, append `resolved: {how it cleared}` yourself (same `[key=<slug>]` if you opened it with one) as you resume.
7. Never stop, restart, or update the shared `no-mistakes` daemon - it is one instance serving
   every lane/home, so restarting it kills other lanes' in-flight pipeline runs. On ANY no-mistakes
   daemon error, append `blocked: {the daemon error}` and stop; only firstmate manages the daemon.

# Project memory
If `AGENTS.md` or `CLAUDE.md` already exists, or if this task produced durable project-intrinsic knowledge, run `~/.no-mistakes/worktrees/38493c8a7325/01M1GXZQ6VT5SJGY37RFJ2YQAZ/bin/fm-ensure-agents-md.sh .` in the worktree.
Record only project knowledge useful to almost every future session.
For anything the codebase already shows, prefer a pointer to the authoritative file, command, or doc over copying the detail.
If you touch a project `AGENTS.md` that lacks `## Maintaining this file`, add that short self-governance section from `~/.no-mistakes/worktrees/38493c8a7325/01M1GXZQ6VT5SJGY37RFJ2YQAZ/bin/fm-ensure-agents-md.sh` in the same pass.
Keep it proportionate: skip `AGENTS.md` edits for trivial tasks that produced no durable project knowledge.

# Definition of done
Delivery contract: mode=local-only
This task ships **local-only**: no remote, no pull request, no pipeline.
The task is complete only when committed on your branch `fm/ev-ship-localonly`. Do NOT push, do NOT open a pull request, do NOT merge.
Keep your branch a clean fast-forward onto the current default branch - if `main` has advanced, rebase onto it so the eventual merge stays a fast-forward.
When it is implemented and committed, append `done: ready in branch fm/ev-ship-localonly` to the status file and stop.
The configured merge authority approves the ready branch, then firstmate merges it into local `main` through the guarded fast-forward path.
Evidence: Rendered scout brief and secondmate charter — must not duplicate the ship-only contracts

Source: Rendered scout brief and secondmate charter — must not duplicate the ship-only contracts

You are a crewmate: an autonomous worker agent managed by firstmate. Work on your own; do not wait for a human.

# Task
{TASK}

# Grounding
Before your first substantive action, search PP Brain (`search_knowledge` with both `query` and `prompt` populated - one alone kills two of six retrieval paths) and the local memory store for prior decisions, refuted approaches, and known traps on this subject.
Treat the `# Task` section above as firstmate's assembly of that context, a starting point rather than a substitute.
Report what you found and what it changed in your next status line, or state plainly that both were silent.

# Herdr lifecycle declaration - NOT ENABLED
**HARD SAFETY GATE:** this scaffold cannot inspect the task text that replaces `{TASK}` later.
If the task will start, stop, delete, restart, profile, or otherwise drive Herdr lifecycle behavior, stop and regenerate the brief with `--herdr-lab` before dispatch.
Do not add Herdr lifecycle commands to this unguarded brief by hand.

# Setup
You are in a disposable git worktree of gh-proj, at a detached HEAD on a clean default branch.
This is a SCOUT task: the deliverable is a written report, not a pull request.
The worktree is your laboratory - install, run, edit, and make scratch commits freely; all of it is discarded at teardown.
The report is the only thing that survives, so anything worth keeping must be in it.

# Rules
1. Never push to any remote and never open a pull request.
2. Stay inside this worktree; the only files you may write outside it are the report and the status file below.
3. Use gh-axi for GitHub operations and chrome-devtools-axi for browser operations.
4. Report status by appending one line:
   `echo "{state}: {one short line}" >> '/tmp/fm-brief-evidence/home/state/ev-scout.status'`
   States: working, needs-decision, blocked, paused, done, failed.
   Each append wakes firstmate, so report sparingly: only phase changes a supervisor
   would act on and the needs-decision/blocked/paused/done/failed states. No step-by-step
   FYI progress lines; firstmate reads your pane for that.
   Use `paused: {why}` - distinct from `blocked:` - ONLY when you are deliberately idling on a
   known external wait you expect to clear on its own (an upstream release, a rate-limit reset):
   firstmate then leaves your idle pane alone and rechecks it on a long cadence instead of
   treating it as a possible wedge. Use `blocked:` when you are stuck and need help.
5. If you hit the same obstacle twice, append `blocked: {why}` and stop; firstmate will help.
6. If a decision belongs to a human (product choices, destructive actions),
   append `needs-decision: {summary of options}` and stop. Firstmate will reply with the decision.
   A decision or blocker you opened stays open until a `resolved` line carrying its exact key lands; a later `done:` or `working:` line never closes it, even when the answer is what started that work.
   Firstmate's reply normally writes that closing line at answer time; when a blocker or wait clears WITHOUT a firstmate reply, append `resolved: {how it cleared}` yourself (same `[key=<slug>]` if you opened it with one) as you resume.
7. Never stop, restart, or update the shared `no-mistakes` daemon - it is one instance serving
   every lane/home, so restarting it kills other lanes' in-flight pipeline runs. On ANY no-mistakes
   daemon error, append `blocked: {the daemon error}` and stop; only firstmate manages the daemon.

# Definition of done
Write your findings to `/tmp/fm-brief-evidence/home/data/ev-scout/report.md`.
The report must stand alone: what you did, what you found, the evidence (commands run, output, file:line references), and what you recommend.
If your deliverable is a visual artifact the captain will review and iterate on, you may host the Lavish review loop yourself (poll, revise, re-serve, staying alive) instead of handing it back to firstmate.
Before reporting done, read and follow `~/.no-mistakes/worktrees/38493c8a7325/01M1GXZQ6VT5SJGY37RFJ2YQAZ/.agents/skills/captain-hold-lifecycle/SKILL.md` and pass its shared completion gate for the report and any visual review.
When the report is complete, append `done: {one-line conclusion}` to the status file and stop.
If your findings reveal work that should ship (e.g. you reproduced a bug and the fix is clear), say so in the report; firstmate may promote this task in place, and you would then receive mode-specific ship instructions as a follow-up message.
Evidence: End-to-end: crewmate obeys the generated brief, real drain + classifier consume its lines

Source: End-to-end: crewmate obeys the generated brief, real drain + classifier consume its lines

# End-to-end: a crewmate obeys the generated ship brief; the real firstmate drain + classifier consume it
# (bin/fm-wake-drain.sh and bin/fm-classify-lib.sh are the production consumers, unmodified)

brief:  /tmp/fm-brief-evidence/home/data/ev-ship-nomistakes/brief.md
status: /tmp/fm-brief-evidence/home/state/ev-ship-nomistakes.status

brief-prescribed degraded-mode line : blocked: <server> unreachable (confirmed by a live call, not the startup banner)
brief-prescribed candidate template : note: CANDIDATE - {finding}
brief-declared state vocabulary     : working, note, needs-decision, blocked, paused, done, failed.

== 1+2. degraded mode: does the real classifier recognize the brief's fixed blocked: template? ==
status_is_terminal_verb            blocked template               -> yes   (want yes) PASS
status_is_captain_relevant         blocked template               -> yes   (want yes) PASS
status_is_paused                   blocked template               -> no    (want no) PASS
   verb parsed by supervisor: 'blocked'

== 2b. every verb the brief enumerates is one the classifier already knows (none invented) ==
   working         known-to-classifier=yes  terminal=no  unread-surface=no
   note            known-to-classifier=yes  terminal=no  unread-surface=yes
   needs-decision  known-to-classifier=yes  terminal=yes  unread-surface=no
   blocked         known-to-classifier=yes  terminal=yes  unread-surface=no
   paused          known-to-classifier=yes  terminal=no  unread-surface=no
   done            known-to-classifier=yes  terminal=yes  unread-surface=no
   failed          known-to-classifier=yes  terminal=yes  unread-surface=no

== 3. candidate findings: the note: channel, exercised through the real drain ==
--- crewmate's status file ---
note: bootstrap cursor line
working: reproduced the fault in the kiosk poller; Brain and local memory were silent
note: CANDIDATE - PP Brain runbook says restart the daemon; verified restarting it kills other lanes
--- firstmate's next drain ---
   UNREAD STATUS (new since last drain, not re-printed after this presentation):
   ev-ship-nomistakes note: CANDIDATE - PP Brain runbook says restart the daemon; verified restarting it kills other lanes

status_line_is_unread_surface      note: CANDIDATE line           -> yes   (want yes) PASS
status_is_terminal_verb            note: CANDIDATE line           -> no    (want no) PASS

== 4+6. the terminal line the DOD prescribes, and what precedes it ==
   DOD terminal line: done: PR {url} checks green
status_is_terminal_verb            done: PR {url}                 -> yes   (want yes) PASS
   last line the supervisor classifies from: done: PR https://github.com/acme/gh-proj/pull/42 checks green
   a substantive working: line precedes the first terminal line: yes

OVERALL: all brief-prescribed lines behave as the brief promises

== 3b. is the brief's wedge-guard disclosure truthful? (real classifier + daemon enumerations) ==
   status_is_captain_relevant=no   note: CANDIDATE - plain prose finding
   status_is_captain_relevant=yes  note: CANDIDATE - PR ready for review
   status_is_captain_relevant=no   working: PR ready for review
   daemon wedge-guard enumerations (note absent, as the brief discloses):
     bin/fm-supervise-daemon.sh:396:        working|resolved|captain-held)
     bin/fm-supervise-daemon.sh:1279:              working|resolved|captain-held) _clear_wedge=0 ;;
   -> the disclosure is accurate: a note: line matching a legacy free-text pattern is
      still captain-relevant, and note is not in the guards' nonterminal enumerations.
Evidence: Key excerpt: the note: CANDIDATE line the crewmate wrote, presented back to firstmate by the real drain
== 3. candidate findings: the note: channel, exercised through the real drain ==
--- crewmate's status file ---
note: bootstrap cursor line
working: reproduced the fault in the kiosk poller; Brain and local memory were silent
note: CANDIDATE - PP Brain runbook says restart the daemon; verified restarting it kills other lanes
--- firstmate's next drain ---
UNREAD STATUS (new since last drain, not re-printed after this presentation):
ev-ship-nomistakes note: CANDIDATE - PP Brain runbook says restart the daemon; verified restarting it kills other lanes

status_line_is_unread_surface note: CANDIDATE line -> yes (want yes) PASS
status_is_terminal_verb note: CANDIDATE line -> no (want no) PASS

brief-prescribed degraded-mode line : blocked: <server> unreachable (confirmed by a live call, not the startup banner)
status_is_terminal_verb -> yes | status_is_captain_relevant -> yes | status_is_paused -> no
verb parsed by supervisor: 'blocked'

Pipeline

Updates from git push no-mistakes

... (15 earlier update rounds omitted to keep the PR body within GitHub's 65536-char limit; full history is in the run log.)

⚠️ **Review** - 3 infos

🔧 Fix: reframe note wording guidance, fix overstated assertion
3 issues (1 warning, 2 infos) still open:

  • ⚠️ bin/fm-brief.sh:556 - The round-7 reframe tells the worker that escalation-shaped note: prose "may surface it sooner as well - a difference in timing, not in whether it is seen", and the header comment at bin/fm-brief.sh:74 states &#34;note:&#34; is nonterminal like &#34;working:&#34;. Source evidence shows a second consequence the reframe does not cover: such a line also DISABLES wedge detection for that pane. Concrete sequence, with the brief's own instruction followed literally: worker appends note: CANDIDATE - upstream already merged the same fix, then its agent process hangs. (a) status_is_captain_relevant (bin/fm-classify-lib.sh:118-136) excludes only working|resolved|captain-held|paused from free-text matching, so verb note falls through to grep -qiE against FM_CLASSIFY_CAPTAIN_RE_DEFAULT and merged matches -> captain-relevant. (b) classify_stale (bin/fm-supervise-daemon.sh:388-400) checks case $(status_line_verb) in working|resolved|captain-held) for the nonterminal escape; note is absent, so it takes the terminal path and returns escalate|stale + terminal status. (c) handle_wake's escalate branch (bin/fm-supervise-daemon.sh:1246) runs stale_marker_remove and writes the seen marker. (d) Every later stale wake for the same unchanged last line dedupes to self|stale + terminal (already escalated by signal), and the *) branch's _clear_wedge block (bin/fm-supervise-daemon.sh:1274-1281) uses the same guard list, so verb note hits *) _clear_wedge=1 and calls stale_marker_remove again. The wedge marker is therefore never recorded and housekeeping's persistence recheck never ages it: the hung crewmate escalates exactly once as a false "terminal status" and then goes permanently silent. The identical line written as working: ... records the marker and does escalate as a wedge. The non-AFK watcher path has the same shape: stale_is_terminal (bin/fm-classify-lib.sh:1363) is just status_is_captain_relevant, so bin/fm-watch.sh:1182-1220 surfaces the note once per hash and never starts wedge_timer_check. This is materially different from the settled 'wording collision' question the owner ruled on in rounds 6-7: that ruling reasoned only about whether the FINDING reaches firstmate (which is correct - print_unread_status_section still prints it), not about losing wedge supervision of the crew. The earliest supported shared boundary is the two nonterminal-verb guard lists in bin/fm-supervise-daemon.sh (:396 and :1276) plus the watcher's terminal branch - note that these are NOT in bin/fm-classify-lib.sh, so the standing no-change constraint on that file does not block the fix. The remedy changes supervisor behavior outside this change's stated brief-wording scope and contradicts the owner's ratified 'harmless timing variability' framing, so it needs authorization rather than an auto-fix.
  • ℹ️ bin/fm-brief.sh:449 - The colleague-approval PAUSE_NOTE string is byte-identical at bin/fm-brief.sh:449 (direct-PR) and bin/fm-brief.sh:478 (no-mistakes); only local-only differs by setting it empty. The two copies must stay in sync or the two delivery modes silently drift in the exact wording intent criterion 5 governs, and tests/fm-brief.test.sh asserts the same literal against both. Non-functional dedup: assign the shared text once before case &#34;$MODE&#34; and set PAUSE_NOTE="" only in the local-only branch (FORGE_ABBR/FORGE_NOUN are already resolved at line 336-349, well before the case).
  • ℹ️ bin/fm-brief.sh:540 - Recorded for traceability only; no action requested. Three stated intent criteria are not implemented as literally written, each by an in-run owner decision already on record: (1) criterion 3 requires working: CANDIDATE - {finding} lines; the brief emits note: CANDIDATE - {finding} (bin/fm-brief.sh:553) after the owner routed candidates through the note: unread-surface channel in round 5. (2) criterion 4 requires a paused: {why} line immediately after the done: PR/MR {url} line; both DODs end on their terminal done: line and tests/fm-brief.test.sh:924/:941 assert assert_no_grep &#34;paused:&#34; over each - dropped by the owner in rounds 1, 3 and 5 because every consumer classifies from the LAST status line, so a trailing pause would mask the completion and hide the url. (3) criterion 6's retrospective half is absent and tests/fm-brief.test.sh:920 now asserts the word cannot appear; dropped by the owner in round 7. Criterion 6's second half (a substantive working: line before the first terminal line) IS implemented at bin/fm-brief.sh:559-561, and criteria 1, 2 and 5 are implemented verbatim and verified in the generated output for GitHub, GitLab and all three ship modes.

🔧 Fix: disclose note wedge-guard gap, dedupe pause note
4 issues (1 warning, 3 infos) still open:

  • ⚠️ bin/fm-brief.sh:554 - Intent criterion 3 requires the worker "must NEVER write to PP Brain or any shared memory itself". The brief instead says "never write to PP Brain or any shared memory system beyond this workstation directly" (bin/fm-brief.sh:553-554, restated in the header at :74). That qualifier was added in round 2 (a3a1b3d) for one reason: the same brief then mandated the retrospective skill, whose agentmemory lesson/observation saves would have violated an unqualified ban - round 7 (7ea7687) even spelled that out as a "narrow exception". Round 7's successor (77b29ca) removed the retrospective mandate entirely (tests/fm-brief.test.sh:920 now asserts the word cannot appear) and dropped the explicit exception, but kept the qualifier. Nothing in the current generated brief requires any memory write: Grounding only READS the local memory store (:518), and Project memory writes AGENTS.md inside the worktree via the branch. So the surviving qualifier grants a permission with no remaining consumer, and reads to a worker as explicit license for memory_lesson_save-class writes into the workstation-local store that the very next crewmate's Grounding search will read back - the unpromoted-durable-write drift criterion 3 exists to prevent. Minimal remedy (revert to the pre-round-2 wording rather than layering more prose): drop "beyond this workstation" so the sentence ends "or any shared memory system directly", and make the header at :74 match; tests/fm-brief.test.sh:899 asserts only up to "any shared memory system", so it stays green. Flagging rather than fixing because this is worker-visible contract prose the owner has deliberately reworded three times in this run - if the qualifier is being kept on purpose (e.g. to avoid conflicting with a harness-level agentmemory hook the crewmate does not control), say so and it can stand as a ratified deviation.
  • ℹ️ bin/fm-brief.sh:74 - The header summary still asserts flatly that &#34;note:&#34; is nonterminal like &#34;working:&#34;, which is true of the brief's prose but not of the supervisor: the body at :555-559 now discloses the opposite for wedge detection. More importantly, that five-line disclosure is coupled to code it never names. When the separately-filed guard fix lands (adding note to the working|resolved|captain-held enumerations at bin/fm-supervise-daemon.sh:396 and :1279, plus the watcher's stale_is_terminal path), every ship brief will keep telling crewmates about a gap that no longer exists, and nothing fails: tests/fm-brief.test.sh:882-889 assert the stale wording is PRESENT, so the suite actively pins it. Mechanical remedy: qualify the header line and add a one-line cross-reference naming those two guard sites as the removal trigger for the :555-559 paragraph, so the disclosure is discoverable from the code that owns the defect (fits the file's existing header-as-documentation convention and the 3-line comment cap).
  • ℹ️ bin/fm-brief.sh:555 - Recorded as a property of the chosen channel, not a defect. The brief promises "Every note: line reaches firstmate: the next status drain presents it whatever its wording", which is accurate - status_line_is_unread_surface (bin/fm-classify-lib.sh:1037-1040) short-circuits on verb note, and print_unread_status_section runs on every drain including the empty-queue fast path. But that presentation is explicitly one-shot: fm-wake-drain.sh:107 prints the section headed "not re-printed after this presentation" and the cursor then advances past those bytes. So a note: CANDIDATE - ... line firstmate does not promote during that single drain is never re-surfaced; it survives only as a line in the durable status file that someone must re-read deliberately. Intent criterion 3 chose this channel on purpose ("reuses the existing status-file channel ... rather than creating a new one"), and any promotion-retry machinery would be new durable state outside this change's scope, so no action is requested - noting it so the promotion side is a conscious expectation rather than an assumed guarantee.
  • ℹ️ bin/fm-brief.sh:552 - Re-recorded for traceability only; no action requested, all three ratified in this run's round history. (1) Criterion 3 asks for working: CANDIDATE - {finding} lines; the brief emits note: CANDIDATE - {finding} (:552) after the owner routed candidates through the note: unread-surface channel in round 5. (2) Criterion 4 asks for a paused: {why} line immediately after the done: PR/MR {url} line; both PR-opening DODs end on their terminal done: line and tests/fm-brief.test.sh:924/:941 assert assert_no_grep &#34;paused:&#34; over each - dropped in rounds 1/3/5 because every consumer classifies from the LAST status line, so a trailing pause would supersede the completion and hide the url. (3) Criterion 6's retrospective half is absent and tests/fm-brief.test.sh:920 asserts the word cannot appear - dropped in round 7 so no brief mandates a write escaping the disposable worktree. Criterion 6's other half (a substantive working: line before the first terminal line) is implemented at :560-562, and criteria 1, 2 and 5 are implemented verbatim - I re-rendered no-mistakes/direct-PR/local-only briefs against both a GitHub and a GitLab remote and confirmed the banner/live-call contract, the fixed blocked: &lt;server&gt; unreachable (confirmed by a live call, not the startup banner) template (accepted by status_is_terminal_verb), and the colleague-approval wording in both PR and MR vocabulary with no wrong-wording occurrence anywhere in the file.

🔧 Fix: unqualify shared-memory ban, align header, mark disclosure
3 infos still open:

  • ℹ️ bin/fm-brief.sh:559 - Recorded, not blocking — the owner deferred the guard fix to a separate fleet-wide task in round 9 and the brief discloses it honestly. Concrete path: the brief now instructs workers to emit note: CANDIDATE - {finding} and names "a ticket whose real state differs from this brief" as a prime example, so a line like note: CANDIDATE - ticket says open but the MR was already merged is likely. status_is_captain_relevant (fm-classify-lib.sh:120) does not exclude verb note, so the free-text default regex (...|merged) matches and returns 0. classify_stale (fm-supervise-daemon.sh:387) then finds it captain-relevant but non-terminal, and its exclusion case at :396 only lists working|resolved|captain-held — so it falls through to escalate|stale + terminal status. On the next wake with the same last line, handle_wake's *) branch computes _clear_wedge=1 at :1279 (again note is absent from the enumeration) and calls stale_marker_remove, so a genuinely wedged pane stops aging and is never re-surfaced. fm-watch.sh:1182's stale_is_terminal path inherits the same classification. The remedy is in those three guards, not in this file; the source comment at bin/fm-brief.sh:509-511 already names them as the removal trigger for the disclosure.
  • ℹ️ bin/fm-brief.sh:447 - Traceability record only; both deviations were ratified by the task owner earlier in this run. (1) Criterion 4 requires a paused: {why} line "immediately followed by" the done: PR/MR {url} line; no brief emits one — both PR-opening DODs end on their terminal done: line and tests/fm-brief.test.sh asserts assert_no_grep &#34;paused:&#34; over each DOD. It was dropped because every consumer classifies from the LAST status line, so a trailing pause would supersede the completion and hide the url; what remains is PAUSE_NOTE (line 447), which only corrects how a declared wait must be worded, not that one be declared. (2) Criterion 6's retrospective half is absent and the test asserts the word cannot appear, dropped in round 7 so no brief mandates a write escaping the disposable worktree. Criterion 6's other half (a substantive working: line before the first terminal line) is implemented at :563-565, and criteria 1, 2, 3 and 5 are implemented as specified.
  • ℹ️ tests/fm-brief.test.sh:892 - assert_no_grep &#39;Say it another way&#39; &#34;$brief&#34; guards against a phrase that only ever existed in a fix-round draft that was reverted before this HEAD; no current or plausible future brief wording contains it, and its failure message ("ship brief again coaches the worker to swap specific words") is unintelligible without that discarded history. It can only ever pass, so it adds a line of noise to the contract test without constraining anything. The sibling negative assertions on the same block ('beyond this workstation', 'narrow exception') do map to wording intent criterion 3 forbids, so those are worth keeping; only this one is inert. Remedy is deleting the two lines.
✅ **Test** - passed

✅ No issues found.

  • bash tests/fm-brief.test.sh — full fm-brief suite including the new test_ship_worker_operating_contracts (28 checks, all pass)
  • bash tests/fm-wake-drain-unread-status.test.sh — the production consumer of the note: unread-status channel the brief promises
  • Scaffolded every brief variant a real crewmate receives: bin/fm-brief.sh &lt;id&gt; gh-proj --mode no-mistakes|direct-PR|local-only, bin/fm-brief.sh &lt;id&gt; gl-proj --mode direct-PR (GitLab remote), --scout, and --secondmate --no-projects
  • End-to-end brief→supervisor demo: extracted the status-file path and the literal blocked: / note: CANDIDATE - {finding} / done: PR {url} templates out of the generated brief, appended them as a crewmate would, then ran the real bin/fm-wake-drain.sh (FM_STATE_OVERRIDE) and confirmed the CANDIDATE note was presented under UNREAD STATUS
  • Fed the brief-prescribed lines through the unmodified bin/fm-classify-lib.sh: status_is_terminal_verb, status_is_captain_relevant, status_is_paused, status_line_verb, status_line_is_unread_surface — plus every verb in the brief's States: enumeration to prove none was invented
  • Per-variant contract matrix over the rendered briefs: contract presence per variant, PR/MR + pull-request/merge-request forge vocabulary, zero occurrences of the wrong "captain's merge decision" wording, and the last status-line instruction in each PR/MR-opening DOD (no trailing paused:)
  • Verified the brief's wedge-guard disclosure is truthful: status_is_captain_relevant on note: CANDIDATE - PR ready for review vs working: PR ready for review, and note absent from the working|resolved|captain-held enumerations at bin/fm-supervise-daemon.sh:396 and :1279
  • bin/fm-brief.sh --help — confirmed the reworded header/summary renders and matches the body contracts
  • git status --porcelain — worktree left clean; all evidence written outside it
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

Alan Domio added 11 commits September 2, 2026 11:55
…ngs, pause-declaration, and retrospective contracts

Six additive fixes to the generated ship brief, each grounded in
measured worker failures on 2026-09-01/02: verify PP Brain with one
live search_knowledge call before believing an auth_missing banner,
a typed blocked: line for a genuinely unreachable server, CANDIDATE
findings recorded via working: for firstmate to promote (never a
direct write), a paused: line after opening the PR/MR so a merge
wait recheck long instead of alarming forever, correct colleague-
approval wording, and a mandatory retrospective pass before the
final status line.
@alandomio
alandomio merged commit 409d8f2 into main Sep 3, 2026
13 checks passed
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