Skip to content

feat: sync fork with upstream firstmate 913bb7a7 - #22

Merged
JacyAnderson merged 340 commits into
mainfrom
upstream-sync-4
Nov 11, 2026
Merged

JacyAnderson merged 340 commits into
mainfrom
upstream-sync-4

Conversation

@JacyAnderson

@JacyAnderson JacyAnderson commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Brings the fork up to date with upstream firstmate through 913bb7a (338 upstream commits the fork lacked) with a real merge, so upstream's history is part of the fork from here on.

PR #21 landed as a squash, so its upstream tip 83b70ef never became a fork ancestor and git merge fell back to the PR #17 base, reporting 162 conflicts. The fork tip already holds every PR #21 resolution, so the merge was resolved against 83b70ef as the base (git merge-tree --merge-base=83b70ef4), which leaves only the 21 files both sides changed after that sync. This merge commit keeps 913bb7a as its second parent, so the next sync starts from here as long as this PR also lands as a merge commit.

Upstream fixes that matter to this fleet

  • Local-only landings are pinned to the commit the done report named (9905462), so a branch that moves after approval refuses instead of landing extra work.
  • Answered captain calls that Done retention moved into the archive count as durable at the completion gate (07d1673). This is upstream's version of the fork's own archive lookup, see below.
  • PR polls stay armed across template updates and relaunches (39c6791, dbcb5ab), and an opt-in sweep records PRs that a done: line names when nobody ran fm-pr-check.sh (9224c902, config/pr-register-scan).
  • An opt-in degraded-PR watch wakes when a ready PR's checks fail, a GitLab head pipeline fails, or a merge train drops the MR (97e309c, config/pr-degraded-watch).
  • Teardown refreshes stale remote refs before refusing landed work (bf05a4f), ignores the no-mistakes mirror (ed1eb1d), keeps late worker changes (5b91acf), and refuses when Git hides untracked files (2363b71).
  • Relaunch refuses a primary home or checkout (b329c27) and works for standalone clones (660d2b3).
  • New opt-in settings: a Claude account per ship or scout from config/claude-accounts (4ee956e), shared_quota to turn off quota ranking (5aaa759), a pr=manual project token for worker-written PR text (e13d23f), and GitHub Enterprise PR hosts (d96bff0).
  • New explicit-only backends (Rex, tern, T3 Code, hc) and harnesses (Kiro, Cortex Code, Hermes). Nothing changes for this fleet unless a home selects them.

Fork changes and how each landed

  • Bare task branch names without fm/: carried. Upstream's new fm_dod_block signature and the reordered fm-project-mode.sh posture (branch prefix now last, plus --pr) default to fm/; both use FM_DEFAULT_BRANCH_PREFIX again. README keeps the bare default beside upstream's pr=manual clause.
  • Done-archive lookup for answered captain calls: dropped as superseded. Upstream's lookup reads the newest archived copy under the exact or legacy id, bounds the read, and also honors a user-level archive setting. bin/fm-captain-hold.sh, docs/captain-hold-lifecycle.md, and the lifecycle test now match upstream, and the fork's "keep the archive key pinned" line in docs/configuration.md goes, because upstream falls back to the default archive path when the key is unset.
  • PR review-comment wakes (pr-comments +N): adapted. The poll still prints one line per run. A merge wins. Otherwise new comments win over upstream's degraded or merge-train line, which the next poll reports. The --baseline read that fm-pr-check.sh makes while arming never gets a watermark file. GitHub comment reads pass GH_HOST so GitHub Enterprise PRs work. GitLab reads the note count from the rendered view or from user_notes_count on upstream's JSON path. fm-pr-check.sh still removes the old watermark before the poll goes live, now ahead of upstream's publish step, and teardown removes it next to upstream's degraded and train markers.
  • Branchless records in fm-merge-local.sh: carried. The bare-or-legacy branch fallback sits next to upstream's pinned done head. Upstream added its own tests/fm-merge-local.test.sh; the fork's three cases became one test in it.
  • Configurable worktree wait (FM_SPAWN_WORKTREE_TIMEOUT): adapted. Upstream nested the treehouse poll inside new T3 Code and Herdr slot-leasing branches. The counted loop sits in the treehouse branch, and the validation skips T3 Code and Herdr spawns as well as relaunches, secondmates, and Orca, since none of them poll.
  • Bearings test count in CI: dropped as superseded. Upstream's CI checks each suite against its own TAP plan, and the fork's bare-branch test is in the suite's fm_test_run list.
  • Test families: fm-text-check.test.sh stays beside upstream's fm-remote-inherit-generation.test.sh. The fork's pr-forge entry for fm-merge-local.test.sh goes, because upstream classified that test under backend-dispatch, which matches first.
  • updatefirstmate skill: the sync section now names PR feat(bin): sync the fork with upstream firstmate 83b70ef #21 as the latest description precedent.
  • Mission Control, the repo-text rule as rule 9, fm-text-check.sh, fm-upstream-sync.sh, fm_git_quiesce, the fork owner exemption in no-mistakes-required.yml, and the AGENTS.md pr-comments and branch-prefix lines: carried unchanged.
  • Duration hints for the fork's five serial tests: added, see Verification.
  • bin/fm-upstream-sync.sh's hotspot list drops the Done-archive and CI-count entries and adds this sync's recurring sites: fm-teardown.sh, tests/fm-pr-check-security.test.sh, tests/fm-merge-local.test.sh, tests/fm-bearings-snapshot.test.sh, and docs/configuration.md.

Conflict notes

Each entry names the file, what each side changed after 83b70ef, and the resolution.

  • .agents/skills/operational-home-layout/SKILL.md (2 hunks): the fork's Mission Control data/ and state/ entries against upstream's status archives and t3code-sends/ at the same lines. Keep both.
  • .agents/skills/ship-landing/SKILL.md: the fork's "merge and review-comment poll" against upstream's degraded-PR and register-scan sentences. Upstream's sentences with the fork's wording.
  • .github/workflows/ci.yml: the fork's Bearings count of 61 against upstream's TAP-plan check. Upstream's.
  • README.md: the fork's bare default against upstream's pr=manual addition. Both.
  • bin/fm-captain-hold.sh (2 hunks): the fork's archive lookup against upstream's. Upstream's, as above.
  • bin/fm-dod-lib.sh: fm_dod_block's locals against upstream's manual-PR block and new <pr> argument. Upstream's structure with the fork default and pr_rewrite.
  • bin/fm-merge-local.sh: the header. Upstream's text plus one sentence on branchless records.
  • bin/fm-pr-check.sh (3 hunks): both headers, and the watermark removal against upstream's baseline restore and later lock release. Both headers, and the removal kept before publish.
  • bin/fm-pr-poll.sh (5 hunks): the header, argument parsing, and the GitHub and GitLab reads. Described above.
  • bin/fm-project-mode.sh (5 hunks): the defaults and the posture comment and parse. Upstream's structure with the fork default.
  • bin/fm-spawn.sh: the treehouse poll. Described above.
  • bin/fm-teardown.sh (2 hunks): each side added PR poll artifacts to the same lists. Both.
  • bin/fm-test-run.sh (2 hunks): each side added tests to the same family lists. Both, less the duplicate entry above.
  • docs/architecture.md (2 hunks): the actionable-wake sentence and the isolation sentence. Upstream's sentences with "review-comment polling" and the bare default.
  • docs/captain-hold-lifecycle.md: the archive coverage bullet. Upstream's, and the fork's archive paragraph goes too.
  • docs/configuration.md (2 hunks): the environment list. Both sides' variables; the timeout line names T3 Code and Herdr as not polling.
  • docs/scripts.md (2 hunks): the fork's Mission Control and text-check rows against upstream's new rows. All rows, with the review-comment poll on the fm-pr-check.sh and fm-pr-poll.sh rows.
  • tests/fm-bearings-snapshot.test.sh: the fork's call list against upstream's fm_test_run list with two new tests. Upstream's list plus the fork's test.
  • tests/fm-brief.test.sh (2 hunks): each side added tests at the same spot. Both.
  • tests/fm-merge-local.test.sh (both added): described above.
  • tests/fm-pr-check-security.test.sh (5 hunks): the glab fake, the tests, and the teardown fixture. Both sides; the JSON fake reports user_notes_count when a test sets one, and a new case checks that comments come before the degraded line.

Verification

  • ShellCheck 0.11.0 through bin/fm-lint.sh passes on every bin/ script that differs from upstream and on the four test files edited by hand. bin/fm-doc-audience-check.sh passes.
  • These suites pass: upstream sync, project mode, brief, dod-lib, task delivery, text check, review diff, Bearings snapshot (63), merge-local, PR check security (77, including the comment-watch cases), spawn worktree settle, self-repo role, spawn external review, control relaunch, fleet ledger, teardown, test runner, CI workflow, Mission Control and its seed, git push guard, PR state, crew state, and captain-hold lifecycle.
  • The test runner's coverage guard refused the merged tree at first: the fork's five serial tests had no duration hints, which put 48 of 300 serial scripts on the default weight against a 15% cap. They now carry provisional hints rounded above one local run each, recorded in docs/fm-test-portable-shards.md the way upstream records its own provisional hints, and the guard passes.
  • tests/fm-pr-merge.test.sh passes except its Forgejo merge case, which fails the same way on a plain extract of upstream 913bb7a.
  • GitHub Actions started no workflow run for this PR, and none for PR feat(bin): sync the fork with upstream firstmate 83b70ef #21 either: the repository's last run is from 2026-09-30. CI and the body-compliance check have not run on this branch, so the only reported check is CodeRabbit, which skipped the PR for its size.

This PR was prepared with AI assistance.

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

⚠️ **Review** - medium risk

✅ No issues found.

✅ **Test** - passed

