Verify#
After the approved steps have run, verify compares what ran with what you approved. It reads the receipts the gate wrote, not the chat.
/mycelium-extra:verify 84bb5fce
What you get#
A report that ends in one of three statuses. This one is from the walkthrough:
# Verify plan 84bb5fce: CONFORMS
Ran as planned yes: 3 of 3 steps ran, 3 run(s), all completed
Numbers match yes: 8 of 8 claimed cells match
…
“Claimed cells” are the numbers your analysis doc states in its <!-- claims --> block; verify checks each against the output file it names.
Status |
Means |
|---|---|
|
Every planned step ran as approved, and nothing is missing from the record. |
|
Nothing contradicts the plan, but something could not be checked. |
|
Something contradicts the plan, for example a failed run, a changed input, a script edited after it ran, or a number that differs from its output file. |
Gaps#
A gap is a point nobody could check. Verify lists each one instead of passing it, and any gap turns the status into CONFORMS_WITH_GAPS. For example, when R is missing the R script’s lint cannot run:
scilintr (R) not checked: `Rscript` not found. …
Verify also lists what it did not check, such as 3 Validation cell(s) are prose: a Validation cell written as a sentence, not a check a tool can run.
A gap is not a failure. It tells you which claim rests on nothing checked. Close it, or say in your write-up that the point was not checked.
Saving the record#
Verify asks before it writes. When you confirm, it saves <analysis>/provenance/: the frozen plan, the receipts, each output with its checksum and the step that made it, and a short index. Commit that folder with the analysis.
What it does not do#
CONFORMS means the record agrees with the plan. It does not mean the science is right: a run can follow a flawed plan exactly. A run the gate never saw has no receipt, so verify shows that step as a gap, never as done.
Next: Hand off. Statuses, checks and options are in the verification reference.