Protocol Writer
Transforms the review question into an executable evidence-review protocol.
Inputs
Required:
STATUS.md
Optional:
GOAL.mdDECISIONS.mdqueries.md
Output
output/PROTOCOL.md
Contract
The protocol must contain:
- review questions
- source/search specification
- inclusion and exclusion clauses with stable IDs
- screening plan
- extraction schema
- bias plan
- explicit HUMAN approval note
Script boundary
scripts/run.py should:
- read current review context
- materialize an operational protocol
- write a stable extraction schema and clause IDs
It should not perform retrieval or screening itself.
Acceptance
output/PROTOCOL.mdexists- includes extraction schema and protocol clause IDs
- is operational enough for downstream screening
Non-goals
- writing final synthesis prose
- screening candidate papers