Repository navigation
feat: queue maintained by chat (queue_edit.py); dashboard input workflow removed (PyAutoBrain#640) - #574
Merged
Conversation
…yAutoBrain#640) Human ruling 2026-11-16: the design C input path (PyAutoMind#565) is overkill. queue.md now has one writer, the human in a /queue chat. - Remove .github/workflows/dashboard_input.yml, scripts/dashboard_input.py and tests/test_dashboard_input.py, and their spawn rule and spec row. - policy/github_tokens.md: drop the dashboard input token section and its inventory row; the dispatchable-workflow hardening stays under its own heading. - queue.md header: one writer, chat via /queue. goals.md, REFERENCE.md, batches/AGENTS.md and the dashboard_refresh comments follow. - New scripts/queue_edit.py (show, add, remove, move) so the skill never hand-edits markdown: resolves pasted copy lines, paths, links, titles and whole prompts; refuses refs with no draft/ or active/ prompt; renumbers headings to the planner's rank; remove reuses lifecycle.queue_retire_text (now taking key= and by=) to retire with shelved-as:; a write that adds a lifecycle queue finding is undone. tests/test_queue_edit.py runs lifecycle.py check on a fixture Mind after each edit. - dashboard.html and state.json regenerated with the read-only renderer. - The questions-inbox draft no longer assumes the dashboard input route. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…body (PyAutoBrain#640) Review finding: resolve_prompt took any draft/ or active/ path found in a pasted prompt, so a real prompt that cites another prompt queued the cited task. Resolution now reads only the first non-blank line: (a) the dashboard copy line or a path alone (bare, backticks, GitHub link); (b) a paste opening with "# " matched exactly by title; (c) a one-line basename or exact title. Anything else, an ambiguous title included, is refused with candidates. Tests: a fictional prompt whose body cites three others queues itself; a title-less multi-line paste is refused; and every live prompt in the checkout that cites another resolves to itself or is refused (read at run time, no live strings in the test). 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 half of PyAutoLabs/PyAutoBrain#640, the human ruling of 2026-11-16. Merge after the PyAutoBrain PR, then re-run this PR's dashboard freshness check.
.github/workflows/dashboard_input.yml,scripts/dashboard_input.pyand its test, the spawn rule and spec row, andpolicy/github_tokens.md's dashboard token section and inventory row. The workflow-hardening text keeps its own heading.queue.mdheader: one writer, chat via/queue.goals.md,REFERENCE.mdandbatches/AGENTS.mdfollow.scripts/queue_edit.py: add, remove (vialifecycle.queue_retire_text, which gains optionalkey=/by=; defaults unchanged) and move. A paste resolves from its first line only: the copy line or bare path, then an exact# Title, else it refuses. A prompt body that cites another prompt can no longer queue the wrong task.dashboard.html,dashboard.mdandstate.jsonare re-rendered with the Brain branch's renderer.dashboard-inputlabel andHUMAN_LOGINvariable were already deleted by the lead.Test plan
lifecycle.py checkand the dashboard check are clean.🤖 Generated with Claude Code