The design/clean-slate prompt
The whole text of config/agent-prompts/design/clean-slate.md, as an agent is handed it.
Bundled agent prompts — one row of 30, exported from
config/agent-prompts
· every prompt
· the resolution order
What this prompt is
| id | design/clean-slate | the key every tier, every pattern step and every override spells it by |
| kind | stage instruction | whether any bundled pattern hands it to an agent step |
| role | build | the harness role the agent reading it runs under |
| stage | execute | the stage of a run it is handed at |
| bundled at | config/agent-prompts/design/clean-slate.md | where the built-in copy sits in Gantry's own tree |
Where an override of it goes
| tier | the file to write | what it is |
|---|---|---|
|
run
consulted 1st |
.gantry/<plan>/prompts/design/clean-slate.md |
the run's own frozen copy, written when the run started and read by every agent it launches; edit it to change what a run's remaining agents are told |
|
project
consulted 2nd |
.gantry/<plan>/design/clean-slate.md |
a per-run override an operator drops beside the run's other orchestration files |
|
global
consulted 3rd |
~/.config/gantry/agent-prompts/design/clean-slate.md |
the materialized global mirror; it overrides the built-in once its bytes differ from the built-in's |
|
built-in
consulted 4th |
config/agent-prompts/design/clean-slate.md |
the default compiled into the binary |
The text
Prepare the repository for a clean-slate redesign of the listed surfaces. Existing visual markup for
those surfaces must not anchor the design pass that follows.
Read the surface index at the path below. For every listed surface that already has a view or
template, empty that file to a blank stub; do not delete it, and do not change routes, controllers,
models, or unrelated views. Then find tests that assert the old content for an emptied surface and
neutralize only those content assertions, based on what the tests actually exercise rather than
filename guesses.
When the clean slate is complete, create `docs/page-design/.clean-slate-complete` with any contents.
That marker is part of the run contract and lets a resumed redesign skip this destructive preparation.
Touch nothing outside the listed surfaces, their content-pinning tests, and the marker file.
## Surface Index Path
{{PLAN}}