Skip to content

refactor(roadmap): move intake-eval under roadmap eval #3185

Closed

Description

@dan-petty

Problem or Motivation

The roadmap group has two places for evaluations. devops roadmap intake-eval is a top-level command. devops roadmap eval stage and devops roadmap eval implement are in the eval group, and #3153 adds devops roadmap eval verify. A person who looks for the evaluation of a job must know which of the two places holds it. The top-level list has twelve commands, and one of them is an evaluation.

Proposed Solution & Architectural Design

  • Rename devops roadmap intake-eval to devops roadmap eval intake. Keep the options and the output as they are.
  • Put the command in its own file next to roadmap_eval_stage.py and roadmap_eval_implement.py, in src/devops_cli/commands/.
  • Remove the old name. The project is before 1.0.0, so there is no alias and no shim.
  • Change every reference to the old name: the help texts, README.md, the generated command reference, docs/, the OpenSpec specs, the tests, the MCP exclusion list in tests/ai/mcp/test_mcp.py, and any workflow or manifest that runs it.
  • Check with git grep -n "intake-eval" that no reference is left.

Target Subsystem

src/devops_cli/commands/roadmap.py, a new src/devops_cli/commands/roadmap_eval_intake.py, the help strings, and the documents that name the command.

Existing Tool Considered

No open tool covers a rename of one of this project's own commands. The change is a move and a search for references. The cost is about 40k tokens and 2 hours to build, and nothing to keep. A second place for evaluations costs a reader time on each use.

Related: #3182 (adds roadmap eval verify). This issue should wait until that pull request is merged, because both change the MCP exclusion list.

Proposed design

Problem statement

The roadmap group keeps evaluations in two places. devops roadmap intake-eval is a top-level command, and devops roadmap eval stage, eval implement and eval verify are in the eval group. A reader must know which place holds the evaluation of a job. The change moves the intake evaluation into the eval group as devops roadmap eval intake and removes the old name.

Acceptance criteria

Requirement: Eval intake command

The CLI SHALL run the intake duplicate evaluation as devops roadmap eval intake.

Scenario: The eval group holds intake

  • WHEN A user runs devops roadmap eval intake --help.
  • THEN The command exits 0 and its help text names the intake duplicate evaluation.

Requirement: Old name removed

The CLI MUST NOT keep devops roadmap intake-eval as a command or as an alias.

Scenario: The old command is gone

  • WHEN A user runs devops roadmap intake-eval.
  • THEN The command exits 2 and reports no such command.

Requirement: Options and output unchanged

The moved command SHALL keep its --dry-run option and its scoring output.

Scenario: A dry run prints the plan

  • WHEN A user runs devops roadmap eval intake --dry-run.
  • THEN The command prints the dry-run plan, makes no model call and exits 0.

Requirement: Command module

The command SHALL live in src/devops_cli/commands/roadmap_eval_intake.py and MUST be registered on eval_app.

Scenario: The eval group lists intake

  • WHEN A test lists the command names of eval_app.
  • THEN The names include intake.

Requirement: MCP coverage

The MCP exclusion list MUST hold ("roadmap", "eval", "intake") and no ("roadmap", "intake-eval") entry.

Scenario: Every command is exposed or excluded

  • WHEN The test test_all_cli_commands_are_either_exposed_or_excluded runs.
  • THEN The test passes with no unaccounted command path and no extra command path.

Requirement: No stale references

No live file SHALL name intake-eval after the change.

Scenario: The search finds only history

  • WHEN A developer runs git grep -n "intake-eval" -- ':!CHANGELOG.md' ':!openspec/changes/archive'.
  • THEN The command prints nothing and exits 1.

Requirement: Generated documentation

The command matrix and the CLI reference SHALL list devops roadmap eval intake and MUST NOT list devops roadmap intake-eval.

Scenario: The docs check passes

  • WHEN A developer runs devops ci docs.
  • THEN The check exits 0 and the documents hold the new command name.

Existing Tool Considered

No check has run. No open, maintained tool or library covers a rename of one of this project's own commands; the change is a move and a search for references. The written cost is about 40k tokens and 2 hours to build, and nothing to keep. A second place for evaluations costs a reader time on each use.

