Repository navigation
chore(ios): drop handled controlUi.sessionPullRequests.changed from the protocol event allowlist - #207288
Conversation
…he protocol event allowlist
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: passed. What this changesRemoves the iOS exception for controlUi.sessionPullRequests.changed while retaining Android’s exception. Example: CI checks coverage for controlUi.sessionPullRequests.changed.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR: it minimally repairs a stale protocol exception still present on main, and no introduced defect was found. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe repository’s protocol coverage checker compares gateway event names with mobile source handlers and explicit exceptions, producing CI errors when coverage or exceptions drift. flowchart TD
A[Gateway event catalog] --> D[Protocol coverage checker]
B[Swift and Kotlin handlers] --> D
C[Mobile exception allowlist] --> D
D --> E[Coverage result]
E --> F[Security fast CI]
Technical reviewBest possible solution: Remove the obsolete iOS exception through the existing allowlist owner and preserve Android’s exception. Do we have a high-confidence way to reproduce the issue? The current-main handler and exception deterministically reach the checker’s stale-entry error; the body records that failure and post-fix success, but this review executed no target code. Is this the best way to solve the issue? The deletion restores the checker’s existing invariant without weakening coverage, adding machinery, or changing mobile runtime behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d3788a76b4d8. Provenance checked
SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceOther -1. Total -1 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 28, 2026, 1:34 AM ET / 06:34 UTC. |
|
Maintainer override:
|
…he protocol event allowlist (openclaw#207288) ## Problem `security-fast` fails on every PR based on current `main` again: ``` Protocol event coverage check failed: - [ios] allowlist entry "controlUi.sessionPullRequests.changed" is now handled; remove it from scripts/protocol-event-coverage.allowlist.json. ``` openclaw#206640 (`5d7cefb41ea2`, iOS PR pills) made iOS handle `controlUi.sessionPullRequests.changed`, but the allowlist still says iOS does not handle it. This is the same failure as openclaw#207259 with a different entry. openclaw#207258 runs this check on `main` pushes so that the next stale entry shows on `main`. ## Solution Remove the iOS `controlUi.sessionPullRequests.changed` allowlist entry. The Android entry stays: `apps/android` has no handler for the event. ## Evidence - `node scripts/check-protocol-event-coverage.mts` on `origin/main` `e6fe0a36`: the failure above. - The same check on this branch: `Protocol event coverage OK: 75 gateway events; ios handles 30, allowlists 45; android handles 26, allowlists 49.` Co-authored-by: Ayaan Zaidi <[email protected]>
Problem
security-fastfails on every PR based on currentmainagain:#206640 (
18356ea02fce, iOS PR pills) made iOS handlecontrolUi.sessionPullRequests.changed, but the allowlist still says iOS does not handle it. This is the same failure as #207259 with a different entry. #207258 runs this check onmainpushes so that the next stale entry shows onmain.Solution
Remove the iOS
controlUi.sessionPullRequests.changedallowlist entry. The Android entry stays:apps/androidhas no handler for the event.Evidence
node scripts/check-protocol-event-coverage.mtsonorigin/main2595c38a: the failure above.Protocol event coverage OK: 75 gateway events; ios handles 30, allowlists 45; android handles 26, allowlists 49.