Repository navigation
fix(bearings): keep active children underway during captain holds - #3505
Merged
Merged
Conversation
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains; the previously reported repository-metadata and child-truncation issues are addressed in the current code. Reviews (3): Last reviewed commit: "no-mistakes(ci): Updated the stock macOS..." | Re-trigger Greptile |
Project each readable home's active children into Underway independently of the home-level captain-decision classification so a hold no longer hides live work.
… 45 Bearings tests, matching the newly added behavioral regression. Verified all 45 tests pass under /bin/bash, Bash syntax checks pass, and git diff validation is clean
kunchenguid
force-pushed
the
fm/fm-bearings-underway-precedence-r1
branch
from
September 2, 2026 08:11
e715190 to
9e1f8bd
Compare
Intent
Project every active child from every readable secondmate home ledger into Bearings in_flight/Underway independently of that home's bearings_state, so an open captain hold no longer drops live children from Underway. Keep the home-level row for decisions and gates: a home with an open captain hold and two active children must yield two Underway rows plus its decision in Captain's Call; a hold-only home still shows the decision and no Underway rows; a children-only home still shows those Underway rows. Update the bearings skill contract if it still describes the old home-state precedence that hid children. Keep the change bash-3.2-safe. Cover it with a behavioral regression through the real snapshot path that asserts observable board output, never implementation-source matching. The stock macOS Bash CI job must expect 45 Bearings tests (the new regression plus the prior 44). Behavior portable serial 1 already passed on the first CI run of this PR; a later cancelled serial-1 check was a provider cancellation, not a failed assertion against the old Underway precedence.
What Changed
Risk Assessment
✅ Low: The change is narrowly scoped, preserves bounded-output disclosures and repository metadata, updates the skill contract, and adds an end-to-end regression through the real snapshot path.
Testing
Executed the targeted Bearings suite under stock macOS Bash 3.2 and confirmed its expected 45 tests, then captured and validated real snapshot output showing a captain-held home simultaneously contributing its decision to Captain's Call and both active children to Underway; the worktree remained clean.
Evidence: Bearings snapshot: captain hold with two active children
Source: Bearings snapshot: captain hold with two active children
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
/bin/bash tests/fm-bearings-snapshot.test.shwith an exact assertion that 45ok -results were emittedFocused execution oftest_active_children_project_independent_of_home_captain_holdthrough the real snapshot path under/bin/bash3.2jqvalidation of the capturedfm-bearings.v1output for two Underway children, one Captain's Call decision, and the home-levelcaptain_decisionstategit status --shortafter cleanup to confirm no transient worktree artifacts remained✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.