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 |
CarterPerez-dev
|
8ebdd3fee7
|
feat(cre): source tree skeleton with empty module dirs and CI workflow
- src/cre.cr entry point + version.cr
- Empty module dirs: cli, tui, engine, events, rotators, policy, audit, crypto, persistence, notifiers, compliance, config, domain, aws, vault, github, demo
- spec/ unit + integration + fixtures structure mirroring src/
- spec_helper.cr with stdlib spec + cre require
- GitHub Actions CI: format, unit matrix (Crystal 1.19/1.20/nightly x ubuntu/macos), integration with PG service, build job
|
2026-04-28 23:54:59 -04:00 |