SpectralBio now exposes two explicit execution tiers.
- fast
- CPU-only
- frozen
- offline-capable
- artifact-first
- machine-checkable
Main commands:
uv run spectralbio preflight --json --cpu-only --offline
uv run spectralbio replay-audit --json --cpu-only --offline- deterministic
- broader
- provenance-rich
- slower than replay
- still bounded and frozen where necessary
Main commands:
uv run spectralbio regenerate --target tp53 --json --cpu-only --offline
uv run spectralbio regenerate --target brca2 --json --cpu-only --offline
uv run spectralbio regenerate --surface scale-repair --json --cpu-only --offline
uv run spectralbio regenerate --surface portability --json --cpu-only --offline
uv run spectralbio regenerate --surface holdout-control --json --cpu-only --offline
uv run spectralbio reproduce-all --json --cpu-only --offline| Target | Role | Command |
|---|---|---|
TP53 |
validation anchor | uv run spectralbio replay --target tp53 --json --cpu-only --offline |
BRCA2 |
flagship non-anchor canonical target | uv run spectralbio replay --target brca2 --json --cpu-only --offline |
TSC2 |
replay-ready transfer surface | uv run spectralbio replay --target tsc2 --json --cpu-only --offline |
CREBBP |
replay-ready transfer surface | uv run spectralbio replay --target crebbp --json --cpu-only --offline |
These older commands remain supported:
uv run spectralbio canonical
uv run spectralbio transfer
uv run spectralbio verify
uv run spectralbio verify-legacyThey preserve:
outputs/canonical/outputs/transfer/
Semantics:
verifywithout--targetpreserves the original TP53 plus bounded BRCA1 contract check.verify --target <target>validates one newer replay target bundle.
Every core command writes:
outputs/status/<run_id>/status.jsonoutputs/status/<run_id>/stdout.logoutputs/status/<run_id>/stderr.logoutputs/status/<run_id>/command.txt
doctor also writes:
outputs/status/<run_id>/diagnosis.json
Every replay target writes:
summary.jsonverification.jsonprovenance.jsonmanifest.jsonmetrics.jsonchecksums.jsonstatus.json
Every regeneration target or surface writes:
raw_inputs_manifest.jsonintermediate_manifest.jsonsummary.jsonverification.jsonprovenance.jsonstats_report.jsondiagnosis.jsonchecksums.json
Deterministic behavior is enforced by:
- frozen replay artifacts
- fixed seeds where relevant
- stable benchmark contracts under
benchmarks/ - strict schema files under
schemas/ - checksum validation of emitted replay and regeneration bundles
Approximate local runtimes measured on the current frozen repository bundle:
| Command | Typical local runtime | Notes |
|---|---|---|
preflight |
~1.3 s | environment and asset checks |
doctor |
~1.3 s | structured diagnosis over the same health surface |
replay --target tp53 |
~1.5 s | validation anchor replay |
replay --target brca2 |
~1.3 s | flagship non-anchor replay |
replay-audit |
~1.9 s | all replay targets plus aggregate check |
reproduce-all |
~1.9 s | deterministic frozen paper-grade bundle |
Replay is intentionally the public default because it makes the claim inspectable without demanding a heavyweight recomputation every time.
spectralbio preflightreturnsPASS- each
spectralbio replay --target ...returnsPASS spectralbio replay-auditreturnsPASS- all replay bundles are schema-valid and checksum-valid
spectralbio canonicalreturnsPASSspectralbio transferreturnsPASSspectralbio verifyreturnsPASS
- regeneration bundles materialize deterministically
spectralbio reproduce-allwritesoutputs/paper/*- paper bundle includes checksums and provenance
uv run spectralbio doctor --json --cpu-only --offline- inspect
outputs/status/latest/status.json - rerun the specific replay target
- only then escalate to regeneration if the question is scientific rather than mechanical
Reproducibility in this repository does not mean that every scientific surface is re-derived live from scratch on every run.
It means:
- the public executable anchor is replayable and machine-checkable
- the flagship and replay-ready transfer surfaces are replayable with frozen contracts
- the broader audit surfaces are materialized deterministically with provenance
- the final harsh closure tribunal remains mixed
That last line is part of reproducibility, not an exception to it.