Skip to content

Skills that carry create_task are not routed for a request to get a bug tracked as work (eval:tasks bug-created-ready and bug-diagnosed fail 0 of 6) #3830

Not planned

Description

@malibio

Problem

Two scenarios of eval:tasks, bug-created-ready and bug-diagnosed, fail on the locked E4B on every rep (both end with expected exactly one task to be created, got 0). They ask for the same outcome: a task for the bug, in Query engine rewrite. The closed #3784 measured the procedure as 5 to 7 tool calls, which is where E4B stops, and an earlier version of this issue treated these two as procedure-following failures. The 2026-11-16 re-run shows they do not get that far: the skill that carries create_task is never in the routed candidates, so the tool the procedure needs is never offered.

What the traces show

Run on main (24ce7f8): eval:tasks --only bug-created-ready,bug-diagnosed --runs 3, gemma-4-e4b-q4km, CPU only, n_ctx 32768, isolated database purged between reps. 0 of 6 pass, and all six reps are identical in routing and tools.

Scenario Stage 1 query Skills routed Calls create_task offered
bug-created-ready "mark the checklist item for Query engine rewrite release branch as work to be tracked" Graph Editing, Schema Creation, Node Creation, Instrumenting a Change update_task_status on the done task, to In Progress no
bug-diagnosed "find out why a checklist box on the release branch is unticked after being marked done and write up what was found as work in Query engine rewrite" Play Workflow State, Graph Editing, Schema Creation, Addressing Review Findings get_node, then a reply stating what it read no
  • bug-created-ready: Stage 1 turns "get that tracked as work" into "mark ... as work to be tracked", and the agent reads that as the nearest single operation, a status change on the task it was shown (the second reading noted on this issue: reopening a done task with an unticked box is a defensible reading of "something is off"). A request to track a bug as work still must not change the status of the task it names.
  • bug-diagnosed: the earlier GPU trace routed it sensibly and the turn still ended after the read with "I will now write up ..."; the reply guard added for created records does not see that. On CPU it does not get that far because of the routing below.
  • CPU caveat: retrieval scores are embedding numerics, so near ties can order differently from the earlier GPU runs; no GPU control has been run.

Why it does not route (measured on the embedding model alone)

find_skills returns the best tool skills and then the single best procedure skill. Creating a Task, the skill that owns create_task, is second by a hair on both Stage 1 queries:

  • query 1: Instrumenting a Change 0.928, Creating a Task 0.926 (Diagnosing a Bug is far behind)
  • query 2: Addressing Review Findings 0.961, Creating a Task 0.955, Diagnosing a Bug 0.920 (fifth)

