PaaS Remediation Policy Engine
Date: 2026-02-17 Scope: WS12-06 remediation policy decisions Owner: Codex1. Policy Actions
Supported actions:auto-allowapproval-requireddeny
2. Context Storage
Policy file location:contexts/<context>/agents/remediation_policy.json
3. Default Policy
Default action map:info -> auto-allowwarning -> approval-requiredcritical -> approval-required
4. Engine Behavior
Policy evaluation:- normalize incident severity
- apply severity override when defined
- otherwise use default action
- fallback to
approval-requiredif config is invalid
5. Run-Once Integration
si paas agent run-once uses policy results when runtime adapter is ready:
auto-allow=> run statusqueuedapproval-required=> run statuspending-approvaldeny=> run statusdenied
policy_action- runtime adapter fields (
runtime_mode,runtime_profile,runtime_auth_path,runtime_ready)
6. Implementation Reference
tools/si/paas_agent_policy_engine.gotools/si/paas_agent_policy_engine_test.gotools/si/paas_agent_cmd.go(run-oncepolicy gating)

