Skip to content

feat(watch): add native standalone realtime voice - #135808

Merged
steipete merged 14 commits into
mainfrom
codex/watch-native-realtime-voice
Sep 5, 2026
Merged

steipete merged 14 commits into
mainfrom
codex/watch-native-realtime-voice

Conversation

@steipete

@steipete steipete commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds opt-in Talk on Watch: native WebRTC/Opus audio travels directly between Apple Watch and the configured voice provider. A separate authenticated Gateway connection carries control, tools and transcripts. The Gateway keeps provider credentials and executes the agent; the iPhone provisions the Watch during setup. Existing phone-mediated Talk to Claw remains available.

Enable iPhone Settings → Apple Watch → Enable Standalone Voice, then use Talk on Watch → Start. The Watch needs a secure, reachable Gateway endpoint and a supported Gateway-controlled WebRTC provider. Opening the view does not start microphone capture. See standalone setup and limits and Talk mode.

Implementation

Each call and connection attempt owns its audio, transport, setup and cleanup. Cancellation fences admission immediately, late callbacks cannot revive a retired attempt, and a replacement waits for prior audio cleanup. Separate node and read/talk operator grants keep the phone bearer and provider credentials off the Watch.

The pinned native engine handles ICE, DTLS and SRTP; Network.framework supplies UDP, and AVAudioEngine/native Opus handle capture and playback. ICE credentials use OS entropy. Address resolution runs off the media queue, and one bounded address plan supplies matching ICE and socket endpoints. Incoming Opus has a one-frame reorder window, with packet-loss and late-packet handling that prevents stale speech replay. Recoverable provider notices remain visible; transport failures and explicit closure end the attempt.

The four Watch platform-metadata regressions now live beside the metadata owner. This preserves their exact inputs and assertions while allowing main's independent metadata-suite extraction and suspension fix to merge normally.

Verification

Current head: 334fefc, tree 2779581cb54203f967b6998c9ffdff458e0883bf.

Surface Result
Request lifetime, policy and connection work 17/17 passed on the integrated runtime.
Policy, authentication and Watch owners 194/194 passed; includes nine cases overlapping the 17 above.
Relocated tests on the candidate 72/72 passed, including all four Watch metadata cases.
Tests with main's metadata and suspension changes 82/82 passed on composition tree b40e52ec32ac5de54e752dbcf31084eba461047b.
Static validation and independent review 34 integrated-runtime check stages and a 12-pass review passed; the two-file test move passed its separate 20-stage check and one-pass review. No accepted actionable findings. Swift formatting/lint, workflow validation and native localization checks passed.
Fresh linked Watch build Passed in 332.929s; strict app/test signatures, sole-method enumeration, linked RTC checks and 148 compiled-input comparisons passed. 104 product facts are bound. The unchanged Rust archive is reused by ten verified inputs.
Fresh full Gateway build All 16 phases passed in 658.486s; 439 unique tests across 15 files passed. Complete source, dependency and product readbacks passed. Fresh native/provider revoke episode passed with one real provider call; cleanup verification passed.
Periphery iOS and shared OpenClawKit passed, including the actual platform scans.
Required CI CI 33940526451, attempt 2 passed: 143 passing jobs and three intentional skips, including the required CI gate. The targeted macOS retry executed 2,110 tests in 220 suites; both Cron replacement variants passed.

The fresh native capsule discloses three observation/test differences and verifies the actual linked inputs. A verification-only timeout was recovered by batching immutable Git reads, preserving every comparison and both failed receipts; no rebuild or test assertion was changed. Local filesystem pressure also interrupted post-test dependency scans: both source trees were fully reverified, while the original dependency bindings remain the evidence for those static test runs. The fresh Gateway runtime separately verified all 37,867 source facts, all 104,949 original dependency facts, 622 classified generated additions and 14,030 runtime products. Two builds hit their unchanged 1,800-second budget under disk pressure; the successful normal build reused only canonical completed caches, with failed staging excluded. No timeouts, assertions or build phases were weakened.

