Commit graph

1 commit

Author SHA1 Message Date
Shay
4c447dea81 Add language_packs CLI: python -m language_packs compile/verify/list
Three subcommands:
  compile <pack_id>  — compile a pack, verify checksum, print manifold stats
  verify  <pack_id>  — checksum-only verification without full compilation
  list               — list all available packs with role and entry count

Checksum rule (AGENTS.md) is enforced by design: the CLI reads bytes from
disk via read_bytes() as the single source of truth, never from in-memory
strings. This makes the compiler an auditable D0 instrument — not just an
importable function.

Exit codes: 0 = success, 1 = checksum mismatch or pack not found.
2026-05-13 14:37:36 -07:00