Provenance audit
In Academic Harness:
provenance_auditis read-only. It indexes the ledgers that already exist, writes only its own cache under.dsh/provenance/<audit>/, and never decides whether a claim is true. The model proposes, the tool verifies what is recorded, the human decides.
What the states mean
Every indexed claim is in exactly one state, and each state is a statement about the record, not about the science:
| State | What was recorded | What to do |
|---|---|---|
supported |
An explicit stored link plus a verification or a recorded human judgement | Report it, with the link |
no_link |
No evidence was linked at all | Add the quote, the paper, or the binding |
not_checked |
Evidence exists but was never verified | Run the quote check or ask the author |
unverified |
A verification was attempted and did not confirm it | Re-quote, re-resolve the paper, or downgrade the claim |
stale |
The source behind the evidence changed | Re-verify before repeating the claim |
not_found |
A recorded link has no far end (a missing record, run, entry, or file) | Fix the link or record the target |
spec_drift |
An experiment run changed its evaluation protocol against its baseline | Compare against a matching baseline or disclose the change |
rerun_mismatch |
A declared reported value did not reproduce in a re-execution | Inspect the metric, the tolerance, and the environment; do not restate the number as reproduced |
no_attribution |
An ablation reading or human verdict attributes no component to the gain | Report the gain as unattributed, or plan a removal arm |
verdict_missing |
A staged variant run or an ablation has no human verdict | Record the verdict before treating the run as selected |
unknown |
The ledger itself could not be read | Say it is unknown — never call it unsupported |
Support is never inferred from co-occurrence, citation proximity, or a model
judgement. A deep_review engine verdict, for instance, is recorded as
unverified precisely because it is a reading, not a verification.
Workflow
Index the workspace.
provenance_audit action=index audit=paperDefault selection indexes every review, reporting check, stored deep review, notebook, analysis plan, experiment, ablation, dataset, meta-analysis, and (when the workspace has
ah.yaml) Academic Harness claim sidecar. Narrow it withreview,reporting,meta,analysis,experiment,ablation,dataset,deep_review, andmanuscript; exclude AH sidecars withinclude_ah: false. Addverify_quotes: trueonly when PaperMemory is available — otherwise the stored quote-check statuses are used, unchanged.Read coverage first.
provenance_audit action=coverage audit=paperThis lists per-ledger state counts and, crucially, which sources were
present,unknown,not_queried, orskipped. Anunknownsource means the audit saw nothing to join: report it as a gap in knowledge.Ask what is unsupported.
provenance_audit action=unsupported audit=paper provenance_audit action=unsupported audit=paper state=staleunsupportedlists only claims (evidence, extractions, appraisals, GRADE domain ratings, checklist items, hypotheses, manuscript clauses, analysis expectations, compliance readings, experiment verdicts, ablation attribution), split by the nine unsupported states. Fixno_linkandnot_checkedby recording the missing link, not by rephrasing the claim.Check staleness after any source changed.
provenance_audit action=stale audit=paperStale entries carry the recorded and the current hash. A changed manuscript marks the checklist quotes that depend on it, and anything that depends on them, as stale. Re-verify, then re-index; do not hand-edit a ledger to clear a state.
Check impact before you edit or re-run.
provenance_audit action=impact audit=paper target=paper:10.1000/trial1 provenance_audit action=impact audit=paper target=results.csvTargets accept a node id, a paper key, a workspace path, or a run id, and the report is the transitive set of ledger records that reference it — which review records, extractions, hypotheses, runs, and pooled studies would need revisiting.
Read the readiness roll-up.
provenance_audit action=arms audit=paperOne table, four columns — reported vs recomputed, protocol digest, references, method–code — over the artifacts that already exist. A missing column is
n/a, never a pass;readymeans the recorded columns are verified,partialmeans something is unchecked, andnot_readymeans a recorded mismatch, drift, flag, or missing verdict. It re-indexes first and is a reading, not an acceptance decision.Roll the loop up.
provenance_audit action=rollup audit=paper coscientist=cycle manuscript=paper.mdOne ordered record: frozen problem → limitations → idea pool → subset verdicts → scale-up → selection → ablation → review rounds with
evaluator_kind→ integrity columns → incumbent. It is a report, not a store: it reads the coscientist ledger directly, writes no promotion, and leaves the championselected. Cost/time sums only what the ledgers recorded (analysis_rundurations anddeep_reviewround duration/tokens); everything else is listed as missing, never zero. The baseline-gate row says whether a reproduced baseline was itself checked byanalysis_run expect/verify_scores; compute no headline gain and do not average over successful cases only.Attach the audit.
provenance_audit action=export audit=paper format=markdown provenance_audit action=export audit=paper format=graphmlmarkdownandcsvare for people,jsonis the index itself, andgraphml/mermaidare views of it — never a new database. Exports refuse to overwrite unlessoverwrite: true.
Limits to state out loud
- The audit reads what the ledgers recorded. A quote verified last month and
silently re-ingested into PaperMemory is only
staleif a hash was recorded. scientific_resultcards are not persisted, and thepreregisterledger (Phase 5A) is not indexed yet; both are reportedunknownwith that reason.- The audit does not execute anything.
rerun_mismatchreads ananalysis_runverification that already happened, andarmsis a roll-up, not a re-run or an acceptance decision. rollupdoes not promote an incumbent and does not compute a headline gain; a missing duration or token tally isnot recorded, never zero, and the report shows its denominators instead of averaging over successful cases only.- Academic Harness unit provenance (who wrote each unit) belongs to
ah_provenance; the audit indexes cited-clause bindings, not authorship. - A clean audit is not a correct paper. It says which claims have recorded support, and it says nothing about whether the support establishes the claim.