The fresh native/provider episode on 334fefc passed one test and exactly one provider call. It decoded 389 Opus packets / 373,320 PCM frames, with positive RMS, zero decode errors and acknowledged input transcription. Native Opus and network RTP admissions both measured 353. Operator-grant revocation was accepted, the old grant was rejected, control closed with 4001, and the same provider call received hangup HTTP 200, completing 254.946 ms after the action began and before fixture cleanup. This is causal provider teardown, not emergency fixture cleanup credited as success. Provider acknowledgment is not a measurement of instantaneous physical silence. Historical rotation and same-Watch replacement evidence remains separately scoped.

The first receiver run had 22 passes and one unexpected normal WebSocket close during worker-handshake rejection; the unchanged retry passed 23/23. The first macOS CI attempt failed while waiting for initial Cron fixture text, before the replacement assertion; the targeted retry passed unchanged. Both failures remain recorded diagnostic follow-ups, not claimed code fixes. The 439-test total counts the receiver cases once.

The final cleanup verified ten owned groups absent, both loopback ports free, Simulator deletion and data removal, and no broker cleanup errors. All 104 products and 148 compiled inputs remained bound. Exact-credential scanning found zero hits in 391 retained files; private key/token copies and the task credential window were deleted. Final combined proof SHA-256: b828864c02bd14697c8067afd298ea0415dda6ef0d6a1572ed666892c6031211.

Limits and follow-ups

Physical full-flow and endurance testing is deferred with the maintainer's acceptance because no connected physical Watch is available. Simulator/provider proof does not establish microphone-to-speaker behavior, the complete active-call UI, wrist-down operation, radio handoff, interruptions, battery or thermal behavior.

The peer must support ICE-lite over UDP. Two recoveries reuse the current call; terminal Try Again starts a new call. The provider adapter has a 30-minute active-session lease; seamless rollover and multi-hour continuity are not implemented. Failed provider cleanup is retained in memory.

Named follow-ups: physical-device and real DNS64/NAT64 acceptance; the upstream SRTCP received-index replay-window investigation; the unusual SQLite backup identifier; committed-device-removal diagnostics after requester retirement; and an inherited Gateway Talk close-tail ordering gap requiring a held-work reproduction. None is claimed fixed by this feature. Direct pinned-dependency inspection is recorded in the dependency audit.

Latest review disposition

The current ClawSweeper review establishes no code or security findings. Its first and third pre-merge items and optional rank-up move are addressed by the newly rebuilt Gateway/native/provider checkpoint above. For the reviewer-environment limitation reopening dependencies, the maintainer accepts the already-recorded direct pinned-source audit and skips a redundant reopening in that environment: the ten RTC inputs and linked archive are unchanged and reverified. This does not claim the automated reviewer reopened them or constitute a complete cryptographic audit.

Supporting repairs and release-note context

The 22 supporting task PRs are already merged: #135697, #135765, #135789, #135795, #135904, #135961, #136161, #136307, #136335, #135796, #136273, #136522, #137519, #137463, #137636, #138022, #138045, #138207, #138481, #138593, #138598 and #138625. These include provider retirement, shared Talk ownership, delivery journals, authority fencing and the separately verified CI/fixture repairs. Contributor credit remains in those PRs and their landed commits.

This feature adds no further SQLite schema or Gateway protocol-version change. The separately landed phone/Watch delivery journals own their app-local migrations. Release-note intent: opt-in standalone Apple Watch realtime voice with native WebRTC/Opus, Gateway-owned agent authority, visible controls and bounded cancellation/recovery. The complete diff is 62 files, +19,050/−567. Runtime production is +3,205/−222 (net +2,983); test/support is +1,747/−280 (net +1,467). Build/config, generated files, lockfile and notices are counted separately. Production growth implements the native RTC/audio ownership boundary and standalone capability; absorbing it into the existing text-only companion flow would not provide direct Watch audio. The final test relocation changes production by zero lines. OpenClaw changelogs remain release-generated.

Setup UI

Inspected synthetic-only normal-launch Watch Simulator captures:

Before After
Before: clipped Watch setup instructions After: visible Watch setup instructions and action

