Skip to content

fix: dashboard.md epic ledger paths render as literal backticks #653

Closed

Description

@Jammy2211

Overview

On PyAutoMind's dashboard.md, every epic row's ledger: path shows with literal backticks: the row is a one-line <details><summary>…</summary> HTML block and GitHub does not process markdown inside it. The Pages twin (dashboard.html) is already correct. Reproduced on Mind main e1f674429: grep -c '<summary>.*' dashboard.md` → 25.

Plan

  • Render the epic ledger path through the existing summary-label helper so it becomes <code>…</code>, like code spans in the epic title.
  • Do the same for the stray-epic summary's "not in epics.md" note.
  • Add a markdown-page test beside the existing epics ledger fixture.
  • Re-render on a temp Mind worktree and confirm the witness grep prints 0.

Tier: notify — merge mode: auto-merge on green (in-turn wait, then /prm close-out)

Detailed implementation plan

Work Classification: Library (organ: PyAutoBrain)
Worktree root: ~/Code/PyAutoLabs-wt/dashboard-md-epic-ledger-backticks/

Affected Repositories

  • PyAutoBrain (primary)

Branch Survey

Repository Current Branch Dirty?
organs/PyAutoBrain main clean (untracked .worktrees/ only)

Suggested branch: feature/dashboard-md-epic-ledger-backticks

Implementation Steps

  1. agents/conductors/intake/_intake.py render_dashboard (~2417): head += f" — ledger: {_summary_label('' + e['ledger'] + '')}".
  2. Same file (~2431): build the stray-epic summary with _summary_label for the "not in epics.md" text so it renders <code>epics.md</code>.
  3. tests/test_intake_dashboard.py: assert the epics section of the markdown page carries ledger: <code>widgets/results/notes/inference/PROGRAMME.md</code> and no backtick inside any <summary> line.
  4. Witness: pyauto-brain intake dashboard --apply against a temp Mind worktree, grep -c '<summary>.*' dashboard.md` → 0.

Key Files

  • agents/conductors/intake/_intake.py — dashboard renderer
  • tests/test_intake_dashboard.py — dashboard tests

Original Prompt

Click to expand starting prompt

dashboard.md: epic ledger: paths render as literal backticks inside <summary>

Type: bug
Target: PyAutoBrain
Repos:

  • PyAutoBrain
    Themes:
  • dashboard
    Difficulty: small
    Autonomy: safe
    Priority: normal
    Status: formalised
    Consequence: notify
    Witness: after pyauto-brain intake --apply dashboard on the PyAutoMind checkout, grep -c '<summary>.*' dashboard.mdprints 0 (it prints 25 on main at e9c34daa4), and a test in tests/test_intake_dashboard.py asserts an epic row's ledger renders as…` in the markdown page
    Review-minutes: 3
    Unattended: ready
    Lane: any
    Filed: 2026-11-16

The Mind dashboard is generated by PyAutoBrain (agents/conductors/intake/_intake.py),
so the fix lives there; the symptom is on PyAutoMind's dashboard.md.

Reproduce

On PyAutoMind main (e9c34daa4, render current per intake dashboard --check):

grep -c '<summary>.*`' dashboard.md          # 25
grep -o 'ledger: `[^`]*`' dashboard.md | head -2
# ledger: `draft/feature/autofit/nautilus_fast_likelihood_development_epic.md`
# ledger: `draft/maintenance/autocti/cti_upkeep_epic.md`

Every epic row in the Epics section (dashboard.md line ~244 onwards) is a one-line
<details><summary>…</summary> HTML block. GitHub does not process markdown inside an
HTML block, so the ledger path is shown with raw backticks around it on the page the
README links. The same row in dashboard.html is correct
(ledger: <code>draft/…</code>), and the same summary line already uses <code> for
code spans in the epic title — only the ledger is wrong.

Expected

The ledger path renders as code (<code>…</code>), as it does on the Pages twin.

Actual

Literal backticks around 25 ledger paths in dashboard.md. The stray-epic summary
(… queued prompt(s) — ⚠️ not in epics.md``) has the same defect when it fires.

Likely fix location

PyAutoBrain agents/conductors/intake/_intake.py, render_dashboard:

if e.get("ledger"):
    head += f" — ledger: `{e['ledger']}`"          # ~line 2417

Pass it through _summary_label (which escapes HTML and turns code spans into
<code>), i.e. head += f" — ledger: {_summary_label('' + e['ledger'] + '')}",
and do the same for the stray-epic "not in epics.md" summary (~line 2431). Add a
markdown-page assertion next to the existing ledger fixture in
tests/test_intake_dashboard.py (~line 451).

Activity

  1. Jammy2211 commented on Nov 16, 2026

    @Jammy2211
    ContributorAuthor

    Shipped in #655 (merged 08c428a, notify tier, in-turn by shift worker 2026-11-16-pm). Epic ledger: paths in dashboard.md summaries now render as <code>…</code>, and so does the stray-epic "not in epics.md" note. Witness on a temp PyAutoMind origin/main worktree: grep -c '<summary>.*' dashboard.md` gives 0 (main renderer: 25). The new test fails on main and passes on the branch. Independent Sonnet adversary: CLEAN. CI 2/2 green. The live Mind dashboard picks this up at its next render.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions