Repository navigation
Description
Overview
Core seeds ten saved queries in every database. Four of them (Ready tasks, In progress, Needs shaping, Waiting on you) exist only so that an agent procedure can ask "what is next?"; nobody opens them. They are hidden from the sidebar by a list of ten ids, and the skills that use them are attached to them. They stop being seeded. Each rule or skill that needs one carries its filter and runs it as an ordinary filtered search. The hide list is deleted, because every remaining seeded query is a view a person can open.
Problem Statement
core_queries.rsseeds tenquerynodes. The sidebar groups saved queries by target type, so they would appear under Task, Issue, Spec, Plan and Decision; a single set of ids,SEEDED_AGENT_QUERY_IDSinsaved-queries.svelte.ts, filters all ten out. Hiding hid the three boards (specs, plans and decisions by status) and the three issue queues along with the four agent lists. The earlier decision to hide was recorded in a closed issue, Rethink the seeded agent-helper saved queries (Ready tasks, In progress, Needs shaping, Waiting on you and the issue queues) #3850, and landed in Hide system subtypes and seeded agent queries from the sidebar; Types and Views rename (#3851 #3850 #3839) #3852; the question it listed first, whether agent-facing lists should be query nodes at all, was not answered by hiding.- The four lists have few callers.
task-implement-list(the agent and CLI variants) calls Ready tasks.task-question-takecalls Waiting on you. In progress and Needs shaping have no rule calling them; only skills are attached to them. No Play uses any of the four. - The in-app agent's
search_nodesalready takes a node type, filters, a sort and a limit and routes through the same query service as a saved query (SearchNodesParams,AgentFilterItem), with the property, content, metadata, relationship, related and permitted filter types, negation, a stored-value option and the current-person anchor. The CLI'snodespace query --type … --filters … --sorting …does the same without creating a node. So the lists can run without a node. - Every skill attachment in the seeds points at one of the ten queries; none is attached to a schema or a project.
Proposed Solution
Decided in ADR-094's 2026-11-03 amendment:
- The four lists are not seeded. The rule or skill that needs one states its target type, filters and sort as exact JSON and runs it with
search_nodes(in-app agent) ornodespace query --type … --filters … --sorting …(shell). - A list that reads context (Waiting on you, which
task-question-takereads with its context) is two steps: a filtered search, then a context read of the item. - Each skill's
toolsnames the search tool its recipe calls. - The three boards and the three issue queues (Awaiting review, Changes requested, Ready to merge) stay seeded. All six are listed in the navigation, and the hide list is deleted.
- Implementing a Task, Creating a Task, Answering a Question, Diagnosing a Bug and Instrumenting a Change lose their attachment and are reached by what they are for.
Documentation
- ADR-094 amendment (2026-11-03) - the decision this implements.
- ADR-092 §7 and §8 - readiness, and which seeded lists exist.
- ADR-099 §4 - the waiting list as a filter.
- ADR-072 - seeded nodes are reconciled by id; the seed table shrinks.
- ADR-104 - the change-log entry for removed seeds.
- Seeded Nodes, Query Node and Node Types - already updated to describe the result.
Architecture Impact
Amends ADR-094 §1, §3 and "The shipped workflow" (done in the amendment above, with ADR-092, ADR-093, ADR-097 and ADR-099 passages that described the four lists as seeded nodes). #3712 and #3734 use the word "queue" in their acceptance criteria; their wording needs checking against this when they restart.
Acceptance Criteria
-
core_queries.rsseeds six queries: the three boards and the three issue queues. The four ids, their templates and their entries inCORE_QUERY_IDSare removed, and the tests that list them are updated. - Each removed list has a recipe (exact JSON) in the rule or skill that used it, and on a seeded fixture the recipe returns the same nodes, in the same order, as the removed saved query did. An equivalence test covers all four, with Ready tasks including a blocked task, an unapproved plan and a task the rules would refuse.
-
task-implement-listandtask-question-take(the in-app andskill-mdvariants) carry their recipe.task-question-takereads the item's context in a second step, and the CLI variant usesnodespace queryandnodespace node context. - Skill text that names these lists as queues (Creating a Task, Implementing a Task, Splitting into Issues) is rewritten to the filter. Their
attached_toentries are removed. - Every skill that runs a recipe lists the search tool in
tools, and a test fails when a skill's text names a tool its list lacks. - Skill retrieval and routing still select the five unattached skills for their scenarios: the skill retrieval snapshot, the confusion matrix and the pinned-candidate tests pass; prompt snapshots are regenerated (
UPDATE_GOLDEN=1) and the diff reviewed. - The tool description of
run_queryanddescription.rsno longer use "Ready tasks" as the example of a queue. -
SEEDED_AGENT_QUERY_IDSand its filter are deleted; the three boards and three issue queues are listed under Spec, Plan, Decision and Issue; a frontend test asserts that every seeded query is listed. The test that keeps the hide list equal to the Rust ids is removed. - Checked on the locked native model with a fresh prompt dump, not only by the eval suite: "what should I work on?" and "what is waiting on me?" each make the recipe call with the correct filters. Eval scenarios cover both.
-
bun run shape:genis run andchange-log.jsonhas entries for the four removed seeds, classified per ADR-104 and stating what a database that already holds the four nodes does.bun run shape:checkpasses. - The CLI guidance changes, so the acceptance criteria cover the skill text as well as the code. Code passes
bun run quality:fix;bun run test:changedpasses.
Technical Specifications
Reference Files
packages/core/src/services/query_service/core_queries.rs- the seed table, ids,CORE_QUERY_IDSpackages/desktop-app/src/lib/stores/saved-queries.svelte.ts-SEEDED_AGENT_QUERY_IDSand its use inloadSavedQueriespackages/agent/src/seeds/rules/agent/task-implement-list.md,task-question-take.mdand theskill-mdcopiespackages/agent/src/seeds/skills/creating-a-task.md,implementing-a-task.md,splitting-into-issues.mdpackages/agent/src/skill_pipeline.rs- skill seeds,toolsandattached_topackages/core/src/ops/query_ops.rs,packages/core/src/agent_params.rs-AgentFilterItem,SearchNodesParamspackages/agent/src/local_agent/tools.rs- therun_querydescriptionpackages/agent/tests/it/workflow_seeds.rs,skill_confusion_matrix.rs,pinned_skill_candidates.rs;packages/core/tests/it/core_queries_test.rspackages/core/shape-record/change-log.json
Implementation Details
The recipe for Ready tasks uses the permitted filter so the Plays remain the only place the blocker and plan conditions are stated. A recipe that only the local model can mishandle is the main risk: each carries exact JSON to copy rather than a description.
Non-Goals
- Removing or retargeting the three issue queues or the three boards
- A visibility flag on query nodes
- How a database created by an earlier build is carried forward (see ADR-104)
Related Issues
- Rethink the seeded agent-helper saved queries (Ready tasks, In progress, Needs shaping, Waiting on you and the issue queues) #3850 (closed; the earlier decision to hide these queries)
- Record each release's built-in shape and classify every change by what it requires of existing databases #4222 (the shape record whose change log records the removal)
Activity
mstomar125 commentedon Nov 6, 2026
Picking this up (sweep drain).