You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(mobile): recover a terminal whose web-ready message was missed - #25502
A mobile terminal tells the app "I'm ready" once, right after it loads. If the app missed that one message, it never used the terminal, and an error appeared after 15 seconds even though the terminal had loaded fine. Now the app asks once more when the page finishes loading, and only a terminal with a working renderer counts as ready.
What Changed
Before: the terminal document posts web-ready once at startup. If that message was lost, nothing asked again (the native side pings the document only during foreground recovery), so the 15-second watchdog reported "Terminal did not initialize - no ready signal from the terminal view". A document whose xterm script failed to load still answered pings, and its pong counted as ready.
After (use-terminal-webview-controller.ts, shared by the native WebView and the page):
When the native WebView finishes loading (onLoadEnd), the controller sends one readiness ping, unless the document already announced itself or a ping is already waiting for an answer.
A pong counts as ready only when it reports terminalAvailable: true. The document sets that flag only after it has reported readiness and its engine is available.
If the load-end ping arrives during the font wait, the document retains its ID and sends one ready pong when startup completes. Recovery still works if the later web-ready is lost. Stopping the document clears the pending probe.
The pong carries the same cell box web-ready sends, and the controller stores it before announcing readiness, so a subscribe recovered through this ping is sized to the viewport like the normal path.
Every web-ready still reaches the session, exactly as on main, so the session resubscribes whenever a new document announces itself. A pong announces the document only when nothing has announced it yet. A foreground-recovery pong for a document that was already announced stays silent, as on main. resetReadiness() clears that record for the next document.
The error overlay's Reload button now calls resetReadiness() before reload(), as the page's Reload already did, so the dead document's queued commands and readiness do not carry into the next document even if onLoadStart does not fire.
Why
web-ready is a one-shot bridge event and is not buffered, so a ping after load is what makes a lost one recoverable. Requiring the engine flag keeps a document whose xterm failed to load from passing as ready.
Only a ready pong needs the "already announced" check. The document sends its ready pong after posting web-ready, including when it previously answered the same ping as not ready. Every web-ready still reaches the session so a new document can resubscribe after a reload that skipped onLoadStart.
Alternatives considered:
Deduplicating web-ready itself: rejected, because it would drop the resubscribe that a repeated web-ready triggers.
This change was first part of #20489, which I have split into smaller PRs.
Visual Proof
N/A: there is no UI change. The only visible difference is that the "no ready signal" error no longer appears when the startup message is lost, and that loss depends on timing, so there is nothing reliable to capture.
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Mobile tsc --noEmit, check:tests-typecheck, oxlint and format:check pass.
Full mobile vitest run: 925 files passed, 2 skipped; 10,011 tests passed, 6 skipped. The only failures are two tests in src/tasks/mobile-agent-launch-architecture.test.ts, which fail the same way on plain main on my machine.
The four mobile web closure suites (mobile-web-app-session-terminal-closure, mobile-web-app-page-closure-families, mobile-web-terminal-engine-closure, mobile-web-app-push-subsystem-closure) pass.
Latest local verification (ffe9d003f8): 67 related tests, mobile application and test typechecks, and all 15 changed-file checks passed. The font tests drop web-ready and cover font load success, rejection, and the startup deadline; the controller test accepts the later matching ready pong. This head was not tested on a physical device.
New or updated tests:
the pong carries the engine flag and the cell box: host-seams.test.ts, and native-document-bundle.test.ts, which runs the real bundled document script;
a missed web-ready recovered through the post-load ping, and an engine-less pong rejected (terminal-webview-engine-error.test.ts);
a repeated web-ready reaching the session each time, and a new document announced after onLoadStart;
a foreground-recovery pong not re-announcing a document, whether web-ready or the post-load pong announced it;
the Reload-without-load-start path;
fitDimensions sized from a post-load pong (terminal-webview-cell-box.test.ts).
Device: this change was in the #20489 build I ran on a physical Galaxy Z Fold7 (Android 16): the terminal painted on first open, and logcat had no no ready signal line. That build also contained #20489's window and density changes. This branch on its own has not been rebuilt into an APK.
Risk
Level: Low
The main risk is misclassifying readiness during startup: a user could see a blank terminal or the readiness watchdog error. The messages stay between the WebView and the document bundled with the same app; host RPCs, older paired desktops, SSH servers, and saved data are unchanged. A normal revert is sufficient; no data migration is needed.
AI Disclosure
OpenAI Codex (GPT-5.6 Sol and GPT-5.6 Luna) assisted with the original investigation and implementation in #20489. The rebase, the review fixes and this split were done with Claude Code (Claude Opus 5.5). The author ran the combined build on a physical device. The latest readiness fixes were assisted by Codex (GPT-6 Astra).
Review
Security: no permissions, network endpoints, credentials or host-execution paths were added.
Cross-platform:
The readiness edits live in the controller shared by TerminalWebView.tsx and TerminalWebView.web.tsx, so the page gets the same engine-checked pong. The page has no onLoadEnd and never pings on foreground, so it never receives a pong and its announcements are unchanged.
The post-load ping and the overlay Reload reset are native-only changes in TerminalWebView.tsx; the page's Reload already reset readiness.
SSH/remote/local: pong.terminalAvailable and pong.cellBox travel between React Native and the document bundled with the same app build. They do not cross the host–client wire, so there is no mixed-version concern. Terminal RPCs are unchanged.
Performance: at most one extra ping per document load, and only while the document has not announced itself.
Agent skill upstream boundary
Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
No README, environment-variable, API, deployment, privacy or remote-wire contract changed.
I stated the risk: what could break, for whom, and how to back it out
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred): mobile typecheck, tests-typecheck, lint, format and tests pass locally, apart from the two main failures above; root lint, typecheck and build are left to CI
터미널 문서의 web-ready는 한 번만 오는 이벤트라, React Native의 메시지 콜백이 붙기 전에 도착하면 15초 감시 타이머가 문서가 이미 로드됐는데도 "no ready signal" 오류를 띄웠다. WebView 로드가 끝나면 문서에 핑을 한 번 보내고, xterm 엔진이 있다고 답한 pong만 준비 완료로 인정하도록 했다. 그 pong은 web-ready와 같은 셀 박스를 실어 복구된 구독도 뷰포트에 맞춰진다. 오류 화면의 Reload 버튼도 다음 문서로 넘어가기 전에 준비 상태를 초기화한다.
stablyai/orca#20489에서 시작 준비 부분만 분리한 변경이다.
Constraint: web-ready는 버퍼 없이 브리지로 바로 가는 일회성 이벤트다
Rejected: web-ready 자체 중복 제거 | 반복된 web-ready는 새 문서를 뜻하고 세션이 그것으로 재구독한다
Related: stablyai#20489
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
Walkthrough
The terminal WebView now probes readiness after load completion. Ping responses report terminal availability and cell dimensions. The controller accepts matching pong responses only when the terminal is available, updates the cell box, and notifies the parent when needed. Reload resets readiness. Tests cover missed ready signals, unavailable terminals, duplicate notifications, cell sizing, and queued commands.
Severity of issue fixed: Medium
Merge Risk: Minimal · up to ffe9d
No identified issue blocks merging. Readiness recovery waits for font preparation or its deadline before confirming the terminal.
Security architecture risk: Low · up to 55850
The recovery path retains terminal ownership and subscription checks, rejects pongs reporting a missing engine, and clears stale state before reload. No introduced security concern was established. Risk remains low rather than minimal because document identity and navigation behavior are not fully established.
Retained concerns
No architecture-level concerns identified.
Security review details
Security Blast Radius
inferred — The recovered readiness route affects the emitting WebView and its native-owned terminal subscription. The inspected path does not let the document select another terminal handle or client identity; broader host-side authorization was not independently assessed.
Trust Boundaries and Controls
observed — Ping IDs correlate responses with an outstanding native request; they are not document authentication. The new pong gate rejects unavailable-engine responses, while the pre-existing web-ready route still carries no document-generation identity.
Resilience and Maintainability Implications
observed — The Reload button now resets readiness before replacing the document, even if load-start is not delivered. Reset clears outstanding probe ownership, announcement state, queued commands, coalesced writes and cell measurements, then rearms the watchdog. Successful confirmation clears the watchdog and outstanding probe before notifying the parent and flushing traffic.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 40.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title clearly and concisely describes the main change: recovering a mobile terminal when its one-time web-ready message is missed.
Description check
The description is complete and matches the required template. It explains the user impact, implementation, motivation, linked issue, visual proof, testing, risks, AI use, compatibility considerations…
Linked Issues check
Issue #25500 is closed. It provides historical context only. No active directly linked issue supplies coding requirements for this pull request. The reported changes address the historical readiness f…
Out of Scope Changes check
The changes stay within terminal readiness recovery. They add post-load probing, require engine availability for readiness, preserve cell-box sizing, manage per-document readiness state, reset state o…
Full details: Description check
Explanation
The description is complete and matches the required template. It explains the user impact, implementation, motivation, linked issue, visual proof, testing, risks, AI use, compatibility considerations, and rollback plan. It also identifies that root lint, typecheck, and build remain for CI.
Full details: Linked Issues check
Explanation
Issue #25500 is closed. It provides historical context only. No active directly linked issue supplies coding requirements for this pull request. The reported changes address the historical readiness failure without creating an additional linked-issue objective.
Full details: Out of Scope Changes check
Explanation
The changes stay within terminal readiness recovery. They add post-load probing, require engine availability for readiness, preserve cell-box sizing, manage per-document readiness state, reset state on reload, and add tests for these paths. No unrelated change is shown.
Full details: Docstring Coverage
Explanation
Docstring coverage is 40.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 5 functions across 10 files.
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
The reason will be displayed to describe this comment to others. Learn more.
✅ No new issues found.
Reviewed changes
This run reviewed the single commit 55850cf603 in full.
Post-load readiness probe — TerminalWebView.tsx wires onLoadEnd={probeWebReady} and use-terminal-webview-controller.ts adds probeWebReady(), which sends one ping unless the document is already ready or a ping is already outstanding. This is what recovers a dropped one-shot web-ready.
Engine-checked pong — the pong branch now requires msg.terminalAvailable === true, and host-message-router.ts fills that from the document's existing hasEngine() seam, so a document whose xterm script failed to load can no longer pass as ready.
Cell box on the recovered subscribe — the pong carries cellBox: laidOutCellBox(scope)?.cellBox ?? null and the controller stores it before announcing, so a subscribe recovered through the ping is sized to the viewport like the normal path.
Announce-only-once guard — new webReadyNotifiedRef makes a pong announce the parent only when nothing has announced the document yet, so an iOS foreground-recovery pong does not trigger a redundant unsubscribe/resubscribe. Reset in resetReadiness().
Reload reset — the error overlay's Reload now calls resetReadiness() before reload(), matching the page, for the case where onLoadStart does not fire on reload.
The change is consistent across the four affected paths (native load, foreground recovery, reload, page) and the added tests pin behavior that would fail with the old code: the recovery ping, the engine-less pong rejection, the repeated-web-ready resubscribe, the non-re-announcing foreground pong, the reload-without-load-start case, and fit dimensions sourced from a pong. I traced the ordering assumption (document posts web-ready synchronously before onLoadEnd, so a pong cannot overtake it and a repeated web-ready always means a new document) and it holds for this transport. The page build never pings, so the shared receiver change leaves it unchanged. No actionable findings.
최신 main의 터미널 컨트롤러 변경을 병합하면서 로드 후 준비 상태 확인과 엔진 유효성 검증을 보존했다. 준비 신호가 누락된 문서만 부모에 다시 알리도록 기존 복구 경로를 유지했다.
Tested: 준비 신호와 셀 크기 및 생성 문서 테스트 45개, 모바일 타입 검사 통과
Related: stablyai#25502
업스트림의 타입 검증용 호스트 노드 조회 함수를 사용하도록 복구 테스트 네 곳을 맞췄다. 실행 테스트뿐 아니라 테스트 소스의 타입 검사도 통과하도록 했다.
Tested: 엔진 복구 테스트 13개, 모바일 테스트 타입 검사, check:changed 11개 검사 통과
Related: stablyai#25502
놓친 준비 신호를 복구하는 핑과 숨겨진 터미널의 입력을 중지하는 최신 동작을 함께 유지했다. 복구와 재로드 뒤 전달되는 명령 순서를 현재 제어기에 맞췄다.
Constraint: 기존 PR의 준비 신호 복구와 최신 main의 입력 활성 상태를 함께 보존했다.
Tested: 관련 Vitest 52개, 모바일 타입 검사와 테스트 타입 검사, 변경 파일 oxlint 및 oxfmt 검사를 통과했다.
Not-tested: 업스트림 GitHub Actions는 관리자 실행 승인 대기 상태였다.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Functional Correctness · Quick win
Supported by static analysis
Script executed:
cd mobile/src/terminal; sed -n 90,180p use-terminal-webview-controller.ts; sed -n 1,90p document/host-message-router.ts; rg -n "web-ready|hasEngine|prepareTerminal|fonts" document | head -60
Repository: stablyai/orca
Length of output: 11448
Script executed:
cd mobile/src/terminal ||exit 1
echo'== document/message-bridge.ts =='
cat -n document/message-bridge.ts
echo'== hasEngine definitions and uses =='
rg -n -F -e 'hasEngine' -- document | head -40
echo'== laid-out-cell-box =='
cat -n document/laid-out-cell-box.ts 2>/dev/null | head -80
echo'== readTerminalCellBox and onWebReady consumers =='
rg -n -F -e 'readTerminalCellBox' -e 'onWebReady' -- . ../ | head -60
echo'== controller top (refs and webReadyNotifiedRef) =='
rg -n -F -e 'webReadyNotifiedRef' -e 'isWebReadyRef' -- .| head -40
Repository: stablyai/orca
Length of output: 14755
Do not announce readiness from a pong before the document posts web-ready.
During the font wait, the host transport is already installed. A ping therefore receives a pong with terminalAvailable: true and cellBox: null. The controller then calls onWebReady before a measured cell box exists. When fonts settle, the document posts web-ready with the measured box, and the controller calls onWebReady again. The repeated web-ready is expected. The early null-box readiness is the defect.
Report the pong as not ready until the document has posted web-ready. A flag set in reportReady can gate the pong. Hidden documents still post web-ready with a null box, so that path does not change.
Do not gate on scope.cancelFontReadiness. The timeout path in waitForTerminalFont leaves it set until fonts load. A pong would then stay not ready after the 2000 ms deadline, even though the document can still recover.
Add a test that sends a ping during the font wait and asserts that no readiness is announced before web-ready.
폰트 준비를 기다리는 문서는 메시지 브리지만 먼저 설치되어 있어, 엔진 존재 여부만으로 준비 상태를 판단하면 측정 전 화면을 구독할 수 있었다. 문서의 준비 신호 전송 여부를 핑 응답에 반영하고 종료 시 초기화했다.
Constraint: 폰트 대기 시간 초과 뒤의 복구와 숨겨진 문서의 null 셀 크기를 유지했다.
Tested: 새 회귀 테스트 2개의 수정 전 실패와 수정 후 통과, 관련 테스트 66개, 모바일 타입 및 테스트 타입 검사를 확인했다.
Related: f41db3a
63-63: Major · Stability & Availability · Heavy lift
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.
Retry a probe that receives a not-ready pong.
If the post-load ping arrives while fonts are loading, this reply is not ready. The controller retains the pending ping ID and sends no retry. If the later web-ready is missed, the terminal stays unavailable and the watchdog shows an error. (raw.githubusercontent.com)
Retry matching not-ready pongs, or send a matching ready pong when font readiness completes.
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 4623bd3c-c622-40c9-b207-b277a812cefe
Commits
Reviewing files that changed from the base of the PR and between f41db3a and fd3250b.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
폰트 로딩 중 받은 핑을 보관하고 문서 준비가 끝나면 같은 핑에 준비 완료 응답을 다시 보냈다. 뒤늦은 web-ready까지 유실되어도 초기 구독을 복구할 수 있도록 했으며, 문서 종료 시 보류된 핑을 비웠다.
Constraint: 이미 처리한 메시지 ID의 중복 방지를 유지하면서 준비 완료 응답만 다시 보냈다.
Tested: 폰트 로드 성공·실패·대기 시간 초과의 회귀 테스트 3개가 수정 전 실패하고 수정 후 통과했다. 관련 테스트 67개, 모바일 타입 및 테스트 타입 검사도 통과했다.
Related: stablyai#25502 (review)
Thank you for the careful investigation and the follow-up fixes here. The analysis of the one-shot web-ready race in the native TerminalWebView.tsx is correct.
I'm closing this because current main no longer reaches that code path. Since #29969, the native session route (app/h/[hostId]/session/[worktreeId].tsx) always mounts MobileWebShellScreen. The only path to TerminalPaneView (MobileSessionRouteScreen → MobileSessionSurface → MobileSessionContentRow → MobileSessionActiveContent) goes through the hosted [worktreeId].web.tsx route, so it resolves TerminalWebView.web.tsx. That component delivers readiness by a direct callback, not the bridge event, and it never sends the readiness ping. This change would only modify a component that isn't mounted, so #25500 was closed as completed by #29969. If the native TerminalWebView is wired back into a route, this fix is the right one to bring back.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
A mobile terminal tells the app "I'm ready" once, right after it loads. If the app missed that one message, it never used the terminal, and an error appeared after 15 seconds even though the terminal had loaded fine. Now the app asks once more when the page finishes loading, and only a terminal with a working renderer counts as ready.
What Changed
Before: the terminal document posts
web-readyonce at startup. If that message was lost, nothing asked again (the native side pings the document only during foreground recovery), so the 15-second watchdog reported "Terminal did not initialize - no ready signal from the terminal view". A document whose xterm script failed to load still answered pings, and its pong counted as ready.After (
use-terminal-webview-controller.ts, shared by the native WebView and the page):onLoadEnd), the controller sends one readiness ping, unless the document already announced itself or a ping is already waiting for an answer.terminalAvailable: true. The document sets that flag only after it has reported readiness and its engine is available.web-readyis lost. Stopping the document clears the pending probe.web-readysends, and the controller stores it before announcing readiness, so a subscribe recovered through this ping is sized to the viewport like the normal path.web-readystill reaches the session, exactly as onmain, so the session resubscribes whenever a new document announces itself. A pong announces the document only when nothing has announced it yet. A foreground-recovery pong for a document that was already announced stays silent, as onmain.resetReadiness()clears that record for the next document.resetReadiness()beforereload(), as the page's Reload already did, so the dead document's queued commands and readiness do not carry into the next document even ifonLoadStartdoes not fire.Why
web-readyis a one-shot bridge event and is not buffered, so a ping after load is what makes a lost one recoverable. Requiring the engine flag keeps a document whose xterm failed to load from passing as ready.Only a ready pong needs the "already announced" check. The document sends its ready pong after posting
web-ready, including when it previously answered the same ping as not ready. Everyweb-readystill reaches the session so a new document can resubscribe after a reload that skippedonLoadStart.Alternatives considered:
web-readyitself: rejected, because it would drop the resubscribe that a repeatedweb-readytriggers.Linked Issue
Fixes #25500
This change was first part of #20489, which I have split into smaller PRs.
Visual Proof
N/A: there is no UI change. The only visible difference is that the "no ready signal" error no longer appears when the startup message is lost, and that loss depends on timing, so there is nothing reliable to capture.
Testing
Prebuilt APK for trying this on a phone: https://github.com/kargnas/orca/releases/tag/preview-mobile-20261005-f1d7719. It contains this PR and my other open mobile PRs on top of
main40f9e7a3fc, and installs next to the regular app as "Orca Preview". On an Android 13 emulator it launched, paired withmobile/scripts/mock-server.tsand painted the terminal.On this branch (
55850cf603, onmain40f9e7a3fc):tsc --noEmit,check:tests-typecheck,oxlintandformat:checkpass.vitest run: 925 files passed, 2 skipped; 10,011 tests passed, 6 skipped. The only failures are two tests insrc/tasks/mobile-agent-launch-architecture.test.ts, which fail the same way on plainmainon my machine.mobile-web-app-session-terminal-closure,mobile-web-app-page-closure-families,mobile-web-terminal-engine-closure,mobile-web-app-push-subsystem-closure) pass.Latest local verification (
ffe9d003f8): 67 related tests, mobile application and test typechecks, and all 15 changed-file checks passed. The font tests dropweb-readyand cover font load success, rejection, and the startup deadline; the controller test accepts the later matching ready pong. This head was not tested on a physical device.New or updated tests:
host-seams.test.ts, andnative-document-bundle.test.ts, which runs the real bundled document script;web-readyrecovered through the post-load ping, and an engine-less pong rejected (terminal-webview-engine-error.test.ts);web-readyreaching the session each time, and a new document announced afteronLoadStart;web-readyor the post-load pong announced it;fitDimensionssized from a post-load pong (terminal-webview-cell-box.test.ts).Device: this change was in the #20489 build I ran on a physical Galaxy Z Fold7 (Android 16): the terminal painted on first open, and logcat had no
no ready signalline. That build also contained #20489's window and density changes. This branch on its own has not been rebuilt into an APK.Risk
Level: Low
The main risk is misclassifying readiness during startup: a user could see a blank terminal or the readiness watchdog error. The messages stay between the WebView and the document bundled with the same app; host RPCs, older paired desktops, SSH servers, and saved data are unchanged. A normal revert is sufficient; no data migration is needed.
AI Disclosure
OpenAI Codex (GPT-5.6 Sol and GPT-5.6 Luna) assisted with the original investigation and implementation in #20489. The rebase, the review fixes and this split were done with Claude Code (Claude Opus 5.5). The author ran the combined build on a physical device. The latest readiness fixes were assisted by Codex (GPT-6 Astra).
Review
TerminalWebView.tsxandTerminalWebView.web.tsx, so the page gets the same engine-checked pong. The page has noonLoadEndand never pings on foreground, so it never receives a pong and its announcements are unchanged.TerminalWebView.tsx; the page's Reload already reset readiness.pong.terminalAvailableandpong.cellBoxtravel between React Native and the document bundled with the same app build. They do not cross the host–client wire, so there is no mixed-version concern. Terminal RPCs are unchanged.Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
No README, environment-variable, API, deployment, privacy or remote-wire contract changed.
Author
X (Twitter): @kargnas
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred): mobile typecheck, tests-typecheck, lint, format and tests pass locally, apart from the twomainfailures above; root lint, typecheck and build are left to CI