Skip to content

fix(roadmap): read only the marked code spans of a plan - #3912

Merged
dan-petty merged 3 commits into
mainfrom
fix/3596-verification-marked-code-spans
Nov 7, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/3596-verification-marked-code-spans

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The implement step ran every code span of a Verification line as a command, so a prose code span such as tagged_image stopped the group. Now only a code span that starts with $ is a command, and every other span is prose. The stage templates, the plan amendment, the active plans, the fixtures and the plan rule in openspec/config.yaml write the mark. A plan in the old form has no command until plan-recheck rewrites it.

Closes #3596

Change: openspec/changes/archive/2026-11-07-3596-read-only-the-marked-code-spans/

@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 7, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Evidence for the pull request.

Fail-to-pass: uv run devops ci fail-to-pass --base origin/main ran. The 6 new tests in tests/roadmap/test_roadmap_step_files.py that pin the rule fail on the base, and tests/invariants/test_change_folders.py fails to collect on the base (no COMMAND_MARK). The tool also lists 226 other tests as failed on base. They are the tests whose fixtures now carry the $ mark: the base reads the mark as part of the command. This is the format change itself, so the tool names them as "a test that the fix does not change".

Full uv run devops ci (before the rebase): all checks passed except pytest. It had 2 failures (test_roadmap_stage_prompt_rules.py and test_roadmap_implement_step_repair.py), and I fixed both. Both files pass now (101 passed). I did not run the full suite again after the fix. The test row took 11 minutes, over the 5-minute budget (known, #3593).

uv run devops openspec check passes.

@dan-petty

Copy link
Copy Markdown
Owner Author

Check status after the push: the 3 required checks pass (Static Analysis, Tests & Coverage, Semantic PR title).

Three other checks fail, and I left the pull request as a draft for a person to decide:

  • Fail-to-Pass Check: it lists the tests whose fixtures now hold the $ mark. The base reads the mark as part of the command, so these tests fail on the base by design. The tool calls them tests "that the fix does not change". I built no escape for this.
  • Service Image and Runner Image: the Trivy step reports golang.org/x/net CVE-2026-78661 (HIGH, fixed in 0.62.0). This change touches no image or Go file.

@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 05:10
@dan-petty
dan-petty enabled auto-merge (squash) November 7, 2026 05:11
@dan-petty
dan-petty force-pushed the fix/3596-verification-marked-code-spans branch from 0971c27 to 37536b2 Compare November 7, 2026 05:16
The implement step ran every code span of a Verification line as a
command, so a prose span stopped the group. Only a span that starts
with `$ ` is a command now. The stage templates, the plan amendment,
the active plans and the fixtures write the mark.
@dan-petty
dan-petty force-pushed the fix/3596-verification-marked-code-spans branch from 37536b2 to e5fe743 Compare November 7, 2026 06:07
@dan-petty
dan-petty merged commit 72c52c6 into main Nov 7, 2026
23 of 24 checks passed
@dan-petty
dan-petty deleted the fix/3596-verification-marked-code-spans branch November 7, 2026 06:12
dan-petty pushed a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.78.0](v0.77.2...v0.78.0)
(2026-11-07)


### Features

* **k8s:** add the Crawl4AI token to the cluster secrets
([#3937](#3937))
([5e6eb59](5e6eb59))
* **research:** list every pin of the project
([#3945](#3945))
([cb65daa](cb65daa)),
closes [#3896](#3896)


### Bug Fixes

* **roadmap:** a fix step edits only the paths the plan names
([#3944](#3944))
([7745fa8](7745fa8))
* **roadmap:** read only the marked code spans of a plan
([#3912](#3912))
([72c52c6](72c52c6))
* **service:** the request budget counts only what GitHub counts
([#3946](#3946))
([b3f8793](b3f8793))

---
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): read only the marked code spans of a Verification line

1 participant