Repository navigation
fix(roadmap): the trace gate reads the path of each citation form - #4500
Conversation
The trace gate takes the path of a path:N and a path:N-M citation, removes a toolbox tool name before the path and a trailing slash, and removes a quoted probe line before it reads the claim. A path that the run did not read stays refused. Refs #4463
Evidence and measurementsFail-to-pass
Golden replay
Cause count on the stored refusalsThe Service keeps the refused replies of the last run of each item (
18 of 32 use a form that The Service log (Loki, 2026-11-09 00:00 UTC to 2026-11-11 03:00 UTC) holds 78 trace refusals of the last replies of 32 items. 35 are What the change clearsThe stored records hold no trace, so I replayed the gate with the known part of the trace: a path that the base gate claimed in a reply and did not refuse was read. With that trace the base gate gives 31 of the 32 stored refusals again (the other one is the On the same 31 refusals, the change:
In one sentence of #3049, the removed probe quote leaves The 62 refusals of the 48-hour review count the trace and citation refusals of all runs. The Service keeps only the last run of each item, so the earlier replies cannot be replayed. Checks run here
Test speedThe new tests pass Out of scope, filed
No change to the live cluster, ConfigMap or Secrets is needed. The Service gets the fix with its next image. |
The Feasibility trace gate of the stage job refused plans that cite a file that the run read. It took the path of a code span only from
path:N:textandpath:def name, so apath:N-M, apath:N, a toolbox tool name before the path and a directory with a trailing/did not match the read paths. It also read a claim from a probe line that the plan quotes, which the content gate asks for. Now_claimed_pathtakes the path of each of these forms, with the tool names of the toolbox,_was_readignores a trailing/, and_trace_problemsremoves the quoted probe sentences before it reads the claim. A path that the run did not read stays refused in each form.Closes #4463
Change:
openspec/changes/archive/2026-11-11-4463-the-trace-gate-refuses-valid-citation/