Skip to content

feat(roadmap): Check the phrase of a declared pair - #5768

Merged
dan-petty merged 1 commit into
mainfrom
feat/4039-check-the-phrase-of-a-declared-pair-2
Nov 15, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/4039-check-the-phrase-of-a-declared-pair-2

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A plan can quote the same rule phrase with two texts: one in tasks.md, another in proposal.md or a spec scenario. The stage gates pass and the implementation then fails test_the_prompt_and_the_document_keep_the_same_phrase_of_a_rule, as pull request #3963 showed. New module src/devops_cli/roadmap/plan_phrases.py reads each (document, phrase) pair of tasks.md and reports a code span that shares four consecutive words with a declared phrase and differs from it, naming both spans and the file. folder_problems calls it, so devops roadmap plan-check and the stage job report the divergence with the other problems. A plan with no pair reports nothing, and unrelated spans are ignored.

Closes #4039

Change: openspec/changes/archive/2026-11-15-4039-check-the-phrase-of-a-declared-pair/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 15, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 00:32
@dan-petty
dan-petty merged commit e055543 into main Nov 15, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/4039-check-the-phrase-of-a-declared-pair-2 branch November 15, 2026 00:40
dan-petty-release Bot added a commit that referenced this pull request Nov 15, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.147.0](v0.146.0...v0.147.0)
(2026-11-15)


### Features

* **roadmap:** Check the phrase of a declared pair
([#5768](#5768))
([e055543](e055543))


### Bug Fixes

* **security:** judge Trivy-config AZU-0041 in tf/azure/main.tf
([#5767](#5767))
([b207197](b207197))

---
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/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): check prompt and config phrase consistency in plan-check

1 participant