Skip to content

feat(bin): render bearings as a six-column Kanban board - #3

Merged
peterOC26 merged 19 commits into
mainfrom
fm/fm-pretty-bearings-k1
Aug 15, 2026
Merged

peterOC26 merged 19 commits into
mainfrom
fm/fm-pretty-bearings-k1

Conversation

@peterOC26

Copy link
Copy Markdown
Owner

Intent

Pretty Bearings: Kanban view of Ready/Held/Blocked/Under way/Waiting on you/Done. Extend /bearings and /bearings file with Kanban columns derived from live fleet state, not a second task system. Chat digest default; dated markdown under data/status-report-YYYY-MM-DD.md in file mode. Lavish/HTML board out of scope for v1. Columns always render: Ready, Held, Blocked, Under way, Waiting on you, Done. tasks-axi plus live worker state remain the only writers; board is a read-only renderer. No drag second database, no Orca Workspace board sync. Captain-facing prose only; full PR URLs when present. After captain hands-on board walk, implement only this punch-list: Under way truth must not show failed/cancelled needs-a-look wording for live or deliberately paused workers; shield false run failed/cancelled readouts with honest parked/paused progress language. Open PRs must stay visible: an open PR like #2 with failing CI and no approval must appear under Under way as PR open - CI failing or similar, not vanish from all columns and not wait on the captain unless the captain actually needs to review or merge now. Leave Ready and Done alone this pass. Defer secondmate/home id collision polish until there is a secondmate or second repo to inspect. One validation pass after these changes; no more abstract FIX-ALL review loops about placement feel. Acceptance already locally checked against FM_HOME=/Users/zabi/VibeCoding/Firstmate with --include-prs: the two parked/paused ships show parked validation language, PR #2 appears under Under way, and Ready/Done still look sane.

What Changed

  • bin/fm-bearings-snapshot.sh now projects a board_columns + board_items surface onto the existing bounded fleet arrays: the six columns (Ready, Held, Blocked, Under way, Waiting on you, Done) are always declared with their own empty-state sentences, queued gates are classified as ready/hold/blocked from live blocker and hold state, gate bounds are shared round-robin across those columns with per-column omitted[] disclosure, and the main-inventory integrity gate is pinned so it cannot be crowded off the board. The legacy in_flight/decisions_open/landed/gates arrays are retained unchanged as compatibility surfaces.
  • Under way wording no longer misreports parked work or drops open PRs: a failed/cancelled crew state whose source is the run step reads as "parked after validation stop" (genuine failures from any other source keep their needs-a-look cue), and under --include-prs every open PR reaches exactly one column — Waiting on you only when the captain must review or merge now, otherwise Under way with its blocking state (CI failing, checks still running, changes requested, needs an author update), carrying the PR title, full URL, and repo-qualified id.
  • Secondmate holds and home state board honestly: a hold that exists only from a home's own parked/paused/blocked child boards under Held with its real task title (via a fm-fleet-snapshot.sh title fix), unavailable homes board under Blocked, and active_child_work is derived from all holds rather than backlog-only holds. The bearings skill contract, README, and decision-hold docs were rewritten from the old four sections to the six columns, and tests/fm-bearings-snapshot.test.sh grew board-classification, column-bound, PR-routing, and id-collision cases (CI expected count 41 → 51).

Risk Assessment

✅ Low: The final fix round is two small, correctly targeted changes (state re-derivation that removes a false "home unavailable" claim, and a dead .backlog.title fallback replaced with the real backlog title), both traced to their sources and both covered by a new test that genuinely fails before and passes after; the surrounding board projection satisfies every source-verifiable acceptance criterion in the intent and I found no reachable defect.

Testing

Validated the focused Bearings behavior suite plus an end-user CLI projection using live-style fleet fixtures and PR enrichment. No source changes were made; /bearings file markdown persistence remains unexercised because it is skill-level behavior without a local executable renderer.

