Step 8: The files of each phase
Step 8: The files of each phase
The eighth step of the harness I put around my coding agents: each phase lists the files it will touch, compared with git at the end, so I read the gaps, never the diff.
Part of the series: Codebase Harness, Step by Step · View all parts
Previously in this series: Step 7: A plan in phases
The diff was green and I had no idea why a file had been touched. Now each phase of the plan lists the files it will create or edit, and at the end I compare with git diff --name-only. The agent explains every gap in its handoff. I look at the gaps, never the diff.
Two dimensions. A guide acts before the agent, a sensor after. Each is inferential, judged by a model, or computational, decided by a program. Inferential guides are what the agent reads, AGENTS.md, a skill, a plan, sharper written in the literature's words; computational guides are deterministic tools, a codemod, a generator, a command that acts in the agent's place, code mode, where the agent writes a program instead of a string of actions, a language server. Inferential sensors are a review by a model or a person; computational sensors are the type checker, the linter, tests and fitness functions. Each practice moves a judgement toward computation, and the computational sensor is the optimum.
- 4 · literature in skills
- 5 · skills
- 1 · type checker
- 2 · linter
- 3 · dead code
- 6 · fitness functions
- 7 · plan in phases
- 8 · files per phasetoday
In Birgitta Böckeler's grid of guides and sensors, the file list is a guide, and comparing it with what the phase touched is a computational sensor. The agent's explanations are what's left for you to read. The series' map: Guides and Sensors: Mapping Your Attention to Free It
If you want an example, here is a phase with its planned files: lbdremy/phax/docs/plans/archive/2611061508-records-branch-tip-plan.md
Next in this series: Step 9: A model per phase
A thought after reading?
If you would like to discuss about this article, you can write to me here. I share because I care and I want to learn. Please teach me with care.