Scripts
Portable helpers. Stdlib-only / zero-dependency, runnable from any adopter project without additional installs.
Governance contract checkers
Two ports of the same contract (Node / Bash-Python) so an adopter can pick whichever stack they have.
archon-check.py— Python stdlib-only implementation. Consumes.archon/contracts/governance-contract.yaml.archon-check.sh— Bash port of the same contract check.
Run-State v2 helpers
Ephemeral per-delivery state lives at .archon/runs/<run_id>/ and is regenerated from event records (ADR-22).
archon-run-state.mjs— create / update / read run state; schema-validated.archon-records.mjs— records-folder fold helpers; regenerate hot indices from immutable records.archon-records-fold.mjs— low-level fold primitives used byarchon-records.
Claim Verifier (ADR-27)
Catches "said-vs-truth" drift by walking the repo to prove a prose claim is still mechanically true.
Export pipeline
Produces a standalone Archon kit for Cursor or Claude Code from this source repo.
export-archon-core.mjs— export pipeline; reads.archon/VERSION; ships LICENSE + NOTICE + CHANGELOG + VERSION inside every kit.test-archon-export.mjs— contract test: every bundled markdown's referenced images must be listed inDOC_ASSET_FILES.