The design/briefs/write-gate prompt
The whole text of config/agent-prompts/design/briefs/write-gate.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/briefs/write-gate | 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 | plan | the harness role the agent reading it runs under |
| stage | gate-build | the stage of a run it is handed at |
| bundled at | config/agent-prompts/design/briefs/write-gate.md | where the built-in copy sits in Gantry's own tree |
| pattern | role | stage |
|---|---|---|
| milestone | plan | gate-build |
Where an override of it goes
| tier | the file to write | what it is |
|---|---|---|
|
run
consulted 1st |
.gantry/<plan>/prompts/design/briefs/write-gate.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/briefs/write-gate.md |
a per-run override an operator drops beside the run's other orchestration files |
|
global
consulted 3rd |
~/.config/gantry/agent-prompts/design/briefs/write-gate.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/briefs/write-gate.md |
the default compiled into the binary |
The text
Author the structural gate for the design-brief pass.
Read the surface index and the tickets under `{{ORCH}}/`. Write an executable script at
`{{ORCH}}/bin/gate` that exits 0 only when every required brief exists under
`docs/page-design/briefs/` and each brief has non-placeholder sections for purpose, data contract,
functions, signature, states, materials, and done. If the project ships a design-system check script,
run it and fail on any reported failure.
Scope the gate to briefs only. Do not run the application test suite, do not write briefs, and do not
change production code. Make the script executable and verify that it runs.
{{PLAN}}