Repository navigation
fix: dashboard Recent lists a planned task once, not as row + draft - #654
Merged
Merged
Conversation
recent_events promises one row per task, but a planned.md row and the draft its `prompt:` names were both listed. Keep the later-dated of the pair (a tie keeps the planned row); an undated planned row hides nothing. Closes #652 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
The Mind dashboard's Recent feed listed a planned task twice: once as its
planned.mdrow and once as the draft prompt its- prompt:names.recent_eventspromises one row per task on its latest date, and three of the 50 rows were duplicates on live Mind. Now only the later-dated of the pair is listed. A tie keeps the planned row, which is the more specific event and has its own copy payload. An undated planned row is not in the feed, so it hides nothing.Closes #652
API Changes
None. Internal renderer behaviour only (
agents/conductors/intake/_intake.pyrecent_events).Test Plan
tests/test_intake_dashboard.py: one row per pair; later date wins in both orders, and a tie keeps the planned row; an undated planned row keeps its draft. The first two fail on main; the third is a guard and passes on main.tests/test_intake_dashboard.py: 104 passed.['hpc-keep-off-home-phase-b', 'interferometer-primary-beam-persistence-mirror', 'delaunay-nn-numba-remeasure'], the branch prints[]. The feed stays at 50 rows; the 3 freed slots go to the next drafts.Validation checklist (--auto run — plan was not pre-approved)
--autothe ship sign-off is decide-and-flag, hencedecision-taken: the human merges.PYAUTO_MIND/PYAUTO_BRAIN/PYAUTO_SHIFT_*env unset. With that env set it leaks into hermetic tests: 6 failures and 10 errors, pre-existing. Twotest_prompt_budget.pynode cases fail identically on main 678dba7: pre-existing, not touched by this diff.--dev --repos PyAutoBrainGREEN (organism RED on local-checkout rows, acknowledged in the shift brief).Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code