board: render the Heart's gap remedies and its whole-tier plan - #276
Merged
Conversation
The Heart now publishes, per evidence gap, the command that re-runs the check behind it, and one `stale_plan` that closes every current gap (board.json v3). The Readiness & release section renders both: a 📋 row carrying the plan's prompt, a ⌨ row carrying its command chain when the Heart could offer one, and each gap's own command forwarded into the digest and the json surface. Rendered verbatim — the Brain never derives a remedy of its own. The digest spends one line on the tier rather than one per gap, pointing at `pyauto-heart fix stale` when there is no chain to run. A Heart board without the field renders exactly as before. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WY6Q2fZquoDQijLD6PXtAT
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.
The consumer half of PyAutoLabs/PyAutoHeart#177. The Heart now publishes, per evidence gap, the command that re-runs the check behind it, and one
stale_planthat closes every current gap (board.jsonschema v3).What changed
board/_board.py—extract_heart_blockersforwards each blocker'scommand; a newextract_heart_planliftsstale_planintodata["heart_plan"]. The Readiness & release section renders both: a 📋 row carrying the plan's prompt, a ⌨ row carrying its command chain when the Heart could offer one, and each gap's own command in the digest and the json surface.pyauto-heart fix stalewhen there is no chain to run.board/AGENTS.md(the section's source-and-doors row),agents/faculties/vitals/HEART_CAPABILITIES.mdand the vitalsAGENTS.mdrecommendation step — quote the remedy Heart publishes, never compose one.Invariants held
Everything here is rendered verbatim; the Brain derives no remedy of its own, exactly as it already treats the Heart's
/bugprompts and its performance block. A Heart board without the new fields renders precisely as before (heart_planisNone, no extra rows) — covered by a test.Testing
pytest tests/ -q→ 494 passed, including 3 new board tests: the plan's own prompt is the chip payload, a plan with a command chain gets the ⌨ terminal chip, and a board with no plan renders none.Merge after PyAutoHeart#177 so the published surface exists — though nothing here requires it: the fields are optional on the read side.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WY6Q2fZquoDQijLD6PXtAT
Generated by Claude Code