Systematic Review Ledger
In Academic Harness: the native review tool is the ledger. It stores
an append-only event log under .dsh/review/<slug>/; discovery still comes
from literature_search, openalex_search, pubmed_search, arxiv_search,
s2_search, or crossref_lookup. Run integrity_check before citing any
record in the final report. After full-text inclusion, route risk-of-bias
work to the risk-of-bias-appraisal skill.
Use this skill when the deliverable must show how studies were selected, not
just what was found. For an ordinary narrative literature review, use the
literature-review skill instead — a ledger adds bookkeeping that survey does
not need. For a survey-grade report with frozen research questions and
per-citation verification, use the Supervisor-Skills deep-research.
Ledger layout
.dsh/review/<slug>/
protocol.json write-once review question, criteria, reviewer roster, instruments
records.jsonl append-only records with stable ids (r0001, …)
search_log.jsonl one row per `add`: source, query, added, skipped
screening.jsonl decision events (latest per record+stage+reviewer) and reconciles
evidence.jsonl append-only evidence rows (e0001, …)
extraction_template.json write-once structured-extraction field definitions
extractions.jsonl append-only extraction events (x0001, …) and field reconciles
appraisal.jsonl domain judgements and reconciles (a0001, …)
instruments.json frozen risk-of-bias instrument definitions
exports/ review.md, evidence.csv, review.json, extraction tables, PRISMA flow, rob-table/rob-summary, SVGs
Never edit these files by hand. The event logs are the audit trail; rewriting
them destroys the record of what was decided and by whom.
Workflow
1. Protocol before search
Agree the question and criteria with the user first, then:
review action=start slug=<short-name> question="…" databases=["OpenAlex","PubMed"]
inclusion=["…"] exclusion=["…"] date_range="2015-2026" [notes="…"]
start refuses to overwrite an existing review. resume: true continues one;
the protocol is never silently changed. Do not start searching before the
question and criteria are explicit — screening criteria invented after results
are known invalidate the funnel.
2. Discovery, then intake
Run searches in the normal search tools and pass each query's results to the
ledger:
review action=add slug=<name> source=literature_search query="…" records=[…]
review action=add slug=<name> source=crossref query="…" path=literature/query-1.jsonl
records takes the tool result array directly (normalized papers or
CSL-JSON-like objects with title, doi, authors, year, venue).
path reads a workspace JSON array, { "results": [...] }, or JSONL.
- Deduplication order: DOI → PMID → arXiv → normalized title+year. Re-adding
the same query must add zero records; it still writes a search-log row.
- One
add per query, with the real query string, so the search log can be
reported. Do not merge several queries into one intake call.
3. Two-stage screening
review action=screen slug=<name> id=r0001 stage=title_abstract decision=include
review action=screen slug=<name> id=r0002 stage=title_abstract decision=exclude reason="animal study"
review action=screen slug=<name> id=r0001 stage=full_text decision=include
- Decisions are
include, exclude, maybe. exclude and maybe require a
reason; keep reasons short and criterion-shaped ("wrong population", not
"not relevant").
full_text is rejected until that reviewer has a title_abstract include.
- Re-screening a stage is rejected unless
override: true; it replaces only
that reviewer's event. Both events stay in the log — say in the report that a
decision was overridden instead of hiding it.
- For dual review, declare
reviewers at start and pass reviewer on every
screen. Reviewers record independently; status reports a conflict when
their resolved decisions differ. Reconcile with
reconcile scope=screening stage=… decision=… reviewer=… reason=…; the
originals stay in the log.
- The tool never decides. Ask the user (or apply the stated criteria one
record at a time) and show the title before recording the decision. Never
infer a decision from an abstract silently.
4. Evidence extraction
review action=evidence slug=<name> id=r0001 claim="X reduced Y by 20%" \
quote="X reduced Y by 20% (p=0.01)" location="Results, p. 4" page=4 section=Results
- Only for a record whose full-text decision resolves to
include. A record
still in a full-text conflict cannot take evidence; reconcile it first.
quote is stored verbatim. If the paper is in PaperMemory, run
papermemory_quote_check / papermemory_trace — the ledger does not verify
evidence quotes and an unverified quote must not be presented as verified.
scan/OCR-recovered papers are capped at extracted in PaperMemory; carry
that caveat into the report.
5. Structured extraction
Freeze a template at start or on the first extract:
review action=start slug=<name> question="…" extraction_template="pico"
review action=extract slug=<name> id=r0001 reviewer=human:alice \
values={"population":"Adults","intervention":"X","comparator":"Placebo","outcome":"Y","design":"RCT","n":120,"effect":0.74,"effect_measure":"RR"} \
quotes={"effect":{"quote":"RR 0.74 (95% CI 0.61–0.90)","location":"Results, p. 4"}} \
paper=<papermemory-id>
review action=extract_status slug=<name>
- Built-in templates:
generic, pico, peco, diagnostic_accuracy, prognostic, qualitative. An inline template is {id, name, version, fields:[{id, label, type, required, options?, unit?}]}.
values keys must match template field ids. Missing required fields are counted, never filled. Unknown fields and wrong types are rejected.
- Use
row_id for multiple outcomes, arms, or comparisons; each row is a separate extraction, not an overwrite.
- Field-level
quotes need a location. With paper, the quote is re-found through papermemory_quote_check; a quote absent from a resolved paper is rejected, an unresolved paper is stored unverified.
- Dual extraction conflicts are field-level. Resolve one with
review action=reconcile scope=extraction id=r0001 field=n value=110 reviewer=human:alice reason="consensus"; both originals stay.
extract_status reports complete/incomplete/conflict/pending rows, missing required fields, and verified/unverified quotes. Never present a conflicted field as a value.
6. Status before counts
review action=status slug=<name>
Report only what it returns: records total, search queries/added/skipped,
title/abstract and full-text counts, per-reviewer counts in dual mode,
conflicts, exclusion reasons, included, and included_without_evidence.
Resolve pendings, conflicts, and missing evidence with the user before writing
"N studies were included" — a PRISMA count is a claim about the funnel. Use
agreement scope=screening for inter-rater agreement; report it with N,
percent agreement, κ, and the marginal/prevalence caveat, never as a verdict.
7. Export the deliverable
review action=export slug=<name> format=markdown
review action=export slug=<name> format=csv
review action=export slug=<name> format=json
review action=export slug=<name> format=extraction-table table_format=markdown
review action=export slug=<name> format=extraction-matrix table_format=csv
review action=export slug=<name> format=extraction-json
review action=export slug=<name> format=prisma-flow
review action=export slug=<name> format=rob-table table_format=markdown
review action=export slug=<name> format=rob-summary table_format=csv
review action=export slug=<name> format=rob-figure
markdown — protocol, PRISMA-style table, exclusion reasons, included
records, evidence table, extraction table (when a template is frozen), and
review checklist.
csv — evidence rows with record title/DOI.
json — full protocol, derived status, records, screening events, evidence,
extraction template/status/events, and (when present) appraisal events and
frozen instruments.
extraction-table / extraction-matrix — one row per study × outcome;
Markdown or CSV. Missing required fields are blank and counted; a conflicted
cell reads conflict.
extraction-json — template, derived extraction status, and raw events.
prisma-flow — prisma-flow.svg plus prisma-flow.json; counts come from
the ledger, missing counts read not recorded, and the diagram is labelled
PRISMA-style, not a compliance statement.
Exports refuse to overwrite unless overwrite: true; a second export of the
same format is a deliberate replacement, not routine.
Reporting rules
- Label counts as PRISMA-style, derived from this ledger. The
prisma-flow export is a PRISMA-style flow diagram generated from recorded
counts; it is not a compliance statement, and missing counts must stay
not recorded.
- Name every database and the date of search from the search log. Never
present a ledger built from one source as a multi-database review.
- Duplicates skipped is a counted outcome, not an error to hide.
- Screening is a human decision; if the user has not made it, leave records
pending rather than filling the table.
- A second reviewer does not overwrite the first; a disagreement is a conflict
until reconciled. Keep
human: and ai: judgements distinguishable.
- Inter-rater agreement is descriptive: report κ with its CI, N, and marginal
caveats. Do not treat κ as proof that the screening is correct.
- Publication status comes from
integrity_check, not from this ledger.
- Extraction values are records of what a reviewer reported, not verified
facts. Report quote verification separately; never fill a missing field or
silently choose one side of a conflict.
1---2name: systematic-review-ledger3description: Run a systematic or scoping review as an auditable screening funnel with the native `review` tool — protocol, record intake from literature searches, two-stage screening (single or dual reviewer), verbatim evidence, risk-of-bias appraisal, PRISMA-style counts, agreement statistics, and exports. Use when the user asks for a systematic review, scoping review, PRISMA audit, reproducible screening, dual-reviewer screening, or an evidence table built from a search.4allowed-tools: Read Write Edit Bash5license: MIT6metadata:7 source: https://skillmd.com/skills/raktim-mondol/systematic-review-ledger8 version: "1.0"9 skill-author: Academic Harness10---1112# Systematic Review Ledger1314> **In Academic Harness:** the native `review` tool is the ledger. It stores15> an append-only event log under `.dsh/review/<slug>/`; discovery still comes16> from `literature_search`, `openalex_search`, `pubmed_search`, `arxiv_search`,17> `s2_search`, or `crossref_lookup`. Run `integrity_check` before citing any18> record in the final report. After full-text inclusion, route risk-of-bias19> work to the `risk-of-bias-appraisal` skill.2021Use this skill when the deliverable must show *how* studies were selected, not22just what was found. For an ordinary narrative literature review, use the23`literature-review` skill instead — a ledger adds bookkeeping that survey does24not need. For a survey-grade report with frozen research questions and25per-citation verification, use the Supervisor-Skills `deep-research`.2627## Ledger layout2829```30.dsh/review/<slug>/31 protocol.json write-once review question, criteria, reviewer roster, instruments32 records.jsonl append-only records with stable ids (r0001, …)33 search_log.jsonl one row per `add`: source, query, added, skipped34 screening.jsonl decision events (latest per record+stage+reviewer) and reconciles35 evidence.jsonl append-only evidence rows (e0001, …)36 extraction_template.json write-once structured-extraction field definitions37 extractions.jsonl append-only extraction events (x0001, …) and field reconciles38 appraisal.jsonl domain judgements and reconciles (a0001, …)39 instruments.json frozen risk-of-bias instrument definitions40 exports/ review.md, evidence.csv, review.json, extraction tables, PRISMA flow, rob-table/rob-summary, SVGs41```4243Never edit these files by hand. The event logs are the audit trail; rewriting44them destroys the record of what was decided and by whom.4546## Workflow4748### 1. Protocol before search4950Agree the question and criteria with the user first, then:5152```text53review action=start slug=<short-name> question="…" databases=["OpenAlex","PubMed"]54 inclusion=["…"] exclusion=["…"] date_range="2015-2026" [notes="…"]55```5657`start` refuses to overwrite an existing review. `resume: true` continues one;58the protocol is never silently changed. Do not start searching before the59question and criteria are explicit — screening criteria invented after results60are known invalidate the funnel.6162### 2. Discovery, then intake6364Run searches in the normal search tools and pass each query's results to the65ledger:6667```text68review action=add slug=<name> source=literature_search query="…" records=[…]69review action=add slug=<name> source=crossref query="…" path=literature/query-1.jsonl70```7172- `records` takes the tool result array directly (normalized papers or73 CSL-JSON-like objects with `title`, `doi`, `authors`, `year`, `venue`).74- `path` reads a workspace JSON array, `{ "results": [...] }`, or JSONL.75- Deduplication order: DOI → PMID → arXiv → normalized title+year. Re-adding76 the same query must add zero records; it still writes a search-log row.77- One `add` per query, with the real query string, so the search log can be78 reported. Do not merge several queries into one intake call.7980### 3. Two-stage screening8182```text83review action=screen slug=<name> id=r0001 stage=title_abstract decision=include84review action=screen slug=<name> id=r0002 stage=title_abstract decision=exclude reason="animal study"85review action=screen slug=<name> id=r0001 stage=full_text decision=include86```8788- Decisions are `include`, `exclude`, `maybe`. `exclude` and `maybe` require a89 reason; keep reasons short and criterion-shaped ("wrong population", not90 "not relevant").91- `full_text` is rejected until that reviewer has a `title_abstract` include.92- Re-screening a stage is rejected unless `override: true`; it replaces only93 that reviewer's event. Both events stay in the log — say in the report that a94 decision was overridden instead of hiding it.95- For dual review, declare `reviewers` at `start` and pass `reviewer` on every96 `screen`. Reviewers record independently; `status` reports a conflict when97 their resolved decisions differ. Reconcile with98 `reconcile scope=screening stage=… decision=… reviewer=… reason=…`; the99 originals stay in the log.100- The tool never decides. Ask the user (or apply the stated criteria one101 record at a time) and show the title before recording the decision. Never102 infer a decision from an abstract silently.103104### 4. Evidence extraction105106```text107review action=evidence slug=<name> id=r0001 claim="X reduced Y by 20%" \108 quote="X reduced Y by 20% (p=0.01)" location="Results, p. 4" page=4 section=Results109```110111- Only for a record whose full-text decision resolves to `include`. A record112 still in a full-text conflict cannot take evidence; reconcile it first.113- `quote` is stored verbatim. If the paper is in PaperMemory, run114 `papermemory_quote_check` / `papermemory_trace` — the ledger does not verify115 evidence quotes and an unverified quote must not be presented as verified.116- `scan`/OCR-recovered papers are capped at `extracted` in PaperMemory; carry117 that caveat into the report.118119### 5. Structured extraction120121Freeze a template at `start` or on the first `extract`:122123```text124review action=start slug=<name> question="…" extraction_template="pico"125review action=extract slug=<name> id=r0001 reviewer=human:alice \126 values={"population":"Adults","intervention":"X","comparator":"Placebo","outcome":"Y","design":"RCT","n":120,"effect":0.74,"effect_measure":"RR"} \127 quotes={"effect":{"quote":"RR 0.74 (95% CI 0.61–0.90)","location":"Results, p. 4"}} \128 paper=<papermemory-id>129review action=extract_status slug=<name>130```131132- Built-in templates: `generic`, `pico`, `peco`, `diagnostic_accuracy`, `prognostic`, `qualitative`. An inline template is `{id, name, version, fields:[{id, label, type, required, options?, unit?}]}`.133- `values` keys must match template field ids. Missing required fields are counted, never filled. Unknown fields and wrong types are rejected.134- Use `row_id` for multiple outcomes, arms, or comparisons; each row is a separate extraction, not an overwrite.135- Field-level `quotes` need a location. With `paper`, the quote is re-found through `papermemory_quote_check`; a quote absent from a resolved paper is rejected, an unresolved paper is stored `unverified`.136- Dual extraction conflicts are field-level. Resolve one with `review action=reconcile scope=extraction id=r0001 field=n value=110 reviewer=human:alice reason="consensus"`; both originals stay.137- `extract_status` reports complete/incomplete/conflict/pending rows, missing required fields, and verified/unverified quotes. Never present a conflicted field as a value.138139### 6. Status before counts140141```text142review action=status slug=<name>143```144145Report only what it returns: records total, search queries/added/skipped,146title/abstract and full-text counts, per-reviewer counts in dual mode,147`conflicts`, exclusion reasons, `included`, and `included_without_evidence`.148Resolve pendings, conflicts, and missing evidence with the user before writing149"N studies were included" — a PRISMA count is a claim about the funnel. Use150`agreement scope=screening` for inter-rater agreement; report it with N,151percent agreement, κ, and the marginal/prevalence caveat, never as a verdict.152153### 7. Export the deliverable154155```text156review action=export slug=<name> format=markdown157review action=export slug=<name> format=csv158review action=export slug=<name> format=json159review action=export slug=<name> format=extraction-table table_format=markdown160review action=export slug=<name> format=extraction-matrix table_format=csv161review action=export slug=<name> format=extraction-json162review action=export slug=<name> format=prisma-flow163review action=export slug=<name> format=rob-table table_format=markdown164review action=export slug=<name> format=rob-summary table_format=csv165review action=export slug=<name> format=rob-figure166```167168- `markdown` — protocol, PRISMA-style table, exclusion reasons, included169 records, evidence table, extraction table (when a template is frozen), and170 review checklist.171- `csv` — evidence rows with record title/DOI.172- `json` — full protocol, derived status, records, screening events, evidence,173 extraction template/status/events, and (when present) appraisal events and174 frozen instruments.175- `extraction-table` / `extraction-matrix` — one row per study × outcome;176 Markdown or CSV. Missing required fields are blank and counted; a conflicted177 cell reads `conflict`.178- `extraction-json` — template, derived extraction status, and raw events.179- `prisma-flow` — `prisma-flow.svg` plus `prisma-flow.json`; counts come from180 the ledger, missing counts read `not recorded`, and the diagram is labelled181 PRISMA-style, not a compliance statement.182183Exports refuse to overwrite unless `overwrite: true`; a second export of the184same format is a deliberate replacement, not routine.185186## Reporting rules187188- Label counts as **PRISMA-style**, derived from this ledger. The189 `prisma-flow` export is a PRISMA-style flow diagram generated from recorded190 counts; it is not a compliance statement, and missing counts must stay191 `not recorded`.192- Name every database and the date of search from the search log. Never193 present a ledger built from one source as a multi-database review.194- Duplicates skipped is a counted outcome, not an error to hide.195- Screening is a human decision; if the user has not made it, leave records196 pending rather than filling the table.197- A second reviewer does not overwrite the first; a disagreement is a conflict198 until reconciled. Keep `human:` and `ai:` judgements distinguishable.199- Inter-rater agreement is descriptive: report κ with its CI, N, and marginal200 caveats. Do not treat κ as proof that the screening is correct.201- Publication status comes from `integrity_check`, not from this ledger.202- Extraction values are records of what a reviewer reported, not verified203 facts. Report quote verification separately; never fill a missing field or204 silently choose one side of a conflict.