Repository navigation
Description
User Story
The operator uses supervised OpenShell Gator sandboxes on a Kubernetes gateway and directly encountered #5361 remaining blocked after workflow approvals and required CI completed.
Problem Statement
A marked process-only blocker comment consumes the same-head disposition slot even when it explicitly says the reviewer was deferred. Once approvals or other process blockers clear, Gator suppresses the first code review and asks for a new commit or a same-head override. Non-required check statuses must also not prevent review or handoff.
Impact / Why This Matters
A PR can remain blocked indefinitely despite resolution of the original blocker. Operators must intervene or restart with special instructions.
Acceptance Criteria
- Reconcile resolved blocker labels and internal state on an unchanged head.
- Permit the first code review after an explicit process-only deferred-review report.
- Preserve duplicate-review protection and reject repeated process reports and same-head CI comments.
- Do not block progression on non-required or advisory check statuses; retain required and selected test-suite coverage gates.
- Cover the guard and ledger behavior with regression tests and update immutable payload guidance.
Reproduction Steps
- Launch a supervised Gator watcher for an open PR whose required workflows await approval.
- Let it post a marked Blocked comment explicitly deferring the reviewer.
- Approve the workflows manually and let required CI and E2E complete without changing the PR head.
- Observe the watcher report same_sha_disposition_guard rather than proceeding with its first code review.
Environment
- OpenShell host gateway with Kubernetes compute driver and local k3d cluster.
- Gator payload 15; observed on PR (fix) Feat/4945 policy change closes everything #5361.
Suggested UX
After the blocker clears, Gator removes the blocked label, performs its first review, and posts one PR Review Status for that head. Existing completed reviews still suppress duplicate review runs.
Activity