@steipete steipete self-assigned this Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added app: ios App: ios size: M maintainer Maintainer-authored PR labels Sep 2, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 4, 2026, 11:44 PM ET / September 5, 2026, 03:44 UTC.

ClawSweeper review

What this changes

Adds opt-in Apple Watch voice calls using native WebRTC/Opus audio, iPhone-assisted setup, and Gateway-owned control, tools, and transcripts.

Merge readiness

⛔ Blocked before merge - 3 items remain

This remains a distinct, maintainer-backed capability: the merged supporting repairs do not replace standalone Watch voice. No concrete introduced blocking defect was established.

Priority: P2
Reviewed head: 334fefcc6b1b649a248c068731aced253bd23f87

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent implementation with strong scoped native/provider evidence and no established blocking code finding.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): Retained Watch Simulator/real-provider evidence exercises unchanged native media owners and records decoded Opus, transcription, revoked-grant rejection, control close 4001, and same-call hangup HTTP 200. This remains scoped evidence; the rebuilt Gateway integration checkpoint is pending, and physical-Watch coverage is explicitly deferred with maintainer acceptance.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (logs): Retained Watch Simulator/real-provider evidence exercises unchanged native media owners and records decoded Opus, transcription, revoked-grant rejection, control close 4001, and same-call hangup HTTP 200. This remains scoped evidence; the rebuilt Gateway integration checkpoint is pending, and physical-Watch coverage is explicitly deferred with maintainer acceptance.
Evidence reviewed 12 items Pinned review identity: The checkout matches the supplied original PR head and remains clean. Review ownership uses the verified merge-base-to-head delta; the supplied stale test merge is not evidence of what merging would remove.
Still necessary on current main: Current-main documentation describes phone-mediated Watch dictation and readback, explicitly excluding microphone streaming and a Watch realtime session. The standalone controller, transport, and Rust engine are absent from both fetched main and the supplied latest-release tree.
Release boundary: The standalone Watch controller and native engine are absent from v2026.9.1's supplied commit; the feature is not established as shipped.
Findings None None.
Security None None.

How this fits together

The Watch becomes a thin voice client provisioned by the iPhone. Audio travels directly to the voice provider, while an authenticated Gateway connection controls the call and runs the agent.

flowchart LR
  A[iPhone setup] --> B[Scoped Gateway grants]
  B --> C[Watch call controller]
  C --> D[Native audio and WebRTC]
  D <--> E[Voice provider]
  C <--> F[Gateway Talk control]
  F <--> E
  F --> G[Agent tools and transcripts]
Loading

Before merge

  • Resolve merge risk (P1) - The retained provider episode does not establish behavior of the complete rebuilt Gateway composition; its declared integration checkpoint remains pending.
  • Resolve merge risk (P1) - Pinned native-dependency contracts could not be independently reopened in this reviewer environment; the supplied upstream audit remains supporting evidence.
  • Complete next step (P2) - Finish and record the PR’s declared rebuilt Gateway/native provider checkpoint for the integrated composition.
Agent review details

Security

None.

PR surface

Source +278, Tests +191, Docs +251, Config +40, Other +17723. Total +18483 across 62 files.

View PR surface stats
Area Files Added Removed Net
Source 9 425 147 +278
Tests 6 375 184 +191
Docs 4 305 54 +251
Config 3 40 0 +40
Generated 0 0 0 0
Other 40 17905 182 +17723
Total 62 19050 567 +18483

Review metrics

Metric Value Why it matters
Production versus tests Production net +3,135; tests/test support net +1,319 Growth implements the new native capability; build metadata, generated inventory, lockfile, notices, and docs are excluded, and moves contribute no net growth.
Setup contract 1 bootstrap profile value added; existing defaults retained The explicit voice-node selection reuses the existing bounded read/talk grant instead of changing ordinary setup.
Native dependency footprint 142 checksum-pinned registry packages The embedded Watch target makes this new Rust dependency graph part of normal iPhone builds.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Retain one call/attempt owner with synchronous media fencing and shared Gateway authorization, avoiding a second control stack or permanent provider credentials on the Watch.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Retain one call/attempt owner with synchronous media fencing and shared Gateway authorization, avoiding a second control stack or permanent provider credentials on the Watch.

