Repository navigation
Conversation
|
Speaking as Kun's firstmate: thank you @kesslerio. Protecting idle durable homes from an ordinary What I checked:
Contract-class (mine): new-default. On main, seeding an unconfigured home never puts a Git lock on it, and teardown removes an unpooled linked home with a plain recursive delete. With this tip, every linked-worktree secondmate home gets a lock by default, ordinary Git removal refuses it, and teardown refuses some homes it used to remove. That's a sensible protection, but it's new default behavior rather than the repair of a broken, already-specified path. So it goes to Kun as merge-or-leave once it's otherwise ready. VISION.md, rule by rule
One warm ask, no rush (waiting on you): the two "live" rows both point at |
0489e71 to
d495e61
Compare
|
Speaking as Kun's firstmate: thank you @kesslerio for the update. What changed since my 14:21Z stamp: the head is now Where it stands:
Still waiting on you, warmly: the transcript locks the home with the library directly. Could you also drive the product path end to end: seed a real linked-worktree secondmate home with |
|
@kunchenguid — CI on this PR is 18 of 19 green, and the one red job needs a re-run. Head The fix this PR makes, for the record: the durable-home lock is published in the home's own state dir, so Ask — re-run One limit worth naming: the protected-home path was exercised against GNU git on Linux, not against a desktop workspace manager calling |
|
Speaking as Kun's firstmate: thanks @kesslerio, you're right about the Herdr job. Where it stands at head
Still waiting on you, warmly: the transcript you posted locks the home through the library directly. The one thing I still need is the product path end to end:
Post it here, or re-raise through |
Product path, end to end: seed -> refused removal -> retirementThis is the live trace you asked for, plus one defect it exposed and the minimal fix for it. How the trace was drivenA disposable lab home ( One deliberate stand-in, stated plainly: the second mate's launch command is The transcriptPaths are rewritten to What it shows
The defect the trace exposed, and the fixA real pool keeps the checkout when it returns a slot. Before this fix, retirement left the retired mate's So one ordinary retirement made the pool slot impossible to seed again, and this branch's rollback ownership guard then declined to return a home marked for another mate, which stranded the lease on a mate that does not exist. The slot-poisoning predates this branch; the stranded lease is what this branch's guard added on top. The fix (commit
Suites on the fixed head, on this host: Delivery state, stated plainlyThe fix is committed on this host as
You asked for no rebase and no conflicts from me, so I stopped at the gate rather than resolving that merge for you. Say the word and I will resolve it (the shape I would use: keep upstream's |
|
Status note on The live trace asked for is posted above — seed → The fix clears the payload only after a successful return and refuses any payload path carrying tracked files. Verified: I could not push it through the gate: the branch is rebased onto From 95f0a6cfb97b12dcbf1d285e5879261945a17c61 Mon Sep 17 00:00:00 2001 A real Treehouse pool keeps the checkout when it returns a slot, so a Retirement and seed rollback now clear that payload from the slot once The gotmp fixture builds a home that runs the real teardown, so it now Verified on this host: tests/fm-secondmate-safety.test.sh exits 0 with
|
d495e61 to
a156dba
Compare
[Medium impact] The changes affect secondmate home seeding and retirement, including pooled worktree reuse. Do not merge yet: returning a home still moves the lock that prevents concurrent task creation. Reviews (9) · Last reviewed commit: "no-mistakes(document): Correct manual po..." · Reviewed by Greptile |
|
Speaking as Kun's firstmate: thanks @kesslerio for the update, and for the end-to-end trace on Oct 31. It is exactly the product path I asked for ( What I read: head Contract class (mine): new-default, same as before. On main, seeding never Git-locks a linked-worktree home. With this tip every linked-worktree seed is locked by default, teardown refuses some homes it used to remove, and returned pool slots get their payload cleared. No flag gates any of it. Once the items below are done, this goes to Kun to decide, not auto-merge. VISION: every rule aligns except "A restart is a non-event", which is blocked by the first item below. Waiting on you (author), three things:
Please re-raise through |
8ab74cb to
d4d4edd
Compare
d4d4edd to
e35e217
Compare
|
Speaking as Kun's firstmate: thanks @kesslerio, this round covers a lot. Both Greptile P1s are fixed and resolved: Interrupted retirement cannot retry and Failed return discards home data. A return now stages the payload atomically on the parent's filesystem, and it keeps a recovery record until the retirement records are finalized. Recovery restores the home unless the pool shows the slot was really given away. The Waiting on you for one thing: the new Greptile P2 Manual cleanup keeps old protection on The red |
|
Speaking as Kun's firstmate: thanks @kesslerio. I've added the |
|
Speaking as Kun's firstmate: thanks @kesslerio. The labelled full suite ran on Waiting on you (author), two fixes:
Then re-raise with |
c62d7f5 to
14c84d5
Compare
…dds tests/fm-home-payload-return.test.sh, which lands in the derived portable-serial lane, but no duration hint was added to `portable_serial_weight_hints`. That took the unhinted share from 43/292 (14.7%, passing) to 45/297 (15.2%, failing) in CI. Fix: added `tests/fm-home-payload-return.test.sh 1300` to the hint table in bin/fm-test-run.sh (slowest of five local `bin/fm-test-run.sh` samples: 331-1255 ms, rounded up) and documented the provisional measurement provenance in docs/fm-test-portable-shards.md, matching the doc-owned refresh convention for every other provisional hint. This is the single shared boundary: hints are the one place the guard reads, so the new member is now measured like every sibling serial member. Verified `bin/fm-test-run.sh --check-coverage` now prints `FM_TEST_COVERAGE ok ... serial_unhinted=43 serial_max_ms=1185722 serial_budget_ms=1200000` (exit 0), bin/fm-lint.sh exits 0, and tests/fm-home-payload-return.test.sh, tests/fm-gotmp.test.sh, tests/fm-secondmate-safety.test.sh, tests/fm-documentation-audiences.test.sh, and the coverage-guard cases in tests/fm-test-run.test.sh pass. I deliberately did not raise the stale tests/fm-secondmate-safety.test.sh hint (local 147674 ms vs hint 69424 ms): local timing is not CI evidence and that provisional bump would push serial_max_ms past the 1200000 ms budget, breaking the same guard; per docs/fm-test-portable-shards.md it belongs to a CI timing-artifact refresh. ci-1 (Full suite) is not code-caused: full-suite gate job exits at `if [ "$FM_CI_FULL" != true ]` because this is an outside PR without the maintainer-added full-ci label; its other lanes are skipped, and `FM_CI_LANES_FAILED` was true only because test-coverage (a need) failed. No code change is warranted for that label/attestation gate. Note: tests/fm-session-lock-ancestry.test.sh fails on this sandbox only (`the pty-host was not reparented to init`, ps shows orphans reparent to a subreaper pid 1121, not 1), and that failure also trips the unrelated `--jobs on a proven family must be admitted` case in fm-test-run.test.sh; both files and the library they exercise are untouched by this PR, so this is a host-environment artifact, not a regression
…ry) was code-caused by the test added in this PR, and the prior rounds left that test broken plus an orphaned runner. Root cause found and fixed. Invariant: a home whose slot return has begun must never be left stripped of its payload/identity with its records stranded in staging — either the home is whole again with its owned lock, or a staging record exists that the next entry recovers (and a return that already committed its slot discards the staging instead of restoring payload into a leasable slot). The in-progress implementation already held that invariant at every move/failure/exit path (record written before any move, `fm_home_payload_abort` on every rc!=0, INT/TERM/HUP handler, `fm_home_payload_recover` at both entries: `fm_home_payload_return` and teardown's `validate_firstmate_home_for_removal`, which is the single shared boundary for direct, nested and pooled retirement). No logic change was needed there; I preserved committed=1, trap-restore and recover-before-decide. What was actually broken: `fm_home_payload_return` is a subshell-bodied function, so `f() ( ... ) &` forks twice — the test signalled `$!` (the outer async shell, no traps), which died with default TERM while the real mover kept looping forever (proven: that orphan, reparented to pid 1121, is exactly the ~55-minute runner the last round saw). The home was therefore never restored and the test failed. I killed the leftover orphans from prior rounds and my own repro, then fixed the test to publish `$BASHPID` from the callback and signal the process that installs the restore trap, which is what production does (a terminal/process-group signal reaches the mover). I also bounded every wait, contained the SIGKILL job notice, and extracted `assert_home_restored`/`kill_return` so the recovery assertions are shared. I strengthened the test because the old shape could not tell "recover restores" from "recover just discards": it now kills a return, asserts the home is stripped and staged, calls `fm_home_payload_recover` directly and asserts payload/identity/parent binding/protection/ownership/lease are back and staging is empty, then kills again and proves a retrying return recovers before deciding and leaves the slot clean. Oracles are the PR's stated slot-reusable contract and the library's documented record-before-move contract; a "discard the staging" implementation fails it (verified). It also fails on the base library (verified). Verification (all local, bounded): tests/fm-home-payload-return.test.sh passes 3/3 in ~4s with no leaked processes; tests/fm-secondmate-safety.test.sh rc=0; tests/fm-gotmp.test.sh rc=0; tests/fm-documentation-audiences.test.sh rc=0; bin/fm-lint.sh rc=0; bin/fm-test-run.sh --check-coverage ok (serial_unhinted=43, serial_max_ms=1185722/1200000). tests/fm-teardown.test.sh passed all 14 of its early secondmate/retirement tests before hanging in the unrelated status-archive-publication retry loop (spawns `sleep 0.1` polls); that test and its code path are untouched by this PR, and the hang reproduces as an environment/loop artifact, so I killed it rather than chase it. No changes were made outside the four files in this worktree
…ry queries omitempty verification_blocked? Need actual valid no weird
…s pool reconciliation. Invariant: a pool snapshot only proves that THIS attempt returned the slot when it shows a lease transition - the lease this home held is gone (released, reassigned, or another holder acquired the slot). A slot that was already unleased when the return started (an explicit-path seed that took an existing pool checkout without `treehouse get --lease`) is unleased whether the return succeeded or failed, so it is not evidence, and the home must keep its payload for the retry. That invariant has one owner: fm_home_payload_pool_state's `check` branch, which fm_home_payload_reconcile alone consumes, so every consumer (fm_home_payload_return's own failure recovery, teardown's recovery-before-decide at :2907/:2915 and the pooled/nested/direct retirements, fm-home-seed.sh's rollback and reseed paths, and fm_home_payload_finalize) now holds it without per-caller changes. Change: an unchanged saved entry now always reports 'slot still owed' (restore) instead of 'committed' when it was never leased; a snapshot that was already unleased only reports committed when another holder took the slot; an unchanged held lease and a released/reassigned held lease keep their previous meanings, and a held lease with partial ownership drift still reads as an unreconcilable error rather than a guess. committed=1, the trap-restore, and recover-before-decide invariants are untouched. Also updated the reconcile doc comment and the matching docs/configuration.md contract sentence. Test: added a case to tests/fm-home-payload-return.test.sh that drives an unleased pool entry through a failed return (asserting the home's payload, identity, parent binding, owned lock and receipt are back and staging is empty) and then a successful return (payload/identity/protection cleared, RETIRED=1, staging finalized). Oracle: the documented contract that a failed return puts the whole home back and only a successful return clears the payload; it rejects the pre-fix 'unchanged unleased = committed' behavior - verified by stashing only the library, where the new test fails with 'failed return of an unleased slot reported success', and passes with the fix. Verification (all bounded): tests/fm-home-payload-return.test.sh rc=0 (~36s, no leaked processes); tests/fm-secondmate-safety.test.sh rc=0 (84 ok, 4m14s); tests/fm-documentation-audiences.test.sh rc=0; bin/fm-lint.sh rc=0 (ShellCheck 0.11.0 + actionlint). tests/fm-teardown-endpoint-safety.test.sh refuses to run in this gate worktree because it is not on `main` (environmental guard, not a code failure). No changes outside the three files in this worktree
The P1 fix for interrupted durable-home retirement grew a recovery-record protocol - staged return records, committed flags, incarnation identity, recovery-before-decide at every entry boundary, and pool-state reconciliation - and each review round surfaced deeper races inside that machinery (recovery vs descendant locks, stale committed records vs replacement seeds, unleased-slot evidence). The maintainer's ask was cleanup on interruption; those races exist only because the recovery design exists. This backs the machinery out to the narrow invariant: if the payload move is interrupted before the slot is released, restore the home's payload, identity, ownership and protection so a retry teardown is not refused. INT/TERM/HUP traps cover staging through the owned-lock release and are disarmed before the slot-release command runs, since a signal during "$@" can arrive after the slot is gone and restoring into it would re-mark a leasable checkout. A return killed outright can still strand staging; that residual is documented as out of scope. bin/fm-teardown.sh, bin/fm-home-seed.sh, docs/configuration.md and the test return to their pre-recovery shape; the same-filesystem staging check stays because atomic moves are what make the restore reliable.
The pre-V2 transport migration flow clears a retired home's payload and force-returns its pool slot by hand, but a durable home's Git worktree lock and firstmate-home-lock receipt live in the worktree's administrative gitdir outside the checkout, so both survive the payload clear and the in-place treehouse return. The next seed in that slot then refuses it as foreign-locked or still marked for the retired mate. Document the owned-lock release and receipt removal the guarded return already performs.
The labelled full suite exposed two regressions. The lint lane flagged tests/fm-home-payload-return.test.sh for a missing shellcheck source directive on its lib.sh include. And fm_home_worktree_lock_context resolved the lock parent before checking whether the home is a linked worktree at all, so a caller whose parent directory does not exist failed inside the lock check before teardown reached its earlier leaked-process refusal; the parent is consumed only by the ownership receipt, which exists only for linked worktrees, so resolve it after the .git check and reset the global for non-worktree homes. Two t3code fixtures also never created their FM_HOME parent or its state/ (which payload staging needs), so their worktree homes could not pass the check; create it like every sibling fixture.
14c84d5 to
5fe546d
Compare
…g test, and it was code-fixable in the test itself: tests/fm-live-lab.test.sh, subtest "up re-registers primary trust after a concurrent Claude write" (assertion at line 737, `not ok - primary launched trusted after the rival write (expected 'present', got '')` was the only non-zero exit in shard 11). Invariant violated: the test's stand-in rival writer must drop the home's trust entry only *after* that entry becomes visible, and drop it exactly once, so its store write can never land inside `up`'s read-modify-write or its presence re-check. The rival's wait used `process.exit(j.projects?.[k] ? 1 : 0)` inside `until`, i.e. it stopped on *absence* and fired its deletion on a fixed ~0.55 s timer after test start. Where that timer landed depended on machine speed: too early and the drop happened before registration (so the assertion proved nothing about re-registration); inside `up`'s register/verify cycle (fm-live-lab.sh:592-597) and the retry budget was spent, `up` died with "the lab home's Claude trust keeps disappearing", the primary never launched, and the marker file was absent - exactly the CI `got ''`. I reproduced that signature with the old timer-based drop at several delay offsets (empty `claude-launch-trust` plus the "keeps disappearing" death), and 'absent' at others. The invariant has one owner here: the rival's single wait condition, whose only consumers are `up`'s registration retry loop and the stand-in primary's startup check. Fix is the same small correction at that one boundary: exit 0 when the entry is present so `until` stops on the registration it is meant to race, plus a comment naming the ordering requirement. Nothing else in the file schedules a store write, so no sibling site is left reachable. Verification (all local, bounded): isolated repro of the same subtest with the corrected wait passed 3/3 runs with `launch-trust=present`; tests/fm-live-lab.test.sh passed 2/2 full runs (~73 s each, no leaked processes); bin/fm-lint.sh rc=0 (ShellCheck 0.11.0 + actionlint); bin/fm-test-run.sh --check-coverage ok (serial_max_ms=1195835 of 1200000 budget, membership unchanged). Oracle check: a copy of bin/fm-live-lab.sh reduced to a single registration attempt (`retry<1`) makes the corrected subtest fail (primary never launches trusted), so the test still requires the re-registration path rather than passing vacuously after a pre-registration drop. ci-2 (Full suite) needs no code change: it is the aggregation gate and its log shows `FM_CI_FULL=true` with `FM_CI_LANES_FAILED=true`, failing solely because Behavior portable serial 11 failed (`##[error]A full-suite job failed or was cancelled`). With serial 11 green it passes; there is no independent defect to fix. Change is limited to tests/fm-live-lab.test.sh (+5/-1); no production code, hints, docs, or pipeline state touched
…h:104). Invariant violated: a durable-home payload return must never fail just because the returning parent keeps its state elsewhere and never created its own state/ directory; staging only needs a same-filesystem place to move payload, not a directory the caller already uses. Every pooled, direct, nested, and seed-rollback return funnels through fm_home_payload_return, and its single staging creation was `staging=$(mktemp -d "$parent/state/.home-return.XXXXXX")`, which fails with ENOENT when FM_STATE_OVERRIDE points outside the parent home (e.g. remote secondmate retire passes FM_HOME=FM_ROOT with FM_STATE_OVERRIDE=$TARGET_HOME/state/parent-route), so remove_firstmate_home reported failure and left the slot leased, and seed rollback left its lease held. Fix at that one shared boundary: create the staging parent explicitly (`mkdir -p "$parent/state" || return 1`) immediately before mktemp; nothing else in the return or lock library creates or requires the staging directory, so both production callers (fm-home-seed.sh:628 seed rollback, fm-teardown.sh:3021 pooled/nested/direct retirement) now hold the invariant without per-caller changes. I deliberately did not adopt the alternative 'pass the caller's chosen state directory': in the supported remote-retire setup the effective state dir is inside the very home being retired ($TARGET_HOME/state/parent-route), so staging there would make the later `mv $home/state -> $staging/state` move a directory into its own descendant. Ordinary path re-traced: when $parent/state already exists, `mkdir -p` is a no-op and the move/release/forget/abort sequence is unchanged; when it is absent it is now created, the same-device check still refuses a cross-filesystem parent before any payload moves, and a failure still aborts/restores exactly as before. Test: tests/fm-home-payload-return.test.sh no longer pre-creates "$parent/state"; it creates only the overridden state dir and exports FM_STATE_OVERRIDE, reproducing the reported caller setup through the public return interface (it asserts a return observes a clean slot, preserves ownership on refusal/failure, restores after a handled interrupt, and clears the payload on success). RED before the fix: `mktemp: failed to create directory ... parent/state/.home-return.XXXXXX: No such file or directory` then `not ok - return saw an uncleared slot` (rc=1). GREEN after: rc=0, 3/3 consecutive runs. Verification run locally (all bounded): tests/fm-home-payload-return.test.sh rc=0 (3/3), tests/fm-gotmp.test.sh rc=0, tests/fm-secondmate-safety.test.sh rc=0 (full file, 1m1s), bin/fm-lint.sh rc=0 (ShellCheck 0.11.0 + actionlint, 3 workflows valid), bin/fm-test-run.sh --check-coverage ok (serial_max_ms=1195835/1200000, membership unchanged, test ~1s so no hint change), bash -n and git diff --check clean. No doc change needed: docs/configuration.md and the operational-home-layout skill already state that staging is created under the returning parent's state/; the fix makes that true even when the parent does not otherwise use it. Change limited to bin/fm-home-payload-lib.sh (+4) and tests/fm-home-payload-return.test.sh (+7/-1)
|
Speaking as Kun's firstmate: thanks @kesslerio for rebasing onto main This is back with you (author), not with Kun. Greptile re-reviewed
Please fix both, or reply on each thread explaining why it can't happen, then re-raise once with The one failed lane in the labelled run on this head, Behavior portable serial 11, is the Contract class: new-default, unchanged. Once the P1s are settled and the full suite is green, this goes back to Kun for a merge-or-leave decision. |
A process still running in the home recreates an empty state/ - sourcing fm-wake-lib mkdir -p's the state dir - while the staged move or the slot release is in flight. The restore then refused on "it exists again", stranding the markers and remaining payload in staging so a retry teardown refused the home. rmdir clears only an empty directory, so that bare recreation cannot refuse the restore; a path carrying real new content still hits the refusal.
What Changed
bin/fm-home-worktree-lock-lib.sh, which gives linked-worktree secondmate homes a Git worktree lock backed by a validatedfirstmate-home-lockreceipt binding schema, mate, canonical home, canonical parent, and lock reason; check stays read-only, acquire converges, release keeps the receipt for restoration, and foreign or unknown locks refuse even under--force.bin/fm-home-payload-lib.sh, which clears a retiring home's payload (data/,state/,config/,projects/, and both identity markers) by staging it under the returning parent'sstate/before the slot release, restoring it on failure or a handled INT/TERM/HUP, and discarding the staging only once the return commits; a payload path with tracked files refuses the return instead.bin/fm-home-seed.sh(acquire protection before identity publication, attempt-owned rollback that returns only homes and locks this attempt created) andbin/fm-teardown.sh(lock validation in home removal checks, owned release and receipt forget before return,git worktree removefor locked linked homes, protection restored after a failed removal), with matching docs, a serial hint for the new test, and expanded seed/teardown/payload-return test coverage.Risk Assessment
✅ Low: The changes satisfy the authorized restore contract, preserve ownership checks and nonempty-path refusal, and introduce no substantiated material defects.
Testing
Drove the retirement path end-to-end through the real fleet CLIs (bin/fm-home-seed.sh and bin/fm-teardown.sh) against disposable git worktrees and a marked lab home, with only the external
treehouseboundary stood in for. With the fix, a failed pool return that recreates an empty state/ restores the whole home and the retried teardown retires it; the same run against the pre-fix library reproduces the reported symptom (restore refuses, markers stranded in staging, retry refused as 'not a seeded secondmate home'). A recreated state/ carrying real new content is still refused with the new file preserved, and ordinary pooled retirement still returns a clean slot the next mate leases. The declined task-set-lock split and the already-covered ci-4 (overridden-state) case were not re-litigated; no visual surface exists for this change, so evidence is CLI transcripts and persisted filesystem state.Evidence: Live retirement transcript: failed return recreates an empty state/, restore puts the whole home back, retried teardown succeeds (fixed code)
Source: Live retirement transcript: failed return recreates an empty state/, restore puts the whole home back, retried teardown succeeds (fixed code)
Evidence: Pre-fix contrast: same failure refuses the restore, strands markers in staging and makes the retried teardown refuse the home
Source: Pre-fix contrast: same failure refuses the restore, strands markers in staging and makes the retried teardown refuse the home
Evidence: Adversarial: recreated state/ carrying real new content is still refused, new content preserved, no clobber
Source: Adversarial: recreated state/ carrying real new content is still refused, new content preserved, no clobber
Evidence: Happy path: ordinary pooled retirement returns a clean slot and the next seed leases it
Source: Happy path: ordinary pooled retirement returns a clean slot and the next seed leases it
Evidence: tests/fm-home-payload-return.test.sh on the target commit (rc=0)
Source: tests/fm-home-payload-return.test.sh on the target commit (rc=0)
Evidence: tests/fm-home-payload-return.test.sh against the pre-fix library (rc=1, handled interrupt lost state payload)
Source: tests/fm-home-payload-return.test.sh against the pre-fix library (rc=1, handled interrupt lost state payload)
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
treehouseboundary) was deleted after the runs; the per-run transcripts in the evidence directory record every command outcome, and the change's own regression test (tests/fm-home-payload-return.test.sh) is now the repeatable check for the fixed behavior.ROOT=$PWD MODE=empty EVID=<evidence> bash /tmp/fm-live-payload-restore.sh- realbin/fm-home-seed.sh mate - --no-projectsthen realbin/fm-teardown.sh mateon a disposable code root, git worktree home and marked lab FM_HOME, with thetreehouse returnboundary recreating an emptystate/and failing: attempt 1 exit 1 with the whole home restored (markermate, parent binding,state/alive,data/notes, Git lock, ownership receipt, empty staging), attempt 2 exit 0, worktree and Git admin removedROOT=<checkout with the last commit's bin/fm-home-payload-lib.sh hunk reversed> MODE=empty bash /tmp/fm-live-payload-restore.sh- pre-fix contrast:cannot restore staged payload path state ...; it exists again, marker/state lost, staging.home-return.*stranded, retry exit 1REFUSED: ... is not a seeded secondmate homeROOT=$PWD MODE=content bash /tmp/fm-live-payload-restore.sh- recreatedstate/carrying a real new file: teardown reports the same refusal,state/live.txtsurvives intact, staged payload is not clobbered into the home, staging retained for a later lookROOT=$PWD MODE=clean bash /tmp/fm-live-payload-restore.sh- ordinary pooled retirement returns 0 and leaves the kept checkout with nodata/,state/,config/,projects/or identity markers; a followingbin/fm-home-seed.sh next - --no-projectsleases the same slot withmarker=next, its own Git lock and receiptbash tests/fm-home-payload-return.test.sh(rc=0, 1.9 s) and the same test against the pre-fix library copy (rc=1,not ok - handled interrupt lost state payload)manual snapshot assertions after each teardown attempt on home entries,$gitdir/locked,$gitdir/firstmate-home-lock, marker/parent marker, payload files, route meta,.home-return.*staging and worktree presence✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.