bascule-workspace/bascule-gateway
Tyler J King ece4e2349f feat(gateway): session downgrade on posture breach
Add breach evaluator that compares posture changes against active
sessions and applies BreachResponse policy:
- LogOnly/AlertDelegates: log, no session enforcement
- ReducePosture: downgrade System -> Application, session continues
- SuspendTrust: terminate session immediately
- RevokeAccord: terminate session, Accord dead

Posture change detection via 30s polling loop on posture-current
ConfigMap (matching existing reaper interval pattern).
No mid-session upgrade — downgrade only, upgrade requires new ceremony.

9 unit tests for breach evaluation covering all BreachResponse variants.

Signed-off-by: Tyler King <tking@guildhouse.dev>
Signed-off-by: Tyler J King <tking727@gmail.com>
2026-04-15 15:16:11 -04:00
..
src feat(gateway): session downgrade on posture breach 2026-04-15 15:16:11 -04:00
tests/fixtures initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00
Cargo.toml feat(bascule-gateway): derive ShellClass at ceremony grant from posture 2026-04-15 10:37:30 -04:00