Adds an env-gated startup hook that submits one synthetic AuditEvent (notarize=true) to the AuditPipeline. The flush_loop then submits the leaf to QM via CreateAnchor on its next cycle, demonstrating the bascule→QM integration end-to-end without requiring real OIDC sessions (genesis hasn't lifted the realm yet). Default off — only triggers if BASCULE_DEMO_AUDIT=1 in pod env. Leaves no permanent test surface in normal deployments. Slated for removal once OIDC sessions can drive the path through the auth filter chain; keeping it default-off makes that removal a no-op for production. Signed-off-by: Tyler J King <tking@guildhouse.dev> |
||
|---|---|---|
| .. | ||
| src | ||
| tests/fixtures | ||
| Cargo.toml | ||
| Dockerfile | ||