Repository navigation
fix(ios): restore approval settings navigation and remove duplicate shell state - #130651
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: found issues before merge. Reviewed August 26, 2026, 11:37 PM ET / August 27, 2026, 03:37 UTC. ClawSweeper reviewWhat this changesThis PR moves iOS Settings destination registration into shared content, removes duplicate nested shell state, and adds simulator coverage for Approvals-to-Notifications navigation. Merge readinessKeep open for maintainer handling: current main still registers Settings destinations only on the list branch, while this PR makes the root-owned navigation path available to direct Approvals routes. No blocking code defect was found, but the PR itself records that its two strengthened iPhone cases still need an exact-head rerun after the rebase. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — step 1 Assertions:
How this fits togetherThe iOS root shell owns sidebar selection and the navigation stack, while Settings renders the selected route. An approval action can ask that root shell to push Notifications while preserving the approval prompt-suppression state and Back path. flowchart LR
A[Overview approval] --> B[Root navigation shell]
B --> C[Approvals route]
C --> D[Settings destination registration]
D --> E[Notifications screen]
B --> F[Prompt suppression state]
E --> G[Back to approvals]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceDocs +1, Other -361. Total -360 across 16 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the single RootTabs navigation owner, remove the release-owned changelog edit, and merge only after the exact-head simulator paths and required native gates pass. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main's direct-route branch bypasses the only SettingsRoute destination registration, and the added UI cases exercise both direct origins. The supplied native baseline proof is positive, but this reviewer did not receive an exact-head rerun artifact. Is this the best way to solve the issue? Yes, with one release-process correction: shared Settings-content registration is the narrow canonical repair because RootTabs already owns the path; restoring a nested Settings stack would recreate duplicate navigation ownership. Full review comments:
Overall correctness: patch is correct AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0924fd9a0c40. 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
|
|
The requested native integration refresh is complete: both strengthened approval-origin flows passed on the rebased app ( The three previously failing bookkeeping jobs now pass on the current CI run. Its native iOS build is still running; landing will wait for the full required result. Fresh complete-patch P1 and independent exact-commit review are clean. Rank-up disposition: the one-line changelog entry is deliberately retained under the maintainer's explicit instruction to include user-visible fixes when landing. The native proof request is fulfilled; the remaining native CI gate is being watched. The bot's separate fixture-start harness timeout remains a failed harness attempt, not a native UI result. Our isolated simulator proof includes actual navigation, Gateway traces and fixture shutdown, not merely a listening banner. Scope remains precise: the earlier 411 tests and full iPad before/after comparison ran on the original baseline-based candidate; the two phone flows are the rebased-app integration refresh. No physical-device, APNs or real command-execution proof is claimed. |
|
Merged via squash.
|
…-retirement-v13 * origin/main: (243 commits) fix: preserve Gateway error reasons in text logs (#130645) refactor(video): deduplicate generation contracts (#130635) fix(agents): preserve direct-message sender identity (#124548) fix(agents): preserve silent reply after settled tools (#130675) fix(talk): preserve replacement speech when an old utterance is canceled (#130687) fix(browser): preserve literal names and formatter-owned snapshot refs (#130599) fix(auth): reset only the profile replaced by a successful login (#124014) fix: bind session creation to admitted Gateway (#130686) refactor(qa-lab): reuse model reference splitter (#130317) docs(gateway): clarify independent HTTP endpoint switches (#130690) fix(ui): Control UI smooth scrolling ignores the reduced-motion preference (#130428) refactor(lmstudio): remove unreachable catalog merge (#130689) fix(crabbox): restore cloud machine CPU and RAM (#130684) fix(secrets): compare proxy bearer tokens directly (#127054) fix(matrix): show recovery key availability in text status (#128051) fix(ios): restore approval settings navigation and remove duplicate shell state (#130651) refactor(agents): use fixed tool-loop defaults directly (#130681) refactor(qa-lab): share process tree metric reader (#130419) refactor(models): simplify prepared owner access (#130683) fix(parallels): main install and update smoke cannot complete (#130658) ...
…hell state (openclaw#130651) * fix(ios): unify root navigation and restore approval settings routes * fix(ios): align shell cleanup inventories and test entrypoints
What Problem This Solves
Fixes an issue where opening Notifications from Overview → Approvals produced a blank warning screen, while the same destination worked through Settings. The iOS app also retained obsolete standalone navigation and session-roster paths even though the root sidebar already owned those responsibilities.
Related: #112004.
Why This Change Was Made
Settings registered its typed navigation destinations only in the list branch, leaving the direct Approvals entry outside that registration. The existing destination registration now belongs to common Settings content, preserving the same root-owned path and approval-prompt suppression.
The cleanup removes unused leaf navigation stacks, standalone modes, local roster loading/state and the composite Agents home path. RootTabs and RootSidebar remain the canonical navigation/session owners. This does not introduce another coordinator, change stored state, alter approval authorization, or add public configuration.
Production LOC: +114/-709, net -595. Existing native tests: +152/-180, net -28; new isolated Gateway fixture: +262 test-support lines; retired tooling assertions: -8; total tests/support +226. Tooling: -9; generated localization inventory: -6; changelog: +1.
User Impact
Notifications opens correctly from both approval entry points, Back returns to the original Approvals screen, and the root continues to own session and navigation state. Reviewing an approval still suppresses the duplicate prompt while navigating into Notifications. No real command is approved or executed by the proof fixture.
Evidence
Current candidate:
cc378b8e8654c8a6e692be86aee757a77ca29d54, based on2ab77cdbeb0d8c262700941cc0e3282e8fd3b7d9. A changelog-only conflict was resolved without changing any of the 15 app/test/fixture files from the independently reviewed original candidate69130159295ba439f7a2bc3bb61a0c977fe54dc4. The final commit only repairs four inventory/tooling files exposed by hosted CI; the app, native tests and Gateway fixture remain byte-identical to the executed59785aabuild.The before-image is the untouched baseline
86e208310ff2f7a66e4f0c5968e74b319234f6aa; the after-image is the executed candidate59785aa007d6e7170f2c674c252b20a2a0d17dc4, whose app/native-test/fixture files are unchanged in the current head. They show the actual isolated iPhone Simulator UI, not a mock screenshot./tmpand/private/tmpspellings broke its existing exact-path allowlist. The test now canonicalizes both path operands; the original assertions, allowlist and negative control remain intact. The failed 410/411 result is preserved separately from the passing rerun.59785aa: both strengthened phone flows passed, zero failures/skips, in 97.874 seconds. The built app reports that full commit. Real connection traces cover the current split-role Gateway handshake and the optional preference request returning an explicit unsupported-method response before normal agent/approval hydration. Both entry paths exercise visible prompt → Review → Notifications without the duplicate overlay → Back. Independent source and native-evidence review passed.59785aapassed. Local full TypeScript checks encounter a stale linked UI dependency; the new clean-install CI run is the authoritative type gate.Landed: e907f412ca8cc9f05a7ac2412956b8eaf6a63d5d. Exact-head CI passed, including Debug/Release builds, lifecycle and Watch simulator tests, and both iPhone/iPad screenshot jobs. Native preparation/merge completed and fresh merged-state/main-ancestry checks passed. The earlier 411-test and iPad results retain their original source bindings. The failed first CI run remains recorded separately from the successful repaired run.
Proof limits: supported Xcode iOS Simulator signing on disposable task devices, not physical-device or APNs delivery proof. The fixture uses synthetic approvals and does not execute commands. Bootstrap credential handoff, reconnect recovery, preference-change events and tool-activity rendering are not claimed by these two flows. All owned simulators and Gateway processes were stopped after the current-head run.
Named follow-ups remain separate: session-roster/cache completeness and silent Overview mutation-RPC failures need their own reproductions and owner decisions; this PR does not claim to repair them.