Skip to content

feat(approvals): add policy-gated batch decisions for homogeneous low-risk requests #403

Closed

Description

@Bindy-lbb

Parent: #361

Why this remains open

Bulk decisions reduce review overhead but must not turn a selection gesture into a broad approval. The current queue lacks a server-side batch contract and a policy classification that can prove every selected item is safe to combine.

Scope

  • Server computes eligibility per item and rejects mixed-source, expired, conflicting, write/delete, external-network, or otherwise unsafe batches.
  • Batch requests retain each item's expected version and durable, per-item audit result.
  • UI shows the exact count, source boundary, and items excluded by policy before submitting.

Acceptance criteria

  • A batch cannot broaden the action, scope, or expiry of any member.
  • Partial conflicts are reported per item without silently deciding others.
  • Idempotency/retry cannot duplicate a verdict.
  • Tests cover allowed homogeneous low-risk sets and every disallowed boundary.

Activity

  1. waterbro-8 commented on Sep 23, 2026

    @waterbro-8
    Collaborator

    已完成:PR #410 与后续主干交付 PR #418 已合入 policy-gated、原子化批量审批及回滚/审计路径。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions