Repository navigation
Closed
Labels
retired:area:policyRetired; do not apply. See #5151 for item-specific migration to the current taxonomy.Retired; do not apply. See #5151 for item-specific migration to the current taxonomy.retired:area:sandboxRetired; do not apply. See #5151 for item-specific migration to the current taxonomy.Retired; do not apply. See #5151 for item-specific migration to the current taxonomy.retired:topic:l7Retired; do not apply. See #5151 for item-specific migration to the current taxonomy.Retired; do not apply. See #5151 for item-specific migration to the current taxonomy.state:agent-readyApproved for agent implementationApproved for agent implementation
Description
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
- Existing JSON 403 response includes
next_steps. - Response includes structured fields for
layer,method,path,host,binary, andrule_missingwhere available. - Query parameters and credentials remain redacted.
- Test covers a denied L7 REST request and asserts the response shape.
- Architecture docs are updated if the response contract changes materially.
Metadata
Metadata
Assignees
Labels
retired:area:policyRetired; do not apply. See #5151 for item-specific migration to the current taxonomy.Retired; do not apply. See #5151 for item-specific migration to the current taxonomy.retired:area:sandboxRetired; do not apply. See #5151 for item-specific migration to the current taxonomy.Retired; do not apply. See #5151 for item-specific migration to the current taxonomy.retired:topic:l7Retired; do not apply. See #5151 for item-specific migration to the current taxonomy.Retired; do not apply. See #5151 for item-specific migration to the current taxonomy.state:agent-readyApproved for agent implementationApproved for agent implementation
Activity