Skip to content

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).

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 in DOC_ASSET_FILES.

Released under the Apache-2.0 License.