Skip to content

fix: verify GitLab review heads and landed work - #7048

Open
mikaelz wants to merge 7 commits into
kunchenguid:mainfrom
mikaelz:fm/fm-gitlab-landing-review
Open

mikaelz wants to merge 7 commits into
kunchenguid:mainfrom
mikaelz:fm/fm-gitlab-landing-review

Conversation

@mikaelz

@mikaelz mikaelz commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

What Changed

  • Verify live GitLab MR identity, source SHA and target branch for review diffs and teardown landing checks, with exact-SHA head fetches and safe fallbacks.
  • Recognize canonical GitLab review links in follow-ups, snapshots and inactive reconciliation; restrict snapshot status links to the latest ready event and exclude scouts.
  • Add regression coverage and update forge documentation, stabilize test fixtures, and use byte-order collation for test coverage checks.

Risk Assessment

✅ Low: The bounded GitLab proof and canonical-link changes preserve conservative failure handling, and no material source defects or intent contradictions were substantiated.

Testing

All fifteen required targeted suites, both complete Ruby-consumer suites, fixture regressions and real Herdr lab passed on 7dea21b. Actual GitLab fetch and fleet-link checks passed. Existing capability case skips remain disclosed; no selected script gate-skipped. CLI HTML, provider output and full transcripts retained instead of a UI screenshot. Historical receipts were preserved, not substituted. Cleanup completed; hosted CI and publication remain outer-executor work.

  • Live validation: ✅ go - 9 of 9 scenarios driven live against the product
Scenario Result Live Evidence
Read an actual GitLab MR and fetch its exact origin-bound live source head ✅ pass live current-provider.txt; current-provider.exit=0
Retire landed GitLab work after separate-clone rebase or squash onto a nondefault target and source deletion ✅ pass live current-landing.log: complete fm-teardown suite
Attempt teardown with extra, dirty, untracked, forged or unavailable proof; preserve work and task records ✅ pass live current-landing.log: complete security and teardown suites
Review the verified current MR head and target; warn on unavailable proof without disturbing other task refs ✅ pass live current-landing.log: complete fm-review-diff suite
Display canonical GitLab, GitHub and Forgejo links while rejecting malformed URLs and misleading delivery provenance ✅ pass live current-links.json; current-fleet.html; complete snapshot and public-followup suites in current-landing.log
Run existing completion, backlog, ownership and capacity consumers without importing deferred preflight behavior ✅ pass live current-landing.log; current-test-reconciliation.md
Exercise runner scheduling, packing, collation and failure guards with the real Ruby workflow YAML consumer ✅ pass live current-ruby.log; current-ruby.json; current-coverage.txt
Exercise supervision hand-back failure, delta hashing and interrupted Orca launches including inherited ignored HUP ✅ pass live current-fixtures.log; current-orca-nohup.log
Recover concurrent cross-home workers with explicit lock-wait in an isolated Herdr lab, then tear it down safely ✅ pass live current-fixtures.log: complete real Herdr presentation suite and intact default-session tripwire
Evidence: Complete landing, safety, and compatibility regressions

Source: Complete landing, safety, and compatibility regressions

FM_TEST_BEGIN 2026-10-22T08:00:37Z tests/fm-captain-hold-lifecycle.test.sh family=pure-contract-unit expected_gate_skip=none
FM_TEST_BEGIN 2026-10-22T08:00:37Z tests/fm-crew-state.test.sh family=pure-contract-unit expected_gate_skip=none
FM_TEST_BEGIN 2026-10-22T08:00:37Z tests/fm-pr-merge.test.sh family=pr-forge expected_gate_skip=none
FM_TEST_BEGIN 2026-10-22T08:00:37Z tests/fm-review-diff.test.sh family=pr-forge expected_gate_skip=none
ok - GitLab review verifies live head and target, preserves private refs and warns on unavailable proof
ok - fm-review-diff falls back to recorded pr_head when pull head cannot be fetched
ok - fm-review-diff fetches refs/pull/<n>/head when pr_head= is absent
ok - fm-review-diff prefers freshly fetched PR head over a stale recorded pr_head=
ok - fm-review-diff without pr= keeps the worktree-branch diff
ok - fm-review-diff falls back to local branch with a warning when PR head is unreachable
ok - fm-review-diff reviews the meta-recorded ship branch even when the worktree HEAD moved off it
ok - fm-review-diff refuses a corrupt recorded ship branch instead of reviewing the wrong content
●━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
●  WATCHER DOWN - SUPERVISION IS OFF
●  1 task(s) in flight, but no live watcher process holds this home lock (last beat: 1s ago).
●  Trust the emitted supervision protocol for this harness; do not use shell & for watcher repair.
●  This is a supervision warning only; the guarded operation WILL still run.
●  repair a missing or failed watcher cycle with the Pi tool fm_watch_arm_pi, or restart Pi with -e ~/.no-mistakes/worktrees/cb3ff81633e8/01M5D2ERZK5D9ND4HZQD9PQ6FV/.pi/extensions/fm-primary-turnend-guard.ts -e ~/.no-mistakes/worktrees/cb3ff81633e8/01M5D2ERZK5D9ND4HZQD9PQ6FV/.pi/extensions/fm-primary-pi-watch.ts if the extensions are not loaded.
●━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ok - fm-review-diff compares a task against its recorded base branch
ok - fm-review-diff fetches refs/pull/<n>/head for a Forgejo /pulls/<n> pr= URL
ok - fm-review-diff resolves a Forgejo repo literally named pulls by the last /pulls/ segment
ok - fm-review-diff falls back to a recorded Forgejo pr_head when the pull ref cannot be fetched
FM_TEST_END 2026-10-22T08:01:09Z tests/fm-review-diff.test.sh exit=0 duration_ms=31862 gate_skip=false
ok - captured AXI replacement status replays through crew-state
ok - captured AXI parked status replays through crew-state
ok - captured AXI failed status replays through crew-state
ok - captured capped inventory replays selection, ambiguity, and unavailable lookup
ok - captured status formats reject a synthetic authority transition
ok - captured completed status yields to synthetic subsequent development
ok - captured cancelled run leaves fleet inventory unverified without a failure contradiction
ok - failed-outcome/github/open: terminal delivery uses current disposition
ok - failed-outcome/github/merged: terminal delivery uses current disposition
ok - failed-outcome/github/closed: terminal delivery uses current disposition
ok - failed-outcome/github/unreadable: terminal delivery uses current disposition
ok - failed-outcome/github/skipped: terminal delivery uses current disposition
ok - failed-outcome/github/no-identity: terminal delivery uses current disposition
ok - failed-outcome/gitlab/open: terminal delivery uses current disposition
ok - failed-outcome/gitlab/merged: terminal delivery uses current disposition
ok - failed-outcome/gitlab/closed: terminal delivery uses current disposition
ok - failed-outcome/gitlab/unreadable: terminal delivery uses current disposition
ok - failed-outcome/gitlab/skipped: terminal delivery uses current disposition
ok - failed-outcome/gitlab/no-identity: terminal delivery uses current disposition
ok - failed-outcome/gerrit/open: terminal delivery uses current disposition
ok - failed-outcome/gerrit/merged: terminal delivery uses current disposition
ok - failed-outcome/gerrit/closed: terminal delivery uses current disposition
ok - failed-outcome/gerrit/unreadable: terminal delivery uses current disposition
ok - failed-outcome/gerrit/skipped: terminal delivery uses current disposition
ok - failed-outcome/gerrit/no-identity: terminal delivery uses current disposition
ok - failed-status/github/open: terminal delivery uses current disposition
ok - failed-status/github/merged: terminal delivery uses current disposition
ok - failed-status/github/closed: terminal delivery uses current disposition
ok - failed-status/github/unreadable: terminal delivery uses current disposition
ok - failed-status/github/skipped: terminal delivery uses current disposition
ok - failed-status/github/no-identity: terminal delivery uses current disposition
ok - failed-status/gitlab/open: terminal delivery uses current disposition
ok - failed-status/gitlab/merged: terminal delivery uses current disposition
ok - failed-status/gitlab/closed: terminal delivery uses current disposition
ok - failed-status/gitlab/unreadable: terminal delivery uses current disposition
ok - failed-status/gitlab/skipped: terminal delivery uses current disposition
ok - failed-status/gitlab/no-identity: terminal delivery uses current disposition
ok - failed-status/gerrit/open: terminal delivery uses current disposition
ok - failed-status/gerrit/merged: terminal delivery uses current disposition
ok - failed-status/gerrit/closed: terminal delivery uses current disposition
ok - failed-status/gerrit/unreadable: terminal delivery uses current disposition
ok - failed-status/gerrit/skipped: terminal delivery uses current disposition
ok - failed-status/gerrit/no-identity: terminal delivery uses current disposition
ok - cancelled-outcome/github/open: terminal delivery uses current disposition
ok - cancelled-outcome/github/merged: terminal delivery uses current disposition
ok - cancelled-outcome/github/closed: terminal delivery uses current disposition
ok - cancelled-outcome/github/unreadable: terminal delivery uses current disposition
ok - cancelled-outcome/github/skipped: terminal delivery uses current disposition
ok - cancelled-outcome/github/no-identity: terminal delivery uses current disposition
ok - cancelled-outcome/gitlab/open: terminal delivery uses current disposition
ok - cancelled-outcome/gitlab/merged: terminal delivery uses current disposition
ok - cancelled-outcome/gitlab/closed: terminal delivery uses current disposition
ok - cancelled-outcome/gitlab/unreadable: terminal delivery uses current disposition
ok - cancelled-outcome/gitlab/skipped: terminal delivery uses current disposition
ok - cancelled-outcome/gitlab/no-identity: terminal delivery uses current disposition
ok - cancelled-outcome/gerrit/open: terminal delivery uses current disposition
ok - cancelled-outcome/gerrit/merged: terminal delivery uses current disposition
ok - cancelled-outcome/gerrit/closed: terminal delivery uses current disposition
ok - cancelled-outcome/gerrit/unreadable: terminal delivery uses current disposition
ok - cancelled-outcome/gerrit/skipped: terminal delivery uses current disposition
ok - cancelled-outcome/gerrit/no-identity: terminal delivery uses current disposition
ok - cancelled-status/github/open: terminal delivery uses current disposition
ok - cancelled-status/github/merged: terminal delivery uses current disposition
ok - cancelled-status/github/closed: terminal delivery uses current disposition
ok - cancelled-status/github/unreadable: terminal delivery uses current disposition
ok - cancelled-status/github/skipped: terminal delivery uses current disposition
ok - cancelled-status/github/no-identity: terminal delivery uses current disposition
ok - cancelled-status/gitlab/open: terminal delivery uses current disposition
ok - cancelled-status/gitlab/merged: terminal delivery uses current disposition
ok - cancelled-status/gitlab