✅ No issues found.

  • git grep -lE &#39;^( | ) &#39; (no conflict markers)
  • git merge-base --is-ancestor 913bb7a7 HEAD (upstream included)
  • bash -n over every bin/*.sh
  • bash tests/fm-upstream-sync.test.sh
  • bash tests/fm-bearings-board.test.sh
  • bash tests/fm-bearings-snapshot.test.sh
  • bash tests/fm-mission-control.test.sh
  • bash tests/fm-mission-control-seed.test.sh
  • bash tests/fm-branch-supervision.test.sh
  • bash bin/fm-project-mode.sh --branch-prefix anyproj (bare-branch default check)
  • bash tests/fm-captain-hold-lifecycle.test.sh (stopped after about 10 minutes without finishing; no failure seen)
✅ **Document** - passed

✅ No issues found.

⚠️ **Lint** - 1 warning
  • ⚠️ linter found issues (exit code 1)
✅ **Push** - passed

✅ No issues found.

thelad-dev and others added 30 commits October 14, 2026 17:38
…uid#7308)

* feat(afk): Spend-Obergrenze beim Eintritt aus der lebenden Worker-Zahl

Ohne ausdrückliches --spend nimmt der Eintritt in den Away-Modus die Zahl der
gerade im Home stehenden gewöhnlichen Worker als Obergrenze, damit der Modus
laufende Parallelität nicht einengt. Der bisherige Default bleibt Untergrenze,
0 bleibt ausgeschlossen, und ein ausdrückliches --spend gewinnt weiterhin.

Die Zählung bekommt mit `live-workers` genau eine Implementierung in
bin/fm-afk-contract.sh. bin/fm-spawn.sh liest sie dort statt mit einer eigenen
Schleife, sodass Eintritt und spätere Sperre nicht auseinanderlaufen können.

* no-mistakes(document): Remove misplaced afk spend-cap plan

---------

Co-authored-by: ladwein <[email protected]>
…ion paths (kunchenguid#6965)

* fix(bin): guide supervision through completed-scout cleanup

* no-mistakes(document): Document completed-scout cleanup ownership and regression coverage

* no-mistakes(test): Allow confined lab overrides and verify live scout cleanup

* no-mistakes(test): Clarify per-task cleanup reporting and verify live outcomes
…o the job's timeout (kunchenguid#7240)

* fix: recheck a worker paused on its own background job

A worker that declares `paused:` on its own background job and then misses the job's completion stays idle until the long declared-wait recheck, because the first-sight alert spends the declaration's throttle and nothing else names when the job must have ended.
The worker pause instructions now say that `until` for such a job is its start plus its timeout, and the watcher already rechecks once when that time passes.
The recovery playbook now tells the supervisor to verify the condition a declared wait names before reporting the wait as healthy.

Fixes kunchenguid#7239

* test: give the background-job until test headroom over its quiet round

The first absorb round of the until test may take four poll cycles of up to 30 s each on a loaded runner.
With `until` only 15 s ahead, that time could pass during the round and fail the test although the watcher behaves correctly.
Set `until` 120 s ahead so the window covers those four cycles, as CONTRIBUTING asks of fixture windows.

* chore: retrigger CI

* chore: retrigger CI

* no-mistakes(review): Rebuild bg-job until test with passed until, no sleep

* no-mistakes(review): Restore bg-job absorb checks and assert due recheck marker

---------

Co-authored-by: pedromuller-del <[email protected]>
…dapter (kunchenguid#6679)

* feat: add Command Code crewmate and scout adapter

Add `commandcode` as a verified worker runtime for crewmate and scout work
only, so Firstmate can dispatch workers on Command Code models such as
deepseek/deepseek-v4.1-flash.

- Detection: the anchored `command-code` process title identifies the
  adapter in fm-harness.sh and the shared liveness classifier.
- Launch: fm-spawn passes --yolo, --trust, --skip-onboarding, the model, an
  effort only where the model's accepted set is verified, and the typed
  launch brief after --; taste-learning state is kept out of git.
- Busy state: a tracked mod, bin/fm-commandcode-mod.ts, is loaded per
  process with --mod and --mod-option, writing run_start/run_end/session
  end through fm-busy-event.sh; no user or project settings are edited
  (Command Code's --config persists globally, so it is never used).
- Control: one Escape interrupts; the idle double-Escape Rewind picker is a
  recognized hazard that exit refuses and interrupt dismisses; /quit exits.
- Composer: the bright truecolor placeholder is read with an
  identity-scoped ghost ceiling, and the tmux adapter supplies the identity
  for a cursor parked below the footer; Herdr reports it natively as `cmd`.
- Attribution: the fleet commit-msg strip removes the CommandCodeBot
  trailer.
- Docs, harness reference, verification record, portable regressions, and
  the FM_COMMANDCODE_SIGNALS_LIVE live guard.

* no-mistakes(review): Drop flash-fast effort pairs; correct identity-probe cost comments

* no-mistakes(ci): I fixed both Greptile findings the way you asked. Both new regression tests fail on the old code and pass now. The changes are not committed. **ci-1: Command Code on zellij, cmux and orca.** The rule that must hold is that a Command Code worker only runs on a backend that tells Firstmate the pane is Command Code. Without that, its idle placeholder never reads as an empty composer, so steering stalls. `bin/fm-spawn.sh` now refuses `--harness commandcode` unless the backend is tmux or herdr. The error reads: `commandcode is verified on the tmux and herdr backends only; backend=<b> cannot prove its composer empty. Select backend tmux or herdr.` - The check runs after both the harness and the backend are known, so it covers fresh spawns and `--relaunch`. - It runs before any pane, worktree, task record or busy state is created. - New test in `tests/fm-commandcode-harness.test.sh`: tries a scout spawn on each of zellij, cmux and orca (with a fake `orca` that reports ready). It checks for the refusal and that nothing was launched, no task record was written and busy state was not armed. It needs no real backend installed. - Documented in `docs/configuration.md`, the Command Code adapter reference and the `fm-spawn.sh` header. **ci-2: an old process signalling its replacement.** The rule is that the `turn-ended` notification may only be raised under the same generation check as the idle write. The mod used to touch the file itself after the writer returned, which left a gap for a relaunch to slip in. - `bin/fm-busy-event.sh apply` takes a new `--turn-ended` flag. It touches `state/<id>.turn-ended` while still holding the writer lock, after the generation check passes. A stale generation is refused with no touch, and the flag is rejected on any subcommand other than `apply`. - `bin/fm-commandcode-mod.ts` no longer touches files itself. On `run_end` it passes `--turn-ended` unless the turn was interrupted. - New test in `tests/fm-commandcode-harness.test.sh`: a fake writer accepts the idle write and then arms a replacement before the mod continues. It asserts no notification appears. - New test in `tests/fm-busy-state.test.sh`: the notification is raised for the current generation, not for a stale one, and not outside `apply`. **Checks run:** - Passing: `fm-commandcode-harness`, `fm-busy-state`, `fm-busy-adapter-wiring`, `fm-backend`, `fm-documentation-audiences`, and `bash -n` on the changed shell files. - `fm-bootstrap.test.sh` fails one case ("backend=herdr must fail closed on its own missing session CLI"). It fails the same way on an untouched copy of the branch, because herdr is installed at `/usr/bin/herdr` on this machine. - `bin/fm-lint.sh` could not run because ShellCheck 0.11.0 is not on PATH, so the changed shell files have not been linted. **Not changed:** Devin's hook does the same thing outside this PR: it runs `apply ... && touch` in `bin/fm-devin-config.sh`. That predates this PR and is not in the changed area, so I left it alone

* no-mistakes(ci): I fixed ci-sc2016. ShellCheck is not installed on this machine, so I could not confirm that the lint warning is gone. **The rule that was broken:** the repo lints with ShellCheck at its default severity, which also fails on info-level notes. Any single-quoted `$` that is meant to stay literal needs a scoped disable comment that says why. Only one place in the changed area needed this: the racing-writer `printf` in `tests/fm-commandcode-harness.test.sh`. Its format string writes `"$2" "$3"` on purpose, so the generated fake writer reads its own arguments when it runs. **The fix:** I added one line just above that `printf`: `# shellcheck disable=SC2016 # positional params expand in the generated writer.` The repo already does this the same way, for example in `tests/fm-afk-launch.test.sh` and `tests/fm-ask-user-authority.test.sh`. Nothing else changed, so the test behaves exactly as before. **Checks run:** - `bash -n tests/fm-commandcode-harness.test.sh` passes. - `bash tests/fm-commandcode-harness.test.sh` passes all six cases, including the busy-mod case with the racing writer. **Not run:** `bin/fm-lint.sh` stops with "ShellCheck not found" because ShellCheck 0.11.0 is not on PATH and there is no copy in the repo. I did not install it, since installs outside the worktree are off limits here. The upstream lint run will be the first ShellCheck pass on this change. The change is not committed

* no-mistakes(review): Hard-code Command Code ghost luma ceiling at 160

* no-mistakes(review): Test commandcode relaunch refusal off tmux/herdr before stop

* no-mistakes(document): Note Command Code fixed ghost luma ceiling in config docs
Claude spills a hook output over 10,000 characters and shows only the first
2,000 plus a saved-file path. The re-emit prints captain.md and learnings.md
last, so they never reached the session. Print a short cue first that names
the saved file and the memory files, and document the cap.

Refs kunchenguid#6303
…kunchenguid#7302)

* fix: retry transient contribution reads once

* fix: classify contribution read errors safely

Address review findings for kunchenguid#7262 by parsing only gh status forms, recognizing real DNS errors, refusing GraphQL not-found retries, clearing per-URL diagnostics, and restoring exit-137 handling.

* fix: recognize bare gh HTTP errors

Complete kunchenguid#7262 review fixes by accepting bodyless gh status lines and keeping all GraphQL errors out of transient network classification.

* no-mistakes(review): Classify gh network errors by Go error tokens

* no-mistakes(document): Note why contribution 404 reads are never retried

* no-mistakes(review): Retry message-less GraphQL HTTP 5xx on closing read

* fix: retry transient contribution reads once

* fix: classify contribution read errors safely

Address review findings for kunchenguid#7262 by parsing only gh status forms, recognizing real DNS errors, refusing GraphQL not-found retries, clearing per-URL diagnostics, and restoring exit-137 handling.

* fix: recognize bare gh HTTP errors

Complete kunchenguid#7262 review fixes by accepting bodyless gh status lines and keeping all GraphQL errors out of transient network classification.

* no-mistakes(review): Classify gh network errors by Go error tokens

* no-mistakes(document): Note why contribution 404 reads are never retried

* no-mistakes(review): Retry message-less GraphQL HTTP 5xx on closing read
…tion (kunchenguid#7338)

* fix(bin): let a backlog captain hold bound the watcher's wedge escalation

A stuck worker whose task was held for the captain through
bin/fm-captain-hold.sh kept wedge-escalating every STALE_ESCALATE_SECS,
because wedge_wait_evidence only read the status line. It now also reads
the open backlog captain call (task_captain_call_open) and defers to the
existing captain-facing long recheck, silent while the away record exists.

* no-mistakes(review): Publish no wait age for backlog captain holds

* no-mistakes(review): Let an elapsed paused-until line fall through to backlog hold

* no-mistakes(document): Document backlog captain hold in wedge wait-evidence contract
…guid#5404)

* fix(bin): parse Lavish list-form results and refuse unparsed blocks

Lavish emits its queued prompts in TOON list form instead of table form as
soon as the items stop being uniform, for example when some annotations carry
a nested target object or a message carries an attachments table. The adapter
only recognized the table header, so read reported a complete, empty result
and answers closed nothing.

Move the result parsing into one shared reader used by read, answers, and
reconciles that accepts both forms, keeps only column-zero headers, skips
nested structures only beneath the field that opened them, and counts
anything it cannot account for as malformed. An unrecognized header naming
the block is now malformed rather than an empty result, answers and
reconciles exit nonzero when the result is not fully accounted for, and the
queued-content check treats a list header as content.

Refs kunchenguid#4726

* no-mistakes(document): Document Lavish capture formats and incomplete-result handling

* test: expect captain_message_count for the open-board list-form capture
…uid#5835)

* fix(pi): let the supervision branch claim Orca stale wakes

The watcher keys Orca endpoints by terminal=, but the branch dispatcher
only indexed window=, so every Orca stale row vetoed the wake scan and
went to main. Index both endpoint fields.

Local hotfix ahead of upstream; refs kunchenguid#5623.

* test(pi): cover terminal-keyed Orca stale rows in branch dispatch

Pins the terminal= endpoint lookup: a terminal-keyed stale row queued with
another eligible row must resolve to its task in both routine and heartbeat
scans, instead of vetoing the wake to main.

* no-mistakes(document): Update supervision dispatch doc for Orca terminal-keyed stale rows

* fix(pi): reject conflicting wake endpoint ownership

Index task keys and window/terminal aliases through one ownership check.
Ambiguous records must leave the wake on MAIN instead of selecting the
last task and possibly bypassing another owner's open decision.

Cover duplicate terminals and collisions with window and task keys in
both record orders while preserving unique terminal routing.

* no-mistakes(document): Document conflicting alias ownership as scope corruption

* fix(pi): retain ownership claims from incomplete task records

Check endpoint and task alias ownership before project eligibility so a
projectless record cannot lose its open decision to another terminal owner.
Require project context before decision filtering can grant routing scope.

Cover missing and empty project fields in both record orders, and preserve
refusal for a uniquely mapped terminal without project context.

* no-mistakes(review): Fix canonical routing ownership and custom SDK event handling

* no-mistakes(review): Preserve dedicated custom processing run ownership

* no-mistakes(document): Clarify Pi event handling and fail-closed routing documentation
…anches (kunchenguid#7368)

* feat(bin): add a forge=external review rail that never pushes task branches

A project whose review tool uploads its own snapshot of the worker's local
commits can now be registered [direct-PR forge=external]. Workers on such a
project never need to push a branch to publish, and must never push a task
branch to the shared origin.

- fm-project-mode.sh: external joins the closed forge set; never detected,
  refused on local-only, and +yolo reports yolo=off with a refusal.
- fm-dod-lib.sh: external ships direct-PR only; its first rule forbids origin
  and task-prefixed pushes, its Definition of done renders the home's
  config/external-review.md adapter verbatim, and the ready-report gate
  accepts `done: review <url> uploaded for review` on the URL alone or, with a
  recorded backup remote, once HEAD is on the backup namespace.
- fm-git-push-guard.sh (new): per-task pre-push guard refusing pushes to
  origin or a URL matching origin's, task-branch and task-prefixed refs on any
  remote, and refs outside the backup prefix on the backup remote.
- fm-git-strip-ai-trailers.sh: install gains --push-guard and --no-strip.
- fm-spawn.sh: refuses yolo, a missing adapter, and an unusable backup
  remote before launch; installs the guard even under keep-ai-trailers; and
  records forge=external, backup_remote=, and backup_prefix=.
- fm-review-check.sh (new): records review= and review_head= with no merge
  watch, and publishes the child's ready line in a secondmate home.
- fm-promote.sh refuses promotion onto forge=external, because a scout
  launches without the guard.
- Docs: docs/external-review-forge.md (design), configuration.md's new
  "External review tool" section, scripts.md, and the ship-landing and
  project-management skills.

* no-mistakes(review): Drop string-grep hook assertion from external-review spawn test

* no-mistakes(document): Note forge=external contract token and direct-PR-only composition
…uid#7387)

Ein Lauf, den sendCustomMessage startet, traegt eine Custom-Nachricht und
keinen prompt. Das Lesen des prompt an dieser Stelle warf, womit jeder
solche Lauf mit einem Fehler auftauchte statt zu starten.

Die Verengung dagegen steht seit 8c9c67d im Zweig, ein Test, der sie
benennt, fehlte: die einzige Abdeckung lag beilaeufig in einem
Abbruch-Fall der Abwesenheits-Haltung und verschwindet mit ihm. Der neue
Fall erweitert den bestehenden Mirror-Test und prueft, dass ein solcher
Lauf weder wirft noch als Dialog gespiegelt wird.

Gegenprobe: ohne die Verengung wirft genau dieser Fall mit
"Cannot read properties of undefined (reading 'trim')".

Co-authored-by: thelad-dev <[email protected]>
…nchenguid#7409)

* fix(tmux): verify exact endpoint membership

* fix(tmux): preserve exact target forms

* test(tmux): align endpoint fixture lifecycles

* test(tmux): guard isolated cleanup and shell reader

* no-mistakes(review): Limit tmux .pane target split to window indexes
… plain row (kunchenguid#7395)

* fix(bin): stop misreading opencode's own footer as pending composer text

An idle OpenCode composer classified as `pending`, and that verdict gates every
typed-plane action firstmate owns: fm-send skips the doorbell, and fm-control
refuses both relaunch and exit. A firstmate operator lost a full session to it and
had to type into worker panes by hand three times.

Root cause: opencode 1.19 draws the mode/model footer's identifying cells
de-emphasised (mode word RGB 67;133;190, middle-dot separators 111;110;105,
luminances ~119.8 and ~109.7, both under fm_composer_strip_ghost's 128
threshold). That helper exists to answer "what did the human type?", so it
deleted exactly the cells that identify the footer. The `^(Build|Plan)` anchor
then became unreachable on every styled backend - tmux, Herdr, and Zellij - not
just one pane, because the unstyled row keeps its styling bytes everywhere.

The fix proves the footer from both forms of that row: the ghost-stripped
content and the ANSI-stripped plain row. Proving it on the form ghost stripping
cannot reach is the whole repair.

What makes that safe, and why the previous argument was not: the earlier draft
argued safety by noting that on a plain capture the two forms collapse to one
string, so the verdict is unchanged. That is true and carries no weight, because
styled=0 is the only configuration where the new proof does nothing. The
exemption is safe because a row reaches the plain form only when the
ghost-stripped row still fails the pattern, which means the stripped content is
non-empty while its own leading Build/Plan cell was deleted as ghost. Nothing
opencode draws de-emphasises a typed row's leading cells - only its furniture is
drawn dimmed - so the only rows the plain form admits beyond the stripped one
are de-emphasised furniture, and the mode footer is the only furniture opencode
draws that opens with a mode word. That is self-confirming rather than asserted,
and it is the argument to recheck when a new opencode release moves a colour.

A review also caught a second change riding along in the same diff: the footer
pattern had been widened from `[[:space:]]+` to `[[:space:]]*`, admitting
`Build ·x` and a bare `Build ·`. Both read as more typeable than the footer, so
they moved the verdict in exactly the direction this rule exists to prevent. No
recorded opencode footer ends at the dot, so the original `+` matches every real
capture and the widening is reverted.

Verification:
- fm-lint.sh exit 0 on pinned shellcheck 0.11.0 and actionlint 1.7.12.
- fm-doc-audience-check.sh ok across 119 surfaces and 757 local links.
- tests/fm-composer-lib.test.sh green via bin/fm-test-run.sh.
- The new regression case fails on exactly one assertion when this change is
  reverted: "opencode 1.19.0 de-emphasised footer row: expected empty, got
  'pending'", which is the reported symptom.
- Confirmed end to end against live panes rather than only fixtures: a real idle
  opencode 1.19.0 worker classified empty after the change and pending before,
  and firstmate reached the worker over the steer channel afterwards.

* no-mistakes(review): fix(bin): apply leftbar footer rule in content extractor; correct cursorless claim

* no-mistakes(document): document opencode 1.19 footer furniture and extractor coverage

* no-mistakes(document): document ghost-luma knob coupling to opencode footer furniture

* no-mistakes(document): document opencode de-emphasised footer recognition invariant

* no-mistakes(review): fix(docs,bin): correct ghost-luma knob direction, gate plain-row extraction

* no-mistakes(review): fix(docs,bin,tests): correct ghost-luma knob wording, share plain-content helper, cover Herdr/Zellij idle

* no-mistakes(document): narrow overstated backend coverage claim in runtime-backends.md

* no-mistakes(document): document leftbar footer override and opencode 1.19 pointer
…7406)

Der Kopf des Tests sagt, jedes Programm werde so gestartet, wie
bin/fm-spawn.sh es startet. Im codex-Zweig von launch_cmd fehlte dabei
--disable hooks, das fm-spawn im crewmate- und scout-Pfad setzt.

Ohne den Schalter parkt codex auf dem Hook-Vertrauensdialog ("N hooks
are new or changed"), dessen Auswahl auf "Review hooks" aufsetzt und der
mit der Tastenebene dieses Werkzeugs nicht beantwortbar ist. Der Lauf
meldet dann die Tuerklingel als nicht befolgt, obwohl er ueber die
Tuerklingel gar nichts ausgesagt hat - und das auf jedem Checkout, weil
schon die projekteigene .codex/hooks.json den Dialog aufzieht.

Dazu eine knappe Zusicherung am Startrezept, damit der Schalter beim
naechsten Umbau nicht wieder still ausfaellt.

Co-authored-by: ladwein <[email protected]>
…kunchenguid#7096)

* fix(bin): store only classified review fields in contribution records

A pull observation stored GitHub's raw reviews payload, so a PR with a few
hundred reviews wrote a record past the 1 MiB read cap and every pending,
verdict and ack read then refused the whole home. Project each stored review
to id, state, submitted_at, commit_id and user.login, the only fields the
classifier reads, and add a many-review regression.

* no-mistakes(document): clarify contribution record read cap in script header
…7216)

* fix(pi): retain custom-event handling and processing cancellation

* fix(pi): identify custom triggers before legacy prompt narrowing

* no-mistakes(test): Correct branch fixture retirement and verify real notification ownership

* no-mistakes(document): Clarify Pi event boundaries and verification scope

* fix(pi): retain custom-event handling and processing cancellation

* fix(pi): identify custom triggers before legacy prompt narrowing

* no-mistakes(test): Correct branch fixture retirement and verify real notification ownership

* no-mistakes(document): Clarify Pi event boundaries and verification scope

* no-mistakes(review): Fix SDK1.1 prompt staging and verify branch context

* no-mistakes(document): Clarify SDK prompt compatibility and branch-context verification

* no-mistakes(test): Require dual-SDK compiler checks; execution remains pending

* no-mistakes(document): Correct SDK typecheck documentation and stale dependency claims

* no-mistakes(document): Correct stale Pi typecheck documentation and ownership pointers

* no-mistakes(ci): Fixed SC2329 in tests/fm-pi-primary-types.test.sh by inlining EXIT cleanup. Also fixed a reproduced macOS npm-prefix/lockfile path failure without changing dependency pins or assertions. Canonical targeted lint, strict TypeScript 5.9.3 checks against Pi 1.1.0 and 1.2.0, and success/failure cleanup checks pass. Both behavior-shard failures were upstream npm ETARGET errors in workflow steps unchanged from base; no workflow/runtime changes warranted. Hosted CI remains for the outer executor

* fix(test): reconcile queued processing probes after rebase

* no-mistakes(document): Correct Pi compiler-phase documentation and stale CI comments
…guid#6380)

* fix(cursor): verify cursor-agent by running it, not by name

Cursor's installer writes its `cursor` IDE shim through the
~/.local/bin/cursor -> cursor-agent symlink, which can replace a versioned
cursor-agent with a script that only prints "No Cursor IDE installation
found" and exits non-zero. That file keeps Cursor's own name and install-tree
path, so the name shortcut (and the structural check alone) accepted it and
every Cursor spawn launched the broken file instead of the working agent alias.

A launch candidate now has to print Cursor's CLI identity under the bounded
probe, or carry the structural evidence and run --help successfully. Hosts
without a bounded runner keep the structural verdict, as before.

* no-mistakes(document): Align cursor launch-verify docs with runtime

* no-mistakes: apply CI fixes

* test: restore fm-watch-triage ack_stopped_cycle assertion

The CI fix round loosened ack_stopped_cycle so a drain that prints no
acknowledgement command and exits zero counts as success. That test is
unrelated to the Cursor executable verification this branch changes, so
restore its original assertion rather than mask a watcher failure here.

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* fix(bin): restore fm-afk-contract clock sampling

A CI fix round changed how fm_afk_contract_cmd_enter samples its epoch.
That away-mode behavior is unrelated to the Cursor executable verification
this branch changes, so restore it here and leave any fix to its own change.

* fix(cursor): load the timeout library only when a probe runs

Sourcing bin/fm-timeout-lib.sh at load time made every consumer of
fm-cursor-lib.sh, including the session-lock and turn-end hook paths that
never probe, depend on that file being next to it. Load it lazily from the
probe instead.

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* test: restore herdr focus-flash e2e test

A CI fix round edited this Herdr end-to-end test, which is unrelated to the
Cursor executable verification this branch changes. Restore it here and leave
any fix to its own change.

---------

Co-authored-by: ladwein <[email protected]>
…#7422)

* fix(dod): require a PR reference in CI-ready notes

* no-mistakes(review): Recognize Forgejo plural pull request URLs
…ts view (kunchenguid#7434)

* feat(herdr): opt-in project groups with status tags and a sorted agents view

Add config/herdr-project-groups (absent or off: unchanged behavior). When on,
Firstmate tags each Herdr task pane, and its own projected workspace, with
display-only fm_group/fm_state/fm_task/fm_sort tokens, sets a Herdr agents
view sorted by group then status (needs-captain, problem, running, done), and
places a new projected task at the end of its own group inside the parent
block with the same single verified move as before.

The watcher reconciles tags once per poll and a spawn tags its task at once;
bin/fm-herdr-groups.sh also previews (plan), clears, and prints or appends
suggested sidebar rows with a backup. The agents view helper needs python3.
The only test-runner change is the serial weight hint for the new suite.

* docs(herdr): record the live lab check of project groups

The four hand checks for tags, the sorted agents view, placement at the
end of the group, and clear passed against a real Herdr 0.9.5 server
(protocol 22) in a guarded lab session.

* docs(herdr): align project group verification notes with the live check
…guid#7410)

ps -o lstart= renders in the caller's locale, so a lock or claim owner
recorded under one locale (de_DE renders "Di Okt 13 ...") failed identity
verification under another, was declared dead, and a second worker split
the queue: two serve loops reclaimed and reaped each other's live jobs,
which vanished mid-claim and failed staged jobs with exit 125 and no
output. Pin LC_ALL=C in fm_remote_job_process_start and pin the
cross-locale invariant with a regression test.

Co-authored-by: researchworldwide2026 <[email protected]>
* Guard fm-crew-state overrides by task-name basename

bin/fm-crew-state.sh honours FM_CREW_STATE_META_OVERRIDE and FM_CREW_STATE_STATUS_OVERRIDE only when the override's basename is the requested task's own .meta or .status file name.
An override naming a different task, for example one inherited through a server started inside another task's snapshot child, falls through to the task's own records under the state directory.
A snapshot's own override, which names the task it was captured for, is still honoured.
This is complementary to kunchenguid#5622, which keeps the overrides out of the Herdr server launch: whatever path leaks an override, the reader never trusts one that names a different task.
Regression tests cover a mismatched override being ignored and a matching one being honoured.

* no-mistakes(review): Make metadata override tests behaviorally distinct
…kunchenguid#7415)

* fix(bin): re-anchor a Claude session's lock so /clear keeps ownership

A same-session confirmation over a live lock line 1 outside the current
harness ancestry now rewrites line 1 to the session's CLAUDE_PID anchor
under the claim lock, so a later /clear re-key in the same process is
still proven by ancestry instead of being refused as a foreign owner.

Fixes kunchenguid#6820

* fix(bin): move task leases with a session-lock re-anchor

A same-session re-anchor rewrote lock line 1 off a live pid while task
leases still named that pid, so a lease held by main or the supervision
branch read as stale and the other actor could claim the task. The
re-anchor now takes the lease-command lock after the claim lock and,
in the same critical section as the line-1 write, rewrites leases
recorded against the old pid to the new anchor (fm_lease_rekey_holder).
If the lease-command lock stays busy past a short bound, the
confirmation keeps line 1 as before and a later acquisition re-anchors.

The foreign-owner reproduction now asserts the re-anchor contract: the
same trusted id from a live process outside the owner's ancestry moves
line 1 onto that process's CLAUDE_PID, and a different id is refused
against it afterwards. The ancestry membership loop is shared through
one session-lock lib helper.

The earlier commit dropped the ancestry suite's dead-front-end reclaim
phase; that coverage lives in the existing reclaim tests
(test_verified_reclaim_keeps_new_sidecar and the Stop auto-arm's
test_reclaims_stale_session_lock_before_arming).

* fix(bin): record the lock holder for a lease pinned before a re-anchor

The supervision host pins FM_LEASE_HOLDER_PID to lock line 1 at the
start of each engine turn. A same-session re-anchor inside that turn
moved line 1 to a new pid while the pinned holder stayed alive, so a
later claim or same-actor refresh in the turn recorded the old pid and
the lease read stale, letting main claim the branch's task.

A claim now records the live line 1 when the pinned holder is alive but
is no longer line 1. Another session takes the lock only from a dead
owner, so that state comes from a re-anchor; a dead pin is still
recorded as before and its lease stays stale.

* no-mistakes(review): Move auto-arm rewake session pid with lock re-anchor

* no-mistakes(review): Align startup-network downgrade test and lock-rewrite comment

* no-mistakes(review): Correct lock takeover and re-anchor signal-window comments

* no-mistakes(review): Record re-anchor rewake and pinned-claim verification evidence

* no-mistakes(document): Update network-checks diagnostic for re-anchored lock holder
* feat(bin): watch a tool's published version through version_url

A watched tool whose CLI never announces its own updates can name a version_url; the document is fetched read-only inside the probe bound, its first dotted number is the published version, and an update is reported when that is newer than the version PATH resolves. Claude Code is the shipped example entry.

* no-mistakes(review): Compare published versions against newest installed tool copy

* no-mistakes(document): Clarify watched-tool version URL documentation
…mand loads them (kunchenguid#7287)

* fix(pi): keep a live session's extension markers when a nested Pi command loads them

A short-lived Pi command started from inside a live session, such as the
`pi --help` capability probe, auto-loads the two primary extensions. Both
treated the session lock as owned because an ancestor holds it, so the child
rewrote `.pi-watch-extension-loaded` and `.pi-turnend-extension-loaded` with
its own pid and exited. Session start then rejected the markers and printed a
false `PI_WATCH_EXTENSION: not loaded` alarm.

Before writing, each extension now reads the marker's pid and leaves the
marker untouched when that pid is a live strict ancestor of the current
process. A missing marker, a dead pid, the current pid, or a live pid outside
the ancestry still writes as before, so a fresh start and a relaunch over a
dead session bind unchanged. Lock ownership and the reader are untouched.

Fixes kunchenguid#5202.

* fix(tests): drop apostrophes from the nested-load marker heredocs so stock Bash 3.2 parses them
* fix(bin): supersede an orphaned Claude auto-arm claim after a session restart

An auto-arm claim is open only while its owner still descends from the session-lock pid.
A hook whose session exited mid-cycle stays alive with no parent to receive its exit 2, so deferring to its claim left the home unsupervised until the next session turn.
The replacement session's first Stop now takes the next generation, attaches to the running watcher, and delivers the wake itself, while the orphan goes silent.
A claim with no readable numeric session lock is never open.

* no-mistakes(review): accept pid-1 ancestor and session-id-matched autoarm claims

* no-mistakes(review): pin autoarm session-id claim signal to lock holder pid

* no-mistakes(review): exercise real lock recovery in orphan supersession tests

* no-mistakes(review): record lock-holder pid-identity instead of bare pid

* no-mistakes(document): complete autoarm claim-open coverage list

* no-mistakes(ci): Greptile finding ci-1 (hidden session-lock dependency in bin/fm-wake-lib.sh) fixed. Invariant: every function fm-wake-lib.sh calls must either be defined in that file or explicitly loaded by it before the call, so a caller sourcing only the wake library cannot silently degrade. Violating sites in the changed area: fm_autoarm_claim_open's fm_session_lock_recorded_session_id call, and the sibling writer fm_autoarm_claim_next's fm_session_lock_trusted_session_id call (which would otherwise silently omit the two new ledger fields). Both fixed at one shared boundary: a new lazy loader _fm_wake_require_session_lock (bin/fm-wake-lib.sh:38), matching the file's existing _fm_wake_require_classify/_fm_wake_require_timeout idiom, invoked immediately before each call. Lazy rather than top-level source so the ~40 scripts sourcing the wake library pay no harness-identity machinery cost; no circularity (fm-session-lock-lib.sh sources only fm-cursor-lib.sh). No new behaviour, state, or fallback. Verification: sourcing only fm-wake-lib.sh, a claim with broken ancestry plus matching sidecar id and matching recorded lock-holder identity now reads OPEN and the session-lock library is loaded on demand; ordinary descent path unaffected. Suites tests/fm-claude-stop-autoarm.test.sh, tests/fm-turnend-guard.test.sh, tests/fm-wake-queue.test.sh all pass; shellcheck -S warning reports only the pre-existing SC2034 present on HEAD. tests/fm-session-lock-ancestry.test.sh fails its final case ("the pty-host was not reparented to init after the daemon ended") identically with the change reverted, so that failure is a pre-existing WSL environment behaviour, not caused by this fix

* no-mistakes(document): Clarify auto-arm claim documentation
)

* wip: polytoken worker adapter (detection, launch, wiring, control, composer; tests mid-iteration)

* feat: verify the polytoken worker adapter (crewmate + scout)

Add polytoken 0.8.19 as a verified crewmate/scout adapter on the
captain-approved TUI-pane-plus-REST hybrid: the pane keeps inspection
and backend parity while the control verbs ride the session daemon's
typed REST API.

Detection is ancestry alone on the anchored polytoken comm (a tool
subprocess's parent is the session daemon, verified live), with the
launch boundary clearing every foreign ORCA_/FM_ marker plus the fixed
harness-identity set. The launch generates the per-task worker config
dir (mirrored operator config with the unattended permission posture
enforced, because a project config.yaml fully replaces the global
config), the worker role-contract facet (no model pin, delegation and
facet switching denied at the tool registry), and the worktree hook
layer binding the verified busy pair - pre_user_prompt and
pre_model_turn open, stop closes - to a no-argv generated writer. The
readiness gate binds the session id, port, and credential into task
metadata through sessions --format json and fails loudly on any
first-start dialog, because the license terms are a blocker by captain
decision and --accept-license-terms is never passed.

Interrupt is POST /turn/cancel with its typed settle (the TUI has no
interrupt chord, so no key is ever improvised), exit is /quit, and a
cancelled turn's busy close is written by the control plane because no
stop hook fires. The composer is the verified separated shape with
polytoken as its second owner, and Enter mid-turn queues, so the
busy-queued conversion applies. Crewmate and scout only: a secondmate
launch is refused, and a project's own .polytoken/hooks.json is refused
rather than clobbered.

* no-mistakes(review): Fix polytoken launch flag order, token argv, live guard

* no-mistakes(document): Correct polytoken REST doc comment and token-on-stdin invariant

* no-mistakes(lint): Silence intentional SC2016 in polytoken live guard treehouse shim

* no-mistakes(review): Retire polytoken pool wiring, drop FIFO config, test env clearing

* no-mistakes(review): Scope polytoken teardown wiring removal to untracked polytoken files

* no-mistakes(review): Refuse existing polytoken hook layer before writing any wiring

* no-mistakes(document): Note teardown as consumer of harness wiring-path table

* no-mistakes(review): Retire only firstmate-generated polytoken worktree wiring

* no-mistakes(review): Guard polytoken hook layer before relaunch cleanup arms

* no-mistakes(document): Note relaunch also skips git-tracked wiring paths

* test: stub polytoken in the refused-relaunch fixture

The refused relaunch onto polytoken resolves the polytoken binary before
its hook-layer refusal, so the case failed on CI hosts without the real
CLI installed. A no-op stub on the fixture PATH stands in; it is never
launched.

* no-mistakes(review): Guard polytoken interrupt close; refuse whitespace hook paths

* no-mistakes(review): Snapshot busy record after cancel settles before idle close

* no-mistakes(review): Guard interrupt close with pre-cancel snapshot and sync recheck

* no-mistakes(test): Clear inherited AGENT at the polytoken launch boundary

* no-mistakes(document): Document guarded polytoken interrupt close and whitespace refusal

* test: preserve Polytoken hook refusal coverage with explicit pins

* no-mistakes(review): Refuse invalid Polytoken relaunch profiles before stopping the worker

* no-mistakes(document): Document Polytoken relaunch refusals before stopping the worker

* fix: scope worker wiring cleanup to Polytoken

* fix(bin): point Polytoken workers away from tool_flow for the task directory

Polytoken 0.9.0 offers no launch-time path grant: tool_flow's file_read
refuses the Firstmate task directory while the direct file tools reach it
under the generated bypass matcher. The worker facet now says so, and the
verification record carries the live evidence.

* fix(bin): leave the pool as found when a fresh spawn fails

A fresh spawn that fails and leaves no task record now closes the endpoint
it opened before its launch was delivered, so the shell whose treehouse get
leases the slot ends and the pool gets the slot back. It also removes the
harness wiring, task temp root, and staged launch file it wrote, and drops
its slot claim under a retaken project lock after metadata publication.

* no-mistakes(review): Stop pre-launch refusals pointing at windows abort cleanup closes

* fix(bin): scope failed-spawn cleanup and the Running-for busy row to Polytoken

The failed-spawn pool cleanup and the Running-for busy row now apply only to
Polytoken, so every other harness keeps main's abort behavior, header text,
operator messages, and harness-less busy union. Tests prove the Polytoken
path cleans up and a non-Polytoken refused launch behaves as on main.

* no-mistakes(review): Scope submit-core busy reads to Polytoken pane identity

* no-mistakes(review): Stop polytoken treehouse isolation refusal pointing at closed window

* test: track the spawned window in the Polytoken harness tmux stand-in

Main now requires exact tmux window membership before sending keys
(aa9ab04), and the Polytoken harness stand-in listed no windows, so the
merged spawn could never deliver Enter. Record the created window, list
it, and forget it on kill, as tests/fixtures.sh does.

* no-mistakes(document): Scope fresh-endpoint abort comment to Polytoken spawns

* no-mistakes(ci): Lint 1 (ci-3) was caused by this PR, and I fixed it. Commit d18014e added the in_polytoken_submit_pane() subshell helper to tests/fm-polytoken-harness.test.sh. That helper sources bin/fm-tmux-lib.sh without the `# shellcheck source=/dev/null` line that every other source in the file carries (lines 55-63 and 200). With --external-sources, ShellCheck followed the library into the subshell and flagged `local pid=$!` at line 690 as SC2031. The fix is that one missing line, added above the source at line 318. After the fix, `shellcheck -x` reports nothing on the file, `bin/fm-lint.sh tests/fm-polytoken-harness.test.sh` passes with full extended analysis, and the Polytoken harness test passes. Behavior portable serial 2 (ci-1) and serial 5 (ci-2) failed in timing-sensitive tests this PR does not touch, so I made no code change for them. I reran both test files in full on this branch on macOS, and both passed (rc=0, no failures). tests/fm-supervision-host.test.sh passed, including the 'host-only transition veto changed Pi's existing offer rule' check that failed in CI. tests/fm-remote-secondmate-lifecycle-e2e.test.sh passed, including 'watch liveness: a dead remote secondmate is auto-relaunched on its own host with one wake'. Main's own recent CI runs (38950070853, 38719784765) also failed on different timing assertions in these serial shards. Together that points to runner flakes rather than a defect in this change

* no-mistakes(review): Retake per-id spawn lock before Polytoken abort deletions

* no-mistakes(document): Document per-id lock guard on Polytoken abort cleanup

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…ne (kunchenguid#7450)

Port the reported-check fallback and regressions from df60538. Preserve required-only reporting when required checks exist and refuse failed fallback reads.
WTF-Am-ID and others added 26 commits November 6, 2026 07:24
* fix: reap Perl timeout groups when callers are interrupted

* no-mistakes(review): Preserve caller signal handlers after timeout runner cleanup

* no-mistakes(review): Prevent startup interrupt loss and remove parent-death cancellation

* no-mistakes(document): Correct timeout fallback comments and remove stale duplication

* fix: preserve interruption status and use monotonic timeout clocks

* no-mistakes(document): Correct timeout contract references and document monotonic timing

* no-mistakes(review): Preserve active traps in Perl timeout cleanup

* no-mistakes(document): Clarify Perl timeout trap restoration
…#7923)

* Preserve independent watcher history for distinct endpoints

* no-mistakes(review): Complete shared watcher-marker key migration

* no-mistakes(document): Document shared watcher marker identity

* no-mistakes(ci): Fixed SC1091 by adding the daemon’s missing ShellCheck source annotation. Focused full-analysis lint, bash syntax validation, and git diff --check passed. Tier 2: the existing lint gate enforces this correction; no runtime redesign was needed

* no-mistakes(ci): Implemented bounded SHA-256 endpoint keys and a failing-first long-endpoint regression, which now passes. ci-1 remains unchanged as unrelated. Incomplete: focused lint reports SC2030/SC2031 in fixture setup. The command guard rejected focused testing as indirect execution. Stopped without bypassing or retrying. Pipeline must resolve lint and finish verification

* test: scope watcher fixture environment to child commands

* docs: explain watcher key upgrade reset and cache cleanup

* no-mistakes(test): Confirm six required scenarios pass; exclude optional Codex probe

* chore: remove accidental validation scratch

* no-mistakes(document): Replace obsolete watcher-key comment with owner pointer

* no-mistakes(review): Use shared keys in Pi-stream fixtures

* no-mistakes(document): Deduplicate watcher marker cleanup guidance
* test: wait for recovered orphan-readiness runners instead of a fixed marker poll

The lifecycle-orphan-readiness section polled each recovered source's
handled marker for a fixed 10s after reconcile. Reconcile only confirms
each launch; each runner then polls, captures, takes a silent verdict and
a terminal verdict, and the two runners take their verdicts in turn under
the home's extension lifecycle lock. On a CPU-starved host that chain of
short host and fixture processes can exceed 10s, so the section flaked.

Wait for the recorded runner process groups to exit, bounded by the
coordinator's section-lane deadline, then assert the handled markers,
retirement and claim release. On timeout, kill the recorded runner groups
and sweep the home before failing, and track the home so any exit sweeps
it.

* no-mistakes(review): Bound recovered-runner wait to coordinator deadline
… (kunchenguid#8192)

* test: cover TypeSafe dispatch base URL configuration

* test: compare the recorded TypeSafe endpoint argument

* feat: allow an explicit TypeSafe dispatch base URL

* no-mistakes(review): Use literal TypeSafe endpoint test expectations

* no-mistakes(document): Correct TypeSafe base URL documentation

* no-mistakes(ci): Implemented ci-2 and ci-3: malformed TypeSafe addresses fail before credential lookup, and both curl paths disable URL globbing. Added focused regressions. Tier 1 fixes address the shared boundaries. Configured local lint passed. Required ci-box tests and the documentation audience check remain unverified. The command guard rejected the inspection/preflight command as “Privilege escalation in chained command.” No retry or bypass was attempted

* fix: reject brackets in TypeSafe base paths

* no-mistakes(review): Narrow TypeSafe host validation

* no-mistakes(document): Clarify TypeSafe base URL documentation

* test: isolate dispatch base from exported settings
…rk (kunchenguid#8030)

* fix(teardown): refresh remote refs before refusing work as unlanded

Teardown read landed work from the task copy's remote-tracking refs, so work
pushed from another checkout was refused until someone fetched by hand. Refresh
each remote, bounded and without pruning, when the refs do not show the work.
A failed refresh leaves the refs as they were, still refuses, and names the
remote in the refusal.

* no-mistakes(review): Use fixed 30-second fetch bound, removing timeout override

* no-mistakes(ci): Final state, replacing the earlier reports: the fix is in the worktree, uncommitted. The full run of tests/fm-teardown.test.sh did NOT complete: it was stopped at the 20-minute background limit after about 126 of 156 tests. All 126 passed with no failures, including the new test. The remaining ~30 did not run, so the outer test phase must run the full file. Change: validate_worktree_teardown_safety re-runs the dirty check through read_worktree_dirt right after refresh_remote_refs and refuses the same way if it fails or finds work. Added one test, test_edit_saved_during_refresh_refuses, covering local-only, direct-PR and no-mistakes modes. Kept the timed-out agent's code change; removed its extra second test and fake-git hook, per the one-test instruction. Verified: the new test failed with the recheck removed and passed with it restored. bash -n on bin/fm-teardown.sh passed. Not verified: shellcheck is not on PATH, so it did not run. The path where the recheck itself cannot read the copy has no test, per the one-test instruction. Partial log: /tmp/fm-teardown-full.log
…nchenguid#8262)

* fix(spawn): bind launch flags to dispatch selection

* no-mistakes(review): Bind spawn to resolver-recorded dispatch selection

* no-mistakes(review): Bind spawn to per-task dispatch resolution record

* no-mistakes(document): Document relaunch exemption and fix task record heading

* no-mistakes(ci): Fixed the selected Greptile findings ci-2 and ci-3. Changes are left uncommitted in the worktree. ci-2 rule: a spawn under a clear recorded dispatch selection launches only that selection unless the task records an override. A raw launch command (a full command line instead of a harness name) keeps its own --model/--effort options, so matching flags beside it proved nothing. bin/fm-spawn.sh now refuses any raw launch command under a clear record unless --dispatch-override <reason> is given. The error message now says "with no raw launch command". This check gates both the single-task path and the batch path. Raw commands under ambiguous/escalate/error/off records still work, so the manual path is unchanged. ci-3 rule: the resolver writes the task record where fm-spawn.sh reads it, which is FM_DATA_OVERRIDE, else $FM_HOME/data. bin/fm-dispatch-resolve.sh used to look for a folder literally named "data". It now records only when the brief is <data root>/<id>/brief.md, comparing real directory paths. As a side effect, a data/<id>/ folder outside the configured root no longer gets a record. The resolver header comment and docs/configuration.md now describe the override. Tests added: - tests/fm-spawn-dispatch-profile.test.sh: the reviewer's case is refused (record selects claude/haiku/low; raw command "claude --model opus --effort high" with --model haiku --effort low). The same command launches with an override, and the reason is saved in the .meta file. - tests/fm-dispatch-resolve.test.sh: a brief under FM_DATA_OVERRIDE gets its record. A data/ folder outside the configured root does not. The existing task-record test now puts its brief under $FM_HOME/data. Verification: both full suites passed locally. For the spawn suite I put the real Python and Node install folders ahead of mise's wrapper scripts on PATH, because those wrappers fail on this host when a test changes HOME. That is a host problem, not a product defect. Shellcheck shows only info notes about sourced files it was not asked to follow. I did not run the new tests against the old code. From reading the old checks, each would have failed there. ci-1 and ci-4 were not touched, because the user chose to ignore both
kunchenguid#8265)

A runner needs the source lock to claim. ensure-listening and reconcile
both polled that lock every 50ms while waiting for the claim, so on a
loaded host the confirmation competed with the launch it was confirming.
At a load average near 50 a healthy runner claimed in 1.0-1.7s under a
lock-free observer and took 3.3-5.6s under ensure-listening, past the
default confirm window.

The miss was not harmless. arm then retired its own registration, half of
the arms in a twelve-run sample failed on a correct board, and a later
ensure-listening reported the source as not registered. reconcile announced
a launch failure for a source that was starting normally.

Take the lock only once a claim file exists, since until then there is
nothing to confirm. The same sample then armed twelve of twelve. The
regression test holds a runner just before its first lock acquisition and
asserts nothing else takes the lock, so it does not depend on timing.

Co-authored-by: Frederik Hagelund <[email protected]>
…d#8134)

* fix(bin): re-arm supervision on Claude StopFailure so error-ended turns are not blind

A Claude turn that ends on an API error runs no Stop phase, so the
Stop-owned auto-arm never fired and the home had no watcher coverage
until external input (observed as 15h and 4.7h blind gaps). Claude
2.1.317 fires StopFailure for those turn ends and honors the same
asyncRewake/exit-2 rewake as Stop, verified live on a herdr-hosted
primary: the tracked auto-arm under StopFailure armed a real watcher,
delivered the queued wake as an unprompted turn, and the chained error
end was suppressed by the new per-cooldown rewake bound instead of
storming.

* no-mistakes(review): Pace StopFailure continuations instead of dropping

* no-mistakes(review): Recheck AFK and need after StopFailure pacing

* no-mistakes(document): Document StopFailure supervision continuity

* no-mistakes(ci): Normalized the validated StopFailure cooldown to base 10. Updated the behavioral pacing regression to use 08 after a cooldown marker exists; it failed before the fix and passes afterward. Full auto-arm test suite, Bash syntax checks, and git diff --check pass. Changes remain local; nothing published

* no-mistakes(ci): Fixed the watcher-lock test’s flaky STOP-and-scan synchronization by pausing at the lock-free poll sleep. Full watcher-lock suite, repeated focused regressions, Bash syntax, and diff checks pass. Full suite failure was downstream of the shard failure. Changes remain local; nothing published

* fix: prevent Codex Stop hook JSON contamination (kunchenguid#7231)

* fix: keep Codex Stop responses free of login-shell output

* no-mistakes(document): Consolidate Codex Stop documentation under authoritative owners

* no-mistakes(ci): Fixed both Pi before_agent_start handlers to narrow prompt-bearing events before accessing event.prompt, addressing the two TS2339 CI errors. Custom events now bypass user-prompt handling; ordinary prompt events and existing message_start paths remain unchanged. Local verification is blocked: tsc is not on PATH. No tools were installed and no other pipeline phases were executed

* fix: keep Codex Stop responses free of login-shell output

* no-mistakes(document): Consolidate Codex Stop documentation under authoritative owners

* no-mistakes(document): Correct Codex verification prerequisites and guard coverage

* fix(calm): leave one blank row above the Claude Code working boat (kunchenguid#7253)

* fix(calm): leave one blank row above the Claude Code working boat

Refs kunchenguid#7160

* no-mistakes(review): Assert spinner Box padding by walking tree

* fix(bin): refuse to relaunch a worker into a primary home or checkout (kunchenguid#8127)

* fix(spawn): refuse to relaunch a worker into a primary home or checkout

A relaunch trusted the recorded worktree and started the worker there. After a machine restart the restored record could point at the primary home or a repository's primary checkout, so a worker was relaunched inside it. Relaunch now refuses with a named error when the recorded worktree is the home, the code root, or a repository's primary checkout (git dir equals git common dir).

* no-mistakes(document): Document relaunch refusal of primary home or checkout worktrees

* no-mistakes(ci): Fixed ci-2 (the Greptile P1 finding). ci-1, the Full suite failure, is the expected maintainer-label gate; the user chose to leave it alone, so nothing was changed for it. Invariant: the relaunch refusal must judge whether the recorded worktree is a primary checkout from the directory's own layout on disk. Inherited Git location variables must not be able to change the answer. In this change, the only place that probes Git for that decision is the git-dir and common-dir check in the `--relaunch` refusal in `bin/fm-spawn.sh`. The home and code-root comparison doesn't use git, so it can't be affected. Fix in `bin/fm-spawn.sh`: both probes now run in a single subshell. That subshell first unsets the same Git variables that `bin/fm-claude-trust.sh` clears (`GIT_DIR`, `GIT_WORK_TREE`, `GIT_COMMON_DIR`, `GIT_OBJECT_DIRECTORY`, `GIT_INDEX_FILE`, `GIT_ALTERNATE_OBJECT_DIRECTORIES`, `GIT_CEILING_DIRECTORIES`, `GIT_NAMESPACE`, `GIT_DISCOVERY_ACROSS_FILESYSTEM`, `GIT_CONFIG*`). It then runs one `git rev-parse --path-format=absolute --git-dir --git-common-dir` and splits the two output lines. The unset is scoped to the subshell, so the environment the rest of the script and the launched worker see is unchanged. When git fails, the result is empty and the code falls through exactly as before. Regression test in `tests/fm-control-relaunch.test.sh`: `test_relaunch_refuses_the_primary_checkout_under_inherited_git_overrides`. It records `worktree` as the project's primary checkout, then runs `fm-spawn --relaunch` with `GIT_DIR` set to the linked worktree's git directory and `GIT_WORK_TREE` set to the primary checkout. It asserts exit code 1, the "primary home or checkout" error, and that nothing was launched. The test is registered in the suite's run list. Verification: - `bash tests/fm-control-relaunch.test.sh` with the fix: rc=0, all tests pass, including the new one. - With the `fm-spawn.sh` change temporarily reverted: rc=1, and the new test fails with `missing: 'primary home or checkout'`. So it reproduces the reported bypass. - `shellcheck` on both files reports no warnings or errors

---------

Co-authored-by: Trillium Smith <[email protected]>

* fix(bin): read session-lock owner identity without the ps binary (kunchenguid#7609)

* fix(session-lock): read process identity without the ps binary

An EDR-style policy can deny the ps binary's exec itself - observed on
a hardened macOS host where /bin/ps was refused even for 'ps -V', while
kill, head, sysctl, pgrep and lsof all ran. The session lock proved
identity by walking harness ancestry through ps, so the walk died at
its first call: every session in that home became a permanent
lock-refused read-only one, and a live lock owner looked reclaimable,
so a fresh process could take over a lock whose owner was still
running.

All identity reads now go through one fm_proc_info reader. ps stays
primary and is used verbatim wherever it executes, so a host where ps
works is byte-identical to before. Only a ps that cannot execute at
all - bash exit 126 for a refused exec, 127 for a missing binary,
while a pid merely being gone exits ps 1 - routes one read to an OS
provider: /proc on Linux, bin/fm-procinfo.py on macOS, which reads the
ppid through a self-verified KERN_PROC_PID chain and the identity
through the KERN_PROCARGS2 argv region.

That last point is a correctness requirement, not a preference. macOS
'ps -o comm=' reports argv[0] and 'ps -o args=' reports the full argv,
so the ps-free route keys both fields on the same argv region. A
helper that reported the resolved exec path instead disagreed with ps
for renamed, symlinked, or argv[0]-wrapped harnesses, and that
disagreement turns a lock refusal into a wrong take-ownership decision.

Every read fails closed and is verified against the requested pid: no
route guessing, foreign chains still refused, dead pids still stop the
walk. A record that is not exactly one line of three fields with a
numeric ppid is refused rather than loosely sliced.

Two defects found by diffing the change against the unchanged base on
a live host are fixed here as well:

1. A pid ps can see but cannot name - a live process whose comm was
   emptied - was reported as stale, which means reclaimable. The base
   reports unknown for that case, and reporting it stale let a fresh
   process take over a lock whose owner was still running. The ps route
   now reports the pid as present, and the provider route accepts a
   record whose comm field is legitimately empty so both routes agree.

2. The provider record parser rejected a record with an empty field,
   but the field COUNT is what it must pin: a TAB is IFS whitespace, so
   a record with a MISSING field parsed exactly like a record whose
   field was empty. The parser now rebuilds the record from the parsed
   fields and compares it to the original, which proves the count
   without rejecting a legitimate empty field.

Verified against the unchanged base: 120 identity reads and 200 lock
inspections across live pids show zero divergence, and the empty-comm
case reads unknown on both.

* no-mistakes(review): Refuse reclaiming session locks with unreadable owner identity

* no-mistakes(review): Reject partial process identity reads; reclaim non-pid locks

* no-mistakes(review): Preserve platform process identity byte rendering across routes

* no-mistakes(review): Normalize trailing empty argv elements across identity providers

* no-mistakes(document): Document session-lock recovery requirements

* no-mistakes(lint): Fix ShellCheck arithmetic array index style

* fix(session-lock): decide the owner verdict from liveness first, not identity

The review rounds that closed the "a live owner can be taken over" hole
inverted the order of the two facts the verdict is built from: the
provider read decided whether the recorded owner was alive, and liveness
was only consulted afterwards. That order breaks two cases the base
already handled.

A pid this session cannot signal is not a live owner it may reclaim
over, whatever a process table still says about it. A recorded owner
that is gone therefore has to read as gone, or the stale lock can never
be reclaimed and the session stays lock-refused read-only for good -
the exact wedge this change exists to remove. The repository's own
suites pin that: tests/fm-session-lock-ancestry.test.sh asserts that a
recorded pid whose kill -0 fails is left for the ordinary reclaim, and
tests/fm-session-lock-ancestry.test.sh's sibling case asserts that a
recorded pid of 1 - which this session may not signal - is still
reclaimable.

The verdict now asks liveness first and identity second:

  kill -0 succeeds, the provider reads   -> readable
  kill -0 succeeds, the provider fails   -> unreadable: alive, identity
                                            not readable, so the lock
                                            must not be reclaimed
  kill -0 fails, the provider reads      -> unknown: the process exists
                                            but this session may not
                                            signal it, so it is not a
                                            harness this session can
                                            prove - the base's "no live
                                            harness owner"
  kill -0 fails, the provider fails      -> dead

That keeps the protection the review rounds were after - a live owner
whose identity cannot be read is never reclaimable - while restoring the
base's reclaim behaviour for the cases the base handled. The new case
"kill -0 succeeds, the provider fails" is the one that closes the
reported takeover path, and it is unchanged.

Verified on this host: tests/fm-session-lock-ancestry.test.sh exits 0
again (it exits 1 on the previous head, where the recorded-dead-pid case
failed), tests/fm-session-lock-ps-denied.test.sh exits 0, and
tests/fm-gotmp.test.sh exits 0. tests/fm-secondmate-harness.test.sh and
tests/fm-session-start.test.sh still exit 1 with exactly the failures
they have on the unchanged base: this host's restricted PATH lacks
dirname, cat and awk.

* no-mistakes(review): Preserve successful status for unreadable owner verdicts

* fix(session-lock): keep the ppid a walk input, not an identity field

The review round that made a partial identity read refuse the reclaim
extended the rule from the arguments to the parent pid as well: a read
that could not answer ps -o ppid= was treated as an unreadable
identity, so the whole read failed.

The parent pid is not an identity field. The identity the matcher reads
is comm and args, and both of those are still fail-closed: a live
harness whose arguments cannot be read is not reduced to a bare
interpreter name, and its lock is still not reclaimable. The parent pid
is a walk input, and a parent pid that cannot be read only ends the
ancestry walk one hop early - the walk finds no harness and the
session refuses the lock rather than taking one it cannot prove, which
is the conservative direction.

The base read the parent pid exactly this tolerant way, and the
repository's own suites pin it: tests/fm-grok-harness.test.sh and
tests/fm-kimi-harness.test.sh stub ps so that it answers comm= and
args= and refuses every other question, and both expect the lock to be
recognised as held by a live harness. Under the stricter rule both
suites failed with "fm-lock did not recognize grok as a live holder"
and "fm-lock did not acquire from Kimi ancestry".

The provider route is unchanged and stays all-or-nothing: on Linux the
parent pid comes from the same /proc read as the command name, and on
macOS from the same KERN_PROC_PID chain, so a provider read is either
complete or unreadable. The case that proves it - a /proc entry with no
readable cmdline - still refuses the reclaim.

The new test case is corrected rather than dropped: the failed-args
case still has to refuse the reclaim, and the failed-ppid case now
pins the tolerant contract - the verdict stays readable and the parent
pid is empty.

The same commit restores the shellcheck directives on the assignments
inside fm_session_lock_inspect's verdict switch. The globals are read
by bin/fm-lock.sh and bin/fm-inbox.sh, but the assignments inside the
switch had lost their disable comments, so 'Lint 1' failed with SC2034
on FM_LOCK_INSPECT_STATE and FM_LOCK_INSPECT_LIVE_HARNESS.

Verified on this host: tests/fm-session-lock-ps-denied.test.sh exits 0,
tests/fm-session-lock-ancestry.test.sh exits 0,
tests/fm-grok-harness.test.sh exits 0 (it exits 1 before this commit),
tests/fm-kimi-harness.test.sh exits 0 (it exits 1 before this commit),
tests/fm-gotmp.test.sh exits 0, and bin/fm-lint.sh exits 0.

* no-mistakes(document): Clarify session-lock recovery ownership

* no-mistakes(lint): Fix single-iteration ShellCheck loop

* test(session-lock): drop the unused loop variable from the partial-identity case

The failed-args case no longer runs through a loop, so the local that
held the field name is never read, and the lint partition reports it as
an unused variable (SC2034). The declaration loses it; nothing else
about the case changes.

* no-mistakes(review): Protect tagged lock owners; preserve Cygwin identity reads

* no-mistakes(review): Fix zero-form locks; focused tests fail pty-host, ShellCheck warnings

* fix(session-lock): read a classified live harness holder as held

fm_session_lock_inspect lost its identity check on the readable verdict,
so every live holder was classified unknown instead of held: grok and
kimi holders failed the live-holder assertions, and a claude-named
holder made fm-inbox report unknown for a lock that was held.

Decide held from the single fm_harness_process_matches call on the
readable branch. The Windows-tagged pre-block that made the same
decision a second time is removed: fm_session_lock_pid_verdict already
resolves the tagged pid through the Windows table and leaves the same
FM_PROC_COMM/FM_PROC_ARGS, so re-reading it could only let the two
answers diverge, and its winpid/win_rc were the unused bindings
ShellCheck flagged as SC2034.

* no-mistakes(document): Align session-lock docs with the shared reclaim verdict

* fix(session-lock): emit the denied-ps diagnostic once per run

`FM_OS_PROC_DIAG_SHOWN` was set by the diagnostic inside
`triple=$(fm_os_proc_triple "$pid")`, so it died with that
command-substitution subshell and every later ancestor read reprinted the
same cause during one lock acquisition.

`fm_proc_info` now spends the once-per-run guard in the shell that owns
the walk. A cause line exists only on the provider's failure routes, so a
failed read is exactly where that budget is used up; a readable read
leaves it unspent for a later failure.

The new case drives three failing reads in one shell and asserts one
stderr line, then repeats with a readable first pid to prove a successful
read does not spend the budget.

* no-mistakes(document): Correct the denied-ps diagnostic scope to per shell

* no-mistakes(review): Preserve UTF-8 process identity in Linux fallback

* no-mistakes(document): Record the ps-free identity byte rule and helper inventory

* test(session-lock): compare control-byte argv by shape, not by ps bytes

The control-byte route-equivalence case compared the provider record and
the ps record byte for byte. That pins one procps build's choice of byte
for a control byte: 4.0.x writes a space where an argument's newline was
and '?' for other controls, while other builds write '?' for the newline
too, so the same two routes agree on one build and differ on the other
even when both make the same identity decision.

Fold each route's separator byte onto the placeholder the /proc route
writes before comparing, keep the ppid and comm fields a raw comparison,
and assert the fixture's words still straddle the control bytes on both
routes so the case cannot pass by matching a loss. Pin the fold against
both Linux renderings of this fixture's newline and assert those
renderings really differ, so a return to raw bytes fails here instead of
only on the other procps build.

* no-mistakes(document): Align session-lock reclaim docs with the shared verdict

* test(session-lock): keep the base PATH when no python3 shim is added

The e2e blocked-ps case built the child PATH from fakebin alone on a host
without python3, dropping the inherited base path with it. On Linux that
left the /proc provider without the cat and tr it reads through, so the
walk failed for a reason unrelated to the denied ps and the case failed
spuriously on exactly the host it is meant to cover.

Set the base path unconditionally and let the python3 branch only insert
the shim ahead of it.

* no-mistakes(document): Correct session-lock verdict comments and library ownership header

* no-mistakes(document): Correct stale issue pointer in session-lock scope comment

* no-mistakes(document): Correct malformed-lock reclaim wording and ps-denied nudge limit

* fix(session-lock): parse /proc stat fields as stat_fields so rex.sh lints clean

ShellCheck follows source directives: bin/backends/rex.sh sources
bin/fm-agent-process-lib.sh, which sources bin/fm-session-lock-lib.sh, so the
new array local named `fields` made rex.sh's string use of its own `fields`
read as an array/string clash (SC2178/SC2128) and failed CI lane Lint 2 on
6e26ecb, while main's same lane passes.

Rename the array to stat_fields, the name the repo's other /proc stat readers
(bin/fm-remote-job-lib.sh, bin/fm-teardown.sh) already use. Verified with
`shellcheck --norc --external-sources bin/backends/rex.sh` (was rc=1, now
rc=0) and `bin/fm-lint.sh --partition 2of2` locally (rc=0, rex.sh reason=ok).

* no-mistakes(document): Sync session-lock docs and stat-parser comment

* test(run): hint fm-session-lock-ps-denied so the coverage guard stays under its unmeasured share

The new session-lock denial script left 43 of 284 portable serial scripts
without a measured duration hint on CI (main: 42), one past the guard's 15%
bound. Record the 3012ms this run measured, in sorted order beside its
ancestry sibling.

* fix(bin): keep every custom check wake line and payload before acknowledgement (kunchenguid#8031)

* fix(watch): print multi-line check output as one wake line

A custom check that printed several lines queued one row with the lines
joined, but the watcher printed the raw lines, and wake consumers that keep
only prefixed lines (such as the Claude Stop-hook banner) dropped every line
after the first. Flatten the wake line the same way the queued row is
flattened, so both carry every line.

* fix(wake): present every distinct check payload before acknowledgement

The drain kept only the newest row per kind and key, and its acknowledgement
then consumed the hidden rows too. Two different wakes queued by one check
before a drain therefore lost the earlier payload unread. Collapse check
rows only when their payload is identical; signal, stale and heartbeat rows
keep their existing newest-wins collapse.

* feat(bin): check watched tools against published npm and GitHub releases (kunchenguid#3841)

* feat: check published releases for watched tools

* no-mistakes(review): Restore whole-registry validation while retaining published-release checks

* no-mistakes(document): Clarify successful installed-version probe requirement

* fix: retain completed tool sweeps at the budget boundary

* no-mistakes(review): Restore unconditional sweep recording and cadence; focused tests pass

* no-mistakes(review): Correct incomplete sweep recording and cadence documentation

* no-mistakes(document): Drop stale conditional sweep-recording wording from configuration docs

* no-mistakes(review): Require successful probes only for published-release comparison

* test: expect a newer announced version beside the published source

Upstream now reports an announcement naming an installed version only as
update not in effect, so the composition test announces 0.8.4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* no-mistakes(review): Compare published releases with the newest installed copy

* no-mistakes(review): Reject watched tools setting both published and version_url

* no-mistakes(document): Scope curl hardening note to published release reads

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

* fix(bin): restore Claude slash-command submission on Herdr (kunchenguid#6695)

* fix(bin): read a typed slash command above Claude 2.1.291's marked popup row

Claude Code 2.1.291 draws the selected row of its slash-command popup with the
same `❯` marker as its composer, so that row below the composer's closing rule
became the bottom-most bare composer candidate and the whole popup list was
read as the typed command. The Herdr Claude payload proof then judged the
payload unsent, cleared it, and reported send-failed, so `fm-control exit` and
every slash command sent through `fm-send` failed on Herdr.

Demote that row to the proven envelope above it, but only when the envelope's
own glyph row holds typed `/` text (the fallback read can never be empty) and
the row has the popup shape: a leading `/` or a truncated `…` name, then a gap
of two or more spaces before its description. Numbered-choice dialog rows,
one-word drafts, empty composers, and typed prose keep their old reading, and
the head-truncation and placeholder-remainder refusals are unchanged.

Regression tests run against real captures of the 2.1.291 screens. The live
guard gains a /context scenario, and the dated verification record is updated.

* no-mistakes(review): Ghost-strip popup demotion guard; relocate 2.1.291 docs

* no-mistakes(review): Match popup guard to fallback's plain glyph row

* no-mistakes(review): Narrow box popup test; note box follow-up in docs

* no-mistakes(document): Point same-glyph footer rule at 2.1.291 popup exception

* no-mistakes(ci): Both selected Greptile findings are fixed. Only the live test and the verification doc changed; product code and box handling are untouched. The changes are left uncommitted for the outer executor. **ci-2** (tests/fm-herdr-submit-confirm-live-e2e.test.sh) - Invariant: a live delivery check must show that the command actually ran, through its rendered output. An empty composer and a registered agent are not enough. - Fix: after the `/context` verdict, the test now polls the pane the same way the earlier reply check does, until `/context`'s `Context Usage` heading renders. Any other result fails. - I confirmed that heading with a probe in an isolated `fm-lab-` session. The popup's description says "context usage" in lowercase, so the case-sensitive match cannot hit the popup. - The read window is 1000 lines (`--source recent --lines 1000`). The report runs to hundreds of rows here with its heading at the top, so the 200-line window the reply check uses would lose it. - The existing agent-registered and composer-empty checks are kept. The header comment, block comment and pass message were updated to match. **ci-3** (docs/verification/runtime-backends.md) - Invariant: only tests that fail against the previous classifier may be called before-and-after regressions. - I ran each of the five tests on its own against base 5838f10's `bin/fm-composer-lib.sh`: - These 3 fail there and are now labelled before-and-after regressions: `marked_row_is_not_a_second_composer`, `composer_content_..._not_the_composer`, and `send_text_submit_..._proven_and_submitted` (the last one returned 'unknown'). - These 2 pass there and are now labelled guards: `demotion_only_ever_refuses` and `popup_still_refuses_a_partial_payload`. - I corrected one more claim in the same paragraph. It said the live guard fails against the old classifier "at the `/exit` scenario". A live run against the old classifier (session `fm-lab-herdr-submit-con-1106578-15406`) actually fails earlier, at `/context`, with `send-failed`. The doc now says that. - The doc's recorded live output was replaced with the real output of the new run. **Verification** - Live guard on HEAD: `FM_HERDR_SUBMIT_CONFIRM_LIVE=1 ANTHROPIC_MODEL=claude-haiku-4-5-20251001` passed all 4 checks, including "...proves and submits a typed /context behind its command popup and renders its report". It ran in its own session, `fm-lab-herdr-submit-con-1098793-23839`. - Every live run used only its own `fm-lab-` session. Afterwards `herdr session list` shows only `default`, which was never touched. - `tests/fm-composer-lib.test.sh` returned 0 with 47 ok, and `tests/fm-backend-herdr.test.sh` returned 0 with 233 ok. - With the opt-in off, the live test skips with rc 0. - `bin/fm-lint.sh` returned 0 (ShellCheck 0.11.0, actionlint 1.7.12). - Temporary directories were removed. **Gap:** the new check's failure path was never triggered in a live run, because the old classifier fails earlier, at the verdict. That the check can tell a run from no run rests on the probe: the heading is not on screen before submission, and the popup text is lowercase

* no-mistakes(document): Include Tern in popup classifier inheritance documentation

* fix(bin): tolerate slow Herdr worktree entry in fm-spawn (kunchenguid#8139)

* fix(spawn): tolerate slow Herdr worktree entry

Restore shell startup tolerance after out-of-pane leasing, resend the worktree cd once, and diagnose a pane that never moves. Cover delayed and dropped entry portably and ordinary/delayed projected spawns in an isolated real-Herdr lab.

Fixes kunchenguid#8138

* no-mistakes(document): Document Herdr worktree cd resend in agent-control

* no-mistakes(ci): I fixed Greptile ci-1. On supported Herdr releases below the presentation floor (0.8.0, including pinned 0.7.4), the live test `tests/fm-herdr-projected-cd-live-e2e.test.sh` reported a correct flat spawn as a failure. Now it skips clearly on those releases. **Invariant:** the test may expect a projected spawn only when the same floor classifier `fm-spawn` uses says projection is the default. **Where it must hold:** the one decision point before the case loop. Both cases (delay 0 and delay 1) assert the `.herdr-presentation` marker, and both sit after that check. **Change (test file only):** after the lab is provisioned, the test calls the existing `fm_backend_herdr_presentation_release_supported` from `bin/backends/herdr.sh`. It goes through the test's fake `herdr`, which routes every call to the named lab session, so the check covers the same client and server `fm-spawn` sees. The result is handled three ways: - **At or above the floor:** the projected and delayed cases run as before. - **Below the floor:** the test prints `skip: Herdr <release> is below the 0.8.0 presentation floor, so spawns stay flat` and exits 0. The cleanup trap still tears down the lab. - **Can't be classified:** the test fails. No production code changed, and the overall Herdr support floor is unchanged. **Verification** (Herdr was only run through `bin/fm-herdr-lab.sh` on its own `fm-lab-` session): - **Above the floor:** on the installed Herdr 0.9.5, both cases pass: "Herdr 0.9.5 projected spawn enters its recorded copy" for delayed=0 and delayed=1. - **Below the floor:** I pointed `HERDR_LAB_HELPER` at a temporary wrapper around the real lab helper. It changes only the `status --json` reply so the client and server report 0.7.4, protocol 17. The test printed "skip: Herdr server version 0.7.4 (protocol 17) is below the 0.8.0 presentation floor, so spawns stay flat" and exited 0. This is simulated, not a real 0.7.4 install. - Afterwards no lab sessions were left over. - `tests/fm-spawn-herdr-lease.test.sh` passed through `bin/fm-test-run.sh`. - `bash -n` is clean. shellcheck shows only the existing SC1091 info note about the sourced `tests/fixtures.sh`. I did not edit the PR body, so its links to issue kunchenguid#8138 are untouched

* no-mistakes(document): Document live projected-cd test's below-floor skip

* feat: report worker status through OSC 7501 (kunchenguid#8011)

* feat(bin): report worker state via OSC 7501 for firstmate-launched agents

Stage 2 of the herdr-core/app staged plan: agents firstmate launches now
report idle/working/blocked/done to their terminal through the OSC 7501
Program Status Protocol, so 7501-aware terminals (herdr-core, the Herdr
app, Ghostty, Rex) show task state without screen inference.

bin/fm-osc7501.sh is armed inside the launch command before the agent
starts. Its watcher folds the task's durable signals (status log,
busy-state, unhandled inbox) into root records with
app=firstmate-<harness> and title=fm-<id>, and parks the record on exit.
Arm emits nothing unless the terminal is known-aware (HC_TERMINAL_ID,
REX_BLOCK/REX_SESSION, TERM_PROGRAM=ghostty) or answers the capability
query, stands down for natively reporting harnesses (claude >= 2.1.295,
pi >= 1.1.0), and never writes to worker input. The env -i floor now
forwards the HC_* pane markers so detection survives an allowlist.

config/osc7501-status gates the feature per home (default on).
The herdr backend is untouched; core/app integration stays Stage 3.

* no-mistakes(review): Fix OSC 7501 reporter tty identity, lifetime, mapping, and stty restore

* no-mistakes(review): Honor hc terminals under herdr; retire superseded status declarations

* no-mistakes(review): Retire stale declarations on any newer busy record

* no-mistakes(review): Drop report command; retire declarations on later inbox steers

* no-mistakes(review): Classify activity via busy lib; confirm reporter retirement

* no-mistakes(review): Order retirement by nanosecond times; drop pull-source turn guess

* no-mistakes(review): Retire declarations only on later steers, with stable thresholds

* no-mistakes(review): Drop probe cache; restore hc socket pinning in floor

* no-mistakes(review): Drop declared-wait mapping; report from single-source signals only

* no-mistakes(review): Give the watcher backend capture for pane-classified harnesses

* no-mistakes(document): Clarify OSC 7501 documentation ownership and Rex compatibility

* no-mistakes(review): Newline-delimit launch disarm; keep arm warnings visible

* no-mistakes(review): Require stand-in pidfile before checking disarm

* no-mistakes(review): Skip status-bridge records in Rex activity readers

* no-mistakes(ci): Fixed Cortex launch assertions mistaking the OSC reporter’s --config for an unsupported Cortex flag, including the sibling xhigh check. Reproduced failure before fix; Cortex suite, bash syntax, and diff checks pass afterward. Full suite failure was downstream of this test failure

* no-mistakes(ci): Removed active terminal capability queries, tty reads/mode changes, and the unused query timeout. Unknown terminals now silently no-op; passive detection remains. Updated docs and behavioral tests. Regression rejects pre-fix code; all 18 reporter tests, syntax checks, ShellCheck (excluding source-resolution notices), and diff checks pass

* no-mistakes(review): Exclude native codex and gate records on activity

* no-mistakes(review): Never write bridge records without known activity

* no-mistakes(review): Probe the launched binary for native reporters

* no-mistakes(review): Arm no reporter for raw launch commands

* no-mistakes(review): Report raw launches only with established agents

* no-mistakes(document): Consolidate OSC reporting documentation ownership

* no-mistakes(ci): Fixed standing captain holds to report blocked kind=question before activity fallback. Added behavioral coverage for idle/busy holds and supersession; confirmed regression fails before the fix and full OSC suite passes afterward. Shell syntax and diff checks passed

* no-mistakes(ci): Fixed the flaky startup-teardown fixture in tests/fm-watcher-lock.test.sh: replace racing recursive deletion with a checked atomic rename, retaining the old inode. Full suite failure was downstream of this shard failure. Complete watcher-lock suite, shell syntax, and git diff checks passed locally

* fix(osc7501): keep the bridge's own record honest when activity reads unknown

The unknown-activity silence that protected a native writer's root record
also left the bridge's own working/blocked on the pane forever - including
past the agent's exit, which never emitted its final record. While the
bridge's last write still stands, the durable signals now keep it honest:
they fold the same way with idle activity and the result is written once
per change, with no hold and no heartbeat. A watcher that never wrote
still stays silent so a native owner is never touched. The final record
likewise lands whenever the bridge's last write stands, keeping done/error
and parking the rest at idle. Rovo and Antigravity, whose only activity
source resolves busy or unknown, thereby still reach idle, blocked, done,
and error. Arm also writes one idle record once every gate passes, clearing
whatever a watcher that died without its final write left on the pane.

* no-mistakes(review): Carry arm-time ownership into watcher, trim osc_seq

* no-mistakes(document): Clarify OSC status lifecycle documentation

* fix(osc7501): park stale terminal lines and clear leftovers on unarmed relaunches

A done/failed status line carries the phase that wrote it, not the turn
now in flight: under unknown activity the fold now reports a terminal line
only when it was stamped at or after the reading that last proved the
worker busy, so an earlier phase's result parks at idle instead of
displaying done or error for a whole turn. A same-second stamp still
counts - a truly older line can never coincide with the last busy reading.

arm's residue clear now runs once the pane's terminal proves 7501-aware
and a leftover pidfile marks the record as the bridge's own, before the
config and native gates - so off and native relaunches retire a dead
watcher's record too, while panes that never armed still see no bytes.

* no-mistakes(review): Order stale results by append; keep result at exit

* no-mistakes(document): Clarify OSC status reporting documentation

* no-mistakes(ci): Replaced the version probe’s unbounded TERM/wait loop with shared fm_run_timed process-group termination and KILL escalation. Added a regression proving worker launch proceeds despite a TERM-resistant probe and descendant; reproduced failure before the fix. All 31 OSC tests pass, including the regression with the bash timeout fallback. Shell syntax and git diff checks pass

* fix(osc7501): disarm writes the final record a dead watcher never could

fm-spawn runs disarm after the agent command returns, so a SIGKILLed
watchers pidfile is removed there - before the next launch ever sees it,
which left the dead watcher's working/blocked record standing on off and
native relaunches. disarm now writes that final record itself (idle,
keeping done/error, exactly osc_final's fold) when the pidfile names no
live reporter; the pidfile carries harness and kind so the write names
the right app= and folds decisions under the worker's real kind. The
real-order regression now exercises SIGKILL -> disarm -> off/native
relaunch.

* no-mistakes(review): Write final record when retirement kills watcher

* no-mistakes(review): Always write final record once retirement confirms

* no-mistakes(lint): Suppress intentional generated-script expansion warning

* feat(bin): add opt-in Linux container check for changed shell tests (kunchenguid#8148)

* feat(bin): add opt-in Linux container check for changed shell tests

* no-mistakes(review): Run Linux check as host user with git clone

* no-mistakes(review): Remove locally deleted files from Linux scratch copy

* no-mistakes(review): Use keep-id for podman in Linux test check

* no-mistakes(ci): Fixed the three selected review findings locally (nothing committed or pushed). ci-2: bin/fm-test-linux.sh now clones with --no-hardlinks, so the container cannot write the host object files. ci-3: tests/linux/Dockerfile now installs python3, nodejs and curl (tools the ordinary suites require); tests/fm-test-linux.test.sh container case adds a tools.test.sh fixture that runs python3, node and curl. ci-4: both the overlay check (line 100) and the prune check (line 104) treat [ -L ] as present; the same fixture commits a dangling symlink and asserts it survives in the container. Verified with FM_TEST_LINUX_CONTAINER=1 bash tests/fm-test-linux.test.sh on Docker: all 4 pass. Mutation check: removing the [ -L ] at line 104 turns the fixture red ("dangling link lost"). Removing it at line 100 alone does not, because the clone already carries committed symlinks; that check only matters for untracked dangling links, which has no fixture. The check stays opt-in

* feat(bin): accept a caller-supplied expected PR head in fm-pr-merge (kunchenguid#8157)

* feat(bin): accept a caller-supplied expected PR head

The merge path read the live head again and used that value for the forge
head match. A push after review could replace the tested commit.
--expected-head takes one full commit, refuses a different live head, and
sends that same value to GitHub, GitLab, and Forgejo.
Callers that omit it keep the live-head match.

Closes kunchenguid#8124

* no-mistakes(review): Drop no-op head pin; test authority and identity refusals

* no-mistakes(review): Inline merge head assignment

* fix(bin): re-arm supervision on Claude StopFailure so error-ended turns are not blind

A Claude turn that ends on an API error runs no Stop phase, so the
Stop-owned auto-arm never fired and the home had no watcher coverage
until external input (observed as 15h and 4.7h blind gaps). Claude
2.1.317 fires StopFailure for those turn ends and honors the same
asyncRewake/exit-2 rewake as Stop, verified live on a herdr-hosted
primary: the tracked auto-arm under StopFailure armed a real watcher,
delivered the queued wake as an unprompted turn, and the chained error
end was suppressed by the new per-cooldown rewake bound instead of
storming.

* no-mistakes(review): Pace StopFailure continuations instead of dropping

* no-mistakes(review): Recheck AFK and need after StopFailure pacing

* no-mistakes(document): Document StopFailure supervision continuity

* no-mistakes(ci): Normalized the validated StopFailure cooldown to base 10. Updated the behavioral pacing regression to use 08 after a cooldown marker exists; it failed before the fix and passes afterward. Full auto-arm test suite, Bash syntax checks, and git diff --check pass. Changes remain local; nothing published

* no-mistakes(ci): Fixed the watcher-lock test’s flaky STOP-and-scan synchronization by pausing at the lock-free poll sleep. Full watcher-lock suite, repeated focused regressions, Bash syntax, and diff checks pass. Full suite failure was downstream of the shard failure. Changes remain local; nothing published

* no-mistakes(document): Clarify StopFailure continuity documentation

---------

Co-authored-by: Michal Zuber <[email protected]>
Co-authored-by: Lewis Mazzei <[email protected]>
Co-authored-by: Trillium Smith <[email protected]>
Co-authored-by: Trillium Smith <[email protected]>
Co-authored-by: Martin Kessler <[email protected]>
Co-authored-by: c6aw <[email protected]>
Co-authored-by: AgardnerAU <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Symphony <[email protected]>
Co-authored-by: Alexander Goldstein <[email protected]>
Co-authored-by: Tim Kleinschmidt <[email protected]>
* fix(bin): let the Herdr lab tripwire protect a custom-named fleet session

fm-herdr-lab.sh only accepted a running session literally named "default"
as the fleet-state tripwire, so a home whose fleet runs in a custom-named
Herdr session could not provision any lab.

FM_HERDR_LAB_FLEET_SESSION (default "default") now names the fleet session
the tripwire records and compares, with the same {name, default, running,
socket_path} snapshot and exactly-one-running-row rule. The name must be a
plain session name and can never be an fm-lab- session. Every Herdr call the
helper makes now clears the inherited HERDR_SOCKET_PATH, HERDR_PANE_ID,
HERDR_TAB_ID and HERDR_WORKSPACE_ID pane variables.

Fixes kunchenguid#8268

* no-mistakes(review): Isolate lab tests from inherited fleet-session configuration

* no-mistakes(document): Clarify Herdr fleet-session documentation and ownership

* no-mistakes(document): Correct configurable fleet-session safety wording

* no-mistakes(lint): Suppress ShellCheck warning for intentional literal backticks
kunchenguid#7255)

* fix: require a live Pi watcher successor

* no-mistakes(document): Document Pi dead-but-ready successor regression coverage

* no-mistakes(review): Retry Pi watcher arms on process exit, not close

* fix(pi): preserve actionables across exit drain

* no-mistakes(document): Document Pi exit-drain actionable regression coverage
…enguid#8217)

* test(remote): run FIFO holders from a non-platform jq copy

macOS hides a platform binary's environment from ps -E. On a host whose
jq is Apple's /usr/bin/jq, the holder markers were unreadable, so
fm-remote-doctor and fm-remote-herdr-guard failed.

tests/lib.sh gains fm_test_nonplatform_binary, which copies the binary
and ad-hoc signs the copy on Darwin. Both suites run their holders from
that copy.

* test(omp): run the no-omp-ancestor case under a named claude shell

The leaked-marker case ran under a plain bash, so its verdict came from
the harness that ran the suite. Under a Codex ancestor it detected codex
and failed. A claude-named shell now gives the case its own nearest
harness ancestor.

* test(procevent): start the draining holder with the portable perl setsid

macOS ships no setsid binary, so the draining-holder case failed with
"setsid: command not found" before it could read the holder's
identity. The suite already starts its other new-session holders with
perl's POSIX::setsid; this one now does the same.

* no-mistakes(ci): Captain, added the marker-only case using fm_fake_blind_ancestry and preserved the named Claude case. Mutation verification confirmed the new case rejects unguarded OMP markers. All 19 OMP checks, repository lint, shell syntax, and diff checks passed. Runtime code remains unchanged

* test(omp): clear inherited gemini and rovo markers in the blind-ancestry case

harness_marker checks GEMINI_CLI, ATLASSIAN_AGENT_TYPE and ROVODEV_CLI
before CLAUDECODE. With ancestry hidden, no process name outranks them,
so a suite that inherited one of them failed the marker-only case with
'gemini' or 'rovo'. The case now clears those markers as well.

---------

Co-authored-by: Karan Manoharan <[email protected]>
* fix(bin): export the active FM_HOME onto ship and scout launches

The tmux/herdr daemon that owns a worker's pane does not inherit the
spawner's environment, and fm-spawn.sh set FM_HOME only for secondmates.
A ship or scout therefore started with no FM_HOME, so any bin/*.sh script
it ran resolved its own code root as the home and read and wrote the
wrong home's state. Set the spawner's resolved FM_HOME on every ship and
scout launch, in both the pane launch command and the T3 Code env.

Fixes kunchenguid#8271

* no-mistakes(ci): Fixed ship/scout launch FM_HOME export; secondmate branch unchanged. Updated launch-shape assertions and added an executed compound-launch environment probe. Passed FM_LIVE=0 compact-adviser test, Kimi harness test, fm-lint, and git diff --check. Dispatch-profile suite not run as instructed

* no-mistakes(ci): Updated only tests/fm-spawn-compact-adviser-disable.test.sh: the executed compound-launch probe reports both COMPACT_ADVISER_DISABLE and FM_HOME; assertions require 1 and $HOME_DIR, and the pass message names both. Verified with FM_LIVE=0 bash tests/fm-spawn-compact-adviser-disable.test.sh and bin/fm-lint.sh. Both passed
…publish (kunchenguid#8283)

* fix(watch): quiet relayed captain holds and keep reminder backoff on republish

The opt-in open-decision reminder tick only suppressed a key when its own
task was paused or held, so a secondmate's captain-hold-<task>-<n> key
relayed into the parent status file always reminded, and every republish
of a still-open key with a new [at=] restarted its backoff at the threshold.

- Exempt keys with the structured captain-hold- prefix, decided from the
  key alone.
- fm-captain-hold.sh hold --until now publishes a structured
  [until=YYYY-MM-DD] field on the relayed line; the timed fold view carries
  it and the tick re-arms the key from 00:00 UTC on that date. A malformed
  field re-arms at once; note prose is never read.
- Ledger rows now also record verb and note, so an unchanged republish keeps
  its first opened time, last reminder and next delay, while a changed verb
  or note starts a new episode. Legacy five-column rows still match on their
  opened time and are rewritten in place.

* no-mistakes(review): Keep republish epoch in fold, not reminder ledger

* no-mistakes(ci): Fixes the Greptile P1 bug "repeated hold dates get ignored" (ci-1). The rule that was broken: a keyed parent-channel state update has to be compared with that key's latest line, not with every line in its history. Before the fix, `fm_parent_channel_append_once` searched the whole channel. So holding `--until A`, then `B`, then `A` dropped the final A line, and the parent watcher kept using B. Fix (the edits were in the worktree, uncommitted, when this round started - most likely from round 2's agent, which crashed on a rate limit; I reviewed them and kept them): - `bin/fm-parent-channel-lib.sh`: `fm_parent_channel_report` and `fm_parent_channel_append_once` take an optional `[key]` argument. With a key, the new line (without its `[at=]` stamp) is compared only with that key's latest line, found by the new `_fm_parent_channel_latest_for_key` using the existing `_fm_decision_key` and `_fm_status_untimed`. Without a key, the old history-wide dedupe is unchanged. - `bin/fm-captain-hold.sh`: `publish_parent_hold` passes `captain-hold-<id>-<n>`. It is the only publisher that sends keyed state updates (both the `needs-decision` and the `resolved` lines), so both go through the fixed path. The other callers (inactive-reconcile, pr-check, review-check, merge-outcome, pending-reply) publish one-off events and stay on the old behavior. I also re-wrapped one overlong line in the header comment. - `tests/fm-captain-hold-lifecycle.test.sh`: a behavior test that runs the real `hold` command A -> B -> A and checks that the latest line for the key carries `[until=A]`, plus a test that an exact retry adds no line (count stays 3). Verification is not finished: when this result was required, the full lifecycle test run and the shellcheck/`bash -n` run were still going in the background with no output yet. So I cannot yet confirm the tests pass or that shellcheck is clean, and I have not checked that the new test fails without the fix
…kunchenguid#8286)

* feat(capacity): opt-in auto lane budget from measured host vitals

Add an `auto` first line to config/lane-capacity so fm-capacity.sh decides
how many ship and scout lanes a machine can take from its own vitals instead
of a hand-set integer cap. Open lanes are the smallest of a memory, cpu, and
disk budget built from learned per-lane footprints (p90 of this machine's
last 30 lanes once five are recorded), with an optional max-lanes ceiling.
Lanes younger than 180 s reserve a full lane, growth is damped to two lanes
per publish, and every local home on the machine is counted.

Gates for cpu, load, memory pressure, swap-in, io pressure, the Windows host
under WSL2, thermal limits, battery, and optionally GPU memory close
admission at once and reopen after three clean publishes. The published
fm-lane-capacity.v1 document gains additive budget, footprint, vitals,
gates, and a recommend-only reclaim list of idle lanes.

fm-spawn.sh applies the verdict only when the home declares admit-spawns,
under a machine-wide lock, deferring with exit 75 like a project-capacity
deferral; FM_SPAWN_IGNORE_LANE_CAPACITY=1 overrides one spawn. Probes live
in the new read-only bin/fm-lane-vitals-lib.sh. Fixed mode and homes
without the new keys are unchanged.

* no-mistakes(review): native Windows vitals, damped admission, drop capacity pins

* no-mistakes(review): label damped refusals, drop Cygwin alias, refresh scripts table

* no-mistakes(document): note lane-capacity spawn deferral in AGENTS.md, reflow headers

* no-mistakes(document): restore AGENTS.md line, say MSYS /proc not Cygwin

* test(capacity): end-to-end lane capacity integration suite and review fixes

Add tests/fm-lane-capacity-integration.test.sh, which drives the auto lane
budget through the real firstmate paths: bin/fm-spawn.sh admitting, deferring
with exit 75 and a queued backlog item, and re-admitting real spawns on the
verdict; eight spawns in one publish interval admitting exactly the damped
budget; the real bin/fm-watch.sh publish cycle damping growth across two
publishes and feeding the next spawn; idle-lane reclaim judged from real
worker processes without stopping any; the fixed-cap path compared byte for
byte against the merge base; and an opt-in live case that loads the host CPU
and records the verdict before, during, and after with timestamps.

Fixes found while testing and in review:
- a config/lane-capacity that exists but cannot be read now refuses the spawn
  gate instead of admitting, since it cannot show it does not ask for it
- in auto mode a pressure-file beat can only lower the live memory reading
- under WSL2 the Windows host's power reading closes the battery gate when
  Linux has no power_supply of its own
- the report names the first three reclaim candidates with their class, idle
  age, next step, and evidence

* no-mistakes(review): hold closed gates on unknown readings, pin fixed-cap tests

* no-mistakes(review): hold closed battery, thermal, pressure gates on unreadable probes

* test(capacity): inject memory in the portable integration cases

The portable cases sized their room from this host's live available memory,
so the four-lane watcher case failed on any machine with less than about
9 GB free even when the code was right. They now inject the memory reading
through the probe seams the unit suites use: a fake sysctl for hw.memsize
and kern.memorystatus_level on macOS, and on Linux an FM_PROC_ROOT_OVERRIDE
tree whose meminfo is a fixture and whose other entries link to the real
/proc. The spawn gate case asserts the budget reads the injected 11 GB. The
idle-reclaim case keeps the real process table and memory, and only the
opt-in live case reads this host's memory for admission.

* no-mistakes(review): Tighten burst deferral, probe_env watcher stop, reword floor messages

* test(capacity): keep the portable cases off the live Windows host view

* no-mistakes(review): Ignore peripheral batteries; skip unused probes on admission

* no-mistakes(ci): Fixed ci-3 (Greptile "Closed gates expire"). Before this fix, a published auto doc older than 300 s became null, and that dropped every closed gate along with the budget. So if the watcher stopped and powershell.exe stayed unreadable, the next spawn could be admitted on Linux headroom alone, with no clean host reading. Fix in bin/fm-capacity.sh (auto_budget jq): - `$pa` is now the last auto doc at any age. - `$pg` (its gates) comes from `$pa`. - `$pd` (the doc only while it is at most 300 s old) still feeds prev_free, since_publish, damping and the swap rate, so the budget's freshness is unchanged. - gate() now reads the previous gate state from `$pg`. A closed gate keeps its since_epoch and clear_count however old the doc is, and only real clean readings reopen it. Test: added test_closed_gate_survives_a_stale_publish to tests/fm-capacity-auto.test.sh and extended the header's coverage list. The test publishes with a starved WSL host so host-memory closes, ages the doc by 900 s, removes the host cache and makes powershell.exe fail. It then asserts that --spawn-gate exits 75 with "host-memory: Windows host unreadable" and that --json still reports the gate closed with admit false. It failed before the fix (exit 0) and passes after it. Checks run: fm-capacity-auto, fm-capacity, fm-project-capacity and fm-lane-capacity-integration all pass. Shellcheck shows only info-level SC1091 notes because it was run without -x. No em dashes were added. Docs needed no change because none of them tie gates to the 300 s window. ci-1 and ci-2 were not touched, as instructed
…henguid#8294)

* feat(skills): add lavish-url page capture and feedback routing

Add the /lavish-url skill and bin/fm-lavish-url.sh. `snapshot <url>
[--mobile]` renders a public or local page through chrome-devtools-axi,
rebuilds it through a hostile-input sanitizer (bin/fm-lavish-url.py),
injects the universal review layer with [Fix Layout], [Update Text], and
[Mobile Bug] prompt chips plus every matching enhancer (default, odoo,
teatop), proves the Lavish session is listed open, and arms it through
bin/fm-procevent-lavish.sh arm. `path`, `resolve`, and `owns` locate
snapshots and routes; `route <source-id> <sequence> [--file]` presents a
captured feedback wake through the adapter's read and files it once as a
queued item in the backlog of the registered project that owns the URL's
host, refusing inferred, ambiguous, and unrouted mappings.

Document config/lavish-url-domains, point Lavish wakes for snapshots at the
skill, and add tests/fm-lavish-url.test.sh with its serial duration hint and
changed-path selection.

* no-mistakes(review): Preserve CSS comparisons and remove unused matching interface

* no-mistakes(review): Preserve URL commas when parsing responsive image candidates

* no-mistakes(document): Clarify Lavish URL usage and documentation ownership

* no-mistakes(ci): Captain, fixed all four findings: isolated capture sessions with cleanup, atomic snapshot reservations, safe CSSOM preservation with inaccessible-sheet metadata, and collision-resistant review controls. All 8 behavioral tests, targeted fm-lint.sh, and git diff --check passed. No pipeline or publication actions performed

* no-mistakes(ci): Captain, fixed both findings: captured CSS retains stylesheet order, and snapshot reservation retries only on name collisions. Added behavioral regressions. All 9 focused tests, targeted fm-lint.sh, and git diff --check passed. No pipeline or publication actions performed

* no-mistakes(ci): Captain, replaced the permission-dependent regression with an ENOTDIR injection that exercises the production reservation error path regardless of privileges. It verifies prompt nonzero exit without capture or arming. All 9 focused tests, targeted fm-lint.sh, and git diff --check passed

* no-mistakes(ci): Captain, removed the TeaTop enhancer and references, replaced fixtures with example.test hosts, and retained host-matching coverage using a test-only enhancer. All 9 focused tests, targeted lint, documentation checks, and git diff --check passed. No pipeline or publication actions performed

* test(lavish-url): replace tea/teahouse test fixtures and host with generic portal fixtures

* no-mistakes(document): Clarify Lavish snapshot naming, styles, and metadata

* no-mistakes(ci): Captain, fixed ci-1: readable CSSOM replaces original inline style text in place, including empty copies; unreadable sheets retain original text. Sanitization remains intact. Regression failed before the fix; all 9 focused tests, script lint, and diff checks now pass. Rejected enhancer work remains untouched
…kunchenguid#7619)

* fix(pi): rearm the watcher independently of a held wake delivery

docs/watcher-continuity.md promises that each adapter starts the next
watcher arm before delivering the wake prompt. On a Pi primary with a
busy supervision branch that was not what happened: watcher closes
were handled one at a time behind a single 'restoring' flag, so a
freshly restarted watcher that closed again waited in pendingActionables
until the earlier branch delivery settled. For that whole time no
watcher was armed.

One day's arm ledger showed successor arms starting 297 to 1244
seconds after the previous arm closed, and the 'turn would end blind'
guard firing 26 times in that day with the last beat 43 to 1214
seconds old.

Arming and delivery are now separate concerns. Each close restores
continuity in a generation-owned pump that does not wait on the
serialized wake delivery, and the wake queue is still delivered one at
a time. A successor's failure during restoration keeps its bounded
retry once the continuity operation finishes, so a failure that lands
during a held delivery is still retried instead of being skipped.

The regression test holds a branch delivery open, closes the new
watcher, and asserts that the successor arm starts before the delivery
resolves.

* docs(watcher): record the Pi successor-start and delivery split

* fix(pi): confirm the handling handoff inside the continuity operation

* test(pi): make the repeated-close fixture generation-aware

* fix(pi): settle a deferred close with the operation that held the guard

* no-mistakes(document): docs(watcher): record Pi held-delivery restore and handoff coverage

* no-mistakes(document): docs(watcher): fix Pi deferred-retry wording
* fix(watch): surface overdue pauses as decisions

* no-mistakes(review): Classify overdue pauses as blocked stale decisions

* no-mistakes(review): Enforce strict pause ceilings; durable blocked decisions remain unresolved

* fix(watch): make overdue pauses actionable

* no-mistakes(document): Document overdue pause behavior and configuration

* no-mistakes(ci): Invariant: every overdue pause—dated or undated, including a worker classified as working—must open an actionable keyed decision, and leaving that pause must resolve it. The affected paths are the stale `paused` and `working` classifications, plus status transitions that resume or replace a pause. Added the overdue check to the working classification and attempted automatic resolution on resume, with undated coverage. Verification is incomplete: `bash tests/fm-watch-triage-pause.test.sh` fails because the resumed worker still leaves the decision open. This phase is not complete; the fix needs further work

* no-mistakes(ci): Updated the undated pause test to use portable `set_mtime`, refresh `.seen-until_status`, and allow the expected ordinary recheck exit while asserting no overdue decision opens before the ceiling. The focused test script timed out after 120 seconds, before reaching the changed test. The `working` route still reaches `wedge_timer_check` without the overdue check; that selected finding remains unresolved, so this CI phase is incomplete

* no-mistakes(ci): Updated the working-classification route to check both overdue ceilings before the wedge path, and added automatic resolution when a pause is replaced by a fresh, non-overdue pause. `bash -n` passed. Focused dated-resume and undated-overdue tests still fail (decision remains open / is not created); the full test script timed out before reaching them. This CI phase is incomplete

* fix: resolve overdue pause decisions on status changes

* fix: close overdue pauses only on resume

* no-mistakes(document): Document overdue pause behavior

* no-mistakes(ci): Fixed the overdue marker to bind its offset to the status file’s device/inode and clear on replacement or shrink. An open marker now suppresses the ordinary terminal-stale path despite pane changes. `bash -n` and `git diff --check` passed; the focused test script timed out after four of 31 cases, so the new behavior is not fully verified. Behavior tests for pane churn and task-ID reuse remain to be added

* fix(watch): preserve overdue pause markers

* no-mistakes(document): Document overdue pause behavior and configuration

* fix(watch): retire overdue markers on teardown

* no-mistakes(ci): Implemented a shared dated/undated overdue-pause predicate and routed both watcher and daemon pause rechecks through it. The daemon now appends the keyed blocked decision, records the status-file identity/offset marker, and queues one stale escalation. `bash -n` and `git diff --check` pass. The requested daemon behavior test was not added or run; this change is not fully verified

* no-mistakes(ci): Fixed the daemon overdue-pause append path to accept both successful return codes and persist the blocked line’s exact end offset before queuing the wake. `bash -n` and `git diff --check` pass. The focused pause suite timed out after five cases; the requested daemon-path behavior test was not added or run, so verification is incomplete

* fix(watch): test overdue pauses in away mode

* no-mistakes(review): Keep malformed dated pauses on bounded rechecks

* no-mistakes(review): Reconcile daemon overdue decisions on worker resume

* no-mistakes(document): Document overdue worker pause behavior

* no-mistakes(document): Document overdue pause decisions

* fix(supervision): dedupe overdue pause alerts

* no-mistakes(review): Gate overdue pause decisions on away posture

* no-mistakes(review): Preserve unread status events during overdue escalation

* no-mistakes(review): Use shared overdue predicate for watcher classification

* no-mistakes(ci): Fixed daemon-backed quiet mode to apply the overdue pause ceiling while keeping captain-held waits away-only. Added a quiet-mode regression test; the existing away-mode deduplication and unread-event regression passed. The real away-mode daemon lab passed, and `git diff --check` passed. The full daemon test script passed, including all three overdue-pause cases. Linux validation could not be run in this macOS worktree; per instruction, stopping without claiming both OS lanes passed. Final SHA: 79996166d5ce89be222935da046e1bbf2a1a2bf8

* no-mistakes(review): Resolve overdue decisions on any worker status event

* no-mistakes(review): Exercise overdue marker offsets through real status append

* no-mistakes(document): Document overdue pause handling

* no-mistakes(ci): Invariant: an overdue pause is reported only after its stale escalation is queued. The daemon’s overdue housekeeping is the sole affected path; the watcher does not own this daemon escalation. Moved the marker write after successful queueing. Added the requested retry regression, but `bash tests/fm-daemon.test.sh` fails because the test’s recovery attempt does not create the marker. macOS/Linux Lint and behavior lanes were not run; stopping without claiming validation. HEAD remains `2dd9718e2186de6e0292a593f3fcb84e96c5f201`; changes are uncommitted

* no-mistakes(ci): BLOCKED. The retry test now has a real newline and its saved-function rename matches Bash’s `declare -f` output, but `bash tests/fm-daemon.test.sh` still fails: the retry does not create `.paused-overdue-overdue-retry`. I did not proceed to other requested validation. This environment is macOS (`Darwin`); Linux validation cannot be run here, so I cannot satisfy the required two-OS validation. No commit or push was made. The daemon implementation already writes the overdue marker only after `escalate_add` succeeds; the test needs further diagnosis before this phase can pass

* no-mistakes(ci): Implemented retryable overdue alerts: failed enqueues retain pending state, housekeeping retries without duplicating the blocked decision, and reconciliation/teardown clean up pending state. `bash tests/fm-daemon.test.sh`, shell syntax checks, and `git diff --check` passed. The stated synchronized commit 49023a95 was not present in this worktree; these changes are uncommitted

* fix(daemon): keep pending overdue alerts out of the overdue-marker globs

The pending overdue alert record was named .paused-overdue-pending-<task>,
which the watcher's and daemon's .paused-overdue-* loops also matched. The
watcher read the task as pending-<task>, found no status file, and deleted
the record, so a failed alert was lost on the next watcher poll. Rename it
to .overdue-pending-<task> and cover a watcher poll between the failed
enqueue and the retry.

* no-mistakes(review): Discard resumed overdue alerts before retry

* fix(daemon): fold overdue alert retries into the overdue marker

Drop the separate pending record. The overdue marker's second line now holds
the daemon's delivery state, so keyed resolution, resume and retry all run
through one reconcile path. The marker is published atomically before the
blocker is appended, and only a daemon-owned marker hides the blocker from wake
classification, so a watcher-written marker keeps ordinary blocked escalation.

* fix(daemon): drop the overdue alert retry

A failed enqueue now leaves the overdue decision open and the next housekeeping
scan raises it, so the alert has no separate delivery path to race or lose. The
marker's second line only records a queued alert. The blocker is appended before
the marker, and an already-open decision is not opened again.

Measure the undated pause bound from the pause line's own [at=] stamp, falling
back to the file's age for unstamped lines.

* no-mistakes(review): Preserve overdue decisions across unrelated status events

* no-mistakes(review): Treat zero pause ceiling as invalid configuration

* no-mistakes(document): Document overdue pause behavior

* no-mistakes(lint): Fix ShellCheck subshell export warnings

* no-mistakes(lint): Fix ShellCheck subshell environment warnings

* no-mistakes(ci): Updated both overdue reconcilers to ignore unrecognized prose and honor FM_CLASSIFY_PAUSED_VERB; added prose/custom-verb regressions. Watcher tests and shell syntax checks passed. Daemon test suite still fails at the existing “failed queue lost the overdue marker” scenario before reaching the new regression

* no-mistakes(ci): Fixed both overdue reconcilers to use the shared status-event predicate, preserving prose as non-events while recognizing supported legacy completion lines. Added done:/merged coverage. Shell syntax and diff checks pass; watcher test passes. Daemon suite remains blocked by its known earlier failure, “failed queue lost the overdue marker,” before reaching the new regression

* feat(supervision): make the pause ceiling opt-in via config/pause-ceiling

Overdue pauses open a keyed decision only in a home with the config/pause-ceiling
presence flag; without it paused waits keep main's recheck behavior. The classifier,
watcher and away daemon each check the flag. Adds flag-absent and flag-present tests,
fixes a daemon test that never applied its fixture environment (which aborted the
rest of the file), and restores main's T3 discovery test.

* no-mistakes(ci): Fixed both overdue reconcilers to use the configured resolve verb when matching and writing resume resolutions. Added watcher and daemon regressions; focused tests and `bin/fm-lint.sh` pass
…id#8308)

* feat(bin): ask a Claude primary to /stow before compaction

Add an opt-in Stop hook that tells a primary session to run the existing /stow skill when context nears compaction or the last /stow is a day old.

* fix(bin): keep the stow ask off secondmate homes and unread clocks

A Stop block in a secondmate home left the parent recording idle, and a missing python3 still asked by age after a /stow it could not see.

* no-mistakes(review): Let continuation stops trigger stow-guard asks
…kunchenguid#8279)

The "successor never delivered its recovery wake and exited" flake came
from a sampling race in the test helper, not the watcher. SIGSTOP freezes
the old watcher's shell but not its already-forked children: when the stop
lands inside fm_lock_try_create after its ln -s child was forked, the
helper's glob of the linked *.lock names samples clean, then the child
publishes a lock recorded to a pid that can never release it. The
successor claims .watch.lock, then blocks the full startup bound in
fm_recovery_marker_reopen_announced on .wake-queue.lock, alive and
silent, until the 20s poll gives up.

fm_lock_try_create stages <lock>.owner.*/pid before the link exists, so
counting staged owner directories as held makes the stop verdict airtight:
any publication that can still land already has its pid on disk. The
watch lock's own owner dir is skipped along with the lock itself.

The failure message also gains the successor's pid, claim state, and the
recorded holder of each lock, since an empty new_out previously left the
diagnostic colon blank.

Reproduced 6/120 iterations under nproc/2 CPU load before the fix, each
failing run stalling ~55-73s at the 60s startup bound; 0/80 under the
same load after.
* fix(opencode): apply busy-state events in emission order

At every turn end OpenCode emits session.status busy then session.status
idle/session.idle ~1ms apart without awaiting the plugin hook. Each event
used to spawn its own fm-busy-event.sh apply, and the applies serialized
only on the record lock, so the earlier busy could win the last write and
leave an idle worker recorded busy until its next turn (5 of 13 turns in
the live finding; 4 of 4 in reproduction on opencode 1.18.32).

Both generated plugin variants now run every event's applies through one
promise queue, so emission order is apply order. The OpenCode 2 plugin's
server hook and setup() event.subscribe stream share that one queue and
one session latch per plugin instance instead of holding a handler each.

Regression tests fire a busy/idle pair through the real generated plugin
without awaiting, then run the real applies in reverse spawn order via an
execFile interposer, so the record ends busy deterministically whenever
serialization is lost. Verified live: on a persistent `opencode serve`
the patched plugin ends 5 of 5 real turns idle while the unpatched one
left the record busy.

* no-mistakes(document): Correct busy-state ordering contract comments
…nchenguid#8276)

* fix(remote): guard shared Herdr service ownership

* no-mistakes(review): Share Herdr identity and harden repair safety

* no-mistakes(review): Never repair a running Herdr server; serialize repairs

* no-mistakes(review): Split automatic and operator Herdr repairs

* no-mistakes(review): Document explicit operator repair's pane race risk

* no-mistakes(document): Clarify remote readiness repair documentation

* no-mistakes(document): Clarify remote Herdr session reservation

* no-mistakes(ci): Added the new identity regression’s measured duration hint, fixing coverage guard and parallel runner-test failures; documented timing provenance. Coverage guard, full runner regressions, identity regression, watcher-lock suite, and diff checks passed locally. Serial CI failure was an unrelated unchanged watcher timeout; Full suite was a downstream failure. Nothing pushed

* no-mistakes(ci): Fixed legacy guard-path decoding for apostrophes and bound takeover authorization to PID plus process-start identity, with cleanup on handled exits. Updated the pinned doctor digest. Both regressions fail before and pass after the fixes. Identity, guard, doctor, and entrypoint suites, targeted ShellCheck, and diff checks passed. Changes remain local; nothing pushed

* docs(remote): clarify Herdr root session ownership
* fix(bin): let relaunch use the recorded project's common-dir boundary