What was tried, with the trial-wording mechanism and then the confusion matrix (details in #4279):

  • Broad wording on Creating a Task ("track something as work ... raise it as a task ... log it") wins both queries but lifts it by up to 0.06 on every request that names a task, so five recorded matrix rows are lost.
  • Narrow wording on Creating a Task moves the tie to "raise the unticked checklist box ... as a task" and "create a task for Priya ...", which it then loses.
  • A not_for on Addressing Review Findings ("Find out why something happened, or write up what was found as a new task or bug.") wins query 2 by 0.008 with no other recorded row lost. This is Keep Addressing Review Findings from leading requests to find out why and write it up as work (#3830) #4279.
  • A not_for on Instrumenting a Change wins query 1 by 0.001 over Reviewing a Task: not robust, not claimed.

So wording can fix bug-diagnosed's routing and not bug-created-ready's. Query 1's problem is upstream, in how Stage 1 rewrites the request.

Open

  • Query 1: decide how a request to get something tracked as work reaches Creating a Task when Stage 1 rewrites it as "mark ... as work". Options: a Stage 1 rule that keeps the verb ("track", "raise", "log") for such requests, or putting the skills that carry create_task among the candidates for those intents. Both are routing changes in packages/agent and need Michael's review. Measure on both CPU and GPU.
  • Once routed, re-run both scenarios over several reps with the cost-side controls (the suite's other scenarios and question-blocks-task) to see whether E4B follows the 5 to 7 call procedure.
  • A reply that promises a write ("I will now write up ...") is not accepted as the end of a turn that made none.
  • A request to track a bug as work does not change the status of the task it names.
  • A baseline tier of direct operations is missing from this eval (and eval:agent covers only part of it: marking a record signed off, correcting a field, a due date, resolving an incident; not ticking one checklist box or setting a named task's status through update_task_status). Proposed scenarios, not yet added because a CPU run costs 5 to 9 minutes a turn: (1) tick the changelog box on Cut the release branch; (2) mark Review the index design as in progress; (3) reopen Cut the release branch (the explicit counterpart of what bug-created-ready does unasked); (4) add the checklist item "Confirm the rollback plan" to Review the index design.

Notes

Activity

  1. malibio commented on Oct 15, 2026

    @malibio
    CollaboratorAuthor

    Frontend: 5910 passed

  2. self-assigned this
    on Oct 15, 2026
  3. malibio commented on Nov 16, 2026

    @malibio
    CollaboratorAuthor

    Note for later, on what these scenarios ask of the model.

    bug-created-ready and bug-diagnosed are the hard tier. The user states an intent ("get that tracked as work", "write up what you find as work") and the agent has to turn it into a procedure: find the project, write a brief and checklist, create the task and link it. #3784's close-out measured that as 5 to 7 tool calls, which is where E4B stops. bug-created-ready is also open to a second reading: the described task is done with an unticked box, so reopening it is a defensible reading of "something is off", though the scenario scores it as a failure.

    A baseline tier of direct operations is missing from this eval, as far as the fixtures show: the user names the operation and the task, and one or two calls finish it. For example "one box on the checklist of is still open, mark it checked", or setting a named task's status. These match how someone who has opened NodeSpace to run NodeSpace operations will usually phrase a request, and they would show whether E4B handles single-step writes at all before the procedure scenarios are held against it.

    Not yet checked: whether eval:agent already covers direct operations like these. If it does, this eval is simply the stretch tier and the baseline exists elsewhere. If it doesn't, the baseline scenarios are a gap, and this issue may be better rewritten around a simple case than closed.

    Also unmeasured: #3838 (create_task) merged after the last runs, so bug-created-ready and bug-diagnosed have not been re-run since.

  4. removed their assignment
    on Nov 16, 2026
  5. self-assigned this
    on Nov 16, 2026
  6. mstomar125 commented on Nov 16, 2026

    @mstomar125
    Contributor

    Picking this up: handed over by the previous assignee on 2026-11-16.

  7. mstomar125 commented on Nov 16, 2026

    @mstomar125
    Contributor

    Re-run of the two scenarios, as asked, on current main (eval commit 24ce7f8). Result: 0 of 6 reps pass, and the evidence points upstream of the procedure.

    Conditions. eval:tasks --only bug-created-ready,bug-diagnosed --runs 3, model gemma-4-e4b-q4km (gemma-4-E4B-it-Q4_K_M.gguf), CPU only (0 of 43 layers offloaded, the daemon has no thread setting and used 10), n_ctx 32768, temperature 0.1, isolated daemon and database (NODESPACE_HOME), database purged and daemon restarted between reps, prompt dump on. Each turn took 5 to 9 minutes on CPU: the first inference round is a cold prefill of a 72k to 83k character prompt.

    Rep Scenario Stage 1 query Skills routed Tool calls create_task offered Result
    1, 2, 3 bug-created-ready "mark the checklist item for Query engine rewrite release branch as work to be tracked" Graph Editing, Schema Creation, Node Creation, Instrumenting a Change update_task_status (Cut the release branch to In Progress) no fail: 0 tasks created, the done task was reopened
    1, 2, 3 bug-diagnosed "find out why a checklist box on the release branch is unticked after being marked done and write up what was found as work in Query engine rewrite" Play Workflow State, Graph Editing, Schema Creation, Addressing Review Findings get_node, then a reply that states what it read no fail: 0 tasks created

    All six reps are identical in tools, routed skills and failure, so retrieval is deterministic here and extra reps add little.

    What this shows.

    • create_task is carried only by Creating a Task and Diagnosing a Bug. Neither was among the four routed skills in any rep, so the tool the procedure needs (added in the work that closed The local agent does not follow the task procedures (eval:tasks fails 4 of 5 scenarios) #3784) was never on the menu. The model never had the chance to follow the procedure, so these two scenarios currently measure routing, not procedure-following.
    • bug-created-ready: the Stage 1 query turns "get that tracked as work" into "mark ... as work", and the agent reads that as the nearest single operation, a status change on the task it was shown. That is the second reading noted on this issue, now 3 of 3. It violates the acceptance line that a request to track a bug must not change the status of the task it names.
    • bug-diagnosed: the agent reads the task, states the finding in the reply and ends the turn. It does not write "I will now ..."; it simply stops after the read.
    • Limit: this run is CPU. Retrieval scores are embedding numerics, and a CPU run can order near-ties differently from the GPU runs in the earlier traces (the same effect seen on the skill matrix). The bug-created-ready trace matches the earlier GPU trace (same verb, same call); the routing of bug-diagnosed may differ. A GPU control would settle it and was not run.

    Answers to the open questions.

    • Does eval:agent already cover direct single-step operations? Partly. It covers marking a record signed off by an indirect reference (6), correcting a field (9), setting a task's due date (10b, one update_node), marking an incident resolved (13, search_nodes plus update_node) and a signed-off update (12d). It does not cover ticking one checklist box (a checkbox node) or setting a named task's status through update_task_status, which is the tool the failing scenario ends up calling.
    • Proposed baseline scenarios for this fixture (not added): (1) "Tick the box 'The changelog is signed off' on Cut the release branch": that checkbox ends ticked, nothing else changed; (2) "Mark Review the index design as in progress": status in_progress, one call; (3) "Reopen Cut the release branch": status open, which is the explicit counterpart of the reading bug-created-ready takes unasked; (4) "Add a checklist item 'Confirm the rollback plan' to Review the index design": one new checkbox under it.

    Recommendation. Keep the issue open but rewrite it around what the traces show: why Creating a Task and Diagnosing a Bug do not reach the top four for these two Stage 1 queries (a measured routing problem, in the same lane as the skill matrix near-ties), plus the baseline tier above. Do not close it yet, and do not read these failures as E4B being unable to follow a 5 to 7 call procedure: that question cannot be answered until the skill is actually routed. No code was changed.

  8. changed the title [-]Local agent reopens the bug's task or stops on a promise instead of creating the bug task[/-] [+]Skills that carry create_task are not routed for a request to get a bug tracked as work (eval:tasks bug-created-ready and bug-diagnosed fail 0 of 6)[/+] on Nov 16, 2026
  9. mstomar125 commented on Nov 16, 2026

    @mstomar125
    Contributor

    Routing wording change opened as #4279 (not merged): a not_for on Addressing Review Findings makes bug-diagnosed's Stage 1 query lead Creating a Task by 0.008 on CPU. The title and body are rewritten around the routing finding; bug-created-ready's query is still lost by 0.002 and needs a routing change.

  10. mstomar125 commented on Nov 16, 2026

    @mstomar125
    Contributor

    Merged #4279 (4181740): one not_for on Addressing Review Findings makes the bug-diagnosed Stage 1 query route to Creating a Task (0.955 against 0.947, CPU-recorded); no existing golden row lost its place. This issue stays open for what wording cannot fix: (1) bug-created-ready's Stage 1 query ('mark the checklist item ... as work to be tracked'): Stage 1 turns 'get that tracked as work' into 'mark ... as work', which lands on the nearest single operation; that is a routing or Stage 1 change in packages/agent and needs Michael's eyes; (2) a GPU control run is needed before anyone trusts the 0.008 margin (CPU and GPU can order near ties differently; if it flips, routing is back to today's behaviour, no worse); (3) the four baseline scenarios proposed above (tick one checklist box, set a named task's status, reopen a task, add a checklist item) are still to be added to the eval, and a CPU run of the two procedure scenarios (5 to 9 minutes a turn) would then measure whether E4B can follow the procedure once create_task is offered.

  11. mstomar125 commented on Nov 17, 2026

    @mstomar125
    Contributor

    Deferred by mstomar125, 2026-11-17: there is no GPU on the shared Mac, so the GPU control run cannot be done now, and the routing change waits with it. Excluded from the open-work count until a GPU is available.

  12. added
    defer
    on Nov 17, 2026
  13. removed their assignment
    on Nov 17, 2026
  14. mstomar125 commented on Nov 25, 2026

    @mstomar125
    Contributor

    Decision (owner, 2026-11-25): assigned to the owner; fix the routing so the skill that carries create_task is routed for a bug-to-task request.

  15. self-assigned this
    on Nov 25, 2026
  16. mstomar125 commented on Nov 27, 2026

    @mstomar125
    Contributor

    Status 2026-11-27: with a hosted model (Gemma 4 through OpenRouter, 1 rep each, released v0.3.14 which contains the #4369 routing fix), bug-created-ready passed (routed to Creating a Task alone; search_nodes, get_node, create_task) and bug-diagnosed failed on content, not routing (the skill was routed and create_task was called, but the brief did not say how the failure was seen). A hosted model is not the locked local one, so this is evidence for the routing fix, not the locked-model baseline. Not run: the two local-model retrieval-stability tests.

  17. malibio commented on Nov 28, 2026

    @malibio
    CollaboratorAuthor

    Moved to NodeSpace: the issue "A request to get a bug tracked as work reaches the skill that creates a task" (2d63f58d-43a5-4d4a-8dfb-1c5a56d7d962) in the NodeSpace workspace. The team's work is tracked there, so this GitHub copy is closed to keep its status in one place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

backenddefer

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions