Skip to content

Route a get-this-bug-tracked-as-work request to Creating a Task (refs #3830) - #4369

Merged
mstomar125 merged 1 commit into
mainfrom
issue-3830-route
Nov 25, 2026
Merged

mstomar125 merged 1 commit into
mainfrom
issue-3830-route

Conversation

@mstomar125

Copy link
Copy Markdown
Contributor

Refs #3830

What changed

Stage 1 turns "get that tracked as work" into "mark the checklist item for Query engine rewrite release branch as work to be tracked". For that query Instrumenting a Change led by 0.002 (0.928 against 0.926) and Creating a Task, the skill that carries create_task, was not routed at all (rank -), which is why bug-created-ready never saw create_task. (bug-diagnosed was fixed by the earlier not_for on Addressing Review Findings.)

Fix: one not_for on Instrumenting a Change: "Get a bug or a finding tracked as work, or recorded as a task." Instrumenting a Change has no destructive tools, so no destructive skill becomes reachable and no score bar changes. Agent-lane work (packages/agent), signed off by the owner for this batch. Nothing security-sensitive.

Measured on CPU (NODESPACE_FORCE_CPU=1, nomic-embed-text-v1.5 Q8_0) with the trial-wording mechanism before editing the seed, then recorded:

  • the request now ranks Creating a Task 1st at 0.926, +0.007 over Graph Editing (before: not retrieved, Instrumenting a Change 0.928);
  • golden current.tsv changes in exactly 3 rows: that request, and the leader/closest columns of "track equipment checkout and return status" (Instrumenting a Change -> Shipping a Change) and "track albums I mean to listen to" (-> Researching). Owner rank and score of every other row are unchanged; Schema Creation keeps ranks 2 and 4 on those two.
  • current.sha256 regenerated; the request is removed from NOT_YET_WON; NOT_FOR_GUARDS names the new not_for.

Tests and mutation checks

  • every_not_for_names_its_live_guards (no model, in the gate): failed first with the not_for added and the guard list not updated, passes now.
  • skill_confusion_matrix::skills_win_their_requests (live, CPU): the request is a first(...) case for Creating a Task. Mutation: reverting the not_for to None makes it fail ("1 request(s) miss their skill"); restored, it passes.
  • live_skill_retrieval_stability full suite on CPU: 39 pass, 2 fail (filing_requests_route_organization, without_the_add_rule_those_adds_lead_with_a_skill_that_removes); both fail identically on unmodified origin/main (verified by stashing), so not caused by this change.
  • cargo nextest run -p nodespace-agent: 1559 passed. rustfmt clean on the touched files; the push check passed.

Not done

The live check eval:tasks --only bug-created-ready,bug-diagnosed --runs 3 was NOT run: the shared disk fell below the 20 GiB floor (17 GiB) so no release daemon build was started. This PR fixes routing only; whether the model then follows the procedure is unmeasured, so this is Refs and not Closes.

🤖 Generated with Claude Code

@mstomar125

Copy link
Copy Markdown
Contributor Author

APPROVE (static review of 6f848b2; no build or test run)

Checked:

  1. Golden diff: the TSV diff is exactly the 3 rows claimed (the won request, plus the leader and closest columns of the equipment-checkout and albums rows). Owner columns for Schema Creation (ranks 2 and 4) are unchanged. All three Instrumenting a Change owner rows ("decide what the export change should log...", "add metrics and tracing criteria...", "what error rate and latency...") are not in the diff, so their ranks and scores are unchanged. Margins over Graph Editing are +0.156, +0.064 and +0.200. The sha256 is a digest over seed text (name, use_for, not_for) plus the matrix requests and cases (seed_text_digest, skill_confusion_matrix.rs:780), not over the TSV, so shasum of the file does not apply. I could not recompute it without building. The TSV is consistent with the one seed change, and the matrix request and owner strings are untouched (only comments changed).
  2. Mechanism: retrieval does not fold not_for into the use_for embedding. rerank_with_not_for (packages/core/src/ops/skill_ops.rs:486-516) embeds the not_for separately, with the same name-plus-text shape as use_for. It applies score - 1.0 * max(0, not_for_score - score), then re-ranks. It is deterministic for a fixed model and inputs. A query closer to use_for than to not_for is untouched, which is why the legitimate Instrumenting rows did not move. The 0.002 swing (0.928 to under 0.926) is the penalty on that one query.
  3. Over-suppression: the new text ("Get a bug or a finding tracked as work, or recorded as a task.") shares no vocabulary with the log/measure/trace requests, and the three First-case rows are unchanged. Low risk.
  4. Leader moves: Shipping a Change (0.849) and Researching (0.781) now lead "track equipment checkout..." and "track albums...". Both were already wrong-leader rows (Schema Creation owns them at rank 2 and 4), the scores shift by about 0.002, and the owner ranks hold. Neither is sensible, but neither is worse. One nuance: Shipping a Change carries update_node, which Instrumenting lacks, so the "no tool change" claim is close to true but not exact. Nothing destructive is added, since update_node is not delete. The albums case now leads with Researching, which has no write tools beyond create_node and create_relationship. This is fine.
  5. Guards: NOT_FOR_GUARDS gains the Instrumenting entry, which satisfies every_not_for_names_its_live_guards (the guard name exists in both suites). The request is removed from NOT_YET_WON and is a first(...) case. Consistent.
  6. Refs vs Closes: Refs is correct. eval:tasks bug-created-ready/bug-diagnosed is unmeasured, and 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 also asks for the baseline tier and a GPU control. Keep 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 open.

Not verified: the sha256 value and all live scores (CPU-only, nomic Q8_0). The win is +0.007 over Graph Editing, and #3830 notes that CPU can order near-ties differently from GPU, so a GPU re-check of this row is still owed. The two pre-existing live-stability failures were not independently confirmed on main.

…ed as work

Stage 1 turns "get that tracked as work" into "mark the checklist item ... as work to be tracked", and Instrumenting a Change led it by 0.002 (0.928 against 0.926), so Creating a Task, the skill that carries create_task, was not routed. Its not_for now names getting a bug or a finding tracked as work or recorded as a task; the request now ranks Creating a Task first (0.926, +0.007 over Graph Editing).

The confusion matrix drops that request from NOT_YET_WON, the not_for guard list names the new not_for, and the recorded matrix changes in three rows: the won request, and the leader column of two Schema Creation tracking requests whose closest neighbour moved off Instrumenting a Change (ranks of the owners unchanged).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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