Description
Persist agent-authored proposal metadata and operation payloads, run existing prover checks on submit, and store validation/guidance fields so the developer inbox and agent revision loop have stable state.
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.
For MVP, validation means static security checks the prover supports today, not natural-language intent verification. Sandbox-origin policy operations must be stored as draft chunks for approval; they must not reuse the immediate-apply UpdateConfig path directly.
Definition of Done
Description
Persist agent-authored proposal metadata and operation payloads, run existing prover checks on submit, and store validation/guidance fields so the developer inbox and agent revision loop have stable state.
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.
For MVP, validation means static security checks the prover supports today, not natural-language intent verification. Sandbox-origin policy operations must be stored as draft chunks for approval; they must not reuse the immediate-apply
UpdateConfigpath directly.Definition of Done
analysis_mode = agent_authoredruns existing prover checks against the proposed merged policy.GetDraftPolicy.ApproveDraftChunkapplies storedPolicyMergeOperationpayloads through the existing merge path.RejectDraftChunkpersists optional guidance.