Skip to content

feat(roadmap): a plan states the identifiers that a behavior group adds - #5935

Merged
dan-petty merged 6 commits into
mainfrom
feat/3453-adds-line-of-a-group
Nov 16, 2026
Merged

dan-petty merged 6 commits into
mainfrom
feat/3453-adds-line-of-a-group

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A plan now names the identifiers that a behavior group adds on a structured Adds: line of tasks.md, each in a code span. The stage writes the line from the new adds field of StageGroup, both stage prompts ask for it, and the plan reader reads it back and refuses a name outside a code span.

The premise check of the implement job reads only that line, through TaskGroup.added_names, and the prose rule added_guard is removed. That rule read a task for an add verb, the word guard or check, and a code span. A task that only described a test input, such as a guard name in fixture text, thus returned this item to New. A group with no Adds: line gets no check.

Groups 1 to 3 come from the kept work of the implement job (#5873). The plan records the fix of the review finding on group 4: the shared test helper writes the Adds: line of its own argument.

Closes #3453

Change: openspec/changes/archive/2026-11-16-3453-a-plan-states-the-identifiers-that/

@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 16, 2026
@dan-petty
dan-petty force-pushed the feat/3453-adds-line-of-a-group branch from 3cfa679 to ca7ec49 Compare November 16, 2026 03:49
@dan-petty

Copy link
Copy Markdown
Owner Author

Test evidence (an agent built this by hand, as the owner asked on 2026-11-16):

  • Fail on the base of group 4 (prose rule still live), pass on the head:
    • TestTheAddsLineNamesADefinedName::test_a_behavior_group_that_adds_a_defined_name_returns_the_item: the base ran the group and stopped (Blocked), the head returns the item to New.
    • TestASentenceNamesAGuardWithNoAddsLine::test_a_sentence_that_names_a_defined_guard_with_no_adds_line_runs_the_group: the base returned the item, the head runs the group.
    • TestTheAddsLineNamesAnUndefinedGuard::test_a_behavior_group_whose_adds_line_names_an_undefined_guard_runs_the_group: the base returned the item, the head runs the group.
  • Scoped run on the head: uv run devops ci test of tests/roadmap/test_premise.py, tests/roadmap/test_roadmap_step_files.py, tests/roadmap/test_roadmap_plan_read.py, the three implement modules and tests/roadmap/stage/: 3217 passed, 1 skipped. uv run devops openspec check and uv run devops ci docs pass.

Open item: the change edits src/devops_cli/ai/tasks/roadmap_stage_change.md, so the rule of docs/ROADMAP_WORKFLOW.md asks for the live stage score of one model before and after the change (uv run devops roadmap eval stage --limit 5, and --replay). The sandbox of the agent refused that command, so this pull request does not state the scores yet.

@dan-petty

Copy link
Copy Markdown
Owner Author

Vet: code SAFE. false_premises reads only the names of the Adds: line of a group (TaskGroup.added_names), and the prose rule added_guard is gone, so a task that names a guard as fixture text no longer returns an item (the false positive that returned this item twice). The kept groups 1 to 3 of #5873 are in, group 4 fixes the review finding (_guard_tasks writes the line from its own name), and three tests fail on the base. Trade-off that the plan states: a plan with no Adds: line gets no premise check, so the merged plans of older items lose the check of #3417 until they are revised.

Not ready yet: devops pr check-readiness asks for stage eval scores before and after, because the change edits roadmap_stage_change.md. The builder could not run devops roadmap eval stage in its sandbox.

devops-cli-service Bot and others added 6 commits November 16, 2026 11:48
The implement job now reads the identifiers of the `Adds:` line of an
open behavior group through `TaskGroup.added_names`, and no rule reads
the prose of a task. A task that names a guard only as the place of a
change, or as the text of a test, returns no item.

The shared test helper `_guard_tasks` writes the `Adds:` line of its
argument, so the world of a true premise names `_missing_guard`. The plan
records this fix of the model-review finding of 2026-11-14.
@dan-petty
dan-petty force-pushed the feat/3453-adds-line-of-a-group branch from ca7ec49 to 2a2f1c4 Compare November 16, 2026 11:51
@dan-petty
dan-petty marked this pull request as ready for review November 16, 2026 12:05
@dan-petty
dan-petty merged commit 27f1595 into main Nov 16, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3453-adds-line-of-a-group branch November 16, 2026 12:05
dan-petty-release Bot added a commit that referenced this pull request Nov 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.163.0](v0.162.0...v0.163.0)
(2026-11-16)


### Features

* **roadmap:** a fix-checks step fixes a failed check
([#5023](#5023))
([#5939](#5939))
([71ad891](71ad891))
* **roadmap:** a plan states the identifiers that a behavior group adds
([#5935](#5935))
([27f1595](27f1595))

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

Copy link
Copy Markdown
Owner Author

Stage eval after the merge (owner asked to run it, 2026-11-16): uv run devops roadmap eval stage --replay --limit 5 on 27f1595~1 (before) and 27f1595 (after) gives the same result: the gates judge 13 of 38 known defects (missing_path 6/6, contrived_test 4/4, spec_delta_wrong 2/3, verify_form 1/2), and every gate refuses what it must refuse. The replay calls no model, so it shows that the gates did not change; it does not measure the effect of the Adds: line in the stage prompt, which only a live run measures.

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): a plan states the identifiers that a behavior group adds

1 participant