Skip to content

feat: /queue chat skill; dashboard read-only with ★ rank + copy prompt; dashboard input path removed (#640) - #643

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
Contributor

Summary

Closes #640, the human ruling of 2026-11-16: queue.md is maintained by chat only. The design C input path (an issue per tap and a machine-account token in the browser) was overkill. Merge this before the companion PyAutoMind PR, whose regenerated dashboard needs this renderer on main.

  • Removed: dashboard_edit.js, its browser harness and tests, and the page's ★ toggle, Goals editor and 🔑 token panel. The CSP drops connect-src (default-src 'none'), and the one inline script is hash-pinned.
  • Read-only ★ and #n on every task whose prompt is a live queue.md entry. It comes from the planner's own read_queue, moved unchanged to _steer.py and still re-exported from _batch.
  • A copy button on each task, including the Queue box. It reuses the existing Use the start-dev skill. <path> line. The page renders with JS off; only copying needs JS.
  • New skills/queue/ (/queue): a paste in that chat means add to queue, never start dev. Verbs: add (optional note or position), remove, move up/down/top/bottom/to n, show. Routed in COMMANDS.md, the route skill and start_dev's SKILL.md. Writes go through a temporary Mind worktree, scripts/queue_edit.py and prompt_sync_push.
  • The dead batch brief --new goal-provenance code is removed.

Test plan

  • Brain: 2029 passed, 1 skipped. Line counts and firewall pass. Tests cover stars on queued rows only, the copy text, and no API calls in the rendered page.
  • Independent review: FINDINGS. The paste resolution picked the wrong task on real prompts; fixed in the Mind PR, and the skill's push fallback is fixed here (ed23d95). Re-review in progress.

🤖 Generated with Claude Code

Jammy2211 and others added 2 commits November 16, 2026 12:05
…ars and copy (#640)

Human ruling 2026-11-16: the design C dashboard input path is overkill;
queue.md is maintained only through chat.

- Remove the dashboard's write client: dashboard_edit.js, the star toggle,
  the Goals editor, the token panel and its browser harness and JS tests.
  The page now has no network at all: the CSP drops connect-src
  (default-src 'none' covers it) and still pins the one inline script.
- Read-only stars: every task row whose prompt is a live queue.md entry
  shows a star and its rank #n. The rank comes from the planner's own
  reader: read_queue moves verbatim from _batch.py into _steer.py (re-
  exported by _batch), and queue_ranks maps it by basename.
- Copy: every task row, the Queue box included, keeps the existing copy
  button carrying "Use the start-dev skill. <path>" (_prompt_payload).
- batch brief --new: goal provenance (Via: mind-dashboard blame) removed as
  dead code; the human is goals.md's only writer. The goal diff report stays.
- New skills/queue (SKILL.md + queue.md): in a /queue chat a pasted task is
  an add, never start dev; add/remove/move/show through the Mind's
  scripts/queue_edit.py in a detached worktree, prompt_sync_push, then
  lifecycle.py check. Routed in COMMANDS.md, route.md and start_dev's
  SKILL.md; project discovery regenerated.
- Tests: test_intake_dashboard_queue.py (stars on queued rows only, rank is
  the planner's, copy text, no fetch or api.github.com, CSP without
  connect-src, renders without JS), test_queue_skill.py, brief goals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… rebase (#640)

Review finding: when prompt_sync_push is rejected because main moved, the
/queue procedure now re-creates the temporary worktree on fresh origin/main,
re-runs the queue_edit.py verbs and pushes through prompt_sync_push again,
instead of rebasing and pushing by hand. Test pins it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 67a03a9 into main Nov 16, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/queue-by-chat branch November 16, 2026 12:27
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.

feat: queue maintained by chat (/queue skill); dashboard read-only stars + copy prompt; remove the dashboard input path

1 participant