Repository navigation
Description
Split from #3244.
ProblemProposed change 5 of #3244 extends the comparison of #3239 to the implement and review jobs: one compare form for each job. The form shows the tool names of the job's toolset.## Why it is deferredThe comparison form of #3239 exists for the stage job (src/devops_cli/roadmap/stage/stage_eval_compare.py). The settings roadmap.implement.toolset and roadmap.review.toolset name the toolset of each job. The form of each job also needs a run record of that job, and this change writes no such record.## Acceptance criteria- Each of the implement and review jobs SHALL have one compare form that lists the tool names of its toolset.- A test SHALL read the tool names of each job from its compare form.- The compare form SHALL report a tool name that the registry lacks as an error.- The compare form SHALL name the toolset setting of its job.
Proposed design
Problem statement
Add one compare form to the implement job and one to the review job after #6521 closes. The implement and review jobs have no compare form for their toolsets. Each new form lists the tool names of the job toolset, names the toolset setting, and raises ConfigurationError for a missing registry tool. The change writes no run record.
Acceptance criteria
Requirement: Implement compare form lists tool names
The implement job SHALL have one compare form that lists each tool name of its toolset.
Scenario: Implement toolset names
- WHEN A test builds the implement job compare form from a toolset that holds two registered tools.
- THEN The form lists both tool names in the order of the toolset setting.
Requirement: Review compare form lists tool names
The review job SHALL have one compare form that lists each tool name of its toolset.
Scenario: Review toolset names
- WHEN A test builds the review job compare form from a toolset that holds two registered tools.
- THEN The form lists both tool names in the order of the toolset setting.
Requirement: Test reads tool names from the forms
The test suite SHALL read the tool names of each job from its compare form.
Scenario: Read both forms
- WHEN A test reads the implement and review compare forms.
- THEN The test gets the same tool names that each job toolset setting holds.
Requirement: Unknown tool error
The compare form SHALL report a tool name that the registry lacks as an error.
Scenario: Missing registry tool
- WHEN A job toolset setting names a tool that the registry does not hold.
- THEN The form raises a ConfigurationError that names the job, the toolset setting and the missing tool.
Requirement: Form names the toolset setting
The compare form SHALL name the toolset setting of its job.
Scenario: Setting name in the form
- WHEN A test builds either job compare form.
- THEN The form includes the name of the toolset setting that the job reads.
Existing Tool Considered
No alternatives check has run on this item. No open, maintained tool or library covers a compare form for the roadmap implement and review jobs. The change extends the existing stage compare form and the toolset registry. Written cost: about 30,000 tokens to build, 10,000 tokens to keep and fix, and 3 hours of elapsed time.
Key questions
- Is the stage job compare form already on the default branch?: Yes. The roadmap-stage-eval spec holds the compare-form requirements. The test file tests the stage compare form. This item does not wait on feat(roadmap): add toolset comparison to stage planner eval #3239. [sources: openspec/specs/roadmap-stage-eval/spec.md, tests/roadmap/stage/test_roadmap_stage_eval_compare.py]
- How should each job get its compare form?: Reuse the existing compare form builder and add one entry for the implement job and one entry for the review job. Do not write a second builder. (best practice) [sources: src/devops_cli/commands/roadmap.py, openspec/specs/roadmap-stage-eval/spec.md]
- Chosen: Reuse the compare form builder. It keeps one form shape and one error path for the three jobs.
- Rejected: Write a new builder for each job. It duplicates code and lets the two new forms drift from the stage form.
- Where do the tool names in each form come from?: Read them from the job toolset setting through the registry that the stage compare form already reads. The form holds no hard-coded name. (best practice) [sources: openspec/specs/roadmap-stage-eval/spec.md, src/devops_cli/commands/roadmap.py]
- Chosen: Read the job toolset setting. The setting stays the only source of the tool list, so a registry change reaches the form.
- Rejected: Hard-code the names for each job. A registry change would leave the form stale.
- What should the form do when the registry lacks a tool?: Raise a ConfigurationError that names the job, the toolset setting and the missing tool. (best practice) [sources: src/devops_cli/commands/roadmap.py]
- Chosen: Raise the typed configuration error. A missing tool is a configuration defect, and the existing command path reports ConfigurationError to the user.
- Rejected: Skip the missing tool. The form would hide a broken toolset.
- How does the form name its job toolset setting?: Read the setting name from the job configuration entry and put that name in the form. Do not copy the setting name into the form code. (best practice) [sources: docs/ROADMAP_WORKFLOW.md, src/devops_cli/commands/roadmap.py]
- Chosen: Read the setting name from the job configuration. A rename of the setting reaches the form with no code change.
- Rejected: Copy the setting name into the form code. A rename would leave the form wrong.
- Does the compare form need a run record that this change writes?: No. The compare form reads the job toolset setting and the registry. It reads no run record, and this change writes no record. (best practice) [sources: tests/roadmap/stage/test_roadmap_stage_eval_compare.py, openspec/specs/roadmap-stage-eval/spec.md]
- Chosen: Read the toolset setting and the registry only. The form needs no run record, so it adds no state and no writer.
- Rejected: Write a new record for the form. It adds a second record of the same run and blocks the form until a run exists.
Fit
Fits in one pull request.
Suspected block
None.
Activity
devops-cli-service commentedon Nov 5, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.It is a deferred extension that depends on #3239 and on run records not yet written, so it is not urgent.It lets a user compare toolsets of two more jobs, which improves tooling decisions but is not a blocker.It needs the #3239 form, a run record per job, and error handling for missing tool names.Both name toolsets for the implement and review jobs, but #3244 defines the toolsets and one source, while the candidate adds a compare form for each job.devops-cli-service commentedon Nov 6, 2026
Refine cannot set this item to Ready at bd65ef6 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
devops-cli-service commentedon Nov 13, 2026
Refine cannot set this item to Ready at 4ef7c6f while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.
devops-cli-service commentedon Nov 16, 2026
Waiting for the alternatives check to run. The next refine round looks at the item again after the check records a verdict.
dan-petty commentedon Nov 20, 2026
Frozen on 2026-11-20. The stage, implement and fix-checks jobs grade under 60%, so the owner rule asks for a re-architecture before more fixes inside the current design (tracker #6519). This item is incremental work on those jobs, so its Dependencies section now names #6521 first. Stage and implement leave this item while #6521 is open. When the experiments of #6519 decide, a person closes #6521 (this item can then continue) or closes this item as not planned.
devops-cli-service commentedon Nov 20, 2026
Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies and Watched files in the section Proposed design of the body.
devops-cli-service commentedon Nov 20, 2026
Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies in the section Proposed design of the body.
devops-cli-service commentedon Nov 30, 2026
Next step: this item cannot be built as written. Edit the body to run refine again.
Reason: The compare form of the implement and review jobs needs the measured result of a toolset on the cases of a run. The stage form gets this result from the golden set and from the traces of a run. The implement and review jobs have no golden set in this repository. The issue states that the form needs a run record of its job and that this change writes no record. A list of tool names alone compares nothing. The whole item waits on the run record and the cases of the two jobs.
Evidence: Issue #3605, section 'Why it is deferred': "The form of each job also needs a run record of that job, and this change writes no such record." src/devops_cli/roadmap/stage/stage_eval_compare.py: run_toolset and _measure measure a toolset only from run_case steps and the RunTrace of a run. openspec/specs/roadmap-stage-eval/spec.md: the golden set is defined for the stage job only, at tests/fixtures/roadmap_eval/stage/.