Repository navigation
chore: re-anchor farm patches on upstream - #4
Merged
Merged
Conversation
… 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.
* fix(tests): clean read-only relaunch fixtures Use the shared fixture cleanup so generated read-only Git hook directories do not leave permission errors and temporary trees behind. * fix(accounts): support durable per-secondmate account pins Resolve optional primary-home secondmate account files through the worker pin parser and checks. Preserve existing defaults when no override exists and re-read the selected pin on spawn, relaunch, and recovery. * no-mistakes(review): Name the rejected pin file in account refusals * no-mistakes(document): Document per-secondmate account pins in relaunch and layout docs
…unchenguid#6958) * feat(watch): consult opt-in operator guards before a wedge escalation Add config/wedge-evidence-guards, an opt-in list of operator-owned guard executables that the watcher's at-threshold wedge branch consults after the wait evidence, worktree-write probe and dead-endpoint probe. A CRITICAL answer defers one window at a time, capped by FM_WEDGE_GUARD_DEFER_MAX consecutive deferrals recorded beside the other wedge-window records, and the escalation that ends a capped run names the guard and its reason. Timeouts, failures, malformed output, UNKNOWN and WARNING fail open, and an untrusted config or guard is never run. With the config absent the ladder is unchanged. Refs kunchenguid#6919 * no-mistakes(document): Document wedge-evidence-guards in home layout index * no-mistakes(document): Align jev-guards CRITICAL verdict with bounded deferral
…guid#7460) * fix(bin): make the brief's inbox listing succeed on an empty inbox The worker brief told crewmates to list the inbox with a bare *.msg glob. On an empty inbox that glob fails: bash ls exits 2 and zsh aborts with 'no matches found'. Use find piped to sort -V so the listing is silent on an empty or absent inbox and keeps numeric order past 999. Refs kunchenguid#7244 * no-mistakes(review): Make relaunch note inbox listing safe when empty
…unchenguid#7394) * fix(bin): fit remote second-mate convergence inside the startup network bound The deferred startup network stage (120s) timed out once four second mates were remote: the mates already converge concurrently, but each mate's inheritance push sent its fifteen allowlisted items one SSH round trip after another, so a single mate's convergence took 64-76s after a ~16s liveness pass. - fm-remote-inherit-push.sh validates and snapshots every item locally first, so a local refusal now sends nothing, then sends the items up to FM_REMOTE_INHERIT_PUSH_JOBS (default 4) at a time and replays their output in allowlist order. A failed item still fails the push with its own error, and no further item is started after it. The receiver is unchanged: each item is its own file and generation record, and the host's job worker still runs one home's commands one at a time. - fm-bootstrap.sh gives each remote mate's convergence its own budget, FM_SECONDMATE_CONVERGENCE_TIMEOUT (default 75s). A mate whose sync or push hits it is reported as that mate's SECONDMATE_SYNC skip and keeps its retry marker, instead of holding the whole stage past its bound. * fix(bin): nudge a remote second mate to re-read only when something changed Each remote convergence attempt records its retry marker before it starts, so a sweep cut off by the startup network bound or failing before any change left a marker that made the next session start nudge every remote mate even though its instructions and inherited files were unchanged. The marker now records whether a re-read is owed, set only once an attempt actually changed the home, and a tracked-file sync that moved nothing under AGENTS.md, bin/, or .agents/skills/ no longer counts as a change. * fix(bin): keep a remote mate's re-read owed when its convergence is cut short A convergence step stopped by the per-mate budget loses its output, so a push that had already applied an item reported nothing and left the retry marker with no re-read owed; the next start then saw every item unchanged and never told the mate to re-read. A step cut off by the budget now marks the re-read owed, and so does a failed push whose output shows items it had already pushed or removed. The lifecycle e2e suite runs every remote leg through the real entrypoint and job worker on the test machine, so it now gives convergence ample time; the budget's own behavior is pinned in fm-bootstrap-network-parallel, whose budget and failure cases are also made independent of machine load. * no-mistakes(review): Keep re-read owed on partial or unknown completion * no-mistakes(review): Persist owed re-read when killed mid-mutation * no-mistakes(document): Fix stale remote re-read owed docs * test: send inherited items one at a time in the remote lifecycle e2e fixture Behavior portable serial 5 failed on the watcher auto-relaunch leg of tests/fm-remote-secondmate-lifecycle-e2e.test.sh after the inheritance push started overlapping its sends. Across 14 recent main CI runs that suite's remote-spawn leg took 30.8-35.6s and the watcher leg 27.3-34.5s, already close to its 30s wait; on the PR run remote spawn took 42.1s, well outside that range, while legs that push nothing were only 5-10% slower. The watcher relaunch is a remote spawn, and the only changed code on that path is the inheritance push. This fixture's transport has no network latency and its job worker runs one home's commands one at a time, so overlapping sends cannot hide any round trip there and only add submission overhead to every remote spawn. The suite now sends one item at a time, as it did before; the overlapped scheduler stays covered by tests/fm-bootstrap-network-parallel.test.sh, and the production default of four is unchanged. The watcher leg's failure now also prints the watcher's output. * no-mistakes(document): Clarify remote re-read obligations and consolidate documentation * fix(bin): record a remote mate's re-read as owed before convergence can change its home A live run against a real remote second-mate home showed the owed re-read still lost when the startup network bound stopped the stage. That bound stops it the way `timeout -k 1` does: TERM to the stage's process group, then KILL one second later. Bash defers a TERM trap while the convergence worker waits in a command substitution, and the remote call runs in its own timed process group, so the KILL landed before the trap could record the re-read. The remote home had already applied the change, the next start saw every item unchanged, sent nothing, and deleted the marker, so the mate was never told to re-read. Bootstrap convergence and config-push now write the record owed before any remote step can change the home, and write it back only after the attempt has reported: removed after confirmed unchanged convergence or a successful send, and back to owed=0 when a failed attempt's outcome proves nothing changed. A kill at any point therefore leaves the re-read owed. The TERM/INT traps are gone. The kill regression now sends TERM and then KILL one second later, as the startup bound does; it fails on the previous head and passes here. * no-mistakes(document): Clarify convergence timeout scope and consolidate reread documentation
…d#6987) * fix(bin): refuse spawn into a project with an unborn HEAD Spawn into a repository with no commit waited 60s for treehouse and then reported that the worktree was the spawning project itself, never naming the cause. Refuse before the wait and name the unborn HEAD and the remedy. The project-management skill now states that a new local repository needs a first commit. * docs(skills): tell the captain a new project needs a first commit The Create a project step no longer reads as firstmate committing into the project. It states that spawn refuses an unborn HEAD and that the captain is told the project needs a first commit. * test: give spawn fixtures a first commit for the unborn-HEAD refusal * no-mistakes(review): Commit foreign consent fixture so spawn guard passes
…log items for GitLab MRs (kunchenguid#7462) * feat(bin): add an attended GitLab --allow-no-pipeline merge waiver A GitLab repository that deliberately runs no merge request pipeline could never be merged through fm-pr-merge.sh: the guard requires a successful head pipeline at the current head, and GitLab has no per-check waiver. --allow-no-pipeline waives only the pipeline condition, and only when GitLab reports head_pipeline as present and null. A failed, running, canceled, or stale pipeline still refuses, every other condition (open, mergeable detailed_merge_status, no conflicts, discussions resolved) still holds, and the verified head is still passed to glab as --sha. The flag is attended-only (refused while the away-posture record exists), GitLab-only, and takes no value; without it the default refusal is unchanged. * fix(bin): close a GitLab merge request task's backlog item with a note tasks-axi accepts a --pr link only as a GitHub or Forgejo pull request, so after a GitLab merge request landed, teardown could never complete the backlog Done transition and left the close pending forever. Extend the existing Gerrit carve-out in fm_backlog_done and fm_backlog_retain, and the captain-hold answer replay that shares it, to record a GitLab merge request URL as a "GitLab merge request <url>" note, until tasks-axi accepts GitLab merge request URLs. GitHub and Forgejo pull requests are still recorded as pr links. * no-mistakes(document): Note GitLab --allow-no-pipeline waiver in merge-watch record
…henguid#7451) * fix(tests): tolerate slow orphan-storm source launches * no-mistakes(document): docs: pin orphan-storm row to pacing, not lease expiry
* fix: respect gh-resolved base in publication target selection * no-mistakes(document): Document gh-resolved publication target selection
…4728) * feat(bin): add Paseo as an experimental session backend Modeled on the cmux adapter, with Herdr's one-workspace-per-task UX: terminal NAME is the routing authority, workspace title is decoration only. tmux stays the default; Paseo is opt-in via config/backend, FM_BACKEND=paseo, or PASEO_AGENT_ID/bundle-id auto-detection. * no-mistakes(document): docs(paseo): register Paseo across backend inventories and lists * no-mistakes(document): docs(paseo): list paseo in AGENTS.md config/backend entry * fix(bin): give Paseo one shared workspace per project with a tab per task Paseo's sidebar is project > workspace > terminal tab. The adapter used to create one workspace per task, so a fleet showed up as a pile of sidebar entries. It now mirrors Herdr's container shape: one shared `firstmate` (or `2ndmate-<id>`) workspace per project, adopted by cwd and title or created once, with each task as a terminal tab inside it. Kill closes only the task's tab; the shared workspace is never archived and the adapter never runs a `paseo project` command, so Paseo reuses the project registered for the path instead of multiplying projects. Live findings folded in: the CLI prints an Electron warning on stderr when firstmate itself runs inside a Paseo agent, so parsed `--json` calls no longer merge stderr into stdout; `workspace ls` reports the cwd normalized but not symlink-resolved, so adoption matches the raw, logical, and physical path; a bare Escape stays pending in zsh's emacs keymap and fuses with the next key, so the smoke test verifies labels with Enter and sends Escape last. The smoke test now owns a throwaway project directory and deletes the project it registered, so a captain's real sidebar is never touched. Both paseo suites get a portable-serial duration hint and a `paseo` family so the coverage guard stays under its unhinted cap. * test(bin): teach the backend-list suites about paseo CI serial shard 5 failed because tests/fm-bootstrap.test.sh still expected the known-backend list to end at cmux. Add paseo to that expectation and to the sibling lists in the control, trace-context, and teardown-safety suites (with a valid paseo endpoint record), and scrub PASEO_AGENT_ID and __CFBundleIdentifier in the bootstrap suite's hermetic unset so running the tests from inside a Paseo agent cannot flip a default-backend case onto paseo the way $TMUX or HERDR_ENV would. * no-mistakes(review): Fix paseo control keys, secondmate fallback, docs, and tests * no-mistakes(review): Send paseo C-u as raw byte, refuse untokenized keys * no-mistakes(document): Sync Paseo docs for key tokens, secondmate fallback * no-mistakes(lint): Use prefix-form PATH in paseo autodetect tests * fix(bin): make paseo explicit-only and adopt the tab's own workspace Paseo stamps its markers into every descendant process: an agent exports PASEO_AGENT_ID, a terminal tab exports PASEO_TERMINAL_ID and PASEO_WORKSPACE_ID, and both carry __CFBundleIdentifier=sh.paseo.desktop. A tmux server started from a Paseo tab inherits all of them, so their presence never proves the captain chose Paseo (the same finding recorded on kunchenguid#4484 and kunchenguid#3884). fm_backend_detect now ignores every Paseo marker; paseo is reachable only through config/backend, FM_BACKEND=paseo, or --backend paseo, exactly like zellij and orca. That also retires the auto-detected-paseo secondmate fallback to tmux, which only existed because of auto-detection: an explicit paseo still refuses --secondmate, and an unconfigured home inside Paseo stays on tmux silently. Once Paseo has been selected explicitly, PASEO_WORKSPACE_ID is still useful: a firstmate running inside a Paseo tab adopts that tab's own workspace as the project's shared workspace when its cwd is the project, before falling back to the firstmate-title lookup (herdr's launcher-identity rule). Verified live that CLI-created tabs export PASEO_WORKSPACE_ID and no PASEO_AGENT_ID. Docs also note that `paseo run --cwd` is ignored when PASEO_AGENT_ID is set; the adapter never uses `paseo run`. * no-mistakes(test): Drop stale Paseo auto-detect mention from fm-spawn help * no-mistakes(document): Document Paseo own-workspace adoption order * no-mistakes(ci): Fixed ci-3 with a test-only change. The unconfigured-spawn case in test_secondmate_spawn_refuses_explicit_paseo_only failed on CI with "error: no launch template for harness unknown". CI runners have no agent process above the test, so harness detection returned unknown before the spawn reached the home check. The fix pins the harness with `printf claude > "$dir/config/secondmate-harness"` just before that spawn call, with a two-line comment explaining why (tests/fm-backend-paseo.test.sh). I verified locally that tests/fm-backend-paseo.test.sh passes, including the secondmate test, and that shellcheck is clean on the file. I did not rerun it detached from the agent process chain; your earlier report of it failing without the pin and passing with it is the evidence for that part. As you instructed, I made no change for ci-1 or ci-2 (the fork approval gate) or for the Lint 2 runner shutdown, which was infrastructure * fix(bin): let the adapter precheck load paseo Main now checks that a backend's adapter and its sibling libraries are readable before sourcing it, and refuses any backend it has no sibling list for. Paseo had no entry, so every paseo call failed to load the adapter and fell back to 'unknown'. Paseo sources the same siblings as cmux, so it shares that entry and sources through the checked path. * no-mistakes(document): Make fm_backend_source adapter-count comment count-free * test(bin): prove the Pi branch claims paseo stale wakes The watcher keys a non-Orca stale wake by the task's window= value, and the Pi supervision branch resolves a stale row to its task only through window= (Orca's terminal= key is not indexed, which is how Orca stale wakes ended up waking main). Paseo records window=<terminal-uuid>:<workspace-uuid>, so pin that a stale row keyed by that value is claimed by the branch for the right task. * no-mistakes(document): Note Paseo adapter in composer capture-window config doc * fix(bin): refuse a paseo spawn when its inventory is unreadable Paseo allows duplicate workspaces and terminal names, so the adapter looks up the project's shared workspace and checks the task's terminal name before creating either. Both lookups treated a failed or unreadable listing as empty, so a transient daemon error during spawn created a second workspace for the project or a duplicate task terminal. The spawn now refuses instead, and creates nothing, when either inventory cannot be read. * docs(paseo): note why capture reads the whole scrollback Paseo caps terminal scrollback at 1024 lines, so reading all of it and trimming locally stays bounded however long a task runs. A bounded `--start -<n>` read is not a drop-in replacement: it counts the blank screen rows below the prompt as the tail, so a quiet terminal captures as empty. * no-mistakes(document): Document Paseo spawn refusal on unreadable inventory * no-mistakes(lint): Rewrite paseo workspace inventory check as explicit if-block * feat(bin): keep paseo tasks from cluttering the sidebar Every project a firstmate worked in got its own "firstmate" workspace in Paseo, and those workspaces and their projects stayed in the sidebar after the work was done. When firstmate itself runs inside Paseo, task tabs now go into its own workspace, whatever the project. A terminal tab names that workspace through PASEO_WORKSPACE_ID; an agent session only has PASEO_AGENT_ID, so its workspace is the one live workspace whose folder is the firstmate home. Otherwise the per-project shared workspace is still used, and closing its last task tab archives it and deletes its project when the folder is one of the home's own clones. Archiving a workspace also archives its agents and leaves the project listed, so cleanup skips firstmate's own workspace, workspaces titled by someone else, workspaces with an agent in their folder, and projects outside the home, and does nothing when an inventory cannot be read. * no-mistakes(review): Retire paseo workspace when tab already gone; rename spawn vars * no-mistakes(document): Align Paseo doc workspace wording with own-workspace placement * fix(bin): serialize paseo spawns with workspace cleanup Cleanup checked that a per-project workspace had no tabs, made more Paseo calls, and then archived it. A spawn could open a tab in that workspace in between, and the archive would then take a live task's tab with it. Spawning (choosing or creating the workspace and opening the tab) and cleanup now share one home-wide lock, the stale-owner lock from fm-wake-lib.sh that herdr already uses. A spawn that cannot get it refuses and cleanup skips. Cleanup now only archives a workspace for one of the home's own clones, which only this home spawns into, so a per-home lock covers every spawn that could use it. * no-mistakes(document): Scope Paseo workspace retirement to home clones in architecture * test(paseo): fix shellcheck SC2031 lint warning in fm-backend-paseo test The workspace-lock holder helper read $! after backgrounding the holder, which ShellCheck's dataflow analysis flags as SC2031 because the helper only runs inside command substitution. The holder now records its own PID ($$, the same process $! named) before signalling readiness, and the helper returns that. No behavior change. * test(paseo): keep the smoke test from archiving a workspace it did not create Run from a Paseo tab or agent, PASEO_WORKSPACE_ID/PASEO_AGENT_ID steered create_task into the caller's own workspace, which cleanup then archived. The smoke test now unsets both before sourcing the adapter, archives the workspace create_task returned only while its cwd is the test's own temp dir, and runs cleanup once. Test-only; assertions are unchanged. * no-mistakes(document): List paseo in FM_BACKEND and README backend lists * no-mistakes(document): Add paseo to backend dependency docs and lists * no-mistakes(document): docs: list paseo among Command Code refused backends * no-mistakes(document): Note Paseo as unstyled in opencode footer record
…g budget (kunchenguid#7545) (kunchenguid#7558) Claude Code lists skill descriptions within a budget of 1% of the context window and drops the least-invoked skills' descriptions first, which are the rarely-loaded recovery skills whose descriptions AGENTS.md section 13 uses as the trigger index. - Remove the decision-hold-lifecycle redirect stub; nothing on main points briefs at it any more (captain-hold-lifecycle owns the policy and docs/captain-hold-lifecycle.md still documents the fm-decision-hold.sh shim). - Tighten the longest skill descriptions to their load triggers, keeping every trigger. Total description size drops from 11312 to 6142 characters across the listing. - Document /doctor, /skill-doctor, skillListingBudgetFraction, and skillOverrides "name-only" in the Claude harness adapter notes as opt-in, home-local vendor settings. No session-start budget warning or other default-on surface is added.
…enguid#7563) * fix(extension): launch lifecycle helpers through verified Bash The extension host spawned bin/fm-procevent.sh directly with shell:false, which native Windows Node rejects with spawn EFTYPE because it cannot run a script through its shebang. Resolve an absolute Bash from $BASH or PATH, verify it with a short probe (on Windows it must report an MSYS or Cygwin OSTYPE, so WSL bash.exe is skipped), and pass the script as its first argument. The child keeps shell:false, the sanitized environment, literal argv, and the existing failure mapping. Fixes kunchenguid#7559 * no-mistakes(review): Harden lifecycle Bash interpreter verification * no-mistakes(document): Document lifecycle Bash verification contract * fix(extension): try exported BASH only on Windows for lifecycle helpers
farm-patch 0116 (fm-spawn-per-spawn-omp-account-for-one-omp-launc) from task fm-spawn-omp-service-tier
…nd fixture correctness
…anch presentations
…d recovery behavior
…r checksum, and outdated fixtures. Local verification passed: six queue suites, 63 snapshot cases, busy-wiring/Herdr/transport tests, and six teardown cases. CI remains unresolved: markerless wake recovery and remote respawn/retirement failures require a decision under your stop-and-report restriction on further recovery fixes. Those paths remain unchanged; no pipeline control or publication was performed
…-recovery fixture, which triggered the stalled-queue alert instead of recovery. Production behavior is unchanged. Reproduced the failure before fixing it; afterward, all 41 fm-watch-arm cases passed, along with syntax and diff checks
…from macos-latest to macos-26-intel. Workflow semantic comparison, actionlint, and diff checks passed; all assertions and policies remain unchanged. Real macOS Intel execution remains pending the outer executor’s current-head publication and CI
…Bash 3.2 parsing. All assertions remain unchanged. Local Bash 3.2.57 verification passed: 601-file parse sweep, 32 OMP cases, 93 snapshot-job cases, targeted ShellCheck and diff checks. Hosted Intel macOS verification remains with the outer executor
…ace and added deterministic behavioral coverage. Passed locally: nine authority cases, 93 compatibility cases under Linux Bash 3.2.57, the 601-file parse sweep, and fast lint. ci-2 remains unresolved: GitHub confirms the Intel job’s 30-minute timeout, but its execution logs are unavailable. No external transient or macOS success is established. CI policies remain unchanged; the outer executor still needs a genuine matching-head hosted verdict. Evidence: .no-mistakes/ci-repair-evidence/report.md
…orted source size while preserving coverage, analysis flags, workers, tool pins and all limits. Bounded regression failed before the repair and passes afterward; syntax and diff checks pass. All 601 roots remain covered exactly once. No real local linter ran. Final-head Sol review, matching metadata and successful required hosted checks remain pending. Evidence: .no-mistakes/ci-lint-repair/report.md
…or traversal with per-root memoization. Added a repeated/shared-import behavioral regression; both bounded stand-in tests and diff checks pass. No real local lint ran. Corrected-head Sol review and hosted CI remain pending with the outer executor
Andrew-Pynch
marked this pull request as ready for review
October 30, 2026 22:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Re-anchor the complete farm patch set onto upstream
990546248e40ad0c6323908346904ed70515e3b1, preserving Andrew's intentional fork behavior. This proposes changes to Andrew-Pynch/firstmatemainonly; no upstream PR.All 113 farm commits are retained, with 32 explicitly integrated conflict resolutions. All 91 older fork-only commits are already represented or deliberately superseded; none needs another cherry-pick. The exhaustive tables follow.
The original farm head is
288a22732ceee2f4ed9db3e541e3a1872fae412e; the fork base is0fd56ccd0a890110d80b01cd28ffe167542375ed. The PR therefore includes the expected fork-main divergence. The history-only binding atf376eb00preserved treee68b99f06bc6dffd4e517659fa91b3a6c6a7487dexactly and made the proposed merge clean without restoring superseded fork content.Evidence
193bf562239a54a84ccd6695bf9c508e3d6544f9. All 113 farm pairs remain ancestors, all 91 fork dispositions are retained, and all 21 post-replay corrections are listed below. No merge or running-copy switch.--helpcommands exit 0 on this exact head. A separate tiny fixture exercised the published partition CLI with 31 nested repeated-import files; both invocations finished within three-second bounds, all five roots appeared exactly once and heavy callers stayed separate. No compiler was invoked; the fixture was removed. Native bounded regressions also cover full-analysis flags.checks-passed. No actual local linter or heavy suite ran for the last two repairs; no merge or running-copy switch.97b86ee1566eb1ef15cb9cc237a5d280c2c3c611ee318408ff6bbcf96c4b9382c7faed6ba0f1121775623864139e494fee7d1f021c2a753f60089013bfed69c10754f2e9to8c9a7ea3delta manifestca36bb39c31abeac4b9f1055f9039e0a76cca12e2af6dfe671855bf0dded2e080754f2e9to8c9a7ea3delta results6ef2da5d23f04ec3408df5d629a7ab4c9dddf459d6808290576c411130e4392d193bf562258e991c8c37b3b0fef580ef505f140253cf4ded5e217701f5bc29191ba75e9dExecuted product/interface proof
Native evidence remains available:
The last three proofs used only isolated local fixtures/processes, with no real remote or Herdr lifecycle mutation. Earlier guarded-lab validation was separately reviewed by the supervisor after a scope-propagation discrepancy; no production impact was found. No further live Herdr lifecycle is authorized by this task.
Merge Danger
Door: two-way for tracked code, with a coordinated rollback. Do not treat a history re-anchor as an ordinary update of the detached running copy.
Blast Radius: fleet.
Launch, account selection, lifecycle, supervision, decision presentation, forge and cleanup paths are affected by the combined upstream/farm history. Do not merge with any required check pending, cancelled or failing. The macOS proof targets Intel rather than ARM while retaining the same macOS 26/stock-Bash contract. A normal merge commit retains the upstream/replay ancestry. Landing the running copy still needs separate explicit approval and the backup-first procedure below; no reset, stash, force checkout or default-branch push is used.
Intent
Andrew, 2026-10-28 late: "lets get those patches rolling with sol normal speed workers tonight merge asap. parallelize them, maybe start with [the re-anchor] though?? so we build off a more synced base." Standing decision from 2026-09-24 on this item: "Re-anchor now, skip upstream PRs" (the farm patch set stays on Andrew's fork; nothing goes to kunchenguid/firstmate).
Facts (verified tonight in /home/andrew/work/firstmate-farm): the running firstmate is detached at 288a2273 ("fm-spawn: per-spawn --omp-account for one omp launch"). Remotes: origin = https://github.com/Andrew-Pynch/firstmate (Andrew's fork, PR target), kunchen = https://github.com/kunchenguid/firstmate (upstream, pull only). Running HEAD has 113 commits upstream lacks (the farm patch set) and upstream main has 113 commits HEAD lacks. Fork main (0fd56cc) diverged: 91 commits not in HEAD, HEAD has 336 fork main lacks; merge base 697d94d.
Integration corrections after replay
These are bounded corrections needed to combine the accepted farm and upstream behavior and pass its real CI, not an unrelated feature sweep. They preserve dirty-slot ownership and drafts, account/profile identity, pre-stop validation, new-conversation decision visibility, remote code-root persistence, complete decision identity, fresh publication proof and executable fixture contracts. Native CI additionally corrected jq 1.6 grouping and doctor checksum handling, migrated/isolation-fixed fixtures, changed the constrained macOS runner class, removed one parser-breaking comment and fixed the existing acknowledgement record-move race. The last repairs balance imported work, bound estimator traversal and correct its fixture declarations without changing analysis, coverage or resource policy. The combined inventory retains its measured timing/coverage policy and packing budget.
55a440af1a1a7361a863eb7e0754f2e90ba88223d5236957f376eb0060966172d97d8ea4516c506ab6c3dad7740715499d1828418c9a7ea3f13fa5e4eafccb5b7d522200macos-26-intel; all checks/assertions remainfc469cfa8ccf9aa5handled/across both read races, preserving sequence/body checks, with deterministic consumer-visible CLI regressions0c7ceeee193bf562Farm patch accounting
All 113 patches are retained. No patch was silently dropped. The table names each rebased counterpart and every explicit rewrite; “clean” means no merge conflict, not an omitted behavioral review.
a0871f7892e33a474ed937f6a9ca3479c5ed2c54d5e7996b5831f3497e2e172ed9edd2d406ebb056d20a6a36a35c593aff8ab07ec70e91e302d9462be43a98ccacf18bd2d274d19053489f87c2ecd9131e164004dde1eac384294043a1a19864567e9d4db85a426b9db385114a932e36e8cbbde898d91235ff6aff52ff30292ad50dad09cfd79407571835fe5eac210c8274d1b6da6dce858606dac53d98a49ddc235523644ab586a5562241be022704c37d2ebc32de70e602cbf0e64d79c2f5ec0ea4d14baafa58992b1c97f8f014921f558135b806793a67052f89b009dd5c4f5ef6b176b2eb12e8b94c0a85b686244199074ce08c4ac94ffb5967b9456fd706de6c491e07e63b3b71755aaab0c3303574303b2def1ec048af7b6dd95df644f2222be3ecfa2b395c2971eeea918eeaa304b3d6ecf774ccc117988c5bacfe9b49e1d7050c22cf1b3305c699766b374393547c0ad9ee4fb3ecf2a88e605b65c1734f2ca6027f2d84f23eeedce6a97020925611a504b34a5514cfdd2c7795199ab4c456fd961aaa877b22e399abf95130a8331ffe44ac8070d3a56e86a5a3680bd3c3b7a553a3dcf9f2172f23a166064d41f4ce1f8305cb996ac66d1539feb98dc45c482a743c810eaf856d9354d6b986a5da166cb7d036f9bbaa802c7ec17b7d91f20130950a10cdd43a7b2bfd9c5a133f0c0dbc8db64384f86dfcf55faba04d3cbeaab01bb39add38c232344d815bd5215d874c0307d76cd89d3f3c70696561148fbcc359c9d7358c21588ef392f886b0e41b8b75c04f1925a7460040262ffa1c7ee0347dad72e76cd513b4b185bec557f0946f298998064cccf0668f6001da6ec84ac2b97125e5fe82a5f89e50a1d8e4d1a151ab6a417cf5ae020caffa98d6f70dec25097be24821abd59a8a2569891fc687118c3dc169f866008de34a4c6774c8dc0b2df90dac63b60a1d39f93d1e15b71b9b7c0b32ab71408d92074014257d7b97c344f02be7e63369857e08d4b6c4e2298a2ea74e997c912a032c4416a419d3c97029ba4cfdb739d4512b234fb887806459e0269356dcbeba2ccdfc34c10ddd979acf863ec6e3e21a64ebf690470fd0812abacabbc3af19bd95a1a5295ec49be48bd5716982c454be8ebc51127bb04b914093762e6db927c40010399041a22dece26193a71d88d2657558ba518a9222d185586fdf587473c126f137efe96f323d51869ef24056ab3c7a1d15ce341ea511fdaef8d729731c63efbc3230e4288a2273d049700cFork-main-only commit accounting
Each of the 91 commits missing by SHA from farm HEAD is listed below. All are already represented or deliberately superseded in farm history; no extra cherry-pick is needed.
bd03fc0da0871f78. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.4df3399f4ed937f6. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.ea601e36c5ed2c54. Patch-id identical to farm patch.062c00fe5831f349. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.289195ebd9edd2d4. Patch-id identical to farm patch.63c2318ed20a6a36. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.6c50b84bff8ab07e. Patch-id identical to farm patch.0dd4bd5102d9462b. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.be336ee7acf18bd2. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.8e54eaa553489f87. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.881160f31e164004. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.89b16ce684294043. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.c92f9398567e9d4d. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.39eb428a9db38511. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.cdfe109ce8cbbde8. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.cf2515b9ff6aff52. Obsolete DeepSeek/Grok advisor selection or advisor-off window replaced by farm Sol advisor-on posture (also includes no-priority-tier policy).361f6dbfd50dad09. Patch-id identical to farm patch.a1aac035571835fe. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.99b430ac8274d1b6. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.217a69338606dac5. Patch-id identical to farm patch.14149a38dc235523. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.ae0418a4a5562241. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.573a1aabc37d2ebc. Patch-id identical to farm patch.aebcecc702cbf0e6. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.942e50b6ec0ea4d1. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.d629ed2c992b1c97. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.0aba22991f558135. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.32b58cde67052f89. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.8a3362ce4f5ef6b1. Farm patch 0029 was rewritten from board removal into explicit reconcile-request intake; farm HEAD keeps upstream Bearings board. Reapplying old retirement would remove supported upstream behavior.a33cf9f1e8b94c0a. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.b5eabbd44199074c. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.ba6920a44ffb5967. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.88fc983d06de6c49. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.2e4daac93b71755a. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.29fa62463574303b. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.6e4c893448af7b6d. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.595659aff2222be3. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.82700a11ff6aff52. Obsolete DeepSeek/Grok advisor selection or advisor-off window replaced by farm Sol advisor-on posture (also includes no-priority-tier policy).7cc12f295c2971ee. Patch-id identical to farm patch.2a2ec5d8a304b3d6. Patch-id identical to farm patch.f39e4178c117988c. Patch-id identical to farm patch.3d20080649e1d705. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.89bb09593305c699. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.cbbbbfd593547c0a. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.74e387a4ecf2a88e. Patch-id identical to farm patch.36008c7a734f2ca6. Patch-id identical to farm patch.30862a02f23eeedc. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.d6411464925611a5. Patch-id identical to farm patch.6e14cafb14cfdd2c. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.00df381bb4c456fd. Patch-id identical to farm patch.61f3d1e47b22e399. Patch-id identical to farm patch.8bb3ad5ea8331ffe. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.d59e55ffd3a56e86. Patch-id identical to farm patch.193f1954d3c3b7a5. Patch-id identical to farm patch.22d1f66bf2172f23. Patch-id identical to farm patch.b0d1e0aa41f4ce1f. Patch-id identical to farm patch.78bb48aa6ac66d15. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.a79131c2c45c482a. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.0fc9c5c4af856d93. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.c135e918a5da166c. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.003ee58dbbaa802c. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.220eb15091f20130. Patch-id identical to farm patch.be775503d43a7b2b. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.5f3543373f0c0dbc. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.d36de0b2f86dfcf5. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.80592d653cbeaab0. Patch-id identical to farm patch.3fbfdac938c23234. Patch-id identical to farm patch.f8df219f215d874c. Patch-id identical to farm patch.45af44f1d89d3f3c. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.918c3ce6ff6aff52. Obsolete DeepSeek/Grok advisor selection or advisor-off window replaced by farm Sol advisor-on posture (also includes no-priority-tier policy).e8a0ccd7148fbcc3. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.23a763928c21588e. Patch-id identical to farm patch.cac90887b0e41b8b. Patch-id identical to farm patch.037248d325a74600. Patch-id identical to farm patch.9781e31b1c7ee034. Same feature/fix replayed in farm history with subsequent integration or superseding edits; preserve farm HEAD result, not historical fork context.e889d4e26cd513b4. Patch-id identical to farm patch.8974568457f0946f. Patch-id identical to farm patch.c832c57c4cccf066. Patch-id identical to farm patch.18ba79f96ec84ac2. Patch-id identical to farm patch.f46bb382fe82a5f8. Patch-id identical to farm patch.85547a98e4d1a151. Patch-id identical to farm patch.5f7f00b3f5ae020c. Patch-id identical to farm patch.c577b560f70dec25. Patch-id identical to farm patch.eda794a821abd59a. Patch-id identical to farm patch.734ef87a1fc68711. Patch-id identical to farm patch.84ed5f85f866008d. Patch-id identical to farm patch.bab6550674c8dc0b. Patch-id identical to farm patch.8fcdc66063b60a1d. Patch-id identical to farm patch.f2572bfe15b71b9b. Patch-id identical to farm patch.93503adb71408d92. Patch-id identical to farm patch.0fd56ccd7d7b97c3. Patch-id identical to farm patch.Intended behavior delta
Relative to farm
288a2273, the intended product additions are upstream's 113 commits: experimental adapters/backends, harness integration, bounded supervision, exports, capacity reporting and suite/TAP maintenance. Farm authority, queue, placement, Deck, OMP account/tier and cleanup contracts remain. The conflict table explains intentional integrations; the post-replay table accounts for every further correction, including necessary jq 1.6/checksum repairs, fixture isolation, approved hosted-Intel selection, stock-Bash parsing, acknowledgement-race correctness and bounded source-aware scheduling. The requestedbin/.agents/AGENTS.mddelta covers 151 explicitly attributed paths with no unexplained path; no unrelated feature guarantee is added.Running-copy cutover
Run only after the fork PR is merged, from the running copy, and after Andrew explicitly approves switching that copy to the merged fork main.
Do not run this block from a task copy.
accepted_pr_headnames this task's reviewed and pushed head. If publication changes that head, bind the replacement review and exact cutover approval before executing this command; do not silently reuse an old receipt.The ancestry assertion proves fork main contains the approved branch after a merge commit or fast-forward; for a squash or rebase merge, replace that assertion with an explicit forge read binding the merged PR and its merge commit to the fetched target.
A normal merge commit is the simplest path for this history re-anchor because it retains the upstream and replay ancestry.
The block refuses a moved HEAD, tracked changes, non-ignored untracked files, an unexpected remote, an unmerged target, or an existing backup ref.
It creates no stash, deletes nothing, does not move the shared local main branch, and uses neither reset nor force checkout.
The backup keeps the old history reachable.
Gitignored home records remain outside this tracked-file switch; this is not permission to move, edit, or clean those records.
After the switch
Firstmate re-reads the landed instructions and restarts the running agent through its supported lifecycle procedure so loaded extensions and launch flags match the new code.
Any registered secondmate update or restart remains owned by the normal update skill and its safety checks.
The primary remains detached, as it is now:
bin/fm-update.shcallsff_targetwith detached updates disabled, so a later unattended primary update will still report a detached-HEAD skip.Changing that standing updater behavior or attaching the shared main branch is not part of this PR and must not be smuggled into the cutover.
Inherited review candidates not changed in this re-anchor
The first full-source pass also raised static hypotheses in existing farm/upstream behavior. They are not proved vulnerabilities or passing/waived tests. No unrelated hardening sweep was silently added. In-scope account, recovery, visibility, publication and fixture findings were corrected and re-reviewed in the final delta. Opaque output-token and masked-credential claims were not treated as literal source corruption; no secret value was recovered. The remaining subjects are retained here for explicit follow-up, with duplicates grouped rather than hidden.
Pipeline
Updates from git push no-mistakes
Native no-mistakes run:
01M62VWHSRWT01MB25T4A9K8M7.The native publication marker below is retained verbatim. No workflow exemption, fabricated attestation or check waiver was applied.