Evidence: Pretty Bearings CLI projection
--- Pretty Bearings end-user projection ---
schema: fm-bearings.v1
columns: Ready | Held | Blocked | Under way | Waiting on you | Done
[Ready]
- Dispatch next ship — dispatchable queued
[Held]
- Ship after window — after release window
[Blocked]
- Ship after missing dependency — blocked by dependency-x
[Under way]
- parked after validation stop — parked after validation stop
- waiting on upstream vendor release — paused, waiting on something outside the fleet
- peterOC26/firstmate PR 2: Pretty Bearings — PR open - CI failing — https://github.com/peterOC26/firstmate/pull/2
[Waiting on you]
- Nothing needs your action right now, captain.
[Done]
- Landed last week — recent completion
--- machine assertions ---
PASS: six columns, parked/paused wording, open failing PR visibility, Ready, Held, Blocked, and Done placement
network calls:
Evidence: Default TOON projection
schema: fm-bearings.v1
home: bearings-e2e.TMQnXp/home
generated: "2026-08-12T08:00:00Z"
prs: "checked (1 repos, 1 open)"
board_columns[6]{column,empty}:
  Ready,No dispatchable queued work.
  Held,No captain- or time-gated work.
  Blocked,No queued work is waiting on another item.
  Under way,No live workers are under way.
  Waiting on you,"Nothing needs your action right now, captain."
  Done,No recent completions are in the current baseline.
board_items[7]{column,id,summary,owner,detail,artifact}:
  Ready,ready-next,Dispatch next ship,(main),dispatchable queued,"-"
  Held,held-next,Ship after window,(main),after release window,"-"
  Blocked,blocked-next,Ship after missing dependency,(main),blocked by dependency-x,"-"
  Under way,parked-validation,parked after validation stop,(main),parked after validation stop,"-"
  Under way,paused-release,waiting on upstream vendor release,(main),"paused, waiting on something outside the fleet","-"
  Under way,peterOC26/firstmate#2,"peterOC26/firstmate PR 2: Pretty Bearings",peterOC26/firstmate,PR open - CI failing,"https://github.com/peterOC26/firstmate/pull/2"
  Done,done-last,Landed last week,(main),recent completion,"-"
in_flight[2]{id,kind,state,doing}:
  parked-validation,ship,failed,run failed
  paused-release,ship,paused,waiting on upstream vendor release
secondmates: []
decisions_open: []
landed[1]{id,what,artifact,owner}:
  done-last,Landed last week,"-",(main)
gates[3]{id,title,blocked_by,reason,owner}:
  ready-next,Dispatch next ship,"-","-",(main)
  held-next,Ship after window,"-",after release window,(main)
  blocked-next,Ship after missing dependency,dependency-x,"-",(main)
reports: []
recorded_prs: []
candidate_prs[1]{num,repo,title,task,url,review,mergeable,checks}:
  "2",peterOC26/firstmate,Pretty Bearings,fm-pretty-bearings-k1,"https://github.com/peterOC26/firstmate/pull/2","",MERGEABLE,failing
omitted[6]{surface,reveal}:
  backlog item bodies,"--fields bodies"
  task paths,"--fields paths"
  watch/steer actions,"--fields actions"
  healthy endpoint detail,"--fields endpoints"
  full scout-report inventory,"--all-reports"
  superseded queued items,"--all-queued"
- Outcome: ⚠️ 1 warning across 1 run (18m0s)

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

