mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-26 01:39:51 +01:00
Addresses review findings cleanly:
- Passes { claimIdempotencyKey: false } to policyService.recordInvocation so
github_repo_outside_app_installations pre-check denials insert with
idempotencyKey: null atomically in the single INSERT (removing the
compensating follow-up UPDATE).
- Drops allowIncompleteSnapshot so webhook-invalidated snapshots (bindingSync
set or installationIds ahead of installationOwnerLogins with repositories
cleared) fall back to github_access_denied on both pre-check and runtime 403
until access is refreshed.
- Introduces github_app_installation_suspended for suspended managed GitHub App
installations so immediate dispatch, continuation wakes (tool-action-delivery),
and IssueThreadInteractionCard all render consistent unsuspend + Refresh
access guidance.
Co-Authored-By: Paperclip <noreply@paperclip.ing>