Skip to content

docs(openspec): plan #3185 move intake-eval under roadmap eval - #3228

Merged
dan-petty merged 3 commits into
mainfrom
refactor/3185-move-intake-eval-under-roadmap-eval
Nov 2, 2026
Merged

dan-petty merged 3 commits into
mainfrom
refactor/3185-move-intake-eval-under-roadmap-eval

Conversation

@devops-cli-service

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

Copy link
Copy Markdown
Contributor

Plans #3185

The roadmap group keeps evaluations in two places: devops roadmap intake-eval is a top-level command, while eval stage, eval implement and eval verify are in the eval group. The change moves the intake duplicate evaluation to devops roadmap eval intake and removes the old name, with no alias, as the project is before 1.0.0. The command keeps its options, output and exit codes, and moves into its own module next to stage and implement. Every reference to the old name changes with it: the dry-run gap ratchet, the MCP exclusion list, test files, dataset metadata, and generated command references. The change aims to leave no live file referencing intake-eval.

Change: openspec/changes/3185-move-intake-eval-under-roadmap-eval/

dan-petty commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Review of the plan for #3185.

Status: all 18 checks pass at 9bd7280. The premise holds: intake-eval is a top-level command at src/devops_cli/commands/roadmap.py:223, roadmap_eval.py registers stage, implement and verify, and ("roadmap", "eval", "verify") is in tests/ai/mcp/test_mcp.py, so #3182 is merged. The plan misses most of the references. On main git grep -n intake-eval, without CHANGELOG.md and the archive, finds hits in 11 files. The plan names 4 of them (README.md, docs/commands/roadmap.md, roadmap.py, test_mcp.py).

  1. A test file that calls the old name has no task. tests/roadmap/test_roadmap_duplicate_eval.py runs cli("roadmap", "intake-eval") at lines 82, 102, 121, 136, 152 and 163 (docstring at line 1). tests/roadmap/test_roadmap_intake.py:510 also names it in a comment. Group 1 lists the first file under Reads: but not under Changes:, and the model review in the staging comment already flagged this as criterion_dropped. After task 1.2 those six tests fail, and the group 4 verify (! git grep ... tests/) cannot pass. Fix: change the calls to ("roadmap", "eval", "intake") in group 1 (config.yaml: "Delete obsolete code and its tests in the group that replaces them"), and add the files to Changes: and ## Impact. [C3, blocker]

  2. The spec delta leaves five requirements that name the old command. openspec/specs/roadmap-intake-duplicates/spec.md lines 63-99 hold five requirements that start with devops roadmap intake-eval ("An evaluation run takes intake's verdict for each case", "...reports the score of the duplicate verdict", "...that cannot run a case says so", "...reads the labels of the checkout", "An evaluation dry run makes no request"). The delta has only ADDED. After the archive the living spec says both that intake-eval SHALL run each case and that it MUST NOT exist. Fix: MODIFIED with the whole text and scenarios of those five, with the new path. The design scopes the old-name search to src/ tests/ docs/ README.md, which hides these lines. The issue you wrote lists "the OpenSpec specs", and its grep excludes only CHANGELOG.md and openspec/changes/archive. The archive commit moves this change folder, so the issue's own pathspec would work. [C4, blocker]

  3. The dry-run ratchet is not planned. tests/fixtures/dry_run_gaps.json:12 holds "roadmap intake-eval". tests/invariants/test_dry_run_class_ratchet.py::test_dry_run_class_ratchet_repository_invariant fails twice after the move: a stale gap entry that matches no command, and roadmap eval intake has no dry-run class and is not in the gap file. The sibling eval stage carries @dry_run_class("request-plan") (roadmap-stage-eval spec line 81), and the moved command declares --dry-run. Fix: either add the decorator and delete the entry, or rename the entry to "roadmap eval intake" (sorted between roadmap alternatives and roadmap implement). Name the choice in design.md. [C10, major]

  4. Generated and hand-written docs are missing. docs/CLI_REFERENCE.md:6523 and :6528 are generated and name the old command, but the plan lists only README.md and docs/commands/roadmap.md. docs/roadmap/intake.md:56 is hand-written ("The evaluation of the duplicate verdict | devops roadmap intake-eval") and has no task. Also src/devops_cli/roadmap/intake_duplicate_cases.json ("about" text) names the command. Fix: add all three to Changes:. Replace tasks 3.1 and 3.2 with one task, uv run devops docs generate --sync-readme, as config.yaml requires. 3.2 states a result instead of an action and repeats 3.1. [C10, major]

  5. Feasibility holds no command output, and one line is false. The "First checks" are future checks written as present: uv run devops roadmap eval intake --help exits 0 cannot be true on the base, since the command does not exist. "both are callers of eval_app": git grep -n eval_app finds no hit in roadmap_eval_stage.py, roadmap_eval_implement.py or roadmap_eval_verify.py; roadmap_eval.py imports them and registers them. Fix: quote the output of git grep -n "intake-eval" -- ':!CHANGELOG.md' ':!openspec/changes/archive' on main (it would have shown findings 1-4), and fix the eval_app line. [C2, major]

  6. A dependency is not stated. Dependencies are "None", but open refactor(roadmap): split the roadmap commands by kind #3186 (split roadmap.py by kind) moves the same top-level commands, including intake_eval_cmd. It needs an order with this item to avoid a conflict. docs(roadmap): shorten the help of the roadmap commands #3190 (short helps) has no effect: tests/roadmap/test_roadmap_command_help.py checks six job commands and not intake_eval. Say so in one line. [C8, minor]

  7. Task form. After 1.2, tests/ai/mcp/test_mcp.py and the ratchet fail until group 2, so fold the MCP edit into group 1 (one green group). Task 4.1 is a catch-all ("fix each reference that is left") with Changes: listing only roadmap.py, which group 1 already edits. List the real files. A documentation task must come last (config.yaml), but group 4 edits docs after the regeneration in group 3. [C5, minor]

  8. Two ADDED requirements cover a test list and a generated document. "excluded from MCP by its new path" constrains a list inside a test file, and "The command reference lists the new name" is enforced by devops ci docs. Neither is behavior a consumer observes (config.yaml; fix(roadmap): the stage job refuses an unneeded spec delta #3177). Keep them in ## Criteria (they are mapped to groups) and drop them from the delta. [C4, minor]

  9. Title and body. The title passes. The body says "A search over the live files shows no intake-eval left." That is false for this PR and for main. Remove it or write it as the aim of the change. The PR is draft: false, while the staging comment says "draft pull request" (AGENTS.md rule 6). [C7, minor]

  10. Existing Tool Considered. The cost of "keep" and "fix" is "nothing" and is copied from the issue. The rule asks for tokens for each, and for a list of the code the change deletes (the old command function and its roadmap.py imports, if unused). [C6, minor]

Better than the earlier plans:

  • Verify commands all use the project form (uv run devops ci test <mirror path>, uv run devops ci docs, ! git grep -n), and the new test is in the mirror folder tests/commands/.
  • All 7 acceptance criteria are mapped to a group in ## Criteria, and the feat(roadmap): the stage job verifies its plan with a model #3182 dependency was checked and found merged, with a quoted line as evidence.
  • The title is 46 characters after the colon, with no ...; the body is 835 characters with Plans #3185 and a valid Change: line; the tuicr bullet is correct for a code change.

Related issues: #3186 (open, split roadmap.py by kind; touches the same command). #3188 (shorten help; delivered as #3190, no effect here).

Verdict: hold until findings 1 to 5 are fixed. 6 to 10 can follow in the same revision.


Generated by Claude Code

@dan-petty

Copy link
Copy Markdown
Owner

Plan update for #3185 to address review findings (commit ff2e5c4):

  1. Test calls planned: Group 1 now changes tests/roadmap/test_roadmap_duplicate_eval.py and tests/roadmap/test_roadmap_intake.py to call ("roadmap", "eval", "intake"). Added both test files to Changes: and ## Impact.
  2. Spec delta updated with MODIFIED requirements: Replaced the partial delta with 5 MODIFIED requirements in roadmap-intake-duplicates: "An evaluation run takes intake's verdict for each case", "An evaluation run reports the score of the duplicate verdict", "An evaluation run that cannot run a case says so", "An evaluation run reads the labels of the checkout", and "An evaluation dry run makes no request". Kept all original scenarios.
  3. Dry-run ratchet planned: Group 1 decorates intake with @dry_run_class("request-plan") in roadmap_eval_intake.py and deletes "roadmap intake-eval" from tests/fixtures/dry_run_gaps.json. Recorded the design choice in design.md.
  4. Missing documentation added: Added docs/CLI_REFERENCE.md, docs/roadmap/intake.md, and src/devops_cli/roadmap/intake_duplicate_cases.json to Changes: and ## Impact. Updated tasks to run uv run devops docs generate --sync-readme.
  5. Feasibility tested against real system: Quoted git grep -n "intake-eval" -- ':!CHANGELOG.md' ':!openspec/changes/archive' output across all 11 live files. Removed false claim regarding callers of eval_app. Formatted first checks in standard verification command form.
  6. Dependency order recorded: Added section stating execution order against refactor(roadmap): split the roadmap commands by kind #3186 (split roadmap.py by kind). Noted docs(roadmap): shorten the help of the roadmap commands #3190 does not touch intake-eval.
  7. Task form and execution order: Folded the MCP exclusion edit into Group 1 to ensure a green group. Replaced catch-all task with explicit file updates. Positioned document regeneration group last.
  8. Removed unobservable requirements: Dropped requirements concerning MCP internal exclusion lists and generated CLI references from the spec delta. Retained both as mapped acceptance criteria in ## Criteria.
  9. Body text corrected: Replaced the false assertion of zero live references with a statement of the goal of the change.
  10. Rule 3 cost quantified: Stated cost to build, keep, and fix as 4,000 tokens and 1 hour. Explicitly listed deleted code (intake_eval_cmd in roadmap.py and unused imports).

@dan-petty
dan-petty merged commit 08c97a0 into main Nov 2, 2026
20 checks passed
@dan-petty
dan-petty deleted the refactor/3185-move-intake-eval-under-roadmap-eval branch November 2, 2026 21:49
dan-petty pushed a commit that referenced this pull request Nov 14, 2026
…5651)

Plans #3246

The stage context gives the planner the names of a capability's
requirements only, and the duplicate check compares names only (#3246).
A plan then adds a requirement whose name is new while a base
requirement states, or contradicts, the behavior: #3225, #3228 and #3234
each needed a modified block that the planner did not write. This change
adds the text of the matching base requirements to the plan request, cut
to 12 requirements and 6000 characters and ordered by relevance. The
prompt tells the planner to change a requirement that states the
behavior with modified. The review request carries the same text, so a
finding that quotes a stated requirement returns the plan, and a new
golden-set case replays the conflict of #3225.

Change: `openspec/changes/3246-add-requirement-text-to-the-stage/`

Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant