Skip to content

feat: GitHub Page link in the Heart dashboard header - #194

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/organ-board-github-link
Sep 1, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/organ-board-github-link

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Part of PyAutoLabs/PyAutoBrain#325 (six organ boards, one PR per repo). Batch 2026-08-31-pm member organ-board-github-link, --auto at effective level safe.

What

heart/dashboard.py: the verdict line's muted span now reads … · markdown version · GitHub Page, the new anchor pointing at https://github.com/{owner}/PyAutoHeart/blob/main/README.md. The repo name is derived from PAGES_URL, the owner from the declared config surface (REPO_OWNERS, from config/repos.yaml — PyAutoHeart lists itself under repos.organism); the segment drops out on a tenant whose config does not list this repo. Assertion added to the existing tests/test_dashboard.py::test_html_is_self_contained.

Autonomous-ship gate (AUTONOMY.md, five legs)

  1. Tests — full suite green: 657 passed (with the shared theme checkout reachable via PYAUTO_BRAIN).
  2. Smoke — n/a: organ repo, no downstream workspace script surface.
  3. Review — CLEAN. Dispositions: witness → basis-cited: the new exact-string assertion, passing; "never a hardcoded owner" → basis-cited: owner read from REPO_OWNERS, no literal in the non-test diff; "drops out when identity unknown" → basis-cited: visible if gh_owner guard.
  4. Heart — verdict STALE (passes the leg; organism-scope evidence gap, not branch-scope): library statuses unknown, test-run/install/release-validation evidence absent in this container. No YELLOW/RED reasons.
  5. Independent adversary (different model from the author) — CLEAN, witness HOLDS: rendered the live board and specifically tried the most likely silent failure (Heart absent from its own polled-repo registry) — config/repos.yaml repos.organism carries PyAutoHeart / PyAutoLabs, and the PAGES_URL parse yields exactly that key.

Validation checklist

  • Next heart-health publish renders the dashboard with markdown version · GitHub Page in the verdict line
  • The link resolves from the published Pages board

Merge is a human act — this run ends at PR-open.

🤖 Generated with Claude Code

https://claude.ai/code/session_0167h9uiDYZ1kVnPa2yuAZnB


Generated by Claude Code

claude added 2 commits August 31, 2026 19:13
Add a "GitHub Page" anchor beside the board's "markdown version" link,
pointing at this repo's README.md on github.com — the way back from the
Pages-hosted board to the repository front door. The href is derived
from the generator's existing identity surface, never a hardcoded
owner; the segment drops out when that identity is unknown. Asserted
in the generator's existing board test.

Part of the six-board task PyAutoLabs/PyAutoBrain#325 (one PR per repo).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0167h9uiDYZ1kVnPa2yuAZnB
The tenant firewall (repos_sync.py --check, run by this repo's pytest
workflow) flags a new 'PyAutoLabs' literal in organ code; read the owner
from the same declared config surface the renderer uses instead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0167h9uiDYZ1kVnPa2yuAZnB
@Jammy2211
Jammy2211 merged commit 5eb530c into main Sep 1, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/organ-board-github-link branch September 1, 2026 19:35
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.

2 participants