Repository navigation
Record exact human review allowances independently of stack reconciliation - #2950
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Smoke Summary⏭️ Runtime smoke is not required
|
Static Analysis Summary✅ Static analysis checks passed
CodeQL breakdown
|
Security Summary✅ Security checks passed or were intentionally skipped
|
Validation Summary✅ All validation checks passed
Coverage reports and failure logs are available in the workflow artifacts. |
Human review allowances must be recordable while stack reconciliation or review evidence is pending. Grant, renew, cancel and stop decisions now save policy independently of readiness, while starting a review retains reconciliation, optional force acknowledgment, target identity, attribution, exclusivity and finding-clearance checks. Exact-N allowances use the existing equal minimum and maximum fields with optional audit anchors; PR-specific history and taper remain intact. Known configured stacked parents retain their canonical PR identity through optional ancestor reads, preserving live base/head facts without requiring reconciliation to record policy. Proven requests already admitted at the decision consume a result when they finish attributably, including after head or parent movement.
An exhausted discovery cap now advances the channel even when ordinary taper audit cannot complete, while accepted source findings remain obligations and active provider exclusion remains enforced. Historical Hosted replies edited to completion can be recovered through the existing checkpoint repair command: the canonical reply-only importer verifies the exact identity and zero-result proof, then appends the source run and provider origin without rewriting the initial ambiguous attempt or its archived evidence.
This standalone develop PR changes 15 controller, documentation and focused-test files. It includes only the controller prerequisites deployed from #2946 and its Hosted-attribution dependency, with no product changes from their parent stack.
Validation: all 1,028 PR-review Python tests passed; 27 focused repair tests passed; pinned Ruff 0.16.10 and diff checks passed;
./gradlew linkCheck lintMarkdownpassed. An isolated copy of the actual #2939 database and provider snapshot proves repair preview, apply and idempotent replay, unchanged original ambiguous evidence, and a completed attributable historical result. No live checkpoint, import, allocation, provider request or runtime promotion was performed. Fresh whole-PR independent review is commissioned at the published head. Two consecutive complete fresh passes with no findings are required before the authorized merge; earlier passes and accepted fix proofs remain recorded.