-
Notifications
You must be signed in to change notification settings - Fork 3.3k
v0.8.64: Add natural-language auto-review policy and a pre-push review gate #3144
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestreliabilityReliability, flaky behavior, retries, fallbacks, and robustnessReliability, flaky behavior, retries, fallbacks, and robustnesssecuritySecurity, isolation, permissions, or trust-boundary workSecurity, isolation, permissions, or trust-boundary worktoolsTool execution, tool schemas, tool UX, and built-in tool behaviorTool execution, tool schemas, tool UX, and built-in tool behaviortuiTerminal UI behavior, rendering, or interactionTerminal UI behavior, rendering, or interactionv0.8.64Targeting v0.8.64Targeting v0.8.64
Milestone
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestreliabilityReliability, flaky behavior, retries, fallbacks, and robustnessReliability, flaky behavior, retries, fallbacks, and robustnesssecuritySecurity, isolation, permissions, or trust-boundary workSecurity, isolation, permissions, or trust-boundary worktoolsTool execution, tool schemas, tool UX, and built-in tool behaviorTool execution, tool schemas, tool UX, and built-in tool behaviortuiTerminal UI behavior, rendering, or interactionTerminal UI behavior, rendering, or interactionv0.8.64Targeting v0.8.64Targeting v0.8.64
Projects
StatusShow more project fields
Backlog
Research signal
Cursor's recent SDK and review work points at a useful middle ground between manual approvals and unchecked autonomous execution.
Sources checked:
/review, Security Review, auto-review, custom tools, JSONL stores, nested subagents: https://cursor.com/changelogTwo ideas are especially relevant:
/reviewcan run before a push and then sync with PR review state so duplicate review work is avoided.CodeWhale substrate
CodeWhale has stronger local-first safety primitives already:
/reviewCLI/TUI surface for structured code review/restoreThe missing layer is a policy-driven review gate that decides what can run automatically, what needs human review, and what must be blocked or converted to a question.
Proposal
Add an
AutoReviewPolicylayer for tool calls and a pre-push review gate.Policy inputs:
Policy outputs:
/reviewgateMake
/reviewuseful before a push or PR, not only after the fact:Acceptance criteria
AutoReviewPolicyhas a typed evaluation API and is covered by unit tests for allow, hold-for-review, block, and ask-user outcomes./reviewcan run against the current diff before push and write a durable review receipt.Non-goals
/review.