Cybersecurity-Projects/PROJECTS/intermediate/credential-rotation-enforcer/spec
CarterPerez-dev 2ba81cfd82 feat(engine): typed event hierarchy + EventBus with fanout + AuditSubscriber + Engine
Events form a Crystal class hierarchy so subscribers pattern-match
exhaustively. EventBus delivers to subscribers via Crystal channels with
per-subscriber overflow policy (Block for audit, Drop for best-effort).

AuditSubscriber listens for all rotation/policy/drift/alert events and
serializes them into the hash-chained audit log via AuditLog.append.

Engine wires Persistence + AuditLog + AuditSubscriber + EventBus together
so callers just .start/.stop. 7 unit specs verify boot, fanout to N
subscribers, drop-on-overflow semantics, and end-to-end event -> audit row.
2026-04-29 00:47:45 -04:00
..
fixtures feat(cre): source tree skeleton with empty module dirs and CI workflow 2026-04-28 23:54:59 -04:00
integration feat(persistence): PostgreSQL adapter with append-only audit trigger 2026-04-29 00:39:53 -04:00
unit feat(engine): typed event hierarchy + EventBus with fanout + AuditSubscriber + Engine 2026-04-29 00:47:45 -04:00
spec_helper.cr feat(cre): source tree skeleton with empty module dirs and CI workflow 2026-04-28 23:54:59 -04:00