feat: dashboard epic grouping + lifecycle-drift flag - #247
Merged
Conversation
Two human-reported problems (PyAutoBrain#246): - Epic members rendered as standalone backlog: prompts may now carry 'Epic: <slug>' (+ optional 'Phase: N') headers; members leave the Start-here pick lists and work-type dropdowns and render only inside their epic's group — resume prompt first, members phase-ordered — in an Epics section moved to the bottom of the page, on both the md and html renders. A member naming an unregistered slug groups loudly rather than silently returning to the backlog. - A fixed-but-never-advanced draft masqueraded as top-priority backlog (the numba psf_weighted_data case: fixed + merged overnight, prompt left in draft/): the census now flags draft prompts whose body carries a line-anchored 'Fix: ... PR #N' as 'needs lifecycle reconciliation' near the top of the page. Line-anchored so prompts merely citing PRs as context never flag. Closes #246. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K21CJX9TAgULDo1fFJtonc
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.
Summary
Both halves of #246, in the intake dashboard generator (
_intake.py, md + html renders):Epic: <slug>(+ optionalPhase: N) headers. Members leave the Start-here pick lists and the Backlog work-type dropdowns (counts adjusted, a note says where they went) and render only inside their epic's group: resume 📋 first, members phase-ordered (phase-less after, by filename), with the start-in-order caution. The Epics section moves to the bottom of the page, after Backlog, so each programme reads as one unit. A member naming an unregistered slug groups loudly under 'Fix: … PR #N/pull/Nas Needs lifecycle reconciliation, rendered above Start here. This is the numba psf_weighted_data failure mode (fixed + merged overnight, prompt left in draft/, dashboard advertised a fixed bug as top-priority backlog — reconciled by hand in Mind 2d7f2367). Line-anchoring keeps context citations (e.g. 'superseded by PR feat: profiling conductor — the Measurement Agent (campaign/ingest/triage) #60') from flagging.Epic:/Phase:are deliberately NOT inHEADER_FIELDS, so their absence never counts as header hygiene.Mind-side follow-up lands direct on Mind main after this merges: nightly cron on
dashboard_refresh.yml+Epic:/Phase:stamps on the source-cluster arc and graphical-ep member prompts (stamps are inert under the old generator, load-bearing under this one).API Changes
None — internal changes only (dashboard renderers + census; the pages regenerate on the next Mind refresh).
Test Plan
tests/test_intake_dashboard.py— 28 passed (6 new: member exclusion + ordering, phase-less fallback, stray-slug loudness, drift flag + non-flagging citation)Generated by the PyAutoLabs agent workflow.