You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(gateway): persist and validate agent policy proposal operations #1097
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.
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
Draft chunk persistence has columns for source, intent summary, human summary, validation result, rejection guidance, and proposed merge operations.
Migrations cover SQLite and Postgres.
Sandbox-origin submit with analysis_mode = agent_authored runs existing prover checks against the proposed merged policy.
Validation result is stored and returned in GetDraftPolicy.
ApproveDraftChunk applies stored PolicyMergeOperation payloads through the existing merge path.
RejectDraftChunk persists optional guidance.
Agent-authored upserts preserve richer metadata instead of only bumping hit count.
Activity
[-]feat(gateway): persist agent proposal metadata and validation result[/-][+]feat(gateway): persist and validate agent policy proposal operations[/+]feat(policy): plumb chunk_ids and rejection_reason through proposal p…
feat(sandbox): add /v1/proposals/{id} and /wait long-poll to policy.l…
feat(policy): plumb chunk_ids and rejection_reason through proposal p…
feat(sandbox): add /v1/proposals/{id} and /wait long-poll to policy.l…
feat(policy): plumb chunk_ids and rejection_reason through proposal p…
feat(sandbox): add /v1/proposals/{id} and /wait long-poll to policy.l…
feat(policy): agent-driven policy management — the agent half (#1323)
feat(policy): manage approval mode via settings; reject _provider_ al…
feat(policy): manage approval mode via settings; reject _provider_ al…
feat(policy): manage approval mode via settings; reject _provider_ al…
feat(policy): manage approval mode via settings; reject _provider_ al…