CarterPerez-dev
|
545e189b43
|
feat(cli): subcommand dispatch with 9 commands + output formatters
CLI grammar:
cre run daemon (sqlite or postgres)
cre watch daemon + live TUI in same process
cre check one-shot policy eval (CI-friendly exit codes)
cre rotate <id> manual rotation
cre policy list / show compile-time-baked policy registry inspection
cre export --framework=X compliance bundle (Phase 14 stub)
cre audit verify hash chain + HMAC + Merkle integrity verification
cre demo Tier 1 demo (Phase 15 stub)
cre version version
cre help usage
Output module: human / json / ndjson formatter; CI-friendly exit codes
(0 ok, 1 violations/error, 64 usage, 2 audit-chain-broken).
run/watch wire engine + persistence + scheduler + evaluator + log
notifier (and TUI for watch); SIGINT triggers graceful shutdown.
7 unit specs cover usage / version / policy-list-empty / policy-show-404
/ unknown-subcommand / check-no-violations. All commands callable
end-to-end against a working binary.
|
2026-04-29 01:12:46 -04:00 |