DOS
DOS is a self-hosted system I am building that turns an issue in a tracker into a draft pull request, with the evidence that the change works attached to it. Coding agents do the planning, the writing, and the testing. A person decides at exactly two points: whether the plan is right, and whether the finished change should go in.
It is in development, and its source is not public yet. This page describes the workflow only. A deeper write-up, with the architecture and a replay of a real run, will follow when it is open-sourced.
One run, step by stepLink to “One run, step by step”
The figure walks through one run, from issue to reviewed pull request. It is simulated: a hand-written sequence of events that shows the workflow, not a recording of a real run.
- Issue
- Plan
- Plan approval person
- Implement
- Verify
- Draft PR
- Review person
Waiting to start
An issue is waiting in the tracker. Nothing has run yet.
No sandbox running
Verification
No checks have run.
An issue is waiting in the tracker. Nothing has run yet.
How a run worksLink to “How a run works”
Issue to plan. A run starts from an issue. An agent reads it and the code, reproduces the problem, and writes a plan: what is wrong, what will change, and which tests will show the change works.
The first decision. Nothing is changed until a person approves the plan. Reviewing a plan is quicker than reviewing a diff, and it is the point where a wrong direction costs the least to correct.
Implementation in a sandbox. Agents work in disposable sandboxes that exist for one task and are then thrown away. A sandbox holds a copy of the code to work on, and no credentials for the repository host or for any cloud account. An agent in a sandbox changes files and runs tests.
Verification from scratch. When the agent is done, the change is frozen. Verification does not trust the agent’s sandbox or its report that the tests passed. It rebuilds a fresh environment from the frozen change alone and runs the checks there. If a check fails, the failure goes back to implementation with the output, and a fix round starts in a new sandbox. No pull request is opened from a failing change.
Draft pull request with evidence. Once every check passes on a clean rebuild, a draft pull request is opened with the plan, the change, and the check results, including any rounds that failed first.
The second decision. A person reviews the pull request against that evidence and decides whether to merge. The system never merges on its own.
Why two decisionsLink to “Why two decisions”
Approval prompts on every action train people to click yes. DOS puts the person where judgment matters, on the plan and on the result, and relies on the sandbox boundary for everything in between: the agent works in a disposable copy that holds no repository-hosting or cloud credentials.