Skip to content

fix(roadmap): the trace gate judges the path of a citation - #4299

Merged
dan-petty merged 2 commits into
mainfrom
fix/4290-the-trace-gate-refuses-a-read
Nov 10, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4290-the-trace-gate-refuses-a-read

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The trace gate compared a whole code span with the paths that the run read. A citation as path:line:text or path:def name was never a read path, so the gate refused every citation of a file that the run did read. It also took the word read inside 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/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 10, 2026
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
dan-petty force-pushed the fix/4290-the-trace-gate-refuses-a-read branch from 3c4ad72 to cbbf46e Compare November 10, 2026 00:36
@dan-petty
dan-petty marked this pull request as ready for review November 10, 2026 00:48
@dan-petty
dan-petty merged commit c70d673 into main Nov 10, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/4290-the-trace-gate-refuses-a-read branch 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the trace gate refuses a read file's citation

1 participant