Repository navigation
Description
Problem
StepClass (implement_step.py) has four members: PLAN, EDIT, REPAIR and REVIEW. Only EDIT (the default of run_step) and REPAIR (the fix step) have a reader. grep -rn 'StepClass' src tests finds no use of PLAN or REVIEW.
The tuple CONST_ROADMAP_IMPLEMENT_STEP_CLASSES (constants.py, line 3231) and the default ladder of RoadmapImplementConfig (settings.py) still list plan and review. The example ConfigMap (k8s/devops/configmap.example.yaml, lines 120 and 123) sets a tier for each.
A dead class is a setting that a person can change with no effect. #3049 (open) adds the class review back when it builds the review step.
Expected
Remove these dead names:
PLANandREVIEWfromStepClass.planandreviewfromCONST_ROADMAP_IMPLEMENT_STEP_CLASSES.- The two lines from the example ConfigMap.
Change the description of the setting roadmap.implement.ladder (settings.py), which lists the four classes. Regenerate docs/ENV_VARS.md and docs/CONFIGURATION.md with uv run devops docs generate.
Change the test tests/config/test_settings.py (lines 89 and 97 use the keys plan and review). Change the requirement in openspec/specs/roadmap-service-deployment/spec.md (line 53): "the four step classes have a ladder" becomes "the two step classes have a ladder".
Rollout rule. The validator refuses a ladder key that is not a step class (_check_ladder). The live ConfigMap names plan and review if it follows the example. Remove both keys from the live ConfigMap in the same deploy. Show the diff first. This change adds no shim.
Out of scope: a cap, a timeout, or a guard for a missing context_window. The deployed ConfigMap already sets context_window for analysis, implement and verification.
Acceptance criteria
-
uv run pytest tests/roadmap/implement/test_roadmap_implement_step_classes.py -k exactly_edit_and_repair-StepClasshas exactly the membersEDITandREPAIR. -
uv run pytest tests/roadmap/implement/test_roadmap_implement_step_classes.py -k ladder- the constant, the default ladder and the example ConfigMap ladder hold exactlyeditandrepair. A ladder with the keyplanorreviewis refused with a message. -
! grep -nE '^\s+(plan|review):' k8s/devops/configmap.example.yaml && uv run devops docs generate --check- the example ConfigMap names no dead class and the generated documents are up to date (the grep part fails today).
Every command above fails on the unchanged code. The pull request cites the fail-to-pass run (devops ci fail-to-pass --base <ref>).
Feasibility
I read these files at origin/main: implement_step.py (StepClass, _ladder_tiers, run_step, run_fix_step), constants.py (line 3231), settings.py (ladder, _check_ladder), k8s/devops/configmap.example.yaml, tests/config/test_k8s_devops_runtime.py and the spec roadmap-service-deployment. I did not run the code.
I did not read the live ConfigMap, so I cannot say if it names the two keys. The rollout rule covers both cases. tests/config/test_k8s_devops_runtime.py (line 187) compares the ladder keys with the constant, so it follows the constant.
Existing tool considered
None needed. The change removes code.
Cost
Build: about 25k tokens and 1.5 h. Keep: about 1k tokens per quarter. Fix: about 5k tokens and 0.3 h.
Related
Part of #3027. #3049 (adds the class review back when it builds the review step), #3060 (the ladder).
Activity
dan-petty commentedon Nov 7, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
refactorprefix of the title gives the type.(roadmap)scope of the title gives the scope.Removing dead code has no user-facing effect and no urgency.The change cleans up dead names but does not alter user-visible behaviour.The work removes a few enum members, a constant entry, config lines, and updates docs and tests.Both touch the roadmap implement step ladder, but #3569 changes repair round strategy while the candidate removes dead step class members.devops-cli-service commentedon Nov 7, 2026
Released in v0.84.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.84.0
devops-cli-service commentedon Nov 7, 2026
Live since 2026-11-07 22:00 UTC