Skip to content

fix(roadmap): Refuse repair text in stage feasibility lines - #6323

Merged
dan-petty merged 4 commits into
mainfrom
fix/4111-refuse-conversational-meta-text-in-stage
Nov 21, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/4111-refuse-conversational-meta-text-in-stage

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

The stage job commits the text of an earlier model reply into the Feasibility section of a proposal, as #4111 reports: the section holds a self-correction instead of a system fact. This change adds a deterministic gate that refuses such a line before the job commits the plan, and it names the line and the phrase.

Closes #4111

Change: openspec/changes/archive/2026-11-18-4111-refuse-conversational-meta-text-in-stage/

@devops-cli-service devops-cli-service Bot added 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 labels Nov 18, 2026
@devops-cli-service

devops-cli-service Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Stopped at fix. The stop report is on #4111: #4111 (comment).

devops-cli-service Bot and others added 4 commits November 21, 2026 13:19
…ode spans (#4111)

The stage gate counter documents one series for each gate; the new gate makes 18, so the instrument text and docs/TELEMETRY.md say 18 (the failed shard of Tests & Coverage). A code span quotes a probe line or names the phrase, so meta_text_problems no longer reads the text of a code span; plan-recheck refused the plan of this change for that.
@dan-petty
dan-petty force-pushed the fix/4111-refuse-conversational-meta-text-in-stage branch from d2d088f to 37fe06b Compare November 21, 2026 13:19
@dan-petty

Copy link
Copy Markdown
Owner

Results of the new-gate rule, run on branch HEAD (after the rebase on the latest origin/main):

  • Replay: uv run devops roadmap eval stage --replay gives "every gate refuses what it must refuse" and "Good plans that every gate accepts: 6 of 6". The replay score is the same before and after the change, because the replay has no case for the meta-text gate.
  • plan-recheck: meta-text refuses 2 merged plans:
    • 3244-add-toolsets-for-implement-and-review, feasibility line 8 and 3429-the-implement-plan-gate-runs-the, feasibility line 13. Both lines hold the phrase this reply. I read the phrase in other merged plans (6339, 3148, 6020, 6449, 3877): each is the defect of fix(roadmap): refuse conversational meta-text in stage proposals #4111, so these are hits and no false refusals.
    • The plan of this change was a false refusal: its line quoted the phrase in a code span. The gate now skips the text of an inline code span, as it skips a fenced code block and a block quotation.

Fixes in this update:

  • Tests & Coverage shard 2 failed: test_gate_refusal_the_counter_is_declared_with_its_series_count_and_documented. The gate adds a member to ProposalGate, so the counter has 18 series. instruments.py and docs/TELEMETRY.md now say 18.
  • Code spans skipped, with the test, the spec delta, the base spec and the docs.

Note: #4111 names the hold #6521 in its Dependencies. A person decides whether this gate waits for the re-architecture #6519.

@dan-petty
dan-petty marked this pull request as ready for review November 21, 2026 13:27
@dan-petty
dan-petty self-requested a review as a code owner November 21, 2026 13:27
@dan-petty
dan-petty merged commit c105f59 into main Nov 21, 2026
30 checks passed
@dan-petty
dan-petty deleted the fix/4111-refuse-conversational-meta-text-in-stage branch November 21, 2026 13:29
dan-petty pushed a commit that referenced this pull request Nov 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.188.0](v0.187.2...v0.188.0)
(2026-11-21)


### Features

* **roadmap:** Run review scanners in the runner pod
([#6166](#6166))
([9f164f7](9f164f7))


### Bug Fixes

* **repos:** Give git children the session credential
([#6479](#6479))
([7f3886e](7f3886e))
* **roadmap:** an alternatives block names no blocker of an item
([#6624](#6624))
([5eac8e5](5eac8e5))
* **roadmap:** Refuse repair text in stage feasibility lines
([#6323](#6323))
([c105f59](c105f59))

---
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): refuse conversational meta-text in stage proposals

1 participant