Skip to content

Stop seeding the four task-level agent queues; the rules that read them carry the filter - #4263

Merged
mstomar125 merged 2 commits into
mainfrom
issue-4236-seed
Nov 6, 2026
Merged

mstomar125 merged 2 commits into
mainfrom
issue-4236-seed

Conversation

@mstomar125

Copy link
Copy Markdown
Contributor

Fixes #4236

What changes

  • Core seeds six saved queries, not ten: the three boards (specs, plans, decisions by status) and the three issue queues (Awaiting review, Changes requested, Ready to merge). "Ready tasks", "In progress", "Needs shaping" and "Waiting on you" are not seeded; their ids, templates and filter helpers are gone.
  • SEEDED_AGENT_QUERY_IDS and its filter are deleted from the sidebar store. A store test and a sidebar test assert that every seeded query (ids read from CORE_QUERY_IDS) is listed under Spec, Plan, Decision and Issue. The test that kept the hide list equal to the Rust ids is removed.
  • task-implement-list and task-question-take carry their list as exact JSON: search_nodes arguments for the in-app agent, nodespace query --type task --filters ... --sorting ... --limit N for the CLI. The waiting question is then read in a second step with get_node_context (paths [["blocks"]]) / nodespace node context <id> --path blocks, so the task it blocks comes back.
  • search_nodes advertises the related and permitted filter types, negate, stored, anchor and the nested filter in its item schema (the executor already accepted them; the recipes need them to be callable under the schema). Prompt snapshots regenerated: only stage2_tool_surface and stage2_play_authoring change, by those schema lines.
  • Implementing a Task, Creating a Task, Answering a Question, Diagnosing a Bug and Instrumenting a Change are attached to nothing. Implementing a Task and Answering a Question list search_nodes instead of run_query. Skill text that named the lists as queues (Creating a Task, Implementing a Task, Splitting into Issues) describes the filter. run_query's description no longer uses "Ready tasks" as its example; the shipped CLI guidance uses a seeded queue.
  • change-log.json has one migrate entry for the four removed seeds, with what a database that holds them keeps; current.json regenerated (bun run shape:check passes). No migration or cleanup code.

Tests

  • The four removed definitions are kept as a test fixture (packages/core/tests/fixtures/removed_task_queues.json). Core tests build each as an ordinary saved query and keep their previous behaviour tests (blocked, unapproved plan, rule-refused start, order, waiting, in progress, needs shaping).
  • Agent tests: both forms of both rules equal the fixture definitions as exact JSON; on a seeded fixture the search a rule carries returns the same nodes in the same order as the saved query did (Ready tasks with a blocked task, an unapproved plan, a task a rule would refuse, a started task and a task with no checklist; Waiting on you with another person's question, a finished one and a non-blocking task); a skill's text names only tools in its tools list (nine skills that already named a tool they did not list are recorded by name).
  • Mutation checks (each reverted): re-adding a seventh seeded query, restoring a hide filter, dropping the permitted filter, dropping a sort key from the CLI form, changing the CLI anchor, dropping the anchor from the waiting recipe, removing search_nodes from a skill's tools, re-attaching a skill.
  • use_for / not_for of every skill are unchanged, so the skill retrieval snapshot and its digest are untouched.

Not done here

  • The check on the locked native model (a fresh prompt dump, and the eval scenarios for "what should I work on?" and "what is waiting on me?") needs the model; it is left for the follow-up.

🤖 Generated with Claude Code

mstomar125 and others added 2 commits November 6, 2026 10:48
…em carry the filter

Core seeded ten saved queries. "Ready tasks", "In progress", "Needs shaping"
and "Waiting on you" existed only so that a procedure could ask what is next,
and a list of ten ids hid them from the sidebar along with the three boards and
the three issue queues. They are no longer seeded: six queries remain, each a
view a person can open, and the hide list is deleted.

The rule for listing ready tasks and the rule for taking a waiting question
state the target type, filters and sort as exact JSON, for the in-app agent
through search_nodes and for a shell through nodespace query. The question is
then read with its blocked task in a second step. search_nodes now advertises
the related and permitted filter types, negation, the stored option, the
current-person anchor and the nested filter its recipes use.

Implementing a Task, Creating a Task, Answering a Question, Diagnosing a Bug
and Instrumenting a Change are attached to nothing and found by what they are
for. The skill text that named the lists as queues describes the filter, a
skill that runs a search lists search_nodes in its tools, and a test fails when
a skill names a tool its list lacks. The change log records the four removed
seeds.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@mstomar125
mstomar125 merged commit 807804d into main Nov 6, 2026
@mstomar125
mstomar125 deleted the issue-4236-seed branch November 6, 2026 09:48
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.

Stop seeding the four task-level agent queues: the skills and rules that use them carry the filter

1 participant