Skip to content

feat: queue maintained by chat (queue_edit.py); dashboard input workflow removed (PyAutoBrain#640) - #574

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/queue-by-chat
Nov 16, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/queue-by-chat

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

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.

  • Removed: .github/workflows/dashboard_input.yml, scripts/dashboard_input.py and its test, the spawn rule and spec row, and policy/github_tokens.md's dashboard token section and inventory row. The workflow-hardening text keeps its own heading.
  • queue.md header: one writer, chat via /queue. goals.md, REFERENCE.md and batches/AGENTS.md follow.
  • New scripts/queue_edit.py: add, remove (via lifecycle.queue_retire_text, which gains optional key=/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.md and state.json are re-rendered with the Brain branch's renderer.
  • The dashboard-input label and HUMAN_LOGIN variable were already deleted by the lead.

Test plan

  • Mind: 903 passed, including a test that resolves every live prompt citing another to itself. lifecycle.py check and the dashboard check are clean.

🤖 Generated with Claude Code

Jammy2211 and others added 2 commits November 16, 2026 12:16
…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>
@Jammy2211
Jammy2211 merged commit 329f1e7 into main Nov 16, 2026
4 of 5 checks passed
@Jammy2211
Jammy2211 deleted the feature/queue-by-chat branch November 16, 2026 12:28
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.

1 participant