Key questions

  • Where does the eval intake command live, and how does the eval group register it?: Add src/devops_cli/commands/roadmap_eval_intake.py next to the stage and implement modules, and register its command on eval_app from roadmap_eval.py. (best practice) [sources: src/devops_cli/commands/roadmap.py, src/devops_cli/commands/roadmap_eval.py]
    • Chosen: New module on eval_app. It matches the stage and implement modules, and it keeps every evaluation in one group.
    • Rejected: Keep the command in roadmap.py. It leaves one evaluation outside the eval modules and keeps the top-level module larger.
  • Does the old devops roadmap intake-eval name stay as an alias?: No. Remove the old name, with no alias and no shim. (best practice) [sources: README.md, docs/adr/0001-github-is-the-roadmap-source.md]
    • Chosen: Remove the old name. The project is before 1.0.0 and keeps no compatibility shim.
    • Rejected: Keep an alias. It keeps the second place for an evaluation that the change removes.
  • Which MCP exclusion entry does the move write?: Replace ("roadmap", "intake-eval") with ("roadmap", "eval", "intake") in the exclusion list of tests/ai/mcp/test_mcp.py. (best practice) [sources: tests/ai/mcp/test_mcp.py]
    • Chosen: Replace the entry with the new path. The exhaustive coverage test fails when a command is neither exposed nor excluded.
    • Rejected: Expose the command as an MCP tool. The command calls a model and writes nothing, and every command of the eval group is excluded.
  • Does this item wait on feat(roadmap): the stage job verifies its plan with a model #3182?: No. The exclusion list already holds ("roadmap", "eval", "verify"), so the change of feat(roadmap): the stage job verifies its plan with a model #3182 is in this tree. [sources: tests/ai/mcp/test_mcp.py]
  • Which references must the git grep -n "intake-eval" check ignore?: Ignore CHANGELOG.md and openspec/changes/archive/. Both are historical records that keep the old name. (best practice) [sources: CHANGELOG.md:606, CONTEXT.md]
    • Chosen: Scope the check to live files. Release-please owns the changelog history, and an archived change is the record of a past delivery.
    • Rejected: Rewrite the changelog line and the archived change. It falsifies the record of a release and of a delivered change.
  • How are the command reference documents updated?: Regenerate them with devops docs generate and devops docs sync-readme, then check with devops ci docs. (best practice) [sources: README.md]
    • Chosen: Regenerate with the docs commands. The command matrix and the reference come from the live CLI, and devops ci docs verifies them.
    • Rejected: Hand-edit each document. A hand edit drifts from the CLI and fails devops ci docs.
  • Does the move change the options or the output of the command?: No. The command keeps --dry-run, the same scoring output and the same exit codes. [sources: src/devops_cli/commands/roadmap.py]
  • Which workflow or manifest must change?: None. The eval group runs on demand and is part of no CI job. (best practice) [sources: README.md]
    • Chosen: Change no workflow. README.md states that the eval group is on demand and no part of devops ci.
    • Rejected: Add the new path to a workflow. No workflow runs an eval command.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/refactor
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 2, 2026
  2. devops-cli-service commented on Nov 2, 2026

    @devops-cli-service
    Contributor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/refactor. The refactor prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. It improves command discoverability before 1.0.0 but does not fix a defect or block a release.
    • Value: Medium. It removes a second location for evaluations, which saves reader time on each use.
    • Effort: Medium. It requires a rename, a new file, and updates to help text, docs, specs, tests, and the MCP exclusion list.
    • Related: docs(roadmap): shorten the help of the roadmap commands #3188, which asks for a different change. Both touch roadmap command help text, but the candidate renames and moves a command while #3188 shortens help text.
  3. added
    priority/p2-medium
    status/ready
    and removed
    status/new
    on Nov 2, 2026
  4. devops-cli-service commented on Nov 2, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at fd0cc2f (see proposed design in issue body).

  5. devops-cli-service commented on Nov 2, 2026

    @devops-cli-service
    Contributor

    Staged: branch refactor/3185-move-intake-eval-under-roadmap-eval, draft pull request #3228. The pull request plans the item and closes no issue.

    The task groups, with the tokens of the inputs of each step, for a budget of 40000 tokens:

    1. Move the intake evaluation into the eval group: 18774 tokens
    2. Exclude the moved command from MCP by its new path: 11295 tokens
    3. Regenerate the command matrix and the command reference: 12987 tokens
    4. Check that no live file names the old command: 6950 tokens

    The plan run made 2 model request(s), and used 143539 input tokens and 11198 output tokens. The model made no tool call.

    A model review of the plan found these points. They stop no draft, and a person judges them:

    • criterion_dropped at group 4: No group updates tests/roadmap/test_roadmap_duplicate_eval.py. It still runs the removed intake-eval command, so its tests fail after the move. The group 4 verify command also fails on it. Evidence: "result = cli("roadmap", "intake-eval")"
  6. added 2 commits that reference this issue on Nov 2, 2026
  7. added
    status/planned
    and removed
    status/ready
    on Nov 2, 2026
  8. added
    status/in-progress
    status/in-review
    and removed
    status/planned
    status/in-progress
    on Nov 3, 2026
  9. removed
    status/in-review
    on Nov 3, 2026
  10. devops-cli-service commented on Nov 3, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-03 18:39 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/roadmaptype/refactorvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions