Mutable per-run policy state for real-time enforcement decisions.
Runtime decisions can request either immediate cancellation (cancel?)
or an approval signal (request_approval?) depending on policy action.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type decision() :: %{ violations: [AgentSessionManager.Policy.Evaluator.violation()], cancel?: boolean(), request_approval?: boolean() }
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec observe_event(GenServer.server(), map()) :: {:ok, decision()}
@spec start_link(keyword()) :: GenServer.on_start()
@spec status(GenServer.server()) :: map()