Do we have a high-confidence way to reproduce the issue?

Not applicable to the central feature request. Supplied Simulator/provider observations demonstrate scoped native behavior; no runtime reproduction was executed during this read-only review.

Is this the best way to solve the issue?

Yes at the architectural boundary: native media supplies phone-independent Watch audio while existing Talk and bootstrap owners retain authorization, provider control, and agent execution.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against cf127a39cb97.

Labels

Label justifications:

  • P2: This is a substantial opt-in native capability with limited default-path impact, rather than an urgent existing-user regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • feature: ✨ showcase: ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. Phone-independent wrist voice makes Gateway agents accessible away from the phone while keeping provider secrets and agent execution on the Gateway.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (logs): Retained Watch Simulator/real-provider evidence exercises unchanged native media owners and records decoded Opus, transcription, revoked-grant rejection, control close 4001, and same-call hangup HTTP 200. This remains scoped evidence; the rebuilt Gateway integration checkpoint is pending, and physical-Watch coverage is explicitly deferred with maintainer acceptance.
  • proof: sufficient: Contributor real behavior proof is sufficient. Retained Watch Simulator/real-provider evidence exercises unchanged native media owners and records decoded Opus, transcription, revoked-grant rejection, control close 4001, and same-call hangup HTTP 200. This remains scoped evidence; the rebuilt Gateway integration checkpoint is pending, and physical-Watch coverage is explicitly deferred with maintainer acceptance.

Evidence

