Evidence-bound medical manuscript workflow: plan-first gates, citation/number grounding, verification profiles. Requires the manuwright CLI of the same version.
He will not let you cite a paper you have not registered.
Plan first · every citation registered · every number from your data · gates before submission A medical-manuscript workflow for AI agents: Claude Code, Codex, Antigravity, opencode and Muse share one verification engine.
You know him. The senior author in every good lab. Reads the draft with a pen in hand. Circles a sentence and asks, quietly, "Which paper says that?" Circles a number: "Which table?" Nothing leaves the lab until he signs it.
ManuWright puts him inside your AI agent.
Before / after
You ask your agent to write the Results section before the plan is settled.
Without ManuWright, it writes fluent prose, cites a plausible paper that does not exist, and rounds a mean it never read.
With ManuWright:
BLOCKED by workflow gate (Rule 8): drafts/draft_plan.md has not been approved.
Create the draft plan first, get author approval, then draft sections.
And once the plan is approved, every claim has to survive the checkers:
$ manuwright citations drafts/03_introduction.md
GATE FAIL
citation: EVID:smith_2021
reason: citation id not found in knowledge/evidence.md
$ manuwright numbers drafts/05_results.md
GATE FAIL
number: 54.3
reason: number not found in results CSV files
How it works
evidence.md ┐
results/*.csv ┼──▶ approved plan ──▶ draft ──▶ gates ──▶ QC ×3 ──▶ signed build
style spec ┘ ├ citations
▲ ├ numbers
hooks block └ semantic review (independent)
writes without it
Guarantee
Enforced by
No section before an approved draft plan; no analysis code before an approved analysis plan
Agent hooks (Claude Code, Codex) and manuwright verify
Every [EVID:id] exists in knowledge/evidence.md with a verified source
manuwright citations
Every reported number exists in results/*.csv
manuwright numbers and result bindings
Reviews go stale when a source, plan or the engine changes
sha256 snapshots in every receipt
Submission needs human signoff, AI-use disclosure and a completed checklist
manuwright verify --profile submission
Prose reads like a high-impact clinical journal, not like a chatbot
Academic writing mode: style cards at every draft, prose checks after every edit (strict blocks)
The engine never invents approvals or reviews. It records decisions that humans made.
Academic writing mode
The agent writes in the register of medical journals from the first draft, not in chatbot prose. The targets were measured from 33 openly licensed original articles in JAMA Surgery, JAMA Network Open, Lancet, BMJ and Nature, published 2019 to 2022, before generative AI. Only the numbers ship (docs/academic_style/reference_profile.json); the papers stay off GitHub. For example, "used" appeared 345 times against "utilized" once, and delve, underscore and "plays a crucial role" never appeared.