Stage ledger
Open a saved JSON report or load the worked example.
Selected files stay in this browser.
The viewer opens reports from spatial-qc-ledger audit.
Observed stages
Counts are sample–spot pairs in each exported roster.
Transition
Spot histories
Select a pair to open its recorded events.
No spot histories match this filter.
Source fingerprints
Make a ledger
Export the sample and spot IDs at each checkpoint and list the stage files in one manifest, in processing order.
Install the CLI
Use Node.js 22 or newer. Download the .tgz package and its checksum from the latest release.
npm install --global ./spatial-qc-ledger-<version>.tgz
spatial-qc-ledger --version
Use the filename you downloaded. Get the example inputs from the source archive on the same release page, then run the commands below from that source directory.
Prepare stage inventories
Each roster TSV supplies sample_id and spot_id. The pair identifies the spot, so two samples can use the same local spot ID. A stage can include a separate evidence TSV for recorded exits and returns.
Generate the report
spatial-qc-ledger audit --manifest examples/pipeline.json --output ledger.json
Open ledger.json above. The viewer accepts reports up to 32 MiB.
A valid audit exits with status 0. Add --fail-on-unknown to exit with status 1 if an exit or reentry lacks a declared reason. Invalid input exits with status 2.
Replay the audit
spatial-qc-ledger verify --manifest examples/pipeline.json --report ledger.json
The CLI verifies a saved report using the source manifest and its local files. The viewer displays the recorded transitions and source fingerprints.
Interpret exits and returns
An exit means a pair was present in one roster and absent in the next. A reentry means a previously observed pair returns. A late entry is a pair first seen after the initial stage. When transition evidence is missing, its reason stays unknown.