Repository navigation
Closed
Description
Overview
Bring the Heart's board (https://pyautolabs.github.io/PyAutoHeart/) to parity with the PyAutoMind dashboard's one-tap pattern — and beyond it. Today the board is read-only: blockers are bare sentences with no links, no copyable Claude prompts, and 8 grey "not observed here (dev-box only)" rows the reader can do nothing with. The pieces already exist: heart/fix.py builds paste-into-Claude prompts nothing surfaces, and ci_status caches the failing run URL the board never shows.
Plan
- Actionable board: structured blockers (
{text, repo, url, prompt}); 📋 copy buttons on the Pages html (mobile-first) copying/bug …prompts; links from each red/yellow row to the repo and the failing Actions run;fix.pyprompt bodies extracted as pure builders and reused by the renderer. - Dev-box rows usable: each grey family explains what it measures + carries a one-tap observe command; new
pyauto-heart publishpushes a distilledstate/devbox_board.json(states/summaries/counts only, no local paths) so the SAME cloud page renders real dev-box data age-stamped ("observed Nh ago on dev box"). - README on the Mind pattern: 4-line organ opening, "How PyAutoHeart works", CLI examples after it, pointers; the auto-updated
heart:begin/endblock becomes a brief strip (new--md-brief); newREFERENCE.mdconsumeshealth_agent/capabilities.md. - Root declutter:
AI_POLICY.md+CONTRIBUTING.md→.github/(zero inbound refs); delete stalehealth_agent/pyautobuild_boundary_audit.md.
Detailed implementation plan
Affected Repositories
- PyAutoHeart (primary)
- PyAutoMind (prompt lifecycle only)
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./PyAutoHeart | main | clean |
| ./PyAutoMind | main | prompt rescope in flight |
Suggested branch: feature/actionable-health-board
Implementation Steps
heart/fix.py: extract pure prompt builders (ci_prompt,drift_prompt,dirty_prompt,timing_prompt); CLI behavior unchanged.heart/dashboard.py:Sectiongainslinks/actions;Boardgains structuredblockers; unobs rows self-describe + copy command;_render_htmlgains 📋 copy buttons (inline clipboard JS) and links, palette untouched;_render_mdgains linked blockers +<details>prompts; newfmt="md-brief";build_board(..., devbox=...)merge with <48h freshness and age stamps;to_dictSCHEMA_VERSION 2;main()--devbox(auto-detectstate/devbox_board.jsonunder--cloud).- New
heart/publish.py+pyauto-heart publishverb: distill local-only families, privacy-scrubbed, commit+push own repo with rebase-retry. .github/workflows/heart-health.yml:--devboxon renders,--md-brieffor the README block, run links in the[heart-health]issue body.- Tests: extend
test_dashboard.py; newtest_publish.py(privacy scrub);test_fix.pyfor the builders. - README rewrite + new REFERENCE.md;
git mv AI_POLICY.md CONTRIBUTING.md .github/; deletehealth_agent/pyautobuild_boundary_audit.md(fix its two self-refs); shrinkhealth_agent/capabilities.mdto a pointer (capabilities.yamlpath untouched — runtime-read by PyAutoBrain health.sh:101).
Key Files
heart/dashboard.py— the ONE renderer (build_board :309, _render_html :745, _render_md :711, to_dict :823)heart/fix.py— existing Claude-prompt buildersheart/checks/ci_status.py— cached failing-runurl.github/workflows/heart-health.yml— daily publisher (Pages + README block + issue)README.md,REFERENCE.md(new),health_agent/capabilities.md
Original Prompt
Click to expand starting prompt
See PyAutoMind/active/actionable_health_board.md (rescoped 2026-08-19 from "One-tap dashboard pattern: roll out to more organs"; carries the verbatim human direction).
Metadata
Metadata
Assignees
Labels
No labels
Activity
Actionable health board: one-tap prompts, links, dev-box publish (#152)
Jammy2211 commentedon Aug 19, 2026
Shipped 2026-08-19 via PR #152 (squash
41f4ced) and verified live:/bug Heart board: …prompts with the failing-run URL; stale evidence copies a/healthre-run nudge), repo +run ↗links, and self-describing grey rows with a copyable observe command.pyauto-heart publishis live: 6 dev-box families are on the page right now, stamped observed 3h ago on the dev box, expiring back to grey after 48h. No local paths leave the machine (test-pinned scrub).--md-briefauto-strip; newREFERENCE.md;AI_POLICY/CONTRIBUTING→.github/; stale audits retired.config/repos.yamlinstead of a literal.Completion record:
PyAutoMind/complete/2026/08/actionable-health-board.md. Follow-up surfaces (complete/ archive page, ideas one-tap intake) filed asdraft/feature/pyautobrain/one_tap_dashboard_more_surfaces.md.Board polish: one-line README strip, dashboard link wording, row-leve…
README: 'Current health' section after the dashboard paragraph (#151) (…