Protocol Writer (systematic review, PRISMA-style)
Goal: produce an executable protocol that a different reviewer could follow and reproduce.
Role cards (use explicitly)
Methodologist (protocol author)
Mission: make every rule operational so another person can reproduce the review.
Do:
- Define scope and RQs in testable language (what counts as in/out).
- Write copy/paste executable queries per source, including time window and search date.
- Specify screening labels and tie-break policy.
- Define an extraction schema with allowed values/units and how to record unknowns.
Avoid:
- Vague criteria ("relevant", "state-of-the-art", "high quality").
- Hidden degrees of freedom (unstated language limits, unstated time window).
Auditor (reproducibility checker)
Mission: remove ambiguity that would cause silent drift during screening/extraction.
Do:
- Add a short "decision log" section (what to record, where).
- Include a HUMAN approval gate statement before screening starts.
Avoid:
- Protocol prose that cannot be executed.
Role prompt: Systematic Review Protocol Author
You are writing a systematic review protocol that must be executable and auditable.
Your job is to define: scope, sources, queries, inclusion/exclusion, screening plan, extraction schema, and bias plan.
Constraints:
- rules must be operational (observable, testable)
- the protocol requires HUMAN approval before screening
Style:
- structured and concise
- avoid narrative filler; every paragraph should enable an action
Inputs
Required:
STATUS.md (context + scope notes)
Optional:
GOAL.md (topic phrasing)
DECISIONS.md (any pre-agreed constraints)
Outputs
Workflow
Scope + research questions
- Translate the goal in
GOAL.md (if present) into 1–3 review questions.
- State what is in-scope / out-of-scope (keep consistent with
STATUS.md).
- If
DECISIONS.md exists, treat it as authoritative for any pre-agreed constraints.
Sources
- List databases/sources you will search (e.g., arXiv, ACL Anthology, IEEE Xplore, ACM DL, PubMed).
- Specify any manual routes (snowballing: references/cited-by).
Search strategy (copy/paste executable)
- For each source, write a concrete query string.
- Define the time window (from/to year) and language constraints.
- Record “search date” so the run is auditable.
Inclusion / exclusion criteria (operational, not vague)
- Write MUST-HAVE criteria (study type, domain, outcomes).
- Write MUST-NOT criteria (wrong population/task; non-peer-reviewed if excluded; etc.).
- Assign stable IDs so screening can reference them:
- Inclusion:
I1, I2, ...
- Exclusion:
E1, E2, ...
- Define how you handle duplicates and near-duplicates.
Screening plan
- Define the screening stages (title/abstract → full text if applicable).
- Define decision labels (at minimum include/exclude) and the tie-break policy.
- Specify what gets recorded into
papers/screening_log.csv.
- Require that every screening decision cites at least one protocol clause ID (e.g.,
reason_codes=E3).
Extraction schema (downstream contract)
- Define the columns that will appear in
papers/extraction_table.csv.
- Ensure every column has: definition, allowed values/units, and what counts as “unknown”.
Bias / risk-of-bias plan
- Define the bias domains you will use (simple scales are OK).
- Keep the rating scale consistent (recommended:
low|unclear|high) and auditable.
Write output/PROTOCOL.md
- Use clear headings; avoid prose that cannot be operationalized.
- End with an explicit “HUMAN approval required before screening” note.
Mini examples (operational vs vague)
Inclusion criteria:
- Bad:
Include papers that are relevant to LLM agents.
- Better:
Include studies that evaluate an LLM-based agent in an interactive environment (tool use or embodied/web/OS), reporting at least one task success metric under a described protocol.
Exclusion criteria:
- Bad:
Exclude low-quality papers.
- Better:
Exclude non-empirical position papers; exclude studies without an evaluation protocol or without any quantitative/qualitative outcome reporting.
Query spec:
- Bad: "Search arXiv for agent papers"
- Better: provide an executable query string + fields (title/abstract) + time window + search date.
Definition of Done
Troubleshooting
Issue: queries are too broad / too narrow
Fix:
- Add exclusions for common false positives; add missing synonyms/acronyms; restrict fields (title/abstract) where supported.
Issue: screening/extraction criteria are vague (“relevant”, “state-of-the-art”)
Fix:
- Replace with observable rules (task/domain, metrics, dataset requirements, intervention/controls).
1---2name: protocol-writer3description: Write a systematic review protocol into `output/PROTOCOL.md` (databases, queries, inclusion/exclusion, time window, extraction fields). **Trigger**: protocol, PRISMA, systematic review, inclusion/exclusion, 检索式, 纳入排除. **Use when**: systematic review pipeline 的起点(C1),需要先锁定 protocol 再开始 screening/extraction。 **Skip if**: 不是做 systematic review(或 protocol 已经锁定且不允许修改)。 **Network**: none. **Guardrail**: protocol 必须包含可执行的检索与筛选规则;需要 HUMAN 签字后才能进入 screening。4---56# Protocol Writer (systematic review, PRISMA-style)78Goal: produce an executable protocol that a different reviewer could follow and reproduce.910## Role cards (use explicitly)1112### Methodologist (protocol author)1314Mission: make every rule operational so another person can reproduce the review.1516Do:17- Define scope and RQs in testable language (what counts as in/out).18- Write copy/paste executable queries per source, including time window and search date.19- Specify screening labels and tie-break policy.20- Define an extraction schema with allowed values/units and how to record unknowns.2122Avoid:23- Vague criteria ("relevant", "state-of-the-art", "high quality").24- Hidden degrees of freedom (unstated language limits, unstated time window).2526### Auditor (reproducibility checker)2728Mission: remove ambiguity that would cause silent drift during screening/extraction.2930Do:31- Add a short "decision log" section (what to record, where).32- Include a HUMAN approval gate statement before screening starts.3334Avoid:35- Protocol prose that cannot be executed.3637## Role prompt: Systematic Review Protocol Author3839```text40You are writing a systematic review protocol that must be executable and auditable.4142Your job is to define: scope, sources, queries, inclusion/exclusion, screening plan, extraction schema, and bias plan.4344Constraints:45- rules must be operational (observable, testable)46- the protocol requires HUMAN approval before screening4748Style:49- structured and concise50- avoid narrative filler; every paragraph should enable an action51```5253## Inputs5455Required:56- `STATUS.md` (context + scope notes)5758Optional:59- `GOAL.md` (topic phrasing)60- `DECISIONS.md` (any pre-agreed constraints)6162## Outputs6364- `output/PROTOCOL.md`6566## Workflow67681. Scope + research questions69 - Translate the goal in `GOAL.md` (if present) into 1–3 review questions.70 - State what is in-scope / out-of-scope (keep consistent with `STATUS.md`).71 - If `DECISIONS.md` exists, treat it as authoritative for any pre-agreed constraints.72732. Sources74 - List databases/sources you will search (e.g., arXiv, ACL Anthology, IEEE Xplore, ACM DL, PubMed).75 - Specify any manual routes (snowballing: references/cited-by).76773. Search strategy (copy/paste executable)78 - For each source, write a concrete query string.79 - Define the time window (from/to year) and language constraints.80 - Record “search date” so the run is auditable.81824. Inclusion / exclusion criteria (operational, not vague)83 - Write MUST-HAVE criteria (study type, domain, outcomes).84 - Write MUST-NOT criteria (wrong population/task; non-peer-reviewed if excluded; etc.).85 - Assign stable IDs so screening can reference them:86 - Inclusion: `I1`, `I2`, ...87 - Exclusion: `E1`, `E2`, ...88 - Define how you handle duplicates and near-duplicates.89905. Screening plan91 - Define the screening stages (title/abstract → full text if applicable).92 - Define decision labels (at minimum include/exclude) and the tie-break policy.93 - Specify what gets recorded into `papers/screening_log.csv`.94 - Require that every screening decision cites at least one protocol clause ID (e.g., `reason_codes=E3`).95966. Extraction schema (downstream contract)97 - Define the columns that will appear in `papers/extraction_table.csv`.98 - Ensure every column has: definition, allowed values/units, and what counts as “unknown”.991007. Bias / risk-of-bias plan101 - Define the bias domains you will use (simple scales are OK).102 - Keep the rating scale consistent (recommended: `low|unclear|high`) and auditable.1031048. Write `output/PROTOCOL.md`105 - Use clear headings; avoid prose that cannot be operationalized.106 - End with an explicit “HUMAN approval required before screening” note.107108## Mini examples (operational vs vague)109110Inclusion criteria:111- Bad: `Include papers that are relevant to LLM agents.`112- Better: `Include studies that evaluate an LLM-based agent in an interactive environment (tool use or embodied/web/OS), reporting at least one task success metric under a described protocol.`113114Exclusion criteria:115- Bad: `Exclude low-quality papers.`116- Better: `Exclude non-empirical position papers; exclude studies without an evaluation protocol or without any quantitative/qualitative outcome reporting.`117118Query spec:119- Bad: "Search arXiv for agent papers"120- Better: provide an executable query string + fields (title/abstract) + time window + search date.121122## Definition of Done123124- [ ] `output/PROTOCOL.md` includes: RQs, sources, executable queries, time window, inclusion/exclusion, screening plan, extraction schema, bias plan.125- [ ] A human can read `output/PROTOCOL.md` and run screening without asking “what do you mean by X?”.126127## Troubleshooting128129### Issue: queries are too broad / too narrow130131**Fix**:132- Add exclusions for common false positives; add missing synonyms/acronyms; restrict fields (title/abstract) where supported.133134### Issue: screening/extraction criteria are vague (“relevant”, “state-of-the-art”)135136**Fix**:137- Replace with observable rules (task/domain, metrics, dataset requirements, intervention/controls).