Repository navigation
Closed
Copy link
Labels
effort/highEffort High: much work, in one pull requestpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/refactorType refactor: a new structure, same behaviorvalue/mediumValue Medium
Description
Problem
The fix-checks Job runs the agent shell in the runner container, next to the App private key (#2695). Part B of #3702 adds the phases prepare, agent and publish, and runs fix-checks on them as the pilot. Part A (#6559) ended the implement Job at the draft. Part C runs implement on the phases.
Expected
devops roadmap step fix-checks takes --phase prepare|agent|publish|all. all runs the three phases in sequence in one container, so the current template keeps working until #3700.
prepare(App key, no agent code): the GitHub reads, the claim check, the failed log and an anonymous clone at the judged head. It writes a state file to a folder that the agent does not read.agent(model key only, stockCoder): tier 1, the scope check and the model fix. It makes no GitHub call, and writesagent.patch,summary.jsonandoutcome.json.publish(App key): a shared module, which refactor(roadmap): run stage on Coder in the runner image #6528 uses later. It applies the patch as data withgit apply --cachedinto a fresh clone, writes one commit, checks the claim again, pushes with a lease on the old tip, and makes the GitHub writes of the outcome.
Acceptance criteria
-
--phase prepare|agent|publish|allexists ondevops roadmap step fix-checks, andallkeeps the current Job working. - Each phase calls
deny_environment_readsfirst. -
preparestarts no child other than git. -
publishreads the agent outputs as data (lstat,O_NOFOLLOW,fstat), refuses a new or changed symlink, gitlink or.gitmodules, and refuses a workflow file that the plan does not name. -
publishpushes one commit with a lease on the judged head, and writes the fix-checks record and comment for the outcome. - The hand-off rules of part A stay as they are.
Related
- feat(roadmap): run implement and fix-checks as prepare/agent/publish phases #3702 is the parent. refactor(roadmap): run stage on Coder in the runner image #6528 reuses
publish. feat(roadmap): add the three-container runner Job, policy and log reads #3700 splits the containers.
Source
Source: #3702
Metadata
Metadata
Assignees
Labels
effort/highEffort High: much work, in one pull requestpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/refactorType refactor: a new structure, same behaviorvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 21, 2026
Both work on the fix-checks step, but #5023 creates it and the candidate refactors it into three isolated phases.chore(main): release 0.187.2 (#6621)
devops-cli-service commentedon Nov 21, 2026
Released in v0.187.2: https://github.com/dan-petty/devops-cli/releases/tag/v0.187.2
devops-cli-service commentedon Nov 21, 2026
Live since 2026-11-21 13:09 UTC