Skip to content

feat: explain Heart row impact, remedies and score - #248

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/heart-dashboard-reasons
Sep 30, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/heart-dashboard-reasons

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Heart could paint a workspace checkout red even when readiness did not gate it, and checkout drift received generic bug prompts. Repository observations now carry the exact impact emitted by readiness, with labelled release blockers/warnings versus advisory state and targeted checkout remedies. Drift lists each category and path; release/workspace validation rows gain actions; a “Why this score” disclosure explains capped deductions without changing the calculation.

Source/age is prominent, all reason tiers appear in full Markdown and terminal output, and the systematic prompt consumes complete structured entries. Large inventories show three findings first and disclose the rest. Published dev-box entries keep the existing private-path filter.

PR B of the approved Fable-reviewed plan. Closes #247. PR C (timing presentation and the import false-green fix) remains next.

API Changes

  • Additive readiness repository_reasons and penalties; additive board sections[].entries, penalties, vantage, devbox_observed.
  • Existing blocker severities, score/verdict, stale_plan, performance and md-brief contracts unchanged.
  • Checkout blocker prompts now route behind-origin to a guarded canonical ff-pull/tick and branch/dirty to fix dirty. Brain forwards these verbatim; consumer notice is on feat: explain Heart readiness rows, remedies and score (PR B) #247 and documented in docs/internals.md.
  • fix dirty now diagnoses clean wrong-branch checkouts and resolves grouped canonical paths.

Test Plan

  • 1,081 Heart tests passed.
  • 53 Brain consumer tests and direct generated-payload projection checks.
  • 14 before/after comparisons across both readiness profiles: every pre-existing field identical.
  • Chromium light/dark at 375/390/1280px; no overflow, 44px controls, 200% text, keyboard score disclosure, source labels and structured-action clipboard fallback.
  • In-session diff/visual review; Fable plan review preceded implementation. No independent implementation review claimed.

Heart development override

The human approved the amended three-PR plan, authorized this dashboard task despite RED (“yes go”), then directed PR B to proceed (“ok go”) after PR A merged. This is development authority only; no merge or release is authorized.

Current Heart at 2026-09-30T19:48:11.100352+00:00: RED / 45. Exact RED reason: release validation FAILED (stage integrate). Workspace timeout and generated-front-door manifest warning remain. No failed branch gate is waived and this dashboard change does not repair the integration failure.

Delivery

After a separate human-authorized merge, dispatch heart-health.yml to publish the dashboard, then continue PR C. No automatic merge or background waiter is armed.

@Jammy2211 Jammy2211 added the pending-release Awaiting a published release label Sep 30, 2026
@Jammy2211
Jammy2211 merged commit 7c59414 into main Sep 30, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/heart-dashboard-reasons branch September 30, 2026 19:51
@Jammy2211 Jammy2211 removed the pending-release Awaiting a published release label Oct 7, 2026
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.

feat: explain Heart readiness rows, remedies and score (PR B)

1 participant