⚠️ **Review** - 1 info
  • ⚠️ bin/fm-bearings-snapshot.sh:339 - under_way_detail maps every failed/cancelled state to "parked after validation stop" unconditionally, while under_way_summary (line 344) only applies the shield when doing matches run (failed|cancelled). State failed is also reachable from the status-log fallback (bin/fm-crew-state.sh:139 via emit "$LOG_STATE" status-log ... at line 583), where the detail is free text. Failing sequence: a crewmate appends failed: worktree gone, work lost, no run is live, so the board renders summary worktree gone, work lost with detail parked after validation stop - a genuine failure is described to the captain as a deliberate park, and the prior failed, needs a look cue is gone (AGENTS.md hard rule 5 and section 9's "a real blocker or failure" escalation). The intent authorized shielding false run failed/cancelled readouts; gating detail on the same condition already used by under_way_summary would keep that shield without covering real failures.
  • ⚠️ bin/fm-bearings-snapshot.sh:320 - pr_captain_action only yields "ready to merge" when mergeable == "MERGEABLE", and pr_under_way_detail has no branch for an approved PR, so an APPROVED PR with passing checks whose mergeable is UNKNOWN falls through every elif to a bare "PR open" under Under way. gh pr list --json mergeable commonly returns UNKNOWN because GitHub computes mergeability lazily for list queries, so a genuinely merge-ready PR can silently never reach Waiting on you and its board row does not even say it is approved. Consider treating APPROVED + passing + UNKNOWN mergeability as an explicit state (either merge-ready, or an Under way detail that names the approval) rather than the generic "PR open".
  • ℹ️ bin/fm-bearings-snapshot.sh:337 - paused now renders as "paused for walk". paused is the declared-external-wait verb (bin/fm-crew-state.sh map_log_state / status_is_paused), so the row asserts a walk-related cause for any declared external wait - e.g. the repo's own fixture task whose reason is "declared external-wait for upstream release" boards as "paused for walk". The replaced wording ("paused on a declared external wait") matched the data; if the captain asked for plainer language, something cause-neutral like "paused, waiting on something outside the fleet" keeps it honest.
  • ℹ️ bin/fm-bearings-snapshot.sh:505 - Under way rows projected from $in_flight always set artifact:"-", even when the task's meta records a PR (.tasks[].pr.url, still surfaced separately in recorded_prs). The intent requires "full PR URLs when present" and the rewritten skill now tells the renderer to render from board_columns/board_items with the legacy arrays as supporting detail, so on the default local-only path (no --include-prs) the board alone carries no URL for a live task that already has a PR. Carrying .pr.url into the Under way row's artifact would close this without touching Ready or Done.
  • ℹ️ .agents/skills/bearings/SKILL.md:87 - The new contract states the six buckets are mutually exclusive and every board item lands in exactly one column, but a task that finished and had its backlog row moved to Done while its meta still exists appears in both Under way (state done -> "finished, awaiting pickup") and Done ($main_done from the backlog record) under the same id. This overlap predates the change (it existed between in_flight and landed); flagging only because the change newly asserts it cannot happen. The intent defers Done polish this pass, so no action is expected now.

🔧 Fix: honest Under way failure detail, unknown-mergeable merge-ready, PR artifact
2 issues (1 warning, 1 info) still open:

  • ⚠️ bin/fm-bearings-snapshot.sh:336 - validation_park still decides "deliberate park vs real wreck" from a substring of free text (.doing | test("run (failed|cancelled)")) rather than from the canonical origin of the state. bin/fm-crew-state.sh only ever emits the literal detail run failed/run cancelled from the run-step path (lines 449-450, 466-467, 490-491, emitted with source: run-step at line 545); a crew-authored failure arrives through the status-log fallback (line 583, emit "$LOG_STATE" status-log ...) with free-form text that bin/fm-brief.sh:257 explicitly instructs crews to write as failed: {why}. Reachable path: a crew appends failed: the validation run failed and the worktree is gone -> state failed, source status-log, detail matches the regex -> the board renders summary AND detail as "parked after validation stop", i.e. exactly the wreck-as-orderly-park masking this round was opened to fix, now in both fields. The canonical snapshot already exposes the exact discriminator: .current_state.source (bin/fm-fleet-snapshot.sh:227-228, used at :471 and :705). Carrying source: .current_state.source into the $in_flight_all row (alongside the new pr key, deleted before output the same way) and requiring source == "run-step" in validation_park would make the shield exact and would not change the captain's already-validated FM_HOME readout, since those parks originate from the run-step path. Note this is a product-semantics call: the fix round's own new test (tests/fm-bearings-snapshot.test.sh:975, printf 'failed: run failed' > parked-task.status) asserts that a status-log line saying "run failed" IS a deliberate park, so tightening the predicate requires deciding that expectation is wrong. No test in the suite exercises the real run-step park (the fakebin no-mistakes stub returns nothing, so every fixture state comes from the status log).
  • ℹ️ .agents/skills/bearings/SKILL.md:67 - The SKILL rewrite deletes the pre-existing file-mode line "For a richer review surface, optionally offer a Lavish board with lavish-axi when the report has enough structure to deserve one, but only after the required digest is ready." The intent says "Lavish/HTML board out of scope for v1", which scopes what this change should BUILD; it does not ask to remove an existing optional affordance that is unrelated to the Kanban projection. Every other line in this hunk is a four-section -> six-column rename, so the removal reads as incidental rather than deliberate. If dropping the Lavish offer is intended, it is a separate product decision worth stating; otherwise restore the sentence with the six-column wording.

🔧 Fix: key validation-park shield on run-step source, not prose
2 issues (1 warning, 1 info) still open:

  • ⚠️ .agents/skills/bearings/SKILL.md:89 - The rewritten contract says "held or unavailable structured-home state is represented through the board's queued or held items", replacing the prior explicit rule that a secondmate's unknown own row "belongs there [Charted Next] as an unavailable-state gate". That claim is false for the unavailable case, and no board item covers it. Concrete path: a registered secondmate whose home cannot be read gets provenance.selected = parent-event-fallback/unknown with queued:[], holds:[], decisions_open:[] (bin/fm-fleet-snapshot.sh:1288-1297); the same for secondmate_current.registry.available == false, which only produces the synthetic (registry) row. board_items is built solely from $gates (which filters select($m.provenance.selected == "structured-home"), bin/fm-bearings-snapshot.sh:461), $in_flight (secondmates only when bearings_state == "active_child_work", line 428), $candidate_prs, $decisions, and $landed — the secondmates array itself is never projected. Since step 2 now tells the renderer to "Render from board_columns and board_items" with the legacy arrays as "supporting detail" (SKILL.md:50) and the contract permits "nothing else structural" (SKILL.md:72), an unreachable secondmate home vanishes from all six columns; only an omitted[] line remains, which is not a column. This is the same failure mode as the captain's "open PRs must not vanish from all columns" punch-list item, applied to secondmate homes. Cheapest fix consistent with the intent: project the non-active_child_work secondmate rows whose state is unknown/externally_held into Blocked (or Held) as board items, or restore the explicit renderer instruction for the secondmates array. Note the intent defers secondmate polish ("Defer secondmate/home id collision polish until there is a secondmate or second repo to inspect") and the captain's FM_HOME currently registers no secondmate, so this may be a deliberate defer — but the contract sentence asserting coverage is wrong either way.
  • ℹ️ bin/fm-bearings-snapshot.sh:481 - The (main-inventory) integrity gate is prepended first in $gates_all (line 440-446) and the file header states the disclosure exists "so the six-column chat cannot claim an empty fleet while main current state is broken". Previously the bound was head truncation ($gates_all[:$gates_n]), so element 0 always survived any bound >= 1. The new per-column share interleaves [ready, held, blocked] via round_robin($gates_n), so the main-inventory item is blocked[0] and is only picked at position 3. With FM_BEARINGS_GATES set to 1 or 2 and at least one Ready and one Held item present, an invalid main inventory now produces no Blocked board item at all — the warning survives only in omitted[]. Not reachable at the default bound of 20, but the suite already exercises FM_BEARINGS_GATES=2 (tests/fm-bearings-snapshot.test.sh:1308), so the low-bound path is a real operating mode. Pinning the (main-inventory) row into $gates ahead of the round-robin share (and excluding it from the Blocked share arithmetic) restores the prior guarantee without changing default output.

🔧 Fix: pin integrity gates so broken-state items never vanish
2 issues (1 warning, 1 info) still open:

  • ⚠️ .agents/skills/bearings/SKILL.md:89 - The rewritten contract line claims "held structured-home state is represented through the board's queued or held items", and the fix round deleted the prior explicit renderer rule ("externally_held belongs in Charted Next"). That claim is false for the child-state half of externally_held, and no board item covers it. Concrete path: a registered secondmate whose structured home has an in-flight backlog row with NO hold:/hold-kind: marker and whose child crew is parked/paused/blocked produces a source:"child-state" entry in holds_all (bin/fm-fleet-snapshot.sh:717-723) and therefore home state externally_held (bin/fm-fleet-snapshot.sh:740). That record is by construction absent from queued_all (bin/fm-fleet-snapshot.sh:654-659 requires current_role == "held", while the child-state branch requires hold metadata to be absent), so it never reaches $m.queued[]. In bin/fm-bearings-snapshot.sh the home then matches nothing: $in_flight_all takes secondmates only at active_child_work (line 428), $integrity_all only at state == "unknown" (line 449), $queued_gates only from $m.queued[] (line 474), and there are no decisions or landed rows. The home appears in no column at all - only in the legacy secondmates array, which SKILL.md:50 now demotes to "supporting detail" while SKILL.md:72 permits "nothing else structural". This is the same vanish-from-every-column failure the captain's punch list and the round-3 fix were opened for; round 3 fixed only the unknown half of the finding it was given. A secondmate whose ship is parked at a validation gate is an ordinary state, not an exotic one. Either project non-active_child_work secondmate rows with state == "externally_held" into Held as board items (mirroring the unknown -> Blocked projection at lines 448-459), or restore an explicit renderer instruction for the secondmates array; the contract sentence is wrong either way. Note the intent defers "secondmate/home id collision polish", which is a different concern than board visibility, and the captain's FM_HOME currently registers no secondmate.
  • ℹ️ bin/fm-bearings-snapshot.sh:494 - Round 3 pinned the whole $integrity_all prefix ahead of the round-robin share, not just (main-inventory): $integrity = $integrity_all[:$gates_n] and $share_n = max($gates_n - |$integrity|, 0) (lines 494-497). $integrity_all now also holds one row per unknown secondmate home, and that set is bounded only by FM_SNAPSHOT_SECONDMATES (default 20, bin/fm-fleet-snapshot.sh:80), which equals the default FM_BEARINGS_GATES of 20 (line 76). Failing sequence: 20 registered secondmate homes are unreachable at once (a shared host/network outage makes every home read time out -> current.state == "unknown"), so $integrity_all has 21 rows, $integrity truncates to 20, $share_n becomes 0, and Ready, Held and Blocked render zero queued items even though the backlog is full - the exact starvation test_gate_columns_keep_their_share_of_the_bound was written to prevent, and one integrity row is silently dropped too. Only the omitted[] lines disclose it. Pinning just (main-inventory) and folding the secondmate integrity rows into the Blocked group of the round-robin share keeps the round-3 guarantee while leaving Ready/Held/Blocked a share at any bound.

🔧 Fix: board held secondmate homes, unpin non-inventory gates
2 issues (1 warning, 1 info) still open:

  • ⚠️ bin/fm-bearings-snapshot.sh:472 - The round-4 held-home projection suppresses on owner instead of on whether the hold is actually represented, so the vanish-from-every-column failure it was opened to fix is still reachable. Concrete path: a secondmate home with an in-flight row carrying NO hold:/hold-kind: marker whose child status is paused: ... gets a source:"child-state" hold (bin/fm-fleet-snapshot.sh:717-723) and home state externally_held (:740). If that same home also has one ordinary queued row, that row reaches $queued_gates with owner = the mate id (bin/fm-bearings-snapshot.sh:460-467), so $gate_owners (:468) suppresses the $secondmate_gates row at :472-473. The board then shows the unrelated queued item under Ready and the parked ship in no column at all - only in the legacy secondmates array, which SKILL.md:50 demotes to supporting detail while SKILL.md:72 permits "nothing else structural". The new test only builds the zero-queue case (tests/fm-bearings-snapshot.test.sh:1120 leaves ## Queued empty), and a mate with both a parked child and queued work is the ordinary configuration. SKILL.md:90 states the invariant that is violated ("a home held on its own work boards under Held whenever its queued items do not already represent it") - an unrelated Ready item does not represent the hold. Earliest exact boundary: the canonical snapshot already labels hold origin, so project $m.holds[] | select(.source == "child-state") as Held gates (id $m.id + "/" + .id) and drop the $gate_owners heuristic - backlog-source holds already reach the board through $m.queued[] with gate hold, so there is no duplication; that changes the id asserted at tests/fm-bearings-snapshot.test.sh:1148 from the home id to the held task id. The intent defers secondmate polish and the captain's FM_HOME registers no secondmate, so deferring is a legitimate call - but then SKILL.md:90 should stop asserting the coverage.
  • ℹ️ bin/fm-bearings-snapshot.sh:496 - Folding secondmate integrity rows into the shared round-robin narrows round 3's "an unavailable home never vanishes" guarantee to (main-inventory) alone. With FM_BEARINGS_GATES at 1 or 2 and Ready/Held items present, round_robin($share_n) (line 503) picks ready[0]/held[0] before the Blocked group, so an unreachable home again produces no Blocked board item and survives only in the board Blocked showing 0 of N omitted[] line. This is the deliberate trade that stops a home flood from zeroing the queued share, it is honestly disclosed, and the default bound of 20 is unaffected - noted so the narrowed guarantee is a recorded decision rather than an assumed one.

🔧 Fix: board child-state secondmate holds by hold origin
3 issues (1 warning, 2 infos) still open:

  • ⚠️ bin/fm-bearings-snapshot.sh:479 - The new $secondmate_gates projection boards every state == "unknown" home under Blocked with the hardcoded detail "secondmate home unavailable", but bearings_state reaches "unknown" for a fully readable, fresh home. Concrete path: a registered secondmate home has an in-flight backlog row x with no hold:/hold-kind: marker, and child x appends needs-decision [key=k]: pick the order. map_log_state maps that to parked (bin/fm-crew-state.sh:136), and the parked/status-log state keeps the keyed decision in hints.open_decisions (bin/fm-fleet-snapshot.sh:469-475). secondmate_home_summary_json folds that status-source decision into $decisions_all (bin/fm-fleet-snapshot.sh:707-709) so home state becomes captain_decision, while holds gets only a source:"child-state" entry. In bin/fm-bearings-snapshot.sh:383-395 the captain_decision re-derivation then finds $captain_holds empty (it requires source == "backlog" and verb == "captain-hold"), active_children empty, and $backlog_holds empty (the only hold is child-state), so it falls through to else "unknown" at line 394. $secondmates_all renders doing as .current.reason // "Current home state unavailable", and .current.reason is null because the summary is valid - so the board shows a Blocked item titled "Current home state unavailable" with detail "secondmate home unavailable" for a home whose own secondmates row simultaneously reports provenance: structured-home, freshness: fresh, and whose parked ship now also (correctly) boards under Held via the round-6 hold-origin branch. That is a false claim of unreadability on a captain-facing column, the same honesty class as the failed/cancelled shielding this punch list was opened for. The snapshot already carries the exact discriminator: a genuinely unavailable or partial-structured home has current.reason set (bin/fm-fleet-snapshot.sh:1244, 1293) and/or provenance.selected != "structured-home", whereas this derived fallback has reason == "-". Keying the Blocked unavailable-state gate on that (rather than on bearings_state == "unknown") keeps round 3's guarantee for real unreachable homes without inventing unavailability. This is a captain-facing classification/wording call, so it needs your decision rather than an automatic rewrite.
  • ℹ️ bin/fm-bearings-snapshot.sh:473 - The new child-state hold board row uses title:((.title // .id) | trunc(60)) as its Held summary, but the upstream title is always the raw task id, never the human title. bin/fm-fleet-snapshot.sh:721 builds it as ((.backlog.title // .id) | trunc(90)) where . is an element of the $tasks argument - and secondmate_home_summary_json is invoked with the raw TASKS_JSON (bin/fm-fleet-snapshot.sh:1349, 1352). task_json_lines emits no .backlog key; that merge happens only in the top-level assembly at bin/fm-fleet-snapshot.sh:1388, which the summary path never reaches. So .backlog.title is always null and the fallback .id always wins. Failing sequence: the round-6 fixture's held ship has backlog title "Ship the mate thing", but its Held board row reads summary: "mate-ship" - a bare id in a column the intent requires to be "Captain-facing prose only". The round-6 test codifies this outcome (tests/fm-bearings-snapshot.test.sh:1160 asserts .summary | contains("mate-ship")), so it is the fix round's claim rather than independent proof. Resolving the title against $backlog.records[] | select(.id == $work.id) | .title in the child-state hold branch makes the dead fallback live and gives the new Held row real prose; the test assertion would then need to check the backlog title.
  • ℹ️ bin/fm-bearings-snapshot.sh:608 - The change adds explicit board <Ready|Held|Blocked> showing X of Y disclosures for the three gate-fed columns only. Under way, Waiting on you, and Done are bounded too ($in_flight_n, $decisions_n, $landed_n, plus the PR row cap), and their truncation is disclosed only under the legacy array names ("in_flight showing 5 of 9", "decisions_open showing ...", "landed showing ...", "candidate_prs showing ..."). Nothing is silently dropped, so this is honest; noting it because SKILL.md:50 now demotes those arrays to "supporting detail" while the disclosure still speaks in their vocabulary, which makes the naming asymmetric rather than incomplete. Recorded as a decision, not an ask.

🔧 Fix: honest secondmate home state, real held-task titles
1 info still open:

  • ℹ️ bin/fm-bearings-snapshot.sh:391 - The new else "no_active_work" fallback correctly stops the false unavailable claim, and its residual gap is narrow and consistent. Reachable path: a registered home has an in-flight row with current_role == "program" (excluded from $active_all at bin/fm-fleet-snapshot.sh:702) whose child's last status line is working: from the status-log source, plus an earlier needs-decision [key=x]. The keyed fold is not cleared (bin/fm-fleet-snapshot.sh:470-475 only clears on run-step/pane or terminal state), so canonical state is captain_decision; in bearings $captain_holds is empty, active_children is empty, and holds is empty (working is not parked/paused/blocked), so $bearings_state is no_active_work, the home's row reads "No active child work" (line 412) and no board item covers the open decision. This matches how bearings already treats main-home status-source decisions - only decision-hold-lifecycle-promoted backlog captain holds reach decisions_open (lines 433-440) - so it is the existing durable-decision boundary rather than a new gap, and the common shape (child parked on a needs-decision) now boards correctly under Held via the round-6 hold-origin branch. Recorded as a decision, not an ask; the intent defers secondmate polish and calls for one validation pass.
⚠️ **Test** - 1 warning
  • ⚠️ .agents/skills/bearings/SKILL.md:23 - The executable snapshot and chat projection are validated end-to-end, but /bearings file report creation/replacement is defined only in the agent skill and has no executable renderer in this phase, so dated markdown writing was not directly demonstrated.
  • bash tests/fm-bearings-snapshot.test.sh
  • Isolated fixture through fm-bearings-snapshot.sh --include-prs --json with machine assertions
  • Isolated fixture through fm-bearings-snapshot.sh --include-prs with captured TOON output
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

peterOC26 added 19 commits August 10, 2026 20:03
@peterOC26
peterOC26 merged commit 146e760 into main Aug 15, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant