Repository navigation
fix(roadmap): the trace gate judges the path of a citation - #4299
Merged
Merged
Conversation
The trace gate compared a whole code span with the paths that the run read, so a citation as path:line:text or path:def name was never a read path. It also took the word read inside a quoted line as a claim of a read. The gate now judges the path of the citation, accepts a file named by its name or by the end of its path, and reads the verbs outside the code spans. Closes #4290
dan-petty
force-pushed
the
fix/4290-the-trace-gate-refuses-a-read
branch
from
November 10, 2026 00:36
3c4ad72 to
cbbf46e
Compare
dan-petty
marked this pull request as ready for review
November 10, 2026 00:48
dan-petty
pushed a commit
that referenced
this pull request
Nov 10, 2026
🤖 I have created a release *beep* *boop* --- ## [0.103.3](v0.103.2...v0.103.3) (2026-11-10) ### Bug Fixes * **roadmap:** a citation quote in its own code span passes ([#4305](#4305)) ([1450bb4](1450bb4)) * **roadmap:** a move plan leaves out files of a tool ([#4301](#4301)) ([679159f](679159f)) * **roadmap:** the cost check reads a time in days or weeks ([#4303](#4303)) ([8084fc5](8084fc5)) * **roadmap:** the trace gate judges the path of a citation ([#4299](#4299)) ([c70d673](c70d673)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The trace gate compared a whole code span with the paths that the run read. A citation as
path:line:textorpath:def namewas never a read path, so the gate refused every citation of a file that the run did read. It also took the wordreadinside a quoted line of code as a claim of a read.The gate now judges the path of the citation, accepts a file named by its name or by the end of its path, and reads the verbs outside the code spans. A claim of an unread path is still refused, and the refusal names the path alone. The golden replay keeps its result: every gate refuses what it must refuse, and 5 of 5 good plans pass.
Closes #4290
Change:
openspec/changes/archive/2026-11-10-4290-the-trace-gate-refuses-a-read/