Repository navigation
fix(github): reserve App quota for privileged operations - #1034
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 5, 2026, 10:12 AM ET / 14:12 UTC. ClawSweeper reviewWhat this changesThe PR routes allowlisted read-only OpenClaw issue and pull-request REST calls through the workflow token while retaining GitHub App credentials for mutations and privileged checks. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 4 items remain This PR remains necessary: current main still uses the ambient GitHub credential for shared CLI calls, while the branch adds a narrowly allowlisted public-read token path. Static review found no correctness defect, but merge should wait for redacted after-fix workflow proof and the required OpenClaw Bay impact statement. Priority: P1 Review scores
Verification
How this fits togetherClawSweeper’s workflow reads live GitHub items before routing reviews and then performs authorized publication or repair actions. This change separates public OpenClaw read traffic from the App-token path that downstream privileged operations use. flowchart LR
A[GitHub workflow event] --> B[Live item and comment routing]
B --> C[Credential selection]
C --> D[Allowlisted public OpenClaw reads]
D --> E[Review and repair routing]
E --> F[GitHub App mutations]
Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the strict allowlist, add a redacted after-fix Actions trace proving the credential split and recovery, and record that Bay is unaffected because no Bay data contract or observer surface changes. Do we have a high-confidence way to reproduce the issue? No: the reported quota exhaustion has a stated production baseline, but this review did not receive a current after-fix runtime trace or execute a live workflow. Is this the best way to solve the issue? Yes, with proof pending: a deny-by-default allowlist that preserves explicit credentials and all mutation paths is the narrowest maintainable split; it needs production-path evidence before landing. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 4dc8d1d8c533. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Why
Production routers and review admission repeatedly fail with HTTP 403 for GitHub App installation 122230863 because public reads share the limited installation quota required for bot authorization and mutations.
Change
Verification