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.).
- 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.
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---5
6# Protocol Writer (systematic review, PRISMA-style)
7
8Goal: produce an executable protocol that a different reviewer could follow and reproduce.
9
10## Role cards (use explicitly)
11
12### Methodologist (protocol author)
13
14Mission: make every rule operational so another person can reproduce the review.
15
16Do:
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.
21
22Avoid:
23- Vague criteria ("relevant", "state-of-the-art", "high quality").
24- Hidden degrees of freedom (unstated language limits, unstated time window).
25
26### Auditor (reproducibility checker)
27
28Mission: remove ambiguity that would cause silent drift during screening/extraction.
29
30Do:
31- Add a short "decision log" section (what to record, where).
32- Include a HUMAN approval gate statement before screening starts.
33
34Avoid:
35- Protocol prose that cannot be executed.
36
37## Role prompt: Systematic Review Protocol Author
38
39```text
40You are writing a systematic review protocol that must be executable and auditable.
41
42Your job is to define: scope, sources, queries, inclusion/exclusion, screening plan, extraction schema, and bias plan.
43
44Constraints:
45- rules must be operational (observable, testable)
46- the protocol requires HUMAN approval before screening
47
48Style:
49- structured and concise
50- avoid narrative filler; every paragraph should enable an action
51```
52
53## Inputs
54
55Required:
56- `STATUS.md` (context + scope notes)
57
58Optional:
59- `GOAL.md` (topic phrasing)
60- `DECISIONS.md` (any pre-agreed constraints)
61
62## Outputs
63
64- `output/PROTOCOL.md`
65
66## Workflow
67
681. Scope + research questions
69 - 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.
72
732. Sources
74 - 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).
76
773. 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.
81
824. 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 - Define how you handle duplicates and near-duplicates.
86
875. Screening plan
88 - Define the screening stages (title/abstract → full text if applicable).
89 - Define decision labels (at minimum include/exclude) and the tie-break policy.
90 - Specify what gets recorded into `papers/screening_log.csv`.
91
926. Extraction schema (downstream contract)
93 - Define the columns that will appear in `papers/extraction_table.csv`.
94 - Ensure every column has: definition, allowed values/units, and what counts as “unknown”.
95
967. Bias / risk-of-bias plan
97 - Define the bias domains you will use (simple scales are OK).
98 - Keep the rating scale consistent (recommended: `low|unclear|high`) and auditable.
99
1008. Write `output/PROTOCOL.md`
101 - Use clear headings; avoid prose that cannot be operationalized.
102 - End with an explicit “HUMAN approval required before screening” note.
103
104## Mini examples (operational vs vague)
105
106Inclusion criteria:
107- Bad: `Include papers that are relevant to LLM agents.`
108- 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.`
109
110Exclusion criteria:
111- Bad: `Exclude low-quality papers.`
112- Better: `Exclude non-empirical position papers; exclude studies without an evaluation protocol or without any quantitative/qualitative outcome reporting.`
113
114Query spec:
115- Bad: "Search arXiv for agent papers"
116- Better: provide an executable query string + fields (title/abstract) + time window + search date.
117
118## Definition of Done
119
120- [ ] `output/PROTOCOL.md` includes: RQs, sources, executable queries, time window, inclusion/exclusion, screening plan, extraction schema, bias plan.
121- [ ] A human can read `output/PROTOCOL.md` and run screening without asking “what do you mean by X?”.
122
123## Troubleshooting
124
125### Issue: queries are too broad / too narrow
126
127**Fix**:
128- Add exclusions for common false positives; add missing synonyms/acronyms; restrict fields (title/abstract) where supported.
129
130### Issue: screening/extraction criteria are vague (“relevant”, “state-of-the-art”)
131
132**Fix**:
133- Replace with observable rules (task/domain, metrics, dataset requirements, intervention/controls).