The relaunch isolation check compared the task copy's own --git-dir to
its own --git-common-dir, which are equal for every standalone clone, so
a worker launched into a clone could never be relaunched: fm-control
stopped the old agent first, then the launch owner refused it as a
"primary checkout" and left no replacement. Compare the copy's git dir
against the recorded project's common git dir instead - the same
boundary fresh spawn's spawn_worktree_isolated draws - while keeping the
home, code-root, and true primary-checkout refusals and the secondmate
exemption.

* no-mistakes(document): Clarify relaunch isolation documentation
* feat(pr-poll): wake on a ready PR/MR degrading after its ready report

A ready PR/MR watched only for its merge sat idle when it degraded after
the ready report: a GitLab merge train dropping the merge request (its
readable trace is the failed head pipeline) or GitHub checks turning red
fired no wake, so the worker and its supervisor waited until a human
noticed. The existing merge poll now also emits one degraded line for
that transition, naming the failed jobs with the forge's failure reasons
and the pipeline or check URL so the wake says which test broke without
a job-log dig.

- bin/fm-pr-poll.sh reads the GitHub rollup through gh's own --jq and the
  GitLab record through glab -F json, the same read the merge path makes,
  so both forges share the merged contract and gain the degraded line.
- The watcher dedupes one wake per head/pipeline identity through a
  validated per-task marker (bin/fm-pr-lib.sh); a repeat is silent and a
  changed identity wakes again. The merged wake is unchanged.
- GitLab arming requires jq like the Gerrit and Forgejo watches, because
  the rendered view carries no head pipeline state.
- Re-arming clears the marker; teardown removes it with the other
  per-task PR-poll artifacts.
- Regression tests cover both forge paths, the silent paths, and the
  once-per-transition dedupe at the watcher level.

* no-mistakes(review): Wake on GitLab merge-train drops; jq-less merged fallback

* no-mistakes(review): Match only HTTP 404 for merge-train drop detection

* no-mistakes(review): Name failed jobs on train drops; baseline degraded-at-ready

* no-mistakes(review): Re-read MR after train 404 before reporting a drop

* no-mistakes(document): Document degraded-after-ready merge poll wakes

* no-mistakes(ci): Lint 1 failed on shellcheck SC2034: the shape loop in test_github_degraded_poll (tests/fm-pr-check-security.test.sh) assigned `field` (and an intermediate `rest`) that were never used. The invariant is that every assigned variable in the test is used. That loop is the only site. The working tree already removes both assignments (shapes are now 'Type|VERDICT', with `verdict=${shape#*|}`). `shellcheck tests/fm-pr-check-security.test.sh` now reports nothing. I started the full test file, but it was stopped at its background time limit, so its pass/fail result is unconfirmed. The change only drops dead variables, so behavior is unchanged. I did not touch the Behavior portable checks (ci-1 to ci-3), per the task owner's ruling that they are unrelated flakes

* no-mistakes(ci): The ci-1..ci-4 fixes were already in the worktree, so I made no code edits. I did not commit or push: this phase must not push, and the outer executor owns that. The four targeted regression tests did not finish, so the fixes are not confirmed by a passing test run. - **Shellcheck:** `shellcheck -x -S warning` on bin/fm-watch.sh, bin/fm-pr-check.sh, bin/fm-pr-poll.sh and tests/fm-pr-check-security.test.sh is clean. Plain `shellcheck` reports only info-level SC1091 (sourced files not followed). - **Regression tests:** I ran the four targeted functions from a temporary runner: test_gitlab_merge_watch, test_arming_baselines_an_already_degraded_change, test_degraded_poll_wakes_once_per_transition and test_degraded_wake_survives_an_unsaved_marker. It printed no output and was stopped at its 10-minute background limit on this loaded host. Per your instruction I did not restart it or run the full test file. - **Cleanup:** I deleted the `tests/zz-*` scratch runners, including my own temporary one. `git status` now shows only the five intended modified files: the operational-home-layout skill, the three bin scripts and the security test

* no-mistakes(ci): ci-2 fixed in code, but the new test is unverified. In bin/fm-pr-check.sh the arming baseline read of fm-pr-poll.sh now runs through fm_run_timed (fm-timeout-lib.sh is now sourced) with the bound ${FM_CHECK_TIMEOUT:-30}. A timeout (status 124) or any other nonzero exit prints "error: baseline read of the PR poll timed out/failed" and exits 1. The EXIT cleanup releases the control lock, and nothing is published because the poll is published after the baseline. The success path is unchanged. Before this edit a failed baseline read was ignored and arming went on without a baseline, so any nonzero exit from the poll now fails registration. I extended test_arming_baselines_an_already_degraded_change with a stalled-read case: FM_CHECK_TIMEOUT=1 and FM_TEST_GLAB_SLEEP=3. It asserts arming exits non-zero, the error names the timed-out baseline read, .control-task-a.lock is gone and no task-a.check.sh exists. `shellcheck -x -S warning` on bin/fm-pr-check.sh and tests/fm-pr-check-security.test.sh is clean. I tried two temporary runners, one for the whole target function and one for just the new case plus a plain arming success. Both hit this loaded host's time limit with no output, so the new test has not been run. I stopped them and deleted the runner. I did not commit or push, because this phase must not push. Only bin/fm-pr-check.sh and tests/fm-pr-check-security.test.sh are modified

* no-mistakes(ci): ci-2 fixed in bin/fm-pr-check.sh. Invariant: a failed or timed-out re-arm must leave the task metadata and the previously published poll unchanged. The control-lock acquisition (still skipped when FM_PR_CHECK_MERGE=1) and the bounded baseline read (fm_run_timed ${FM_CHECK_TIMEOUT:-30}, exit 1 on timeout or failure) now run before the metadata rewrite under the meta lock. Lock order is control -> meta -> publish, and the ordering comment is updated. The marker write or removal stays just before poll publication, after the metadata rewrite, under the control lock. The control lock is released after publication as before. Regression test: test_arming_baselines_an_already_degraded_change in tests/fm-pr-check-security.test.sh now arms task-a on PR 1, then re-arms to PR 7 with FM_CHECK_TIMEOUT=1 and FM_TEST_GLAB_SLEEP=3. It asserts the re-arm exits non-zero, task-a.meta still holds the PR 1 url, fm_pr_poll_artifacts_valid passes for the PR 1 poll, and .control-task-a.lock is gone. Verification: `shellcheck -x -S warning` on both touched files is clean. The new test has not been run, because this loaded host hit its time limit on earlier runner attempts and the full test file was not to be run. I did not commit or push, because this phase must not push. No temporary runner is left, and only bin/fm-pr-check.sh and tests/fm-pr-check-security.test.sh are modified. bin/fm-pr-poll.sh is untouched

* no-mistakes(ci): Removed the tracked temporary runner tests/zz-run.sh with git rm. The deletion is staged but not committed or pushed, since this phase must not push. Invariant: no scratch runner ships in the tree. No other tests/zz-* files exist, and no other files changed. No tests or lint were run because the change only deletes an unused scratch file

* fix(pr-poll): hard per-read limit on GitLab failure-detail reads

Each GitLab failure-detail read (failed-pipeline and train-drop paths) now
runs under its own five-second limit, so a hung glab read is cut and the
known failure is still emitted with the detail read so far instead of the
poll being killed by the watcher's check timeout before it prints.

The static poll sources nothing, so it uses the same perl fork-and-kill
bound the watcher falls back to for its own checks; a bare alarm is not
enough because glab's Go runtime ignores SIGALRM. The regression test uses
a fake glab whose detail reads hang while ignoring SIGALRM.

* no-mistakes(test): Add FM_TEST_WATCH_BOUND override and robust wake-queue count

* no-mistakes(test): Separate glab stdout/stderr in train poll; harden watcher test

* no-mistakes(ci): Fixed ci-2 and ci-3; ci-1 stays declined. The new arming and cross-project checks now pass, and shellcheck -x -S warning is clean on bin/fm-pr-poll.sh, bin/fm-pr-check.sh and tests/fm-pr-check-security.test.sh. ci-2: bin/fm-pr-poll.sh takes a `--baseline` flag, passed only by bin/fm-pr-check.sh. With it, a failed or unreadable forge read exits 3 and prints nothing, across GitHub, GitLab (including the merge-train car read and the post-404 re-read), Gerrit and Forgejo. The watcher's `--validated` call still stays silent on every error. bin/fm-pr-check.sh turns status 3 into "baseline read of the PR poll could not read the forge" and exits 1 before the metadata rewrite and publish. The old metadata and published poll are untouched and the control lock is released. A clean, readable not-degraded record still arms with no baseline. ci-3: `gitlab_failure_detail` carries `downstream_pipeline.project_id` with each downstream pipeline id and reads its jobs and bridges through `projects/<project_id>/...`. It falls back to the MR's project when no project_id is present. The 4-pipeline, 10s, 5s-per-read and depth-below-3 limits are unchanged. Tests: I added a cross-project poll regression to `test_gitlab_merge_watch`, where the fake glab serves the child jobs only under that other project's path. I also added unreadable-forge arming cases to `test_arming_baselines_an_already_degraded_change`: glab and glab-API failures, a failed re-arm that keeps the old metadata and poll, and a GitHub failure. I ran these only through a temporary runner outside the repo; the cross-project case printed ok and the arming block ended with "ok - an unreadable baseline read fails arming and keeps the previous watch". I did not run the existing poll-stderr-check.sh script or any watcher-driven scenario. My first version of the baseline mode treated a successful car read with a non-car body as unknown, which broke ordinary arming. That is fixed: only an unparseable body is unknown. The temporary runner is deleted and the worktree holds only the three modified files

* fix(pr-poll): make no GitLab detail read without perl

The per-read limit on GitLab failure-detail reads is a perl fork-and-kill
bound. Without perl the reads fell back to a bare glab api call, so one
hung read could hold the poll until the watcher's check timeout killed it
before the known failure printed. Without perl the poll now makes no
detail read at all and emits the degraded line with no job names on both
the failed-pipeline and train-drop paths.

The regression hides perl from PATH, makes every detail read hang, and
asserts both paths still emit at once with no pipelines/ read.

* no-mistakes(ci): Fixed ci-1 in tests/fm-pr-check-security.test.sh only (nothing changed in bin/). Invariant: every GitHub arming or merge call must give the fake gh a jq, because arming now reads through `fm-pr-poll.sh --baseline` and fails when the read is unreadable. I added FM_TEST_JQ="$REAL_JQ" to run_check_entry and run_merge_entry. I also added it to the other direct healthy-GitHub registration calls: the rebind.sh heredoc (around line 3868), the replace-authority.sh heredoc, and the background re-arm (around line 4275). I left the GitLab and no-tool cases alone (the no-glab and no-jq runs at ~2921/2962, and the no-tool run at ~2245). Validation: `shellcheck -x -S warning` on the file is clean. A temporary runner outside the repo (since deleted) sourced the file's helpers and ran make_case, then run_check_entry on https://github.com/o/r/pull/1. It exited 0 with "armed: state/task-a.check.sh" and the published check.sh was present. run_merge_entry on the same case printed no "could not read the forge" error. No test function from tests/ and no watcher scenario was run. The tree has only the one modified file and no scratch files

* fix(pr-check): skip the degraded baseline read on the merge-time re-record

bin/fm-pr-merge.sh records through bin/fm-pr-check.sh before any merge forge
call. The strict arming baseline read ran there too, so an unreadable forge
stopped the merge with the arming error before its own refusals, and every
merge made one extra forge read. The merge-time re-record now neither reads
nor rewrites the baseline; the watch's marker is keyed to the PR identity and
stays as the watcher left it.

* no-mistakes(review): fix(pr-poll): lenient train car read, link-only train drop

* no-mistakes(document): Note train-drop poll names pipeline link only

* no-mistakes(ci): ci-1 (Greptile "Test hooks hang") is fixed. The only file changed is tests/fm-pr-check-security.test.sh; nothing under bin/ changed and production lock behavior is untouched. Invariant: a test hook that runs inside a process already holding STATE/.control-<id>.lock must not call the lock-taking arming path, because fm_lock_acquire_wait would then wait forever on its own parent. Only two hooks re-arm from inside a control-lock holder: rebind.sh in test_authority_persistence_refuses_rebound_metadata, which runs during `gh pr merge` while fm-pr-merge.sh holds the lock, and replace-authority.sh in test_authority_retirement_preserves_replacement, which runs inside the watcher's mv. The background replacement merge that replace-authority.sh starts already waits for the lock correctly and is unchanged. Fix: both hooks now call `FM_PR_CHECK_MERGE=1 "$PR_CHECK" task-a "$url_b"`. That is the arming path bin/fm-pr-check.sh provides for a caller that already holds the control lock. It still rewrites pr= in task metadata and republishes the poll, but skips taking the lock and the baseline read. That matches how these hooks behaved before this PR, when arming took no control lock. I didn't move the registration into the background or after the parent releases the lock (the user's examples). In the rebind test the metadata change has to land before the merge persists its authority. A deferred re-arm would let the merge persist authority for url_a, which defeats the test. The re-arm stays synchronous, so every existing assertion is kept: the rebind test still gets a non-zero merge exit, pr=$url_b in the metadata and no merge-authority file. The retirement test still keeps the replacement authority, arms url_b and lands the attended merge for url_b. Verification: each test was run alone with FM_TEST_WATCH_BOUND=600. Both exited 0 within seconds and printed their pass lines: "ok - accepted merge authority refuses rebound task metadata" and "ok - poll retirement preserves a replacement authority record". I used a temporary runner that sourced the test file's helpers and called the one test; it has been deleted. The hang was not re-run before the fix; the user had already reproduced it on f0a22753. `shellcheck -x -S warning tests/fm-pr-check-security.test.sh` is clean. The full suite was not run

* no-mistakes(test): Fixed enterprise-host diagnostic assertion; watcher validation still fails

* no-mistakes(ci): Fixed the expected-failure watcher call so errexit cannot abort the test before its result is checked. `bash -n` and `git diff --check` passed; the full security test script timed out after 120 seconds, before reaching this test

* no-mistakes(review): Suppressed ambiguous GitLab car-endpoint 404 train drops; focused test still fails because an existing detail-budget case expects a wake

* no-mistakes(review): Confirmed train-drop listing path added; focused suite still fails on unknown-baseline arming

* no-mistakes(review): Allow unknown baseline reads without blocking arming

* no-mistakes(review): Preserve dedupe markers until poll publication succeeds

* no-mistakes(review): Reuse parsed MR state when confirming train drops

* no-mistakes(document): Update PR degradation watch documentation

* fix(pr-poll): recheck merge state before train drop

* no-mistakes(review): Preserved train state separately; focused test failed

* no-mistakes(test): Train-drop regression still fails; baseline train marker preserved

* no-mistakes(test): Fix on-train baseline marker registration

* no-mistakes(test): Confirmed train drops despite unreadable state rechecks; recovery regression remains

* fix(watch): re-arm the merge-train drop wake on re-queue

A drop wake now clears the on-train record, and a drop wakes only when
the watcher saw the merge request back on its train since the last drop,
so a second drop after a re-queue wakes again instead of being absorbed
as a duplicate. A failed or closed MR re-read keeps the confirmed drop,
marked mr_state=unconfirmed when the state is unreadable.

Silent watcher steps in the security suite now stop one second after
their check pass completes instead of spending the full 60s bound.

* no-mistakes(document): Clarify GitLab degraded-watch documentation

* no-mistakes(review): Suppress train-drop wake for closed MR rechecks

* no-mistakes(document): Document GitLab train-drop recheck outcomes

* fix(pr-poll): stop a hung GitLab detail read when the poll is stopped

The bounded glab read runs in its own process group, which only its alarm
used to stop. A TERM, INT, or HUP that stops the poll mid-read, such as the
watcher's check timeout, killed the perl parent and left glab running.
Forward those signals to the read's group and reap it before exiting.

* no-mistakes(document): Correct GitLab merge-watch documentation

* no-mistakes(review): Fail registration when PR baselines cannot persist

* no-mistakes(review): Persist both GitLab degradation baselines

* no-mistakes(document): Clarify PR poll documentation

* no-mistakes(review): Preserve registration when baseline persistence fails

* no-mistakes(review): Validate degraded and train markers before teardown

* no-mistakes(review): Rollback failed PR baseline re-registration

* no-mistakes(review): Preserve prior watch through poll publication

* no-mistakes(review): Re-registration rollback remains unsafe

* no-mistakes(review): Re-registration rollback remains unresolved

* no-mistakes(review): Preserve registration baselines on rollback

* no-mistakes(review): Restore registration through safe temporary files

* no-mistakes(review): Preserve train baseline after inconclusive reads

* no-mistakes(review): Reject inconclusive merge-train baselines

* no-mistakes(test): GitLab baseline-order regression remains unresolved; focused test fails

* no-mistakes(document): Document PR degradation and GitLab merge-train watches

* no-mistakes(lint): Fix ShellCheck conditional warnings

* no-mistakes(ci): Fixed rollback restoration to preserve existing artifact inodes, keeping the prior watcher registration valid. GitLab failed-pipeline baselines now confirm missing train cars against the train list instead of always reporting unknown. Verified with bash -n and git diff --check; full behavioral tests were not run

* no-mistakes(ci): Updated rollback backups to hard links so restoring a replaced poll artifact preserves its inode. Verification exposed a regression: `bash tests/fm-pr-check-security.test.sh` fails at “re-arming a GitLab watch on a green change failed”; hard-linked backups conflict with the poll artifact link-count validation. The fix needs adjustment before this phase can pass

* no-mistakes(ci): Fixed the portable serial failures: re-arm backups use copies so poll publication’s single-link invariant holds; rollback restores in place to preserve the registered inode. `bash tests/fm-pr-check-security.test.sh` passed (all 69 cases); `bash -n bin/fm-pr-check.sh` and `git diff --check` passed. Full suite failure was downstream of failed lanes

* no-mistakes(review): Opt-in polling fix remains incomplete

* Make degraded PR watches opt-in

* no-mistakes(document): Clarify optional jq requirement for GitLab watches

* Restore PR registrations when rearming is interrupted

* Seed train state for interrupted registration test

* no-mistakes(ci): Fixed both rollback invariants in bin/fm-pr-check.sh: rollback state is cleared before obsolete-backup deletion, and a failed restore retains the backup directory and reports its path. Verified with bash -n and git diff --check. Behavioral tests requested by the driver were not added or run

* docs: document opt-in degraded PR wake

* no-mistakes(document): Clarify degraded PR watch opt-in

* no-mistakes(ci): Fixed `bin/fm-pr-poll.sh` to resolve its opt-in marker home using `FM_HOME`, then `FM_ROOT_OVERRIDE`, then the script root, matching registration. `bash -n` and `git diff --check` passed. `tests/fm-pr-check-security.test.sh` passed its printed cases but exceeded the 300-second limit before completing

* test: cover the degraded-watch flag in a home reached through FM_ROOT_OVERRIDE
…d#8317)

* feat(supervision): reach herdr panes in the acknowledged hand-back retry

The detached retry could only deliver a queued wake to a Claude primary
behind tmux, because it only knew the inherited TMUX_PANE. A primary
running in herdr - including a remote home whose scripts inherit the
fm-remote session's pane identity - kept its watcher and queued check
but needed another turn or a human message to resume main.

Resolve the delivery transport from the identity the pane runtime
itself injected, mirroring fm-supervisor-target-lib.sh's discovery
order: TMUX_PANE, else HERDR_ENV + HERDR_SESSION + HERDR_PANE_ID. An
explicit target variable is never honored. On herdr the pane's own
process-info must prove the pinned session owner is its foreground
occupant (ancestor-or-self to the pane shell plus matching process
group), the registered agent identity must be claude including its
session binding, and idle must hold in both the native agent state and
the rendered footer, because a live Claude turn can leave the native
status reading idle. The tmux ancestor/tpgid proof is unchanged, and
deferred retries still never touch the queued check.

Portable coverage pins the new path alongside the tmux sibling, a
unit contract covers fm_backend_herdr_pane_owns_session, and an opt-in
live e2e proves a real Claude primary in an isolated fm-lab session:
its hand-back continuation is lost, the detached retry submits the
doorbell to the inherited pane, the primary drains and acknowledges,
and the pending check clears only after that acknowledgement.

* no-mistakes(document): Clarify herdr retry documentation ownership

* no-mistakes(ci): Added independent foreign-session-binding and native-idle/rendered-busy deferral tests; both pass and fail when their respective guards are removed. Strengthened live takeover assertions to capture watcher identity, verify retirement/replacement, and match the recorded retry arm’s take-over row. Focused behavior tests, syntax checks, warning-level ShellCheck, and diff checks pass. Credentialed live E2E was not rerun because it modifies external Herdr state outside the workspace boundary
# Conflicts:
#	.agents/skills/afk/SKILL.md
#	.agents/skills/agent-skill-trigger-index/SKILL.md
#	.agents/skills/bearings/SKILL.md
#	.agents/skills/bootstrap-diagnostics/SKILL.md
#	.agents/skills/harness-adapters/SKILL.md
#	.agents/skills/harness-adapters/references/common/model-and-effort.md
#	.agents/skills/harness-adapters/references/harness/claude.md
#	.agents/skills/harness-adapters/references/harness/codex.md
#	.agents/skills/harness-adapters/references/harness/commandcode.md
#	.agents/skills/harness-adapters/references/harness/omp.md
#	.agents/skills/harness-adapters/references/harness/opencode.md
#	.agents/skills/operational-home-layout/SKILL.md
#	.agents/skills/quota-array-dispatch/SKILL.md
#	.agents/skills/secondmate-provisioning/SKILL.md
#	.agents/skills/ship-landing/SKILL.md
#	.agents/skills/stuck-crewmate-recovery/SKILL.md
#	.agents/skills/updatefirstmate/SKILL.md
#	.github/workflows/ci.yml
#	.pi/extensions/fm-primary-pi-watch.ts
#	AGENTS.md
#	CONTRIBUTING.md
#	README.md
#	bin/fm-afk-launch.sh
#	bin/fm-agent-process-lib.sh
#	bin/fm-backend.sh
#	bin/fm-bootstrap.sh
#	bin/fm-branch-prompt.sh
#	bin/fm-brief.sh
#	bin/fm-busy-event.sh
#	bin/fm-busy-lib.sh
#	bin/fm-capacity.sh
#	bin/fm-captain-hold.sh
#	bin/fm-claude-stop-autoarm.sh
#	bin/fm-composer-lib.sh
#	bin/fm-config-inherit-lib.sh
#	bin/fm-contributions.sh
#	bin/fm-control-lib.sh
#	bin/fm-control.sh
#	bin/fm-dod-lib.sh
#	bin/fm-fleet-snapshot.sh
#	bin/fm-git-strip-ai-trailers.sh
#	bin/fm-harness.sh
#	bin/fm-lease-lib.sh
#	bin/fm-lease.sh
#	bin/fm-live-lab.sh
#	bin/fm-lock.sh
#	bin/fm-merge-local.sh
#	bin/fm-pr-check.sh
#	bin/fm-pr-lib.sh
#	bin/fm-pr-merge.sh
#	bin/fm-pr-poll.sh
#	bin/fm-procevent-remote-reply.sh
#	bin/fm-project-mode.sh
#	bin/fm-promote.sh
#	bin/fm-remote-inherit-push.sh
#	bin/fm-remote-job-lib.sh
#	bin/fm-review-diff.sh
#	bin/fm-secondmate-liveness-lib.sh
#	bin/fm-send.sh
#	bin/fm-session-lock-lib.sh
#	bin/fm-spawn.sh
#	bin/fm-supervise-daemon.sh
#	bin/fm-supervision-engine-lib.sh
#	bin/fm-supervision-host.sh
#	bin/fm-supervision-instructions.sh
#	bin/fm-supervisor-target-lib.sh
#	bin/fm-task-inbox-lib.sh
#	bin/fm-teardown.sh
#	bin/fm-test-run.sh
#	bin/fm-timeout-lib.sh
#	bin/fm-tmux-lib.sh
#	bin/fm-tool-update-check.sh
#	bin/fm-turnend-guard.sh
#	bin/fm-wake-lib.sh
#	bin/fm-watch-arm.sh
#	bin/fm-watch-checkpoint.sh
#	bin/fm-watch.sh
#	bin/fm-worker-account-lib.sh
#	docs/agent-control.md
#	docs/architecture.md
#	docs/captain-hold-lifecycle.md
#	docs/codex-app-backend.md
#	docs/configuration.md
#	docs/documentation-audiences.json
#	docs/extension-bindings.md
#	docs/external-review-forge.md
#	docs/fm-test-portable-shards.md
#	docs/herdr-backend.md
#	docs/pi-supervision-branch.md
#	docs/remote-secondmates.md
#	docs/scripts.md
#	docs/supervision-host.md
#	docs/supervision-protocols/supervision-host.md
#	docs/tmux-backend.md
#	docs/trace-context.md
#	docs/turnend-guard.md
#	docs/verification/process-event-sources.md
#	docs/verification/runtime-backends.md
#	docs/watcher-continuity.md
#	tests/fixtures.sh
#	tests/fm-afk-launch.test.sh
#	tests/fm-afk-return.test.sh
#	tests/fm-backend-herdr.test.sh
#	tests/fm-backend.test.sh
#	tests/fm-backlog-atomicity.test.sh
#	tests/fm-bearings-snapshot.test.sh
#	tests/fm-bootstrap-network-parallel.test.sh
#	tests/fm-bootstrap.test.sh
#	tests/fm-branch-supervision.test.sh
#	tests/fm-brief.test.sh
#	tests/fm-busy-adapter-wiring.test.sh
#	tests/fm-busy-state.test.sh
#	tests/fm-capacity.test.sh
#	tests/fm-captain-hold-lifecycle.test.sh
#	tests/fm-ci-workflow.test.sh
#	tests/fm-claude-stop-autoarm.test.sh
#	tests/fm-composer-lib.test.sh
#	tests/fm-contributions.test.sh
#	tests/fm-control-relaunch.test.sh
#	tests/fm-control.test.sh
#	tests/fm-crew-state.test.sh
#	tests/fm-cursor-primary.test.sh
#	tests/fm-git-strip-ai-trailers.test.sh
#	tests/fm-kimi-harness.test.sh
#	tests/fm-live-lab-up-mate.test.sh
#	tests/fm-live-lab.test.sh
#	tests/fm-merge-local.test.sh
#	tests/fm-pending-reply.test.sh
#	tests/fm-pi-primary-types.test.sh
#	tests/fm-pi-watch-extension.test.sh
#	tests/fm-pr-check-security.test.sh
#	tests/fm-pr-merge.test.sh
#	tests/fm-project-capacity.test.sh
#	tests/fm-project-mode.test.sh
#	tests/fm-remote-delta-read.test.sh
#	tests/fm-remote-secondmate-lifecycle-e2e.test.sh
#	tests/fm-review-diff.test.sh
#	tests/fm-secondmate-liveness.test.sh
#	tests/fm-self-repo-role.test.sh
#	tests/fm-spawn-compact-adviser-disable.test.sh
#	tests/fm-spawn-dispatch-profile.test.sh
#	tests/fm-spawn-external-review.test.sh
#	tests/fm-spawn-pool-base-freshen.test.sh
#	tests/fm-spawn-worktree-settle.test.sh
#	tests/fm-supervision-host.test.sh
#	tests/fm-supervision-instructions.test.sh
#	tests/fm-task-delivery.test.sh
#	tests/fm-teardown-endpoint-safety.test.sh
#	tests/fm-teardown.test.sh
#	tests/fm-test-fixture-cleanup.test.sh
#	tests/fm-test-fixtures.test.sh
#	tests/fm-test-run.test.sh
#	tests/fm-tmux-agent-liveness.test.sh
#	tests/fm-tool-update-check.test.sh
#	tests/fm-turnend-guard.test.sh
#	tests/fm-watch-arm.test.sh
#	tests/fm-watch-checkpoint.test.sh
#	tests/fm-watch-triage.test.sh
#	tests/fm-watcher-lock.test.sh
#	tests/fm-worker-account.test.sh
#	tests/git-config-helpers.sh
#	tests/lib.sh
@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 482 files, which is 382 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8bf2d98c-8c62-4027-b0d1-b2ad8405bd3c
Commits

Reviewing files that changed from the base of the PR and between 6a087c9 and cf023d4.

Files selected for processing: 482

  • .agents/hooks.json
  • .agents/skills/afk/SKILL.md
  • .agents/skills/agent-skill-trigger-index/SKILL.md
  • .agents/skills/ahoy/SKILL.md
  • .agents/skills/bearings/SKILL.md
  • .agents/skills/bootstrap-diagnostics/SKILL.md
  • .agents/skills/captain-hold-lifecycle/SKILL.md
  • .agents/skills/harness-adapters/SKILL.md
  • .agents/skills/harness-adapters/references/common/control-and-recovery.md
  • .agents/skills/harness-adapters/references/common/model-and-effort.md
  • .agents/skills/harness-adapters/references/common/primary-hooks.md
  • .agents/skills/harness-adapters/references/harness/agy.md
  • .agents/skills/harness-adapters/references/harness/claude.md
  • .agents/skills/harness-adapters/references/harness/codex.md
  • .agents/skills/harness-adapters/references/harness/commandcode.md
  • .agents/skills/harness-adapters/references/harness/cortex.md
  • .agents/skills/harness-adapters/references/harness/cursor.md
  • .agents/skills/harness-adapters/references/harness/hermes.md
  • .agents/skills/harness-adapters/references/harness/kimi.md
  • .agents/skills/harness-adapters/references/harness/kiro.md
  • .agents/skills/harness-adapters/references/harness/omp.md
  • .agents/skills/harness-adapters/references/harness/opencode.md
  • .agents/skills/harness-adapters/references/harness/pi.md
  • .agents/skills/lavish-url/SKILL.md
  • .agents/skills/lavish-url/assets/core.css
  • .agents/skills/lavish-url/assets/core.js
  • .agents/skills/lavish-url/enhancers/default.js
  • .agents/skills/lavish-url/enhancers/odoo.js
  • .agents/skills/operational-home-layout/SKILL.md
  • .agents/skills/process-event-sources/SKILL.md
  • .agents/skills/project-management/SKILL.md
  • .agents/skills/quota-array-dispatch/SKILL.md
  • .agents/skills/secondmate-provisioning/SKILL.md
  • .agents/skills/session-start-recovery/SKILL.md
  • .agents/skills/ship-landing/SKILL.md
  • .agents/skills/stuck-crewmate-recovery/SKILL.md
  • .agents/skills/updatefirstmate/SKILL.md
  • .claude/mods/firstmate-calm/hooks/register.ts
  • .claude/mods/firstmate-calm/tests/support.ts
  • .claude/mods/firstmate-calm/tests/working-ship.test.ts
  • .claude/settings.json
  • .codex/hooks.json
  • .github/workflows/ci.yml
  • .gitignore
  • .opencode/plugins/fm-primary-cd-check.js
  • .opencode/plugins/fm-primary-pretool-check.js
  • .opencode/plugins/fm-primary-sessionstart-nudge.js
  • .opencode/plugins/fm-primary-turnend-guard.js
  • .opencode/plugins/fm-primary-watch-arm.js
  • .opencode/plugins/lib/fm-opencode2.js
  • .pi/extensions/fm-branch-supervision.ts
  • .pi/extensions/fm-primary-pi-watch.ts
  • .pi/extensions/fm-primary-read-repetition.ts
  • .pi/extensions/fm-primary-turnend-guard.ts
  • .pi/extensions/lib/fm-primary-read-repetition-policy.ts
  • AGENTS.md
  • CONTRIBUTING.md
  • README.md
  • bin/backends/hc.sh
  • bin/backends/herdr.sh
  • bin/backends/rex-eventwait.lua
  • bin/backends/rex.sh
  • bin/backends/t3code.sh
  • bin/backends/tern.sh
  • bin/backends/tmux.sh
  • bin/fm-afk-launch.sh
  • bin/fm-afk-start.sh
  • bin/fm-agent-process-lib.sh
  • bin/fm-agy-trust.sh
  • bin/fm-approval-failover.sh
  • bin/fm-arm-pretool-check.sh
  • bin/fm-backend-hometag-lib.sh
  • bin/fm-backend.sh
  • bin/fm-backlog-transition-lib.sh
  • bin/fm-bearings-snapshot.sh
  • bin/fm-bootstrap.sh
  • bin/fm-branch-prompt.sh
  • bin/fm-brief.sh
  • bin/fm-busy-event.sh
  • bin/fm-busy-lib.sh
  • bin/fm-capacity.sh
  • bin/fm-captain-hold.sh
  • bin/fm-cd-command-policy.mjs
  • bin/fm-cd-pretool-check.sh
  • bin/fm-classify-lib.sh
  • bin/fm-claude-account-quota.sh
  • bin/fm-claude-stop-autoarm.sh
  • bin/fm-claude-trust.sh
  • bin/fm-codex-stop-park.sh
  • bin/fm-composer-lib.sh
  • bin/fm-config-inherit-lib.sh
  • bin/fm-contributions.jq
  • bin/fm-contributions.sh
  • bin/fm-control-lib.sh
  • bin/fm-control.sh
  • bin/fm-cortex-plugin.sh
  • bin/fm-credential-source-lib.sh
  • bin/fm-crew-state.sh
  • bin/fm-dispatch-resolve.sh
  • bin/fm-dod-lib.sh
  • bin/fm-env-lib.sh
  • bin/fm-extension.mjs
  • bin/fm-ff-lib.sh
  • bin/fm-fleet-snapshot.sh
  • bin/fm-git-strip-ai-trailers.sh
  • bin/fm-harness.sh
  • bin/fm-hc-ci-cleanup.sh
  • bin/fm-hc-lab.sh
  • bin/fm-herdr-lab.sh
  • bin/fm-hermes-hook.sh
  • bin/fm-hermes-lib.sh
  • bin/fm-hermes-process-lib.sh
  • bin/fm-host-mirror.sh
  • bin/fm-inactive-reconcile.sh
  • bin/fm-inbox.sh
  • bin/fm-install-hc.sh
  • bin/fm-install-herdr.sh
  • bin/fm-kimi-trust-lib.sh
  • bin/fm-lab-home.sh
  • bin/fm-lane-vitals-lib.sh
  • bin/fm-lavish-url.py
  • bin/fm-lavish-url.sh
  • bin/fm-lease-lib.sh
  • bin/fm-lease.sh
  • bin/fm-live-lab.sh
  • bin/fm-lock.sh
  • bin/fm-merge-local.sh
  • bin/fm-nm-run-lib.sh
  • bin/fm-omp-profile-lib.sh
  • bin/fm-osc7501.sh
  • bin/fm-parent-channel-lib.sh
  • bin/fm-pending-reply-lib.sh
  • bin/fm-pr-check.sh
  • bin/fm-pr-health.sh
  • bin/fm-pr-lib.sh
  • bin/fm-pr-merge.sh
  • bin/fm-pr-poll.sh
  • bin/fm-pr-reviewers.sh
  • bin/fm-pr-state.sh
  • bin/fm-procevent-extension-capture.pl
  • bin/fm-procevent-remote-reply.sh
  • bin/fm-procevent.sh
  • bin/fm-procinfo.py
  • bin/fm-project-mode.sh
  • bin/fm-promote.sh
  • bin/fm-push-transition-lib.sh
  • bin/fm-quota-axi-lib.sh
  • bin/fm-record-export.py
  • bin/fm-record-export.sh
  • bin/fm-remote-doctor.sh
  • bin/fm-remote-entrypoint.sh
  • bin/fm-remote-herdr-guard.sh
  • bin/fm-remote-herdr-identity-lib.sh
  • bin/fm-remote-inherit-push.sh
  • bin/fm-remote-inherit.sh
  • bin/fm-remote-job-lib.sh
  • bin/fm-remote-job-worker.sh
  • bin/fm-remote-readiness-lib.sh
  • bin/fm-remote-secondmate-control.sh
  • bin/fm-remote-secondmate-relaunch.sh
  • bin/fm-review-diff.sh
  • bin/fm-rex-marks.sh
  • bin/fm-secondmate-liveness-lib.sh
  • bin/fm-secondmate-nudge-lib.sh
  • bin/fm-secondmate-restart-lib.sh
  • bin/fm-send.sh
  • bin/fm-session-lock-lib.sh
  • bin/fm-session-start.sh
  • bin/fm-sessionstart-agy.sh
  • bin/fm-sessionstart-nudge.sh
  • bin/fm-sessionstart-run.sh
  • bin/fm-spawn.sh
  • bin/fm-startup-network.sh
  • bin/fm-stow-guard.sh
  • bin/fm-subagent-pretool-check.sh
  • bin/fm-supervise-daemon.sh
  • bin/fm-supervision-engine-lib.sh
  • bin/fm-supervision-handoff.sh
  • bin/fm-supervision-host.sh
  • bin/fm-supervision-instructions.sh
  • bin/fm-supervisor-target-lib.sh
  • bin/fm-t3-answer.sh
  • bin/fm-t3-mcp.mjs
  • bin/fm-t3code-codex-env.sh
  • bin/fm-task-inbox-lib.sh
  • bin/fm-tasks-axi-lib.sh
  • bin/fm-teardown.sh
  • bin/fm-test-isolation-proof.sh
  • bin/fm-test-linux.sh
  • bin/fm-test-run.sh
  • bin/fm-test-tap-verify.sh
  • bin/fm-timeout-lib.sh
  • bin/fm-tmux-lib.sh
  • bin/fm-tool-update-check.sh
  • bin/fm-transition-lib.sh
  • bin/fm-turnend-guard-agy.sh
  • bin/fm-turnend-guard-cursor.sh
  • bin/fm-turnend-guard.sh
  • bin/fm-update.sh
  • bin/fm-upstream-sync.sh
  • bin/fm-usage-warner.sh
  • bin/fm-vendor-auth-probe.sh
  • bin/fm-wake-drain.sh
  • bin/fm-wake-grant.sh
  • bin/fm-wake-lib.sh
  • bin/fm-warm-compact-lib.sh
  • bin/fm-watch-arm.sh
  • bin/fm-watch-checkpoint.sh
  • bin/fm-watch-key-lib.sh
  • bin/fm-watch.sh
  • bin/fm-worker-account-lib.sh
  • docs/agent-control.md
  • docs/architecture.md
  • docs/arm-pretool-check.md
  • docs/calm.md
  • docs/captain-hold-lifecycle.md
  • docs/cd-guard.md
  • docs/cmux-backend.md
  • docs/codex-app-backend.md
  • docs/configuration.md
  • docs/documentation-audiences.json
  • docs/examples/usage-warner
  • docs/examples/watched-tools.json
  • docs/examples/wedge-alarm
  • docs/extension-bindings.md
  • docs/fleet-ledger.md
  • docs/fm-test-isolation-proof.md
  • docs/fm-test-portable-shards.md
  • docs/gitlab-merge-watch.md
  • docs/hc-backend.md
  • docs/herdr-backend.md
  • docs/opencode-2-plugin-port-scope.md
  • docs/pi-supervision-branch.md
  • docs/plans/2026-10-12-2032-feat-pi-stream-silence-plan.md
  • docs/remote-secondmates.md
  • docs/rex-backend.md
  • docs/scripts.md
  • docs/secondmate-parent-channel.md
  • docs/sessionstart-nudge.md
  • docs/subagent-guard.md
  • docs/supervision-host.md
  • docs/supervision-protocols/agy.md
  • docs/supervision-protocols/codex-checkpoint.md
  • docs/supervision-protocols/codex.md
  • docs/supervision-protocols/opencode.md
  • docs/supervision-protocols/supervision-host.md
  • docs/t3code-backend.md
  • docs/tern-backend.md
  • docs/tmux-backend.md
  • docs/trace-context.md
  • docs/turnend-guard.md
  • docs/usage-warner.md
  • docs/verification/agy.md
  • docs/verification/cortex.md
  • docs/verification/dispatch-auth.md
  • docs/verification/dispatch-resolve.md
  • docs/verification/hermes.md
  • docs/verification/kiro.md
  • docs/verification/process-event-sources.md
  • docs/verification/public-followup.md
  • docs/verification/runtime-backends.md
  • docs/verification/supervision.md
  • docs/verification/trace-context.md
  • docs/watcher-continuity.md
  • docs/wedge-alarm.md
  • tests/assets/board-render-harness.mjs
  • tests/captures/claude-2.1.291-slash-popup/exit-typed-with-notice.ansi
  • tests/captures/claude-2.1.291-slash-popup/exit-typed.ansi
  • tests/captures/claude-2.1.291-slash-popup/idle.ansi
  • tests/captures/claude-2.1.291-slash-popup/no-mistakes-typed.ansi
  • tests/captures/claude-2.1.291-slash-popup/slash-only.ansi
  • tests/captures/claude-2.1.291-slash-popup/truncated-name.ansi
  • tests/captures/kimi-code-2.3.0/README.md
  • tests/captures/kimi-code-2.3.0/kimi-code-mcp-json.pane
  • tests/captures/kimi-code-2.3.0/paged.pane
  • tests/captures/kimi-code-2.3.0/plain.pane
  • tests/captures/kimi-code-2.3.0/root-mcp-json.pane
  • tests/captures/kimi-code-2.3.0/small-terminal.pane
  • tests/fixtures.sh
  • tests/fixtures/fm-read-repetition-live.mjs
  • tests/fixtures/fm-read-repetition-sdk.mjs
  • tests/fixtures/rex-opencode-1.19.3/opencode-1.19.3-idle-format.vt
  • tests/fm-afk-launch.test.sh
  • tests/fm-afk-return.test.sh
  • tests/fm-agy-harness.test.sh
  • tests/fm-agy-primary-live-e2e.test.sh
  • tests/fm-agy-primary.test.sh
  • tests/fm-approval-failover.test.sh
  • tests/fm-assertions.test.sh
  • tests/fm-backend-autodetect-smoke.test.sh
  • tests/fm-backend-hc-appdetect-smoke.test.sh
  • tests/fm-backend-hc-liveness-live-e2e.test.sh
  • tests/fm-backend-hc-smoke.test.sh
  • tests/fm-backend-hc.test.sh
  • tests/fm-backend-herdr-focus-flash-e2e.test.sh
  • tests/fm-backend-herdr-launcher-workspace-e2e.test.sh
  • tests/fm-backend-herdr-presentation-e2e.test.sh
  • tests/fm-backend-herdr.test.sh
  • tests/fm-backend-rex-composer-live-e2e.test.sh
  • tests/fm-backend-rex-eventwait-smoke.test.sh
  • tests/fm-backend-rex-smoke.test.sh
  • tests/fm-backend-rex.test.sh
  • tests/fm-backend-t3code-live-e2e.test.sh
  • tests/fm-backend-t3code-pr-tools-live-e2e.test.sh
  • tests/fm-backend-t3code.test.sh
  • tests/fm-backend-tern-smoke.test.sh
  • tests/fm-backend-tern.test.sh
  • tests/fm-backend-tmux-smoke.test.sh
  • tests/fm-backend.test.sh
  • tests/fm-backlog-atomicity.test.sh
  • tests/fm-bearings-board-render.test.sh
  • tests/fm-bearings-snapshot.test.sh
  • tests/fm-bootstrap-network-parallel.test.sh
  • tests/fm-bootstrap.test.sh
  • tests/fm-branch-supervision.test.sh
  • tests/fm-brief.test.sh
  • tests/fm-busy-adapter-wiring.test.sh
  • tests/fm-busy-state.test.sh
  • tests/fm-capacity-auto.test.sh
  • tests/fm-capacity.test.sh
  • tests/fm-captain-hold-lifecycle.test.sh
  • tests/fm-cd-pretool-check.test.sh
  • tests/fm-ci-workflow.test.sh
  • tests/fm-classify-corr-token.test.sh
  • tests/fm-claude-account-quota.test.sh
  • tests/fm-claude-stop-autoarm.test.sh
  • tests/fm-codex-hook-layer-live-e2e.test.sh
  • tests/fm-codex-stop-park.test.sh
  • tests/fm-composer-lib.test.sh
  • tests/fm-composer-matrix-live-e2e.test.sh
  • tests/fm-contributions.test.sh
  • tests/fm-control-relaunch.test.sh
  • tests/fm-control.test.sh
  • tests/fm-cortex-harness.test.sh
  • tests/fm-cortex-signals-live-e2e.test.sh
  • tests/fm-crew-state.test.sh
  • tests/fm-cursor-primary.test.sh
  • tests/fm-daemon.test.sh
  • tests/fm-dispatch-resolve.test.sh
  • tests/fm-extension-binding.test.sh
  • tests/fm-fleet-ledger.test.sh
  • tests/fm-fleet-snapshot-contribution-input.test.sh
  • tests/fm-fleet-snapshot-view.test.sh
  • tests/fm-fork-free-helpers.test.sh
  • tests/fm-gate-refuse.test.sh
  • tests/fm-git-strip-ai-trailers.test.sh
  • tests/fm-gitignore-config.test.sh
  • tests/fm-gotmp.test.sh
  • tests/fm-guard-stale-banner.test.sh
  • tests/fm-hc-lab.test.sh
  • tests/fm-herdr-lab.test.sh
  • tests/fm-herdr-projected-cd-live-e2e.test.sh
  • tests/fm-herdr-session-cleanup-e2e.test.sh
  • tests/fm-herdr-submit-confirm-live-e2e.test.sh
  • tests/fm-herdr-version-floor-live-e2e.test.sh
  • tests/fm-hermes-gateway-coexistence-live-e2e.test.sh
  • tests/fm-hermes-harness.test.sh
  • tests/fm-hermes-profile-safety-live-e2e.test.sh
  • tests/fm-hermes-signals-live-e2e.test.sh
  • tests/fm-host-mirror.test.sh
  • tests/fm-inactive-reconcile.test.sh
  • tests/fm-install-herdr.test.sh
  • tests/fm-kimi-harness.test.sh
  • tests/fm-kimi-trust-prompt-live-e2e.test.sh
  • tests/fm-kiro-harness.test.sh
  • tests/fm-kiro-signals-live-e2e.test.sh
  • tests/fm-lane-capacity-integration.test.sh
  • tests/fm-lane-vitals.test.sh
  • tests/fm-lavish-url.test.sh
  • tests/fm-lint.test.sh
  • tests/fm-live-lab-isolation.test.sh
  • tests/fm-live-lab-up-mate.test.sh
  • tests/fm-live-lab.test.sh
  • tests/fm-merge-local.test.sh
  • tests/fm-omp-harness.test.sh
  • tests/fm-on.test.sh
  • tests/fm-opencode-primary-live-e2e.test.sh
  • tests/fm-osc7501.test.sh
  • tests/fm-pending-reply.test.sh
  • tests/fm-pi-branch-extension.test.sh
  • tests/fm-pi-primary-types.test.sh
  • tests/fm-pi-watch-extension.test.sh
  • tests/fm-pi-worker-stream-live-e2e.test.sh
  • tests/fm-pi-worker-stream-live.mjs
  • tests/fm-pr-check-security.test.sh
  • tests/fm-pr-health.test.sh
  • tests/fm-pr-merge.test.sh
  • tests/fm-procevent-extension-errors.test.sh
  • tests/fm-procevent.test.sh
  • tests/fm-project-capacity.test.sh
  • tests/fm-project-mode.test.sh
  • tests/fm-public-followup.test.sh
  • tests/fm-read-repetition-live.test.sh
  • tests/fm-read-repetition.test.sh
  • tests/fm-record-export-remote-home.test.sh
  • tests/fm-record-export.test.sh
  • tests/fm-remote-delta-read.test.sh
  • tests/fm-remote-doctor.test.sh
  • tests/fm-remote-herdr-guard.test.sh
  • tests/fm-remote-herdr-identity.test.sh
  • tests/fm-remote-inherit-generation.test.sh
  • tests/fm-remote-job-process-start.test.sh
  • tests/fm-remote-reply.test.sh
  • tests/fm-remote-secondmate-lifecycle-e2e.test.sh
  • tests/fm-remote-secondmate-omp.test.sh
  • tests/fm-remote-transport-lanes.test.sh
  • tests/fm-review-diff.test.sh
  • tests/fm-secondmate-harness.test.sh
  • tests/fm-secondmate-liveness.test.sh
  • tests/fm-secondmate-reconcile.test.sh
  • tests/fm-secondmate-restart.test.sh
  • tests/fm-secondmate-sync.test.sh
  • tests/fm-send-kiro-confirm.test.sh
  • tests/fm-send-remote-delivery.test.sh
  • tests/fm-send-resolve-key.test.sh
  • tests/fm-send-strict.test.sh
  • tests/fm-session-lock-ancestry.test.sh
  • tests/fm-session-lock-ps-denied.test.sh
  • tests/fm-session-lock-windows-consumers.test.sh
  • tests/fm-session-start.test.sh
  • tests/fm-shared-captain-inheritance.test.sh
  • tests/fm-spawn-compact-adviser-disable.test.sh
  • tests/fm-spawn-dispatch-profile.test.sh
  • tests/fm-spawn-herdr-lease.test.sh
  • tests/fm-spawn-manual-pr-text.test.sh
  • tests/fm-spawn-pool-base-freshen.test.sh
  • tests/fm-stow-guard.test.sh
  • tests/fm-supervision-events.test.sh
  • tests/fm-supervision-host-attended-live-e2e.test.sh
  • tests/fm-supervision-host-drain.test.sh
  • tests/fm-supervision-host-herdr-live-e2e.test.sh
  • tests/fm-supervision-host-hook.test.sh
  • tests/fm-supervision-host-park.test.sh
  • tests/fm-supervision-host.test.sh
  • tests/fm-supervision-instructions.test.sh
  • tests/fm-t3-mcp.test.sh
  • tests/fm-task-delivery.test.sh
  • tests/fm-task-inbox.test.sh
  • tests/fm-teardown-endpoint-safety.test.sh
  • tests/fm-teardown.test.sh
  • tests/fm-test-fixture-cleanup.test.sh
  • tests/fm-test-fixtures.test.sh
  • tests/fm-test-linux.test.sh
  • tests/fm-test-run.test.sh
  • tests/fm-test-tap-verify.test.sh
  • tests/fm-timeout-lib.test.sh
  • tests/fm-tmux-agent-liveness.test.sh
  • tests/fm-tool-update-check.test.sh
  • tests/fm-transition-lib.test.sh
  • tests/fm-turnend-guard.test.sh
  • tests/fm-update.test.sh
  • tests/fm-usage-warner.test.sh
  • tests/fm-wake-drain-outcome-backstop.test.sh
  • tests/fm-wake-queue.test.sh
  • tests/fm-warm-compact-herdr-live-e2e.test.sh
  • tests/fm-warm-compact.test.sh
  • tests/fm-watch-arm.test.sh
  • tests/fm-watch-checkpoint.test.sh
  • tests/fm-watch-inbox-meta.test.sh
  • tests/fm-watch-open-decisions.test.sh
  • tests/fm-watch-recovery-loop.test.sh
  • tests/fm-watch-triage-pause.test.sh
  • tests/fm-watch-triage-wedge-defer.test.sh
  • tests/fm-watch-triage.test.sh
  • tests/fm-watch-wedge-cap-live.test.sh
  • tests/fm-watch-wedge-cap-unconfigured-parity.test.sh
  • tests/fm-watch-wedge-cap.test.sh
  • tests/fm-watcher-lock.test.sh
  • tests/fm-worker-account.test.sh
  • tests/fm-x-mode.test.sh
  • tests/hc-test-safety.sh
  • tests/lib.sh
  • tests/linux/Dockerfile
  • tests/opencode-v2-live-fixture.py
  • tests/rex-fake-fixture.sh
  • tests/rex-test-safety.sh
  • tests/supervision-host-helpers.sh
  • tests/t3-fake-lib.sh
  • tests/t3-fake-server.mjs
  • tests/tern-test-safety.sh
  • tests/wake-helpers.sh
  • tests/watch-triage-helpers.sh

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@JacyAnderson
JacyAnderson merged commit 324c0d5 into main Nov 11, 2026
1 check 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.