Repository navigation
Description
Problem
The command devops roadmap step fix-checks --pull N (#5023, PR #5939, v0.163.0) repairs no check. The command calls the step with no fixer and no checkout:
src/devops_cli/commands/roadmap_step_fix_checks.py:55:
report = run_fix_checks(store, target, pull, head=head, confirm=confirm)run_fix_checks (src/devops_cli/roadmap/steps/fix_checks.py:332) takes tier1_fixer, model_fixer, scope_checker and source, and all four stay None:
- Tier 1 (ruff fix, docs generate, uv lock) never runs:
tier1_fixer is not Noneis false. - The scope check reads
Path.cwd(), which holds no clone of the pull request branch, so the step returnsstoppedwith "Failed check log is outside plan scope". - With a scope that passes,
model_fixerisNone, so the step returnsfailedwith "Model repair failed". - The step ignores
--confirm: it writes thefix_checks.*marks and the CI infrastructure comment without it.
The tests of the step pass fake fixers (tests/roadmap/steps/test_roadmap_step_fix_checks.py:280), and the command tests cover only a closed pull request and an error, so no test runs the command on a failed check.
Evidence (2026-11-16): a probe that calls run_fix_checks with the keywords of the command and a fake GitHub session (one failed Static Analysis check, a bot author, an in-scope log) gives:
{"job": "fix_checks", "pull": 42, "result": "stopped", "reason": "Failed check log is outside plan scope"}
{"job": "fix_checks", "pull": 42, "result": "failed", "reason": "Model repair failed"} # scope_checker forced to True
Impact
#5027 (the watch row starts fix-checks Jobs) runs this command in each fix Job. Until the command repairs, each fix Job spends a runner pod, writes a stopped or failed mark and fixes nothing, and the owner direction of 2026-11-16 puts fix Jobs before new implement and stage Jobs. So #5027 waits for this item.
Expected behavior
The command repairs a failed check of a bot pull request in a Job of the runner image:
- It clones the head branch of the pull request (as the implement Job does) and passes that checkout as
source. - It passes the tier 1 fixer, then the model fixer of the implement repair loop (
implement_run.py_repair_after_push,_fix,_push), within the plan scope. - It writes nothing without
--confirm. - Its model calls count against a budget of new tokens (uncached input plus output), with a generous default of 16000000 for each run, as
roadmap.implement.step_token_budget(owner direction 2026-11-16).
Test first: the command, with fake GitHub and a fake model, repairs an in-scope Static Analysis failure and pushes one commit; without --confirm it writes nothing.
Out of scope
A failed Semantic PR title check (#5940, #5920) is a title problem, not a file problem: no fixer of this step changes a pull request title.
Related
- feat(roadmap): a fix-checks step fixes a failed check #5023 (the step), feat(roadmap): the watch row starts fix-checks Jobs #5027 (the launcher that waits for this item), refactor(roadmap): the implement Job ends at its draft #5029 (the implement Job hands its repair loop to the fix Jobs), feat(roadmap): track the Service step jobs #5014 (tracker).
Source: #5014
Activity
dan-petty commentedon Nov 16, 2026
The command causes every fix Job to fail and blocks #5027, which the owner direction prioritises.Both items work on the fix-checks step, but #5840 adds a fixable check before a decision point while the candidate fixes the command not passing fixers to the step.fix(roadmap): Give the fix-checks command a checkout and its fixers (#…
fix(roadmap): Name the owner direction for the fix-checks cap (#5971)
fix(roadmap): Test the fix-checks round at its edges and keep ADR 002…
devops-cli-service commentedon Nov 16, 2026
Released in v0.165.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.165.0
devops-cli-service commentedon Nov 16, 2026
Live since 2026-11-16 14:50 UTC