Skip to content

feat: GitHub Page link in the Mind dashboard + Brain board headers - #326

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

Jammy2211 merged 1 commit into
mainfrom
feature/organ-board-github-link

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

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

What

  • Mind tasks dashboard (agents/conductors/intake/_intake.py): the header mdsrc paragraph now reads markdown version · GitHub Page, the second anchor pointing at {home}/blob/main/README.md via the existing link() helper — so it inherits the repos.yaml-derived home and is skipped exactly as today when no home is known.
  • Brain morning board (board/_board.py): adds the sibling boards' header line after the stats strip — markdown version (the board.md twin --apply writes beside index.html) · GitHub Page (https://github.com/{org}/{repo}/blob/main/README.md). collect() now carries the board's own repo name (board_family.get("brain", "PyAutoBrain")) as data["repo"]; the owner is the existing derive_org result.
  • Tests: assertions added to the existing test_html_sections_link_their_markdown_source and test_html_is_self_contained_with_one_tap_payloads; SURFACE_KEYS gains repo.

Stated decision (the Brain board had no markdown version link): the prompt left its header placement to judgement and called the markdown link a separate decision — this PR adds the standard two-link mdsrc line so the Brain board reads like its five siblings, and board.md already exists on the Pages deploy. Rejected alternative: a GitHub Page-only line. Revert to that: drop <a href="board.md">markdown version</a> · from the one added line in render_html.

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

  1. Tests — full suite green: 691 passed (python3 -m pytest -q -x -n auto).
  2. Smoke — n/a: organ repo, no downstream workspace script surface.
  3. Review — CLEAN. Claim dispositions: witness → basis-cited: the six new board-test assertions, all passing; "never a hardcoded owner" → basis-cited: non-test diff has no owner literal (sources: repos.yaml home, derive_org); "segment drops out when identity unknown" → basis-cited: visible guards (if home:, if org and repo).
  4. Heart — verdict STALE (passes the leg; evidence gap is organism-scope, not branch-scope). Stale reasons: PyAutoNerves/PyAutoFit/PyAutoArray/PyAutoGalaxy/PyAutoLens status unknown; test run status unknown (no report.json); install verification not run; no release validation for current source. No YELLOW/RED reasons.
  5. Independent adversary (batch launch, different model from the author) — CLEAN, witness HOLDS: rendered both boards through the real production path (census(PyAutoMind) home; derive_org(repo_homes()) + policy boards.brain) and confirmed the anchor and its README href; confirmed the new repo key breaks no board.json consumer.

Validation checklist

  • pyauto-brain intake --apply dashboard regenerates the Mind dashboard with the new header link (next dashboard refresh does this automatically)
  • brain_board.yml deploy renders index.html with markdown version · GitHub Page in the header
  • Both links resolve 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

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 #325 (one PR per repo).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0167h9uiDYZ1kVnPa2yuAZnB
@Jammy2211
Jammy2211 merged commit 8a06047 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