Description
Extend the existing L7 REST 403 JSON body so an in-sandbox agent can understand what was denied and how to start the policy proposal loop. Augment the current response shape rather than introducing a parallel schema.
Context
Parent: #1062
RFC artifact: https://github.com/NVIDIA/OpenShell/blob/feat/agent-driven-policy-management/rfc/0001-agent-driven-policy-management.md
This is part of the locked Agent-Driven Policy Management MVP. GitHub issues are the development source of truth; Linear is only a roadmap pointer.
First implementation target: crates/openshell-sandbox/src/l7/rest.rs around the existing deny response helper.
Definition of Done
Description
Extend the existing L7 REST 403 JSON body so an in-sandbox agent can understand what was denied and how to start the policy proposal loop. Augment the current response shape rather than introducing a parallel schema.
Context
Parent: #1062
RFC artifact: https://github.com/NVIDIA/OpenShell/blob/feat/agent-driven-policy-management/rfc/0001-agent-driven-policy-management.md
This is part of the locked Agent-Driven Policy Management MVP. GitHub issues are the development source of truth; Linear is only a roadmap pointer.
First implementation target:
crates/openshell-sandbox/src/l7/rest.rsaround the existing deny response helper.Definition of Done
next_steps.layer,method,path,host,binary, andrule_missingwhere available.