Papersmith AI review line — PRISMA 2020 systematic review

Papersmith AI review line — PRISMA 2020 systematic review An architecture diagram generated by Archify. smith init --kind review · review/ · 9 review contracts · 1 · Harness (smith init --kind review) · smith kind set review smith init --kind review review/ · 9 review contracts smith kind set review .papersmith/config.json · paper_kind: review · 1 · Harness (smith init --kind review) .papersmith/config.json paper_kind: review smith ui · ten review steps · Review tab · 1 · Harness (smith init --kind review) · command center smith ui ten review steps · Review tab command center smith status · audit · audit . --check-drift · 1 · Harness (smith init --kind review) smith status · audit audit . --check-drift /upgrade-project · older release only · 1 · Harness (smith init --kind review) · .pi/prompts /upgrade-project older release only .pi/prompts /systematic-review scope · topic in ≥ 2 sentences · 2 · Scoping (existing reviews) /systematic-review scope topic in ≥ 2 sentences review_cli.py scope · OpenAlex · type:review · 2 · Scoping (existing reviews) · not part of the PRISMA flow review_cli.py scope OpenAlex · type:review not part of the PRISMA flow review/scope.json · existing reviews · the gap · 2 · Scoping (existing reviews) review/scope.json existing reviews · the gap /plausibility · optional · field constellation · 2 · Scoping (existing reviews) · .pi/prompts /plausibility optional · field constellation .pi/prompts sota-pool/ · atlas.html · 2 · Scoping (existing reviews) sota-pool/ atlas.html /systematic-review protocol · RQs · PICOC · criteria · queries · 3 · Protocol (G-PROTOCOL, operator) /systematic-review protocol RQs · PICOC · criteria · queries review_cli.py init · protocol.json template · 3 · Protocol (G-PROTOCOL, operator) review_cli.py init protocol.json template review/protocol.json · one query per source · 3 · Protocol (G-PROTOCOL, operator) · items 5-7 review/protocol.json one query per source items 5-7 review_cli.py protocol · check · lists what is missing · 3 · Protocol (G-PROTOCOL, operator) review_cli.py protocol check · lists what is missing G-PROTOCOL · protocol approve --by · operator · 3 · Protocol (G-PROTOCOL, operator) · before any search G-PROTOCOL protocol approve --by · operator before any search review/protocol.lock.json · approver · sha256 · amendments · 3 · Protocol (G-PROTOCOL, operator) review/protocol.lock.json approver · sha256 · amendments protocol amend · --by · --reason · logged · 3 · Protocol (G-PROTOCOL, operator) · after the approval protocol amend --by · --reason · logged after the approval /paper-writing declare · review-registration · 3 · Protocol (G-PROTOCOL, operator) · PROSPERO · OSF · item 24 /paper-writing declare review-registration PROSPERO · OSF · item 24 review_cli.py search · openalex · crossref · europepmc · 4 · Identification (searches and imports) · after G-PROTOCOL review_cli.py search openalex · crossref · europepmc after G-PROTOCOL review/searches.jsonl · date · exact query · counts · 4 · Identification (searches and imports) · item 16 review/searches.jsonl date · exact query · counts item 16 review_cli.py import · RIS · BibTeX export · --query · 4 · Identification (searches and imports) · Scopus · WoS · IEEE · ACM review_cli.py import RIS · BibTeX export · --query Scopus · WoS · IEEE · ACM review/records.jsonl · one row per record · search_id · 4 · Identification (searches and imports) review/records.jsonl one row per record · search_id review_cli.py dedupe · DOI, then title and year · 4 · Identification (searches and imports) review_cli.py dedupe DOI, then title and year /systematic-review screen · the agent is one reviewer · 5 · Screening (two reviewers, G-SCREENING) /systematic-review screen the agent is one reviewer review_cli.py screen · --stage ta → ft · 2 reviewers · 5 · Screening (two reviewers, G-SCREENING) · ft: one exclusion criterion review_cli.py screen --stage ta → ft · 2 reviewers ft: one exclusion criterion review/screening.jsonl · one decision per row · 5 · Screening (two reviewers, G-SCREENING) · item 8 review/screening.jsonl one decision per row item 8 queue · conflicts · kappa · owed · disagreements · agreement · 5 · Screening (two reviewers, G-SCREENING) queue · conflicts · kappa owed · disagreements · agreement Operator settles · each conflict · screen --final · 5 · Screening (two reviewers, G-SCREENING) Operator settles each conflict · screen --final /paper-ingestion · full texts for --stage ft · 5 · Screening (two reviewers, G-SCREENING) · .pi/prompts /paper-ingestion full texts for --stage ft .pi/prompts review_cli.py prioritize · 100–200 refs · SJR quartile · 5 · Screening (two reviewers, G-SCREENING) · --apply after the operator review_cli.py prioritize 100–200 refs · SJR quartile --apply after the operator G-SCREENING · signoff --gate screening · 5 · Screening (two reviewers, G-SCREENING) · operator G-SCREENING signoff --gate screening operator review/prioritization.json · ranked · past the budget · 5 · Screening (two reviewers, G-SCREENING) review/prioritization.json ranked · past the budget review/signoffs.json · sha256 of screening.jsonl · 5 · Screening (two reviewers, G-SCREENING) review/signoffs.json sha256 of screening.jsonl /systematic-review appraise · agent extracts · operator checks · 6 · Appraisal and extraction /systematic-review appraise agent extracts · operator checks review_cli.py appraise · protocol checklist QA1… · 6 · Appraisal and extraction · after G-PROTOCOL review_cli.py appraise protocol checklist QA1… after G-PROTOCOL review/appraisal.jsonl · quality answers per study · 6 · Appraisal and extraction · item 11 review/appraisal.jsonl quality answers per study item 11 review_cli.py status · summary of the records · 6 · Appraisal and extraction review_cli.py status summary of the records review_cli.py extract · each value + quote or page · 6 · Appraisal and extraction review_cli.py extract each value + quote or page review/extraction.jsonl · checked against the fields · 6 · Appraisal and extraction · items 9-10 review/extraction.jsonl checked against the fields items 9-10 /systematic-review · synthesize · themes · tables · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) · with the operator /systematic-review synthesize · themes · tables with the operator review_cli.py prisma · counts the PRISMA 2020 flow · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) review_cli.py prisma counts the PRISMA 2020 flow review/prisma.json · flow counts · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) · items 16-17 review/prisma.json flow counts items 16-17 review_cli.py biblio · per year · venue · keywords · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) review_cli.py biblio per year · venue · keywords review/biblio.json · bibliometrics · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) review/biblio.json bibliometrics review_cli.py flow · recounts · draws the figure · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) review_cli.py flow recounts · draws the figure prisma-flow.svg · paper/Figures/prisma-flow.svg · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) prisma-flow.svg paper/Figures/prisma-flow.svg G-SYNTHESIS · signoff --gate synthesis · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) · operator G-SYNTHESIS signoff --gate synthesis operator diagram-author · reads · writes · bash · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) · protocol-flow · no counts diagram-author reads · writes · bash protocol-flow · no counts paper_cli.py render · --figure-id protocol-flow · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) · then /figure-review paper_cli.py render --figure-id protocol-flow then /figure-review review/signoffs.json · hash of counts + flow · 7 · Synthesis (PRISMA flow, G-SYNTHESIS) review/signoffs.json hash of counts + flow /paper-writing · skeleton · declare · one block · 8 · Scaffolding, declarations and writing · .pi/prompts /paper-writing skeleton · declare · one block .pi/prompts redactor · read-only · 8 · Scaffolding, declarations and writing redactor read-only contract-auditor · read-only · 8 · Scaffolding, declarations and writing contract-auditor read-only paper/main.tex · counts from review/prisma.json · 8 · Scaffolding, declarations and writing paper/main.tex counts from review/prisma.json sections/*.md · 9 review section contracts · 8 · Scaffolding, declarations and writing · from sections-review/ sections/*.md 9 review section contracts from sections-review/ figure-visual-reviewer · reads · bash · 9 · Figures and paper (final judge: AMSTAR 2) · by eye · after the audit figure-visual-reviewer reads · bash by eye · after the audit figure-auditor · reads · bash · 9 · Figures and paper (final judge: AMSTAR 2) figure-auditor reads · bash /figure-review · raster probe · no changes · 9 · Figures and paper (final judge: AMSTAR 2) · .pi/prompts /figure-review raster probe · no changes .pi/prompts paper/main.pdf · compiled from main.tex · 9 · Figures and paper (final judge: AMSTAR 2) paper/main.pdf compiled from main.tex PDF preview tab · final judge panel per round · 9 · Figures and paper (final judge: AMSTAR 2) · command center PDF preview tab final judge panel per round command center paper_review.json · .papersmith/ · one per round · 9 · Figures and paper (final judge: AMSTAR 2) paper_review.json .papersmith/ · one per round paper_cli.py review · --input <round.json> · 9 · Figures and paper (final judge: AMSTAR 2) · rubric systematic-review paper_cli.py review --input <round.json> rubric systematic-review paper-reviewer · reads · bash · 9 · Figures and paper (final judge: AMSTAR 2) · final judge · AMSTAR 2 paper-reviewer reads · bash final judge · AMSTAR 2 smith audit . · --verbose · never repairs · 10 · Reporting check and audit (transversal) smith audit . --verbose · never repairs .papersmith/audit.json · audit verdict · 10 · Reporting check and audit (transversal) .papersmith/audit.json audit verdict review_cli.py checklist · 27 PRISMA 2020 items · owed · 10 · Reporting check and audit (transversal) · supplementary file review_cli.py checklist 27 PRISMA 2020 items · owed supplementary file Review tab · 27-item checklist on demand · 10 · Reporting check and audit (transversal) · GET /api/review/checklist Review tab 27-item checklist on demand GET /api/review/checklist /skill-audit · subject: any skill · 10 · Reporting check and audit (transversal) · .pi/prompts /skill-audit subject: any skill .pi/prompts audit-report · reads · writes · bash · 10 · Reporting check and audit (transversal) audit-report reads · writes · bash review workspace the gap to close approved protocol unique records screening signed off data items synthesis accepted compiled registered search_id full texts --apply: exclusions no conflict left counts review contracts one round PRISMA gaps 1 · Harness (smith init --kind review) 2 · Scoping (existing reviews) 3 · Protocol (G-PROTOCOL, operator) 4 · Identification (searches and imports) 5 · Screening (two reviewers, G-SCREENING) 6 · Appraisal and extraction 7 · Synthesis (PRISMA flow, G-SYNTHESIS) 8 · Scaffolding, declarations and writing 9 · Figures and paper (final judge: AMSTAR 2) 10 · Reporting check and audit (transversal) Legend Command /skill Agent Record on disk Gate (human) CLI Harness or dashboard