Repository navigation
feat(bearings): add task and telemetry metrics to dashboard - #27
Merged
Ivory2024 merged 10 commits intoSep 25, 2026
Merged
Conversation
added 10 commits
September 25, 2026 15:15
…-questions table to bearings board Extend fm-bearings-board.v1 with an optional metrics object (cost caps, cache hit rate, tool error rate, context-read misses, auto-continues, milestone task counts) and an optional underway blocker field. The board renders real values when present and an honest "no data" card when this fleet has no live source for a metric, rather than fabricating a number. Charted Next and Underway rows gain a labeled blocker column, and a new Unanswered Questions table reads directly off captains_call.
…b/workflows/ci.yml` from 59 to 60, matching the CI run’s output. `/bin/bash tests/fm-bearings-snapshot.test.sh` passed locally; `git diff --check` passed. The edit hook reported `yaml-ls` is unavailable; no tool configuration was changed
Ivory2024
added a commit
that referenced
this pull request
Oct 7, 2026
* feat: add cost/cache/error telemetry, blocker columns, and unanswered-questions table to bearings board Extend fm-bearings-board.v1 with an optional metrics object (cost caps, cache hit rate, tool error rate, context-read misses, auto-continues, milestone task counts) and an optional underway blocker field. The board renders real values when present and an honest "no data" card when this fleet has no live source for a metric, rather than fabricating a number. Charted Next and Underway rows gain a labeled blocker column, and a new Unanswered Questions table reads directly off captains_call. * no-mistakes(review): Unify task table, add urgency, correct zero-call rate * no-mistakes(review): Unify task table and fix blocker coverage * no-mistakes(review): Disclose omitted tasks and restore warning alarms * no-mistakes(review): Filter blocker urgency to live dependents * no-mistakes(review): Clarify blocked rows and stabilize urgency tests * no-mistakes(review): Preserve legacy v1 blocker summary compatibility * no-mistakes(review): Preserve uncapped captain hold filing dates * no-mistakes(document): Align Bearings guidance with unified task table * no-mistakes(ci): Updated the Bearings test-count assertion in `.github/workflows/ci.yml` from 59 to 60, matching the CI run’s output. `/bin/bash tests/fm-bearings-snapshot.test.sh` passed locally; `git diff --check` passed. The edit hook reported `yaml-ls` is unavailable; no tool configuration was changed --------- Co-authored-by: irene <irene@ireneui-MacBookPro.local>
Ivory2024
added a commit
that referenced
this pull request
Oct 7, 2026
* feat: add cost/cache/error telemetry, blocker columns, and unanswered-questions table to bearings board Extend fm-bearings-board.v1 with an optional metrics object (cost caps, cache hit rate, tool error rate, context-read misses, auto-continues, milestone task counts) and an optional underway blocker field. The board renders real values when present and an honest "no data" card when this fleet has no live source for a metric, rather than fabricating a number. Charted Next and Underway rows gain a labeled blocker column, and a new Unanswered Questions table reads directly off captains_call. * no-mistakes(review): Unify task table, add urgency, correct zero-call rate * no-mistakes(review): Unify task table and fix blocker coverage * no-mistakes(review): Disclose omitted tasks and restore warning alarms * no-mistakes(review): Filter blocker urgency to live dependents * no-mistakes(review): Clarify blocked rows and stabilize urgency tests * no-mistakes(review): Preserve legacy v1 blocker summary compatibility * no-mistakes(review): Preserve uncapped captain hold filing dates * no-mistakes(document): Align Bearings guidance with unified task table * no-mistakes(ci): Updated the Bearings test-count assertion in `.github/workflows/ci.yml` from 59 to 60, matching the CI run’s output. `/bin/bash tests/fm-bearings-snapshot.test.sh` passed locally; `git diff --check` passed. The edit hook reported `yaml-ls` is unavailable; no tool configuration was changed --------- Co-authored-by: irene <irene@ireneui-MacBookPro.local>
Ivory2024
deleted the
fm/firstmate-bearings-board-dashboard-metrics-20260925
branch
October 10, 2026 12:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
The captain shared a screenshot of a different agent-loop dashboard's layout and said it looks better than the current bearings board and asked to bring what it shows into this repo's dashboard.
The screenshot shows, top to bottom:
What Changed
Risk Assessment
✅ Low: The reviewed changes implement the requested board and snapshot behavior, and I found no substantiated source defects or unrequired components.
Testing
The prior payload records a live board build and HTTP 200 response. Targeted tests were cited for board, renderer, and snapshot behavior, but these scenarios were explicitly marked non-live. Visual inspection was also untested because the prior payload reported no available CUA browser or app.
Evidence: Live board serve check
Evidence: Targeted validation logs
Source: Targeted validation logs
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 3 issues found → auto-fixed (7) ✅
.agents/skills/bearings/assets/board-template.html:870- The required criterion is: “A task table titled ‘태스크 (M3)’ with columns ID, 상태 (state: done/doing/todo), 제목 (title), and blocker, listing every task in the current milestone.” The change still renders separate Underway and Charted Next sections; the newly added question rows at this location do not merge those lists or provide the required task table. The accepted branch decision also specified that R1a must unify them. Resolve this intent gap before treating the change as conformant..agents/skills/bearings/assets/board-template.html:870- The required criterion is: “An ‘미답변의 질문’ (unanswered questions) table with columns ID, 긴급도 (urgency), 질문 (the question), and 기본 행동 (default action taken if unanswered).” The new rows render ID, question, and default action but omit urgency; the changed skill guidance at lines 114–115 explicitly says the table has no urgency column. The accepted branch decision required optionalfiledandblockingfields on call items and an urgency derived from those fields, with-when filed is absent; neither field nor that computation is implemented. This is a required behavior gap, not a request to invent severity data..agents/skills/bearings/assets/board-template.html:537- With a valid payload containingtool_error_rate: {"errors":0,"total":0}, this branch renders0 / 0 (0%). With no calls, the rate is undefined. The accepted branch decision required showing the rate as unavailable while retaining the real counts; render an unavailable rate for zero total. The added metric test covers only a positive total and does not exercise this case.🔧 Fix applied.
6 issues (3 errors, 3 warnings) still open:
.agents/skills/bearings/assets/board-template.html:870- The required criterion is: “A task table titled ‘태스크 (M3)’ with columns ID, 상태 (state: done/doing/todo), 제목 (title), and blocker, listing every task in the current milestone.” The change still renders separate Underway and Charted Next sections; the newly added question rows at this location do not merge those lists or provide the required task table. The accepted branch decision also specified that R1a must unify them. Resolve this intent gap before treating the change as conformant..agents/skills/bearings/assets/board-template.html:870- The required criterion is: “An ‘미답변의 질문’ (unanswered questions) table with columns ID, 긴급도 (urgency), 질문 (the question), and 기본 행동 (default action taken if unanswered).” The new rows render ID, question, and default action but omit urgency; the changed skill guidance at lines 114–115 explicitly says the table has no urgency column. The accepted branch decision required optionalfiledandblockingfields on call items and an urgency derived from those fields, with-when filed is absent; neither field nor that computation is implemented. This is a required behavior gap, not a request to invent severity data..agents/skills/bearings/assets/board-template.html:537- With a valid payload containingtool_error_rate: {"errors":0,"total":0}, this branch renders0 / 0 (0%). With no calls, the rate is undefined. The accepted branch decision required showing the rate as unavailable while retaining the real counts; render an unavailable rate for zero total. The added metric test covers only a positive total and does not exercise this case..agents/skills/bearings/assets/board-template.html:740- The required criterion is “listing every task in the current milestone.” The new table is populated only fromdata.underwayanddata.charted(template lines 740–745 and 812–830); when charted rows are truncated, it shows only acharted_morecount. No milestone-wide task set is rendered, so the table cannot establish that it lists every milestone task. Please decide how to supply the complete milestone task set while preserving the instruction not to fabricate milestone data.bin/fm-bearings-snapshot.sh:522- The review fix round’s newblockingprojection checks whether another record hashold_bucket == "live"(main: line 522; secondmate call items: line 532; revealed secondmate holds: line 543). That limits matches to other live captain holds. A concrete miss is a captain-hold decision referenced by an ordinary queued record’sunresolved_blocker_ids: that dependent record has no live captain-hold bucket, so the decision’sblockingbecomes false and its urgency can be understated. Check the actual dependent live records instead of requiring theirhold_bucketto belive..agents/skills/bearings/assets/board-template.html:364- The review fix round adds hiddenbb-chartedandbb-underwaycontainers and continues rendering a parallel copy of both lists into them, while the visible task table is also populated from those arrays. These hidden copies are not needed for the merged table or dispatch selection, which now queriesbb-tasks. Remove the duplicate hidden render paths as the smallest simplification; this is a non-functional change beyond the requested visible table, so the remedy needs authorization.🔧 Fix applied.
7 issues (4 errors, 3 warnings) still open:
.agents/skills/bearings/assets/board-template.html:870- The required criterion is: “A task table titled ‘태스크 (M3)’ with columns ID, 상태 (state: done/doing/todo), 제목 (title), and blocker, listing every task in the current milestone.” The change still renders separate Underway and Charted Next sections; the newly added question rows at this location do not merge those lists or provide the required task table. The accepted branch decision also specified that R1a must unify them. Resolve this intent gap before treating the change as conformant..agents/skills/bearings/assets/board-template.html:870- The required criterion is: “An ‘미답변의 질문’ (unanswered questions) table with columns ID, 긴급도 (urgency), 질문 (the question), and 기본 행동 (default action taken if unanswered).” The new rows render ID, question, and default action but omit urgency; the changed skill guidance at lines 114–115 explicitly says the table has no urgency column. The accepted branch decision required optionalfiledandblockingfields on call items and an urgency derived from those fields, with-when filed is absent; neither field nor that computation is implemented. This is a required behavior gap, not a request to invent severity data..agents/skills/bearings/assets/board-template.html:537- With a valid payload containingtool_error_rate: {"errors":0,"total":0}, this branch renders0 / 0 (0%). With no calls, the rate is undefined. The accepted branch decision required showing the rate as unavailable while retaining the real counts; render an unavailable rate for zero total. The added metric test covers only a positive total and does not exercise this case..agents/skills/bearings/assets/board-template.html:740- The required criterion is “listing every task in the current milestone.” The new table is populated only fromdata.underwayanddata.charted(template lines 740–745 and 812–830); when charted rows are truncated, it shows only acharted_morecount. No milestone-wide task set is rendered, so the table cannot establish that it lists every milestone task. Please decide how to supply the complete milestone task set while preserving the instruction not to fabricate milestone data..agents/skills/bearings/assets/board-template.html:364- The review fix round adds hiddenbb-chartedandbb-underwaycontainers and continues rendering a parallel copy of both lists into them, while the visible task table is also populated from those arrays. These hidden copies are not needed for the merged table or dispatch selection, which now queriesbb-tasks. Remove the duplicate hidden render paths as the smallest simplification; this is a non-functional change beyond the requested visible table, so the remedy needs authorization..agents/skills/bearings/assets/board-template.html:764- The required criterion is “listing every task in the current milestone.” The fix round now renders only the rows present indata.underwayanddata.charted, but the snapshot producer bounds those inputs by default (bin/fm-bearings-snapshot.sh:634caps in-flight rows and:644caps gates). For example, with more than 10 in-flight rows or 20 gates, the remaining tasks do not reach these loops; the changed table also no longer shows an omitted-row count. The same gap affects both render paths: underway at.agents/skills/bearings/assets/board-template.html:719and charted at:764. Please resolve the complete-task-set source or ensure this board receives unbounded snapshot data before claiming the table lists every task..agents/skills/bearings/assets/board-template.html:786- The charted loop renders fleet-integrity warnings as ordinary “대기” task rows, even thoughkind: "warning"identifies alarms rather than work. For example, amain-inventorywarning now appears under “태스크 (M3)” as a waiting task;chartedQueuedexcludes it from the queued count at:470, but the table gives it no repair-warning label at:786. This fix round removed the prior “needs repair” distinction. Please decide how warning rows should remain distinguishable from milestone tasks while satisfying the requested table layout.🔧 Fix applied.
1 warning still open:
bin/fm-bearings-snapshot.sh:522- The newblockingprojection does not consistently mean “another live task lists this task id.” Main-fleet records at this line includestate: done, so a completed record retaining an unresolved dependency can mark its blocker as blocking and incorrectly raise urgency. The secondmate siblings atbin/fm-bearings-snapshot.sh:532and:543inspect only$m.queued; that projection is capped atfm-fleet-snapshot.sh:1127and excludes ordinary active work at:998-1000, so a live dependent outside the subset is missed. Filter main records to live states and derive secondmate blocking from a complete live-record source.🔧 Fix applied.
3 warnings still open:
.agents/skills/bearings/assets/board-template.html:725- A realin_flightrow withstate: "blocked"and noblockeris rendered as “진행중” with “-” in the blocker column. The supported sequence is documented bytests/fm-bearings-snapshot.test.sh:2103-2110: a blocked child can remain inin_flightwithout appearing indecisions_openorgates, and the composer guidance at.agents/skills/bearings/SKILL.md:118only suppliesblockerwhen structured text exists. This contradicts the required mapping that only non-blocked underway states render as “진행중”; decide how a blocked state without blocker text should be labeled.tests/fm-bearings-board-render.test.sh:235- The new urgency test expects a question filed on2026-09-25to remain “보통” (:235,:251), but the renderer calculates age fromDate.now(). Once that date is at least three days old, the same test will expect “높음” and fail. Make the fixture date relative to the render time or otherwise stabilize the clock-dependent assertion..agents/skills/bearings/assets/board-template.html:271- Simplification: the change adds.bb-row__blockerand.bb-row__blocker--nonestyles, but the merged task renderer applies neither class; blocker cells are plaintdelements atboard-template.html:727and:794. No requirement needs these unused styles; remove them to eliminate dead CSS.🔧 Fix applied.
1 warning still open:
bin/fm-fleet-snapshot.sh:1388- The newblocking_referencesfield is required while the summary remainsfm-secondmate-home-summary.v1. An existing v1 summary produced before this change lacks the field, so a parent snapshot or home-summary refresh rejects it as malformed and loses that secondmate's data. The same new requirement appears atbin/fm-home-summary-refresh.sh:168. Preserve compatibility with existing v1 summaries, or version and handle the contract transition explicitly; when the field is absent, do not silently claimblocking: false.🔧 Fix applied.
1 warning still open:
bin/fm-bearings-snapshot.sh:531- The fix-round 4 urgency projection still loses the durable date for secondmate holds whendecisions_openincludes a hold that falls beyond the independently capped$m.queuedlist. For example, withFM_SNAPSHOT_SECONDMATE_QUEUED=2and a captain hold ranked after those two queued rows but within the decisions cap,filedbecomes null even though the full source record has.since; the renderer then shows-for that question's urgency. The sibling all-decisions path also reads.sinceonly from the capped$m.queuedatbin/fm-bearings-snapshot.sh:544. Carry the date from an uncapped structured source into both projections.🔧 Fix applied.
✅ Re-checked - no issues remain.
bash tests/fm-bearings-board.test.shbash tests/fm-bearings-board-render.test.shbash tests/fm-bearings-snapshot.test.shbash tests/fm-bearings-board-lavish-live-e2e.test.shBuilt an isolated representative board withbin/fm-bearings-board.sh build; verified its Lavish session and HTTP 200 response; ended the session and removed the temporary board.Checked CUA browser and app inventory; no visual surface was available.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.