... [128256 bytes truncated] ...

ng metadata capture is omitted without aborting the snapshot
ok - current state and decision hints share one captured status observation
ok - reused live state is discarded when task generation changes
ok - large local snapshot overlaps local reads with byte-identical serial and concurrent projections
ok - remote ledgers collect concurrently under one budget, reuse aged cache, and cancel wedged collectors
ok - a missing remote ledger stays explicitly unreadable without remote summary computation
ok - Domain Alpha structured state overrides a stale parent Phase 7 event
ok - GNU stat file reads select -c without BSD filesystem-report pollution
ok - parent activity evidence is bounded and disclosed
ok - Bearings excludes a status-only child decision
ok - a structured child captain hold reaches Captain's Call
ok - missing, invalid, unreadable, malformed, and unavailable-child homes stay explicit unknowns
ok - oversized ledgers stay strict unknown
ok - secondmate and per-home child counts are bounded, disclosed, and explicitly expandable
ok - parent decisions remain untrusted contradiction evidence
ok - parent evidence reconciliation distinguishes matching holds, blocks, and decisions
ok - nonprogressing child states are explicit and inconsistent terminal rows invalidate
ok - registry unavailability and bounded truncation remain explicit
ok - repeated snapshots keep the same current landed baseline and ignore prior reports
ok - default output is bounded, local-only, and marks omitted surfaces
ok - TOON and JSON are parity representations of the same model
ok - landed includes secondmate-managed merges alongside main-home merges
ok - landed accepts only kind-owned delivery artifacts while answered questions stay out
ok - kind fallback matches tasks-axi word boundaries and preserves scout deliveries
ok - kindless v1 summaries retain report artifacts from fresh and cached ledgers
ok - default landed selection balances one dominant home with sparse homes
ok - landed selection refills capacity after sparse homes exhaust
ok - landed selection uses deterministic home order when homes exceed the cap
ok - landed selection preserves deterministic home and internal tie ordering
ok - landed selection handles no landed items
ok - --all-landed keeps the complete global landed output
ok - landed stays bounded with per-home + overall caps and omitted[] disclosure
ok - Bearings keeps a live blocker in structured live state and never converts it to Charted Next queue work
ok - action-free items (working/done/queued/landed) do not leak into Captain's Call
ok - main orphan in-flight stays out of Underway and is disclosed in omitted/gates
ok - main unstructured current is disclosed while structured siblings still project
ok - counterfactual meta clears main inventory warning and projects the live task
ok - working captain holds retain main and secondmate bucket surfaces
ok - active children reach Underway independently of a home captain hold
ok - blank legacy summary names use their durable identifier
ok - newest filed gates are selected before snapshot bounds
ok - Underway rows carry the durable task name and gates carry their filed date
ok - mixed secondmate roles, partial state, and captain readiness project independently
ok - main and secondmate captain actionability use the same blocker readiness
ok - a completed scout with decision-like report prose is a pointer, not pending
ok - an authoritative captain hold surfaces end-to-end
ok - current report pointers surface
ok - queued body prose never hides an item from the board
ok - --include-prs is the only path that fetches, and it enriches correctly
ok - --include-prs maps a custom branch-prefix PR back to its recorded task
ok - a partial GitHub failure degrades gracefully
ok - Perl fallback bounds stalled GitHub calls without coreutils timeout
ok - all fleet-sized sections are capped with counted opt-in expansion
ok - captain-held tasks of any kind reach Captain's Call, deferral is honored, and landed excludes answered calls
ok - structured hold buckets decide Captain's Call, Charted Next, and the reveal
ok - a blocked deferred hold stays gated when its date arrives and is revealed by --all-decisions
ok - revealed deferred holds display their deferral reason while live calls stay unannotated
ok - live PR enrichment caps repositories with counted expansion
ok - per-repository open-PR caps are disclosed with an expansion knob
ok - projection and TOON rendering failures exit nonzero with diagnostics
FM_TEST_END 2026-10-22T08:42:22Z tests/fm-bearings-snapshot.test.sh exit=0 duration_ms=188110 gate_skip=false
FM_TEST_BEGIN 2026-10-22T08:42:22Z tests/fm-project-capacity.test.sh family=backend-dispatch expected_gate_skip=none
ok - a project with no declared capacity keeps today's uncapped dispatch
ok - a spawn is admitted while its project still has a free place
ok - a spawn beyond capacity is deferred before any record, brief, endpoint, worktree, or backlog move exists
ok - a project name with spaces is declared by taking the capacity from the last field
ok - a project name beginning with # is declared, and a # comment stays a comment
ok - a home reached through a symlink counts each of its workers once
ok - a recorded PR handoff or a cleanup each frees exactly one place
ok - a restart of a task id does not count that task's own record
ok - only this project's ship and scout records hold places
ok - every local home shares one declared capacity per project origin, and remote homes do not count
ok - an unreadable state directory or task record refuses admission rather than undercounting
ok - concurrent spawns can never both take the last place
ok - a spawn that fails after admission leaves no record and holds no place
ok - an unreadable declaration refuses every fresh spawn rather than guessing the limit
ok - a batch reports a capacity deferral as deferred, not failed
ok - an Orca spawn takes the shared project lock whenever a same-origin clone is capped and defers before creating anything
FM_TEST_END 2026-10-22T08:43:25Z tests/fm-project-capacity.test.sh exit=0 duration_ms=63375 gate_skip=false
FM_TEST_SUMMARY total=15 failed=0 skipped_gate=0 duration_ms=2569313
FM_TEST_SUMMARY_FAMILY family=backend-dispatch count=2 duration_ms=97768 failed=0
FM_TEST_SUMMARY_FAMILY family=pr-forge count=4 duration_ms=1258883 failed=0
FM_TEST_SUMMARY_FAMILY family=pure-contract-unit count=2 duration_ms=1466367 failed=0
FM_TEST_SUMMARY_FAMILY family=session-bootstrap count=2 duration_ms=315484 failed=0
FM_TEST_SUMMARY_FAMILY family=snapshot-bearings count=2 duration_ms=213680 failed=0
FM_TEST_SUMMARY_FAMILY family=standalone count=1 duration_ms=402240 failed=0
FM_TEST_SUMMARY_FAMILY family=unclassified count=1 duration_ms=2713 failed=0
FM_TEST_SUMMARY_FAMILY family=watcher-wake-lock count=1 duration_ms=40626 failed=0
FM_TEST_SLOWEST rank=1 script=tests/fm-captain-hold-lifecycle.test.sh duration_ms=1246677
FM_TEST_SLOWEST rank=2 script=tests/fm-pr-merge.test.sh duration_ms=628718
FM_TEST_SLOWEST rank=3 script=tests/fm-public-followup.test.sh duration_ms=402240
FM_TEST_SLOWEST rank=4 script=tests/fm-pr-check-security.test.sh duration_ms=312123
FM_TEST_SLOWEST rank=5 script=tests/fm-teardown.test.sh duration_ms=286180
FM_TEST_SLOWEST rank=6 script=tests/fm-backlog-atomicity.test.sh duration_ms=251632
FM_TEST_SLOWEST rank=7 script=tests/fm-crew-state.test.sh duration_ms=219690
FM_TEST_SLOWEST rank=8 script=tests/fm-bearings-snapshot.test.sh duration_ms=188110
FM_TEST_SLOWEST rank=9 script=tests/fm-bootstrap.test.sh duration_ms=63852
FM_TEST_SLOWEST rank=10 script=tests/fm-project-capacity.test.sh duration_ms=63375
FM_TEST_SLOWEST rank=11 script=tests/fm-inactive-reconcile.test.sh duration_ms=40626
FM_TEST_SLOWEST rank=12 script=tests/fm-teardown-endpoint-safety.test.sh duration_ms=34393
FM_TEST_SLOWEST rank=13 script=tests/fm-review-diff.test.sh duration_ms=31862
FM_TEST_SLOWEST rank=14 script=tests/fm-fleet-snapshot-view.test.sh duration_ms=25570
FM_TEST_SLOWEST rank=15 script=tests/fm-tasks-axi.test.sh duration_ms=2713
fm-test-run: wrote timing artifact: ~/.no-mistakes/evidence/01M5D2ERZK5D9ND4HZQD9PQ6FV/current-landing.json
Evidence: Complete Ruby runner and workflow regressions

Source: Complete Ruby runner and workflow regressions

FM_TEST_BEGIN 2026-10-22T08:00:23Z tests/fm-test-run.test.sh family=pure-contract-unit expected_gate_skip=none
ok - exact suite coverage: --all lists every tests/*.test.sh once
ok - family selection returns a proper subset of the suite
ok - single-script selection lists exactly that path
ok - changed-file selection stays conservative (never silent full suite)
ok - a task marker refuses execution in the primary checkout and leaves worktrees and inspection alone
ok - runner and its documentation surfaces select their curated family, not just their contract owners
ok - shell line-ending policy selects runner coverage
fm-test-run: no tests selected for changes vs HEAD (map is conservative; use --all for the complete suite)
ok - changed selection covers dependents, fails closed for live unmapped source, and accepts retired unconsumed source
ok - a bin reference selects the referencing scripts, and consumers still select their curated families
ok - changed defaults to bounded automatic scheduling with serial override
ok - Windows emulation exempts only synthetic POSIX modes
ok - a plain script list defaults to bounded automatic concurrency without an automatic timeout
ok - family proofs run concurrently only within separate family phases
ok - empty changed selection emits deterministic text and JSON summaries
ok - timing markers and JSON artifact are valid
ok - aggregate exit reflects any script failure
ok - gate-skip accounting is honest and non-failing
ok - a gate skip records why it skipped
ok - a script that actually ran records no skip reason
ok - live guards are recorded as a capability class, not a bare env opt-in
ok - fail-on-gate-skip converts herdr-not-found into a hard failure
ok - exclude-family drops the named primary family after selection
ok - proven-isolated scheduling ignores parallel hints
ok - family, all, changed, and script selections ignore parallel hints
ok - portable shard union, disjointness, and coverage guard hold
ok - coverage guard compares byte-sorted inventories independently of caller collation
ok - portable parallel lanes are fully hinted and packed within 5% of each other
ok - portable serial shards are a deterministic disjoint cover of the serial lane
ok - coverage guard bounds the unmeasured share and serial packing within twenty minutes
ok - serial packing accepts the exact budget and refuses one millisecond above it
ok - portable serial shard lanes refuse mismatched, out-of-range, and countless names
ok - --jobs refuses non-proven / stateful selections
ok - --jobs admits and schedules a family with a recorded concurrent proof
ok - an unclassified new test stays serial while the proven residual family runs concurrently
ok - a changed shared test fixture selects its readers while an unread tests/ path still refuses
ok - a concurrent run starts the longest-hint script first
ok - --per-script-timeout-secs turns a hung script into a bounded failure
ok - the automatic --changed bound gives the slow watcher suite at least 1500s
ok - --max-wall-ms fails an over-budget run and refuses a malformed budget
ok - jobs scheduler runs proven scripts; failure propagates; non-proven refused
ok - Herdr CI family-run step times out at 20 min under a 75 min job backstop
ok - aggregate-json merges lane timing artifacts
FM_TEST_END 2026-10-22T08:07:17Z tests/fm-test-run.test.sh exit=0 duration_ms=413499 gate_skip=false
FM_TEST_BEGIN 2026-10-22T08:07:17Z tests/fm-ci-workflow.test.sh family=unclassified expected_gate_skip=none
ok - CI matrices cover every executable serial lane and canonical lint root exactly once
ok - a newer push to one PR supersedes that PR's in-flight CI
ok - distinct PRs get distinct concurrency groups
ok - every main push keeps its own group and is never cancelled
ok - the fork skip variables change nothing unless set, and each skips only its own run or job
ok - the timing aggregate still runs after a failed lane unless the push run is skipped
ok - every ci.yml job carries a finite timeout
ok - every ci.yml job belongs to one of the three timeout tiers
ok - fast tier jobs share one 5 minute tripwire
ok - normal tier jobs share one 30 minute budget
ok - Herdr keeps a 20 minute step tripwire under a 75 minute job backstop
FM_TEST_END 2026-10-22T08:07:28Z tests/fm-ci-workflow.test.sh exit=0 duration_ms=10478 gate_skip=false
FM_TEST_SUMMARY total=2 failed=0 skipped_gate=0 duration_ms=424155
FM_TEST_SUMMARY_FAMILY family=pure-contract-unit count=1 duration_ms=413499 failed=0
FM_TEST_SUMMARY_FAMILY family=unclassified count=1 duration_ms=10478 failed=0
FM_TEST_SLOWEST rank=1 script=tests/fm-test-run.test.sh duration_ms=413499
FM_TEST_SLOWEST rank=2 script=tests/fm-ci-workflow.test.sh duration_ms=10478
fm-test-run: wrote timing artifact: ~/.no-mistakes/evidence/01M5D2ERZK5D9ND4HZQD9PQ6FV/current-ruby.json
Evidence: Orca under ignored-HUP inheritance

Source: Orca under ignored-HUP inheritance

FM_TEST_BEGIN 2026-10-22T08:03:00Z tests/fm-spawn-orca-worktree.test.sh family=unclassified expected_gate_skip=none
ok - real tmux preserves absent/C locale values and reported raw bytes, rejects missing/phantom names and excludes the automatic SSH agent
ok - Orca refuses source=absent before allocating resources
ok - Orca source/allowlist=enabled preserves controlled values, clears ambient credentials and keeps values off terminal input
ok - Orca source/allowlist=empty preserves controlled values, clears ambient credentials and keeps values off terminal input
ok - Orca refuses source=unavailable before allocating resources
ok - Orca refuses source=malformed before allocating resources
ok - Orca refuses source=nonregular before allocating resources
ok - Orca refuses source=missing before allocating resources
ok - Orca removes the credential launch file when the launch cannot be delivered
ok - Orca warns when allowlisted names would resolve from the Orca terminal, and stays quiet for an empty allowlist
ok - an Orca spawn waits for a slow pane to consume its launch file before a later failure
ok - an Orca spawn reclaims a launch file its pane never ran and fails visibly
ok - an Orca spawn interrupted by TERM during the consume step reclaims its launch file and refuses the worker
ok - an Orca spawn interrupted by HUP during the consume step reclaims its launch file and refuses the worker
ok - an Orca spawn interrupted by INT during the consume step reclaims its launch file and refuses the worker
ok - an Orca spawn interrupted by TERM during the enter step reclaims its launch file and refuses the worker
ok - an Orca spawn interrupted by HUP during the enter step reclaims its launch file and refuses the worker
ok - an Orca spawn interrupted by INT during the enter step reclaims its launch file and refuses the worker
ok - an Orca spawn interrupted by TERM before sending the launch command removes its launch file
ok - an Orca spawn interrupted by HUP before sending the launch command removes its launch file
ok - an Orca spawn interrupted by INT before sending the launch command removes its launch file
ok - an Orca pane that cannot remove its launch file refuses the worker and keeps its terminal
ok - an Orca spawn treats a launch file the pane unlinked at the deadline as consumed
ok - the Orca snapshot passes through bytes tmux reports even when they are not valid UTF-8
ok - an Orca-backed fresh spawn enters the worktree Orca created for it, instead of hard-refusing on the post-launch proof
ok - a relaunch against an Orca-backed task is refused before the RELAUNCH+orca worktree carve-out could run
# all fm-spawn-orca-worktree tests passed
FM_TEST_END 2026-10-22T08:04:29Z tests/fm-spawn-orca-worktree.test.sh exit=0 duration_ms=88680 gate_skip=false
FM_TEST_SUMMARY total=1 failed=0 skipped_gate=0 duration_ms=88802
FM_TEST_SUMMARY_FAMILY family=unclassified count=1 duration_ms=88680 failed=0
FM_TEST_SLOWEST rank=1 script=tests/fm-spawn-orca-worktree.test.sh duration_ms=88680
fm-test-run: wrote timing artifact: ~/.no-mistakes/evidence/01M5D2ERZK5D9ND4HZQD9PQ6FV/current-orca-nohup.json
Evidence: Actual GitLab MR proof and exact-head fetch

Source: Actual GitLab MR proof and exact-head fetch

url=https://gitlab.com/im3sk/erp/-/merge_requests/780
state=merged
head=6c5f61e4388fb99c7ba0dbda8b1909267011daa0
target=main
exact live MR source fetched=6c5f61e4388fb99c7ba0dbda8b1909267011daa0
Evidence: Actual fleet CLI review-link output

Source: Actual fleet CLI review-link output

<!doctype html><meta charset="utf-8"><title>Actual Fleet View CLI output</title><style>body{font:15px monospace;padding:28px}pre{white-space:pre-wrap}</style><pre># Fleet View

Schema: fm-fleet-snapshot.v1
Home: ~/.no-mistakes/worktrees/cb3ff81633e8/01M5D2ERZK5D9ND4HZQD9PQ6FV/.test-current/home

## Under Way
No live task metadata found.

## Queued
No queued backlog records found.

## Done
| ID | Title | Repo | Kind | Blocked By | Artifact |
| --- | --- | --- | --- | --- | --- |
| gl | GitLab review | - | ship | - | https://gitlab.com/group/project/-/merge_requests/780 |
| nested | Nested review | - | ship | - | https://gitlab.example.test/group/sub/project/-/merge_requests/7 |
| gh | GitHub review | - | ship | - | https://github.com/owner/repo/pull/7 |
| fj | Forgejo review | - | ship | - | https://forgejo.example.test/owner/repo/pulls/7 |
| issue | Not a review | - | ship | - | - |
| zero | Invalid IID | - | ship | - | - |
| query | Noncanonical | - | ship | - | - |

## Secondmates
For kind=secondmate, bearings selects validated structured state from that registered home; parent events and bounded terminal evidence are fallback-only supplements and never current-state authority.
</pre>
Evidence: Current-head commands, receipts and historical reconciliation

Source: Current-head commands, receipts and historical reconciliation

# Current-head test reconciliation

Validated head: `7dea21b6bd302f6b74094bdc39b629d20ed7b176`. No source changes.

## Complete fresh receipts
- `current-ruby`: exit 0; 2 complete scripts; 424155 ms. Full transcript and JSON retained.
  - `tests/fm-test-run.test.sh`: exit 0, gate_skip=False, 413499 ms.
  - `tests/fm-ci-workflow.test.sh`: exit 0, gate_skip=False, 10478 ms.
- `current-landing`: exit 0; 15 complete scripts; 2569313 ms. Full transcript and JSON retained.
  - `tests/fm-review-diff.test.sh`: exit 0, gate_skip=False, 31862 ms.
  - `tests/fm-crew-state.test.sh`: exit 0, gate_skip=False, 219690 ms.
  - `tests/fm-pr-merge.test.sh`: exit 0, gate_skip=False, 628718 ms.
  - `tests/fm-captain-hold-lifecycle.test.sh`: exit 0, gate_skip=False, 1246677 ms.
  - `tests/fm-inactive-reconcile.test.sh`: exit 0, gate_skip=False, 40626 ms.
  - `tests/fm-teardown.test.sh`: exit 0, gate_skip=False, 286180 ms.
  - `tests/fm-pr-check-security.test.sh`: exit 0, gate_skip=False, 312123 ms.
  - `tests/fm-bootstrap.test.sh`: exit 0, gate_skip=False, 63852 ms.
  - `tests/fm-backlog-atomicity.test.sh`: exit 0, gate_skip=False, 251632 ms.
  - `tests/fm-public-followup.test.sh`: exit 0, gate_skip=False, 402240 ms.
  - `tests/fm-teardown-endpoint-safety.test.sh`: exit 0, gate_skip=False, 34393 ms.
  - `tests/fm-tasks-axi.test.sh`: exit 0, gate_skip=False, 2713 ms.
  - `tests/fm-fleet-snapshot-view.test.sh`: exit 0, gate_skip=False, 25570 ms.
  - `tests/fm-bearings-snapshot.test.sh`: exit 0, gate_skip=False, 188110 ms.
  - `tests/fm-project-capacity.test.sh`: exit 0, gate_skip=False, 63375 ms.
- `current-fixtures`: exit 0; 4 complete scripts; 1600011 ms. Full transcript and JSON retained.
  - `tests/fm-supervision-host.test.sh`: exit 0, gate_skip=False, 906770 ms.
  - `tests/fm-remote-delta-read.test.sh`: exit 0, gate_skip=False, 8374 ms.
  - `tests/fm-spawn-orca-worktree.test.sh`: exit 0, gate_skip=False, 136103 ms.
  - `tests/fm-backend-herdr-presentation-e2e.test.sh`: exit 0, gate_skip=False, 548303 ms.
- `current-orca-nohup`: exit 0; 1 complete scripts; 88802 ms. Full transcript and JSON retained.
  - `tests/fm-spawn-orca-worktree.test.sh`: exit 0, gate_skip=False, 88680 ms.

## Commands
`` `sh
ruby --version
ruby -ryaml -e 'puts YAML::VERSION'
unshare --user --map-current-user --pid --fork --mount-proc bin/fm-test-run.sh --jobs 1 --json "$E/current-ruby.json" tests/fm-test-run.test.sh tests/fm-ci-workflow.test.sh
bin/fm-test-run.sh --json "$E/current-landing.json" tests/fm-review-diff.test.sh tests/fm-crew-state.test.sh tests/fm-pr-merge.test.sh tests/fm-captain-hold-lifecycle.test.sh tests/fm-inactive-reconcile.test.sh tests/fm-teardown.test.sh tests/fm-pr-check-security.test.sh tests/fm-bootstrap.test.sh tests/fm-backlog-atomicity.test.sh tests/fm-public-followup.test.sh tests/fm-teardown-endpoint-safety.test.sh tests/fm-tasks-axi.test.sh tests/fm-fleet-snapshot-view.test.sh tests/fm-bearings-snapshot.test.sh tests/fm-project-capacity.test.sh
bin/fm-test-run.sh --jobs 1 --json "$E/current-fixtures.json" tests/fm-supervision-host.test.sh tests/fm-remote-delta-read.test.sh tests/fm-spawn-orca-worktree.test.sh tests/fm-backend-herdr-presentation-e2e.test.sh
nohup bin/fm-test-run.sh --json "$E/current-orca-nohup.json" tests/fm-spawn-orca-worktree.test.sh
LC_ALL=en_US.utf8 bin/fm-test-run.sh --check-coverage
`` `

E names this evidence directory. The landing list above is the complete executed inventory (displayed in completion order).

## Product observations
- Actual GitLab MR 780 proof read and exact origin-bound source-head fetch succeeded using the existing login; no credentials changed. See current-provider.txt.
- Separate-clone real Git rebase, squash, fast-forward, source deletion, and expired MR-ref scenarios passed through the actual teardown executable. Provider/endpoint boundaries are fixtures, not production teardown.
- Extra committed work, dirty/untracked files, forged identities/projects/heads/targets, stale heads, and private-ref boundaries were exercised by complete security, teardown and review suites.
- Actual snapshot and fleet-view commands on a disposable worktree-local home preserved GitLab (including nested groups), GitHub and Forgejo URLs; issue/zero-IID/query URLs were rejected. current-fleet.html is an escaped rendering of actual CLI output; this is not a browser UI, so no screenshot was taken.
- Real Herdr 0.9.5 lab presentation suite completed all cases, including simultaneous cross-home recovery, explicit lock-wait and default-session tripwire verification. The suite used only the guarded named fm-lab helper and completed teardown.
- Complete runner and workflow suites now pass with Ruby 3.4.10 and real YAML 5.2.2. Current-user PID isolation retained. No parser substitutions, installations, weakened assertions or new skips.

## Receipt reconciliation and boundaries
Earlier receipts remain untouched. Their recorded head 9cf2a1a is not the present 7dea21b head, so they are historical context, not substituted current passes. All fifteen required suites and fixture corrections were freshly executed here. tests/fm-teardown-endpoint-safety.test.sh is the actual endpoint suite; no fake alias was created. Existing markdown-only capability case skips remain disclosed in the full transcripts; no complete selected script gate-skipped.
Seven deferred-only paths equal the supplied upstream base 9fe25bca (git diff --exit-code succeeded). No completion preflight was added. Disposable .test-current home and clone were removed. No lint, formatter, static-analysis, publication, PR, hosted CI, merge, credential mutation, production teardown or completion replay was performed. Local test success is not current-head hosted CI readiness; those other phases belong to the outer executor.
  • Outcome: 🔧 2 issues found → no changes applied (2) ✅ across 4 runs (2h12m24s)

Pipeline

Updates from git push no-mistakes

✅ **Intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

✅ No issues found.

🔧 **Test** - 2 issues found → no changes applied (2) ✅
  • ⚠️ Required full validation remains blocked: tests/fm-ci-workflow.test.sh and the PID-isolated tests/fm-test-run.test.sh exit 1 because Ruby is required to parse CI YAML but is absent from PATH. Provide an approved Ruby interpreter and rerun both complete suites; retain current-user PID isolation for the runner's orphan-parent fixture. No parser substitution, host installation, or assertion weakening was performed.
  • 🚨 live validation verdict: no-go (8 of 9 scenarios were driven live against the product)
  • Live validation: ❌ no-go - 8 of 9 scenarios driven live against the product
Scenario Result Live Evidence
Read GitLab MR 780 and fetch its exact verified source head from its target repository ✅ pass live Actual GitLab proof read; Actual GitLab exact-head fetch
Review an updated GitLab MR against its verified nondefault target instead of stale local metadata ✅ pass live Complete landing regression transcripts: test_gitlab_live_head_and_target
Recognize a rebased, squash-landed change after source branch and MR-ref deletion ✅ pass live Complete landing regression transcripts: test_gitlab_deleted_source_target_landing
Prove rebased fast-forward landing through an exact task-private MR-head fetch ✅ pass live Complete landing regression transcripts: test_gitlab_rebased_head_fetch_landing
Reject forged or unavailable landing evidence while preserving dirty, untracked and extra committed work ✅ pass live Complete landing regression transcripts: test_gitlab_landing_refusals_preserve_work and test_gitlab_proof_reader_and_fetch
Publish only canonical review links with current delivery provenance and metadata precedence ✅ pass live Complete landing regression transcripts: test_status_review_delivery_provenance and test_gitlab_review_url_classification
Display full canonical forge review URLs while excluding an issue URL from the fleet artifact column ✅ pass live Canonical review-link snapshot; Actual fleet-view CLI output
Run coverage inventory verification under installed en_US UTF-8 collation without ordering errors ✅ pass live coverage-locale.txt; Non-root PID-isolated runner: Ruby prerequisite blocker
Complete runner and workflow YAML-consumer validation ⏸️ untested no Both complete commands were attempted. The original runner's orphan-parent setup failure was resolved using a current-user private PID namespace; its re-run then stopped at missing Ruby, as did the wo…
  • Fifteen complete targeted suites through bash bin/fm-test-run.sh; exact invocation and retained exit/timing receipts are in test-step-notes.md.
  • bash bin/fm-test-run.sh for complete supervision-host, remote-delta-read, spawn-orca-worktree, test-run and ci-workflow suites; exact invocation retained in test-step-notes.md.
  • nohup bash bin/fm-test-run.sh for the complete spawn-orca-worktree suite.
  • Complete test-run suite retried through root-mapped and then current-user-mapped private PID namespaces; final invocation reached the missing Ruby prerequisite.
  • fm_pr_gitlab_read_record gitlab.com im3sk/erp 780 proof and fm_pr_gitlab_fetch_head against the actual provider in a disposable repository.
  • Disposable-home fm-fleet-snapshot.sh --contribution-input and fm-fleet-view.sh, explicit JSON/output assertions, and retained HTML display of actual CLI output.
  • LC_ALL=en_US.utf8 bash bin/fm-test-run.sh --check-coverage.
  • Compared all seven deferred-only paths with supplied upstream base; inspected final HEAD, clean git status, runner exit receipts and completed process state.

🔧 No changes applied.
3 warnings still open:

  • ⚠️ Full requested validation remains blocked by missing Ruby: the workflow suite and current-user PID-isolated runner suite exit 1 at their YAML prerequisite. Provide an approved Ruby interpreter on PATH and rerun both complete suites; no parser substitution or assertion weakening was performed.
  • ⚠️ live validation verdict: inconclusive (7 of 8 scenarios were driven live against the product); untested: Complete runner and workflow YAML-consumer regression suites
  • ⚠️ Required full validation remains blocked: tests/fm-ci-workflow.test.sh and the PID-isolated tests/fm-test-run.test.sh exit 1 because Ruby is required to parse CI YAML but is absent from PATH. Provide an approved Ruby interpreter and rerun both complete suites; retain current-user PID isolation for the runner's orphan-parent fixture. No parser substitution, host installation, or assertion weakening was performed.
  • Live validation: ⚠️ inconclusive - 7 of 8 scenarios driven live against the product
Scenario Result Live Evidence
Read an actual merged GitLab MR and fetch its exact verified source head ✅ pass live gitlab-provider-recheck.txt; gitlab-fetch-recheck.txt (both exit 0)
Recognize rebased and squash-landed work on a nondefault target after source deletion ✅ pass live landing-regressions.log: test_gitlab_deleted_source_target_landing and test_gitlab_rebased_head_fetch_landing; complete teardown suite exit 0
Refuse cleanup for dirty, untracked, extra committed work or forged and unavailable MR proof ✅ pass live landing-regressions.log: GitLab landing refusals and strict proof-reader cases; teardown and pr-check-security suites exit 0
Review the verified MR head and target rather than stale metadata; warn on unavailable proof without colliding with another task ref ✅ pass live landing-regressions.log: complete fm-review-diff suite exit 0
Display canonical GitLab, GitHub and Forgejo review links while rejecting issue, query-bearing and zero-IID URLs ✅ pass live canonical-links-recheck.json; fleet-view-recheck.html; landing-remaining.log: snapshot, public-followup and bearings suites exit 0
Preserve existing completion and ownership safeguards without importing deferred preflight behavior ✅ pass live landing-regressions.log and landing-remaining.log: unchanged completion, ownership and endpoint-safety regression suites completed successfully
Run repaired host, delta-reader and Orca fixtures, including ignored HUP, and check coverage under en_US UTF-8 ✅ pass live fixture-repairs.log and fixture-repairs.exit=0; orca-nohup-recheck.exit=0; coverage-locale-recheck.txt
Complete runner and workflow YAML-consumer regression suites ⏸️ untested no Both suites were attempted. Current-user PID isolation resolved the setup-sensitive ancestry and permissions cases, but Ruby is absent from PATH and no repository-local interpreter was supplied. Autho…
  • bin/fm-test-run.sh with all fifteen targeted landing/completion suites; initial invocation reached the tool's 1200-second deadline, then every unfinished suite was rerun completely. Exact selections and receipts: test-phase-recheck.md.
  • bin/fm-test-run.sh --jobs 1 tests/fm-supervision-host.test.sh tests/fm-remote-delta-read.test.sh tests/fm-spawn-orca-worktree.test.sh
  • nohup bin/fm-test-run.sh tests/fm-spawn-orca-worktree.test.sh
  • unshare --user --map-root-user --pid --fork --mount-proc bin/fm-test-run.sh --jobs 1 tests/fm-test-run.test.sh tests/fm-ci-workflow.test.sh; corrected setup with --map-current-user and reran the complete runner suite.
  • LC_ALL=en_US.utf8 bin/fm-test-run.sh --check-coverage
  • Real fm_pr_gitlab_read_record gitlab.com im3sk/erp 780 proof and exact origin-bound fm_pr_gitlab_fetch_head in a disposable repository.
  • Real fm-fleet-snapshot.sh --contribution-input and fm-fleet-view.sh on disposable canonical/adversarial backlog rows; independent jq assertions and retained HTML rendering.
  • Verified seven deferred-only paths equal the supplied base; removed disposable fixtures and confirmed clean git status and completed child processes.

🔧 No changes applied.
✅ Re-checked - no issues remain.

  • Live validation: ✅ go - 7 of 7 scenarios driven live against the product
Scenario Result Live Evidence
Run complete runner contracts: scheduling, orphan-parent isolation, locale coverage, budgets and failure propagation behave correctly ✅ pass live ruby-final-regressions.log; ruby-final-regressions.json; ruby-final-regressions.exit
Consume CI workflow with real Ruby YAML: partitions, concurrency and finite timeout semantics satisfy the workflow contracts ✅ pass live ruby-final-regressions.log; ruby-final-regressions.json
Prove GitLab landing and review identity while refusing unlanded, dirty, foreign-project and unavailable-head work ✅ pass live landing-regressions.log; landing-remaining.log; test-final-reconciliation.md
Display canonical GitLab, GitHub and Forgejo review links while rejecting non-review URLs ✅ pass live canonical-links-recheck.json; fleet-view-recheck.html; landing-remaining.log
Read an actual GitLab MR and fetch its exact repository-bound live head ✅ pass live gitlab-provider-recheck.txt; gitlab-fetch-recheck.txt
Complete supervision, delta-reader and ignored-HUP Orca regressions without weakened assertions ✅ pass live fixture-repairs.log; orca-nohup-recheck.log; test-final-reconciliation.md
Retain baseline completion and lifecycle behavior across the complete fifteen-suite inventory ✅ pass live landing-regressions.log; landing-remaining.log; test-final-reconciliation.md
  • ruby --version and ruby -ryaml — approved Ruby 3.4.10, YAML 5.2.2
  • unshare --user --map-current-user --pid --fork --mount-proc bin/fm-test-run.sh --jobs 1 --json ~/.no-mistakes/evidence/01M5D2ERZK5D9ND4HZQD9PQ6FV/ruby-final-regressions.json tests/fm-test-run.test.sh tests/fm-ci-workflow.test.sh — exit 0
  • Reconciled all fifteen complete suite completion markers in landing-regressions.log and landing-remaining.log; inspected fixture, nohup, provider, canonical-link and locale receipts
  • git diff --exit-code 3eabd356abc99bdb0c1d2cefc5a1dec4a9fe39c1 HEAD -- seven deferred-only paths — unchanged
  • git status --porcelain and scoped process inspection — clean worktree, no remaining launched children

✅ No issues found.

  • Live validation: ✅ go - 9 of 9 scenarios driven live against the product
Scenario Result Live Evidence
Read an actual GitLab MR and fetch its exact origin-bound live source head ✅ pass live current-provider.txt; current-provider.exit=0
Retire landed GitLab work after separate-clone rebase or squash onto a nondefault target and source deletion ✅ pass live current-landing.log: complete fm-teardown suite
Attempt teardown with extra, dirty, untracked, forged or unavailable proof; preserve work and task records ✅ pass live current-landing.log: complete security and teardown suites
Review the verified current MR head and target; warn on unavailable proof without disturbing other task refs ✅ pass live current-landing.log: complete fm-review-diff suite
Display canonical GitLab, GitHub and Forgejo links while rejecting malformed URLs and misleading delivery provenance ✅ pass live current-links.json; current-fleet.html; complete snapshot and public-followup suites in current-landing.log
Run existing completion, backlog, ownership and capacity consumers without importing deferred preflight behavior ✅ pass live current-landing.log; current-test-reconciliation.md
Exercise runner scheduling, packing, collation and failure guards with the real Ruby workflow YAML consumer ✅ pass live current-ruby.log; current-ruby.json; current-coverage.txt
Exercise supervision hand-back failure, delta hashing and interrupted Orca launches including inherited ignored HUP ✅ pass live current-fixtures.log; current-orca-nohup.log
Recover concurrent cross-home workers with explicit lock-wait in an isolated Herdr lab, then tear it down safely ✅ pass live current-fixtures.log: complete real Herdr presentation suite and intact default-session tripwire
  • ruby --version; ruby -ryaml -e &#39;puts YAML::VERSION&#39;
  • unshare --user --map-current-user --pid --fork --mount-proc bin/fm-test-run.sh --jobs 1 --json "$E/current-ruby.json" tests/fm-test-run.test.sh tests/fm-ci-workflow.test.sh
  • bin/fm-test-run.sh --json "$E/current-landing.json" tests/fm-pr-check-security.test.sh tests/fm-pr-merge.test.sh tests/fm-crew-state.test.sh tests/fm-teardown.test.sh tests/fm-teardown-endpoint-safety.test.sh tests/fm-review-diff.test.sh tests/fm-backlog-atomicity.test.sh tests/fm-tasks-axi.test.sh tests/fm-bootstrap.test.sh tests/fm-public-followup.test.sh tests/fm-fleet-snapshot-view.test.sh tests/fm-bearings-snapshot.test.sh tests/fm-inactive-reconcile.test.sh tests/fm-captain-hold-lifecycle.test.sh tests/fm-project-capacity.test.sh
  • bin/fm-test-run.sh --jobs 1 --json "$E/current-fixtures.json" tests/fm-supervision-host.test.sh tests/fm-remote-delta-read.test.sh tests/fm-spawn-orca-worktree.test.sh tests/fm-backend-herdr-presentation-e2e.test.sh
  • nohup bin/fm-test-run.sh --json "$E/current-orca-nohup.json" tests/fm-spawn-orca-worktree.test.sh
  • LC_ALL=en_US.utf8 bin/fm-test-run.sh --check-coverage
  • Actual fm_pr_gitlab_read_record gitlab.com im3sk/erp 780 proof and fm_pr_gitlab_fetch_head in a disposable clone
  • Actual fm-fleet-snapshot.sh --contribution-input and fm-fleet-view.sh against disposable backlog rows; asserted canonical URL results and retained rendered CLI output
  • Verified all execution exit receipts and JSON results; compared seven deferred-only paths with base; removed disposable files and confirmed clean worktree and no remaining worktree processes
✅ **Document** - passed

✅ No issues found.

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

✅ No issues found.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thank you, @mikaelz. This looks like the split I suggested on #6989: GitLab review heads and landing proof on their own, with the completion preflight left out. The 7/7 live GitLab run is great evidence. This is my first stamp. I read head e759810e against main 072a7da3.

Security review is clean. The only workflow change is the snapshot test count in ci.yml (18 → 20). Fetches stay within refs/merge-requests/<iid>/head into task-private refs/fm-review/ and refs/fm-teardown/ refs, and there are no secrets or new network calls. I approved 38119348715 (CI) and 38119348717 (Require no-mistakes).

Contract-class: new-default. The GitLab review and teardown parts look like a restore of already-promised GitLab support. But fm-fleet-snapshot.sh now changes pr_url for every forge. It used to take the first /pull/ link anywhere in the status log. Now it takes only recorded pr= or the latest exact done: PR <url> line, and scouts never claim one. That narrows what the default snapshot shows, so Kun decides.

VISION: One captain: aligns. Authority: aligns (landing refusals stay conservative). Scripts/agents: aligns. Restart: aligns. Spine: aligns (7/7 live). Vendor: aligns. Scope: aligns.

Overlap: #6989 still carries these same files. Could you narrow #6989 to the completion preflight, or close it, so the two can't both land?

Status: waiting on CI for this head, then Kun (merge-or-leave).

@mikaelz mikaelz changed the title fix: verify GitLab review heads and landed work fix: verify GitLab review heads and landed-work cleanup Oct 20, 2026
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thanks @mikaelz for bringing this up to date with main and fixing the serial fixture lifetime. I re-read head f5494be9 against main 3eabd356.

  • Attestation: the no-mistakes attestation matches this head, and PR must be raised via no-mistakes passes. Live validation is 7/7 go (real GitLab MR read and exact-head fetch), so no live ask from me.
  • New since my last look: a main merge, 9cf2a1ac (test fixture lifetime and platform fixes in fm-test-run.sh and four tests), and f5494be9 (doc and comment wording only). None of it changes the landing or teardown logic I reviewed before.
  • Security: still clean. The only workflow edit is the snapshot test count in ci.yml (18 → 20). MR-head fetches stay in task-private refs. No secrets and no new network calls. The CI run for this head is already executing, so no approval was needed.
  • Contract class: new-default (unchanged). The GitLab review and teardown parts restore GitLab support we already promised. But fm-fleet-snapshot.sh still narrows pr_url for every forge to recorded pr= or the latest exact done: PR <url> line, and scouts never claim one. That changes the default snapshot, so it is Kun's call.
  • VISION: One captain: aligns. Authority: aligns (landing refusals stay conservative). Scripts/agents: aligns. Restart: aligns. Spine: aligns. Vendor: aligns. Scope: aligns.
  • Overlap: fix: verify GitLab landing and preflight task completion #6989 is still open and touches the same GitLab landing files. It hasn't changed since 2026-10-10. Please narrow it to the completion preflight, or close it, so both can't land. feat: park workers awaiting external GitHub PR changes #7578 (your PR-park work) only adds a separate unpark step in fm-teardown.sh, so I see no real conflict with it.

Status: waiting on CI for this head (CI run 39472036208 is in progress). Once it's green, this goes to Kun as a merge-or-leave decision. Nothing else is needed from you unless CI fails. Heads-up: because this diff touches .github/workflows/ci.yml, Kun will have to merge it himself.

Bind merge request landing and review proof to the live source head, target project, literal target branch and repository origin. Fetch exact MR heads into private refs and recognize landed content on legitimate nondefault targets after source deletion, rebase or squash.

Classify canonical GitLab, GitHub and Forgejo review links in snapshots, inactive returns and public follow-ups while preserving delivery provenance and all local-work safety checks. Include regression coverage and required CI/documentation corrections.

Deliver this narrow split through a fresh branch. Completion preflight and its unreleased consumer dependency remain separate; the existing combined delivery history is preserved.
Stop completed supervision fixtures, count either supported hash tool, restore HUP handling in signal fixtures, and compare coverage inventories in byte order.
…lure from competing decision wakes, and enabled lock-wait for both concurrent Herdr recoveries. Full suites passed: 75 supervision cases and 25 Herdr cases; targeted Stop-hook case passed 10 repetitions. Local Herdr was 0.9.5 versus CI’s 0.7.4; cleanup emitted permission warnings but exited zero
@mikaelz
mikaelz force-pushed the fm/fm-gitlab-landing-review branch from ffd0614 to 7dea21b Compare October 22, 2026 08:46
@mikaelz mikaelz changed the title fix: verify GitLab review heads and landed-work cleanup fix: verify GitLab review heads and landed work Oct 22, 2026
…a parked successor, removed a competing-wake fixture race, and scoped teardown proof variables to resolve ShellCheck failures. Regression failed before fix and passed afterward. Verified 75 supervision, 64 Stop-hook, and 144 teardown cases; original timeout case passed 10 repetitions. Canonical lint and diff checks passed
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thanks @mikaelz for bringing this up to date and closing out #6989, which removes the overlap. I re-read head 8bf590a2 against main 9fe25bca.

  • Readiness: the attestation matches 8bf590a2, PR must be raised via no-mistakes passes, live validation is go (9 of 9), and all 19 CI jobs are green. GitHub shows it as mergeable.
  • New since my 10-20 look: a rebase, plus 8bf590a2 from the pipeline's CI step. That commit scopes the teardown proof variables as local, fixes test fixtures, and makes one behavior change outside the GitLab scope. In bin/fm-claude-stop-autoarm.sh, a Stop-hook host that exits with an explicit failure (rc 1–128) and empty output is no longer retried. Only rc 0 with empty output, or rc >128, retries now.
  • Security: clean. The only workflow edit is still the snapshot test count in ci.yml (18 → 20). MR-head fetches stay in task-private refs. No secrets and no new network calls.

Contract-class: new-default (my own read, unchanged). The GitLab review and landing checks restore support we already promised. But fm-fleet-snapshot.sh narrows pr_url for every forge to recorded pr= or the latest exact done: PR <url> line (scouts never claim one), and the Stop-hook retry rule changes on the default Claude path. VISION.md per rule: One captain aligns · Authority aligns (landing refusals stay conservative) · Scripts aligns · Restart aligns · Delegation aligns (9/9 live) · Vendor aligns · Scope aligns, apart from the Stop-hook retry tweak that rode in through CI repair.

Status: this is with Kun now, not waiting on you. It's otherwise ready, so it goes to him as a merge-or-leave decision on the new default behavior. Because it touches .github/workflows/ci.yml, he'd merge it himself. Nothing is needed from you unless he asks.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thanks @mikaelz for merging main back in without rewriting history. I re-read head 182ec0a9 against main e930d960.

  • New since my 10-22 look: one merge commit, 182ec0a9. Its three conflict resolutions keep both sides: the review-link sentence plus main's toolchain wording in docs/configuration.md, your fixture-wait cleanup on top of main's fm_remote_job_stop_worker_tree in tests/fm-public-followup.test.sh, and main's four new cases inside your per-case process loop in tests/fm-supervision-host.test.sh. The landing, review and teardown logic is the same as before.
  • Readiness: the attestation matches 182ec0a9, PR must be raised via no-mistakes passes, all 19 CI jobs are green, and GitHub shows it as mergeable.
  • Security: unchanged and clean. The only workflow edit is still the snapshot test count in ci.yml (18 → 20).

Contract-class: new-default (my own read, unchanged), for the same reasons as before: the pr_url narrowing in fm-fleet-snapshot.sh and the Stop-hook retry rule on the default Claude path. My VISION read is also unchanged: every rule aligns.

Status: this is still with Kun, not waiting on you. It stays a merge-or-leave decision for him, and because it touches .github/workflows/ci.yml he'd merge it himself. Nothing else is needed from you.

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.

2 participants