What I checked:

  • Pinned review identity: The checkout matches the supplied original PR head and remains clean. Review ownership uses the verified merge-base-to-head delta; the supplied stale test merge is not evidence of what merging would remove. (334fefcc6b1b)
  • Still necessary on current main: Current-main documentation describes phone-mediated Watch dictation and readback, explicitly excluding microphone streaming and a Watch realtime session. The standalone controller, transport, and Rust engine are absent from both fetched main and the supplied latest-release tree. Public docs: docs/platforms/ios.md. (docs/platforms/ios.md:147, cf127a39cb97)
  • Release boundary: The standalone Watch controller and native engine are absent from v2026.9.1's supplied commit; the feature is not established as shipped. (ad6fe23aecb9)
  • Call and media ownership: The controller calls the existing Gateway Talk API, binds requests to captured routes, and synchronously cancels media before asynchronous cleanup. Transport send and decoded-playback scheduling check their cancellation gates at admission. (apps/ios/WatchApp/Sources/WatchRealtimeCallController.swift:411, 334fefcc6b1b)
  • Grant producer and forbidden cases: Bootstrap approval retires replaced role tokens in the commit turn. Watch HTTP tests cover fresh setup, node-only upgrades, broader existing grants, rejection of admin/write/secret scopes, ordinary reconnect, and consumed-bootstrap rejection; mobile tests retain embedded and phone siblings. (src/gateway/watch-node-http.test.ts:724, 334fefcc6b1b)
  • Existing Gateway control boundary: The Watch reuses connection-owned Talk sessions. The Gateway checks the exact live client, rejects invalidated connections, registers disconnect cleanup, and delegates provider hangup to the existing OpenAI plugin. These inspected paths do not depend on the Codex harness or protocol. (src/gateway/server-methods/talk-client-create.ts:252, 334fefcc6b1b)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Complete and record the already-declared rebuilt Gateway/native integration checkpoint.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (37 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-04T19:51:03.248Z sha 907572f :: blocked before merge. :: none
  • reviewed 2026-09-04T20:49:02.749Z sha fcf48c5 :: blocked before merge. :: none
  • reviewed 2026-09-04T21:47:58.938Z sha f92ee7d :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-04T23:04:09.103Z sha f92ee7d :: needs maintainer review before merge. :: none
  • reviewed 2026-09-05T00:23:48.855Z sha f92ee7d :: blocked before merge. :: none
  • reviewed 2026-09-05T01:49:23.833Z sha d8eb417 :: blocked before merge. :: none
  • reviewed 2026-09-05T02:48:25.096Z sha d8eb417 :: blocked before merge. :: none
  • reviewed 2026-09-05T03:08:06.998Z sha 334fefc :: blocked before merge. :: none

@steipete
steipete changed the base branch from main to codex/native-notification-cancellation September 2, 2026 03:06
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 2, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: android App: android app: macos App: macos app: web-ui App: web-ui gateway Gateway runtime size: XL and removed size: M labels Sep 2, 2026
@clawsweeper clawsweeper Bot added status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 2, 2026
@steipete

steipete commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Keeping this draft. The complete Watch microphone-to-speaker call, physical-device behavior, and media-side revocation/replacement proof remain open gates. The real HTTP revocation proof in merged #135904 covers the command/control boundary; it is not a substitute for Watch media proof. Retargeting and exact-head integration checks will follow the parent landing.

The upstream dependency inspection was possible on the maintainer host. I inspected the pinned str0m 0.23.1 sources, including its published run-loop contract, alongside the complete Rust C ABI and Swift transport. WatchRealtimeTransport.mutate drains output through the next timeout after each mutation on its serial queue, including candidate registration, SDP, media writes, received packets, and timers. The existing real-provider UDP/Opus round trip and both final Watch device-architecture builds are recorded in the body; neither demonstrates a complete Watch hardware call.

Two metadata corrections: the production +259/-207 and test +399/-144 figures in this review belong to the notification parent. The full feature diff from its recorded base through a8c7528 is production +2743/-271 and tests/fixtures +1130/-377. Generated localization, the Cargo lockfile, license notices, build files, and docs are classified separately in the body. The referenced setup schema adds the explicit voice-node profile value, and the metadata change normalizes Watch platform strings; neither is a SQLite schema change. This feature does not add database tables, columns, schema versions, or retention policy. The separate durable Watch delivery design is still unimplemented pending approval.

@steipete
steipete force-pushed the codex/native-notification-cancellation branch 2 times, most recently from 1353845 to 7623891 Compare September 2, 2026 11:20
@steipete
steipete force-pushed the codex/watch-native-realtime-voice branch from a8c7528 to 7127990 Compare September 2, 2026 14:11
@openclaw-barnacle openclaw-barnacle Bot removed app: android App: android app: macos App: macos labels Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete

steipete commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

Review disposition: numeric IPv4 resolution

The NAT64 finding is a false positive against Apple’s documented resolver contract. Apple’s “Use System APIs to Synthesize IPv6 Addresses” guidance explicitly supports passing an IPv4 literal to getaddrinfo on an IPv6/DNS64/NAT64 network; Listing 10-1 uses PF_UNSPEC and AI_DEFAULT.

The resolver at ab81b616 follows that route with AF_UNSPEC, UDP and AI_DEFAULT | AI_NUMERICSERV. The WatchOS 27.0 SDK’s usr/include/netdb.h:213–214,230 distinguishes AI_NUMERICSERV (service lookup) from AI_NUMERICHOST (host resolution); the latter is not set. Returned IPv6 endpoints feed both ICE aliases and Network discovery. No custom NAT64 prefix or resolver workaround is needed.

The translated-address tests cover downstream planning, not the system resolver on a real DNS64/NAT64 network. That network-specific proof remains unrun; it is not evidence that numeric-literal synthesis is unsupported.

Updated proof and remaining scope

Fresh native products bound to ab81b61 passed the rebuilt native/provider checkpoint: one method, 398 decoded Opus packets with zero decode errors, 362 outgoing RTP admissions and acknowledged input transcription. Revocation rejected the old grant, closed control with WebSocket code 4001, and received HTTP 200 for the same call’s provider hangup before fixture cleanup. This used the unchanged Gateway source composition; owned runtime resources were subsequently cleaned up.

This is synthetic Simulator media evidence—not full-controller, physical Watch microphone/speaker, real NAT64-network or endurance validation. Those limitations remain explicit. Exact-head CI still needs to finish successfully; its known config51 missing-doc-reference failure is being repaired separately.

@steipete

steipete commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

The native dependency/toolchain evidence item has been checked against reviewed head 92fdfd9a15ed488b666f91f726d353671d1a999d.

The CI step uses the runner's existing rustup to install nightly-2026-08-31; it does not introduce a curl/bootstrap installer. The native builder also selects that toolchain explicitly and uses --locked. Rustup's date-pinned toolchain contract and 1.29.1 download owner were inspected: the manifest checksum and component hashes are verified, and mismatches fail before the component installation owner receives an installable file.

The retained local rustup installer and installed copies match the official versioned checksum. The pinned official toolchain manifest's checksum verifies, and its relevant component URLs/hashes match the installed manifest. This is distinct from the earlier 142-crate archive /7,352-source-file verification, whose package/checksum set still exactly matches this head. All ten RTC source/build inputs also match the post-ICE four-architecture build capsule; the OS-entropy credential fix remains present.

No concrete installer weakness was found, and replacing the existing installation owner with another downloader would add unnecessary machinery. These checks establish scoped contract and byte provenance—not a complete transitive cryptographic audit, fresh advisory scan, reproducible compiler build, or replay of absent original toolchain archives. Existing audit limitations, exact-head CI, and the separately stated physical-Watch limitation retain their own dispositions.

steipete and others added 5 commits September 4, 2026 06:08
Resolve the shared WebSocket fixture conflict by retaining main's canonical
FIFO owner and the separately reviewed cancellation fence. Remove this
branch's redundant receive-gap regression and obsolete one-shot emitter.

Native Watch media and Rust inputs remain unchanged. Keep main's Gateway
compression/payload handoff, expiry cleanup, and CI checkout-owner repair.
The integration review is clean; the cancellation regression and its three
native controls pass. Current-base Gateway and provider validation remains
a landing checkpoint rather than being inferred from older binaries.
Merge main to resolve the native source inventory conflict, retaining both generated entries. Install the existing pinned Watch Rust toolchain before both iOS Periphery consumers build the embedded Watch target. Keep scan failure propagation and unused-code policy unchanged.
Remove the unused audio-format result through the audio, media-session and controller path. Periphery exposed obsolete fields in a value the sole caller discarded; activation, cancellation and codec policy stay unchanged.

Include the separately reviewed Apple fixture synchronization fixes from #138207 while that prerequisite lands. No Gateway runtime, protocol, configuration or persistence changes.
Merge main to resolve the generated native inventory conflict while retaining both current dashboard strings and Watch voice strings. Remove the retired fleet callsite from the inventory and preserve the current iOS test project changes.

The complete feature diff against the pinned main commit passed independent review. Native inventory verification passed; fresh native, Gateway, live and exact-head CI proof remain required before landing.
Reuse the canonical startup baseline from #138449, terminal-parent QA
acknowledgment from #137342, and handle-scoped reclamation fixture from
#138481. Keep the Watch, Rust and Gateway/provider production sources
unchanged from the verified 907 native and real-provider checkpoint.

The four-file delta has a clean independent review. Source binding retains
all 148 native inputs, 10 Rust pins and 3,095 Gateway/auth facts; tests and
baseline proof remain source-specific. No required check, timeout or size
allowance is disabled.

Co-authored-by: Ayaan Zaidi <[email protected]>
Use the canonical committed-mutation response owner from #138492 for device
remove, rotate and revoke, preserving immediate fencing and scoped teardown.
Include the separately reviewed #138625 cleanup fix so a retired caller cannot
skip removed-device worker reconciliation. Keep setup/bootstrap on their
existing retirement helper and retain the Watch HTTP invalidation owner.

Validation: 194 owner, Watch and authorization tests passed with zero skips;
fresh scoped managed review found no P0-P3 findings. Full changed checks and
new published-head native/Gateway live proof remain separate landing gates.
@steipete

steipete commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: ios App: ios app: web-ui App: web-ui docs Improvements or additions to documentation feature: ✨ showcase ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. gateway Gateway runtime maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant