Repository navigation
fix(ui): show concrete model names in locked chats - #137041
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: blocked before merge. Reviewed September 3, 2026, 12:45 PM ET / 16:45 UTC. ClawSweeper reviewWhat this changesRepairs locked-chat model labels, Android WebSocket and scroll timing races, and related regression-test synchronization, with matching Control UI documentation. Merge readiness⛔ Blocked before merge - 4 items remain Keep open: the three owner-bound repairs are not present on current main and source review found no introduced correctness defect, but the branch is reported conflicted with main and its required exact-head Android and Gateway checks are not yet complete. Priority: P2 Review scores
Verification
How this fits togetherGateway session metadata feeds the Control UI composer, while Android connection and timeline state drive handshake delivery and reader scrolling. This PR corrects presentation and lifecycle behavior at those respective owners. flowchart LR
A[Gateway session metadata] --> B[Locked model control]
B --> C[Control UI composer]
D[Android connection lifecycle] --> E[Handshake delivery]
F[Timeline and history state] --> G[Reader scroll owner]
G --> H[Newest message visible]
Before merge
Agent review detailsSecurityNone. PR surfaceSource -4, Tests +381, Docs 0, Other +4. Total +381 across 12 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Resolve the main conflict while preserving the owner-boundary repairs, then obtain green required Android and real-Gateway checks at the resulting exact head. Do we have a high-confidence way to reproduce the issue? Yes—the focused UI and Android regression fixtures encode the reported pre-fix states and execution order, although this read-only review did not run them. Is this the best way to solve the issue? Yes—the changes repair the model-label, socket-publication, and scroll-effect owners rather than masking symptoms in callers or tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 391ab8b4c7d4. 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
HistoryReview history (7 earlier review cycles)
|
|
@clawsweeper re-review The candidate now includes two bounded repairs found by exact-head CI recovery: synchronize the cron timeout test with real child readiness, and preserve Android's moving new-turn scroll when populated history finishes loading (#137111). The original locked-model label fix is unchanged. Regression, cleanup, lint, changed-check, and APK-build evidence is in the updated PR body; native visual proof remains pending separately. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Supplementary native Android proof for the CI-discovered scroll cancellation repair in #137111 is complete. These are native controller instrumentation captures on an isolated Android emulator, not a full Gateway or production ChatScreen flow. Both variants use the real reader controller, the same synthetic fixture and byte-identical instrumentation APK. The baseline stops at item 31/offset 165 after loading finishes, leaving the newest row absent; the candidate reaches item 0/offset 0 and visibly shows new user. Native assertions verify actual animation movement before the loading-state change and the final layout/accessibility result. The baseline controller is from the original PR commit; the candidate is byte-identical to the controller in the published Android repair. No force-scroll workaround or production test hook was used. Both attached full frames were inspected and contain only synthetic fixture content and the isolated emulator. Owned emulator/recording/build processes were stopped; existing devices and Gateway state were untouched. The earlier low-disk/missing-cache instrumentation blocker was resolved with recovered storage headroom and normal retrieval of the repository's already-pinned test dependencies. No dependency or lockfile changed in the PR. The separate Control UI before/after images remain in the PR body. |
66125e6 to
fb66908
Compare
Keep the selected catalog label or qualified model reference visible in locked Control UI chats. Use Session model only when the selection is unknown, and preserve the existing lock and model mutation guards. Remove runtime-based ownership labeling and document that model editability does not establish native ownership. Cover canonical Gateway rows, missing catalog metadata, and runtime-independent labels with regression tests. Fixes #137039. UI follow-up to #136754; runtime behavior is unchanged.
Freeze deadline timers until the real shell publishes a live descendant, then advance the unchanged 0.5-second timeout and termination grace. This keeps startup latency from consuming the process-group cleanup proof. Reuse canonical PID and temporary-directory helpers and clean up processes, timers, and the spawn spy even when setup fails. Cron runtime is unchanged. Proof: all 10 command-runner tests, 10 sequential timeout-probe runs, inherited-pipe descendant coverage, and deliberate setup-failure cleanup. CI follow-through for #137041.
Only include history loading in the reader effect key for empty timelines, where it changes the transition. Populated-history completion must not cancel a scroll after the owner records its new content version. Reproduce loading completion during an observably moving animation and require arrival at the newest turn. Preserve manual takeover and replacement animation behavior without changing the full-message fixture. Fixes #137111. Found during CI follow-through for #137041. Proof: old owner stops at item 32/offset 141; repaired owner reaches 0/0. All 57 reader/full-message tests, Kotlin lint, nine-file changed checks, and :app:assemblePlayDebug pass. Native visual proof remains pending.
Match the canonical in-process Gateway actor in the existing update tool and /update exact-call assertions. Main now propagates the system actor; these two expectations were missed while the shared helper tests changed. Four failures reproduced on the CI merge baseline. All 50 owner and sibling tests pass after the two-line expectation repair. Runtime behavior, scopes, routing checks, mocks, and timeouts are unchanged. Refs #137041.
fb66908 to
0fee3dc
Compare
Align the update tool and /update exact-call assertions with the shared in-process Gateway actor introduced by #136952. Preserve owner checks, trusted routing, admin scopes, abort propagation, and the update timeout. Reuse Peter Steinberger's two-line fix from commit 0fee3dc in #137041, separated so this CI prerequisite can land independently of its UI and Android changes. Four failures reproduced on main 993ad30. All 50 owner and sibling tests pass after the correction. Production delta: zero lines.
Scope decision and reviewed landing evidenceCombined scope is explicitly confirmed. After being offered “Keep together” or “Split the repairs,” the maintainer selected Keep together in this task's approval prompt. Retain the UI model-label fix, Android scroll fix, cron readiness fixture, and two update-dispatch test expectations in this PR. The broader rollback/bisection scope is accepted, with four logical commits retained for traceability. This resolves the scope decision and rank-up item in the latest ClawSweeper review; the earlier overstated approval wording was corrected before this explicit confirmation. Reviewed head: The final source-Control-UI capture below shows GPT-5.6 Sol and Locked, with zero model-patch requests or page errors. It was captured at Local proof includes 546 UI tests, 22 picker E2E tests, 2,714 Android tests, the cron readiness/cleanup regression and repetitions, 50 update/dispatch tests, relevant builds, changed checks, and native schema/protocol/i18n guards. Exact commands and historical failures are retained in the PR's Evidence section. No model-runtime, schema/config, dependency, or sidebar native-terminal change was added. Final landing still runs through the repository's native prepare/merge wrapper. GitHub currently reports a main-branch conflict despite the green reviewed head; preparation must resolve that safely and validate the resulting head. The native workflow may reuse this green run only under its verified patch-identical rebase contract. A changed patch requires renewed proof rather than assuming this result applies. |
Preserve the four published repair commits while integrating main for the native landing workflow. Resolve only adjacent test imports, retaining both the connected-account and locked-model regression helpers. The complete tree matches the rebased candidate verified by 427 UI tests, 57 Android ownership tests, formatting, and fresh scoped P0 autoreview. Main already contains the two update dispatch expectations.
Final synchronization proofThe confirmed Keep together scope decision remains in effect. The synchronized head is The only content conflict was adjacent imports in the composer-controls test: retain both main's connected-account helpers and this PR's locked-model helpers. Main's connected-account UI and Android jump-button visibility changes are preserved. The two update-dispatch expectations already landed separately in #137196 and #137199, so they add no remaining delta here. The full synchronized Git tree is byte-identical to the mechanically rebased candidate tested and independently reviewed below. Fresh synchronization checks passed: node scripts/run-vitest.mjs ui/src/pages/chat/chat-pane-session-controls.test.ts ui/src/pages/chat/chat-view.test.ts ui/src/lib/chat/model-select-state.test.ts
node_modules/.bin/oxfmt --check ui/src/pages/chat/chat-pane-session-controls.test.ts
# From apps/android, with the installed Android SDK configured:
./gradlew --offline --no-daemon :app:testPlayDebugUnitTest --tests ai.openclaw.app.ui.chat.ChatFullMessageOwnershipLayoutTest --tests ai.openclaw.app.ui.chat.ChatReaderScrollControllerTest --tests ai.openclaw.app.ui.chat.ChatReaderScrollOwnershipLayoutTestResults: 427 UI tests, 57 Android tests across three suites, zero failures/errors/skips, formatting and diff checks clean. Fresh independent whole-candidate Codex autoreview is scoped-clean at P0; this is not an exhaustive lower-priority certificate. The Android launch initially lacked its SDK location and stopped before tests; rerunning with the installed SDK completed successfully. No source, dependency, timeout, or assertion repair was needed. The remaining delta is nine files: production +10/-12 (net -2), tests +261/-94 (net +167), docs +1/-1. Existing UI and native-controller captures remain evidence for the unchanged label and scroll repairs; the final integration checks above cover the newer main composition. Native Android capture remains controller instrumentation, not a full Gateway flow, and the historical Talk startup failure still has no claimed root-cause fix. CI 33767216916 is running on this exact synchronized head. The earlier green run33733291014 is historical proof, not asserted as a new-head green result. Native prepare and merge will revalidate the current head and required checks before landing. The latest ClawSweeper scope decision/rank-up is resolved by the explicit confirmation and final UI proof. This synchronization adds no behavior beyond that accepted repair set. |
Wait for the actual enabled composer after the atomic reply state is published. Preserve publication-only waits for frozen-clock geometry tests and keep the existing timeout and reading assertions. CI follow-through for #137041; controlled notification ordering reproduces the original stale working-row assertion.
Serialize socket publication with the existing transport write lock so an early OkHttp callback cannot send through an unpublished handle. Revalidate closure after waiting for that lock so a retired handshake cannot enqueue. A real-socket regression holds the asynchronous factory return, reproduces the pre-fix gateway send failure, and covers disconnect during publication. No auth policy, wire payload, retry, or timeout changes. Fixes #137404; CI follow-through for #137041.
|
@clawsweeper re-review The new head
Both complete Android variants passed locally: 2,724 Play + 2,855 third-party tests, zero failures/errors/skips, plus APK build and changed checks. Fresh independent review through P2 is clean after fixing a review-found synchronization gap in the new test's own barrier. The final regression was replayed against unchanged production and then the repair. The confirmed combined-scope decision and original UI/native-scroll proof remain recorded. This is not a claim that prior green CI covers the new head: CI 33778933094 must pass before native landing. Full commands, limitations, and the new startup issue #137404 are in the updated PR body. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
🦞👀 Re-review progress:
|
|
Land-ready update for The latest ClawSweeper review found no introduced code or security defect. Its remaining CI and reported-conflict observations are superseded by the terminal exact-head checks and live mergeability. The suggested conflict rebase is therefore skipped: there is no current conflict, and ordinary main drift does not justify rewriting the green head. Fresh independent review through P2 is clean. Local proof includes 2,724 Play plus 2,855 third-party tests with zero failures/errors/skips, APK build, 163 focused transport/lifecycle/Talk/Settings tests, final socket publication/cancellation red→green replay, and Kotlin lint/changed checks. Exact commands and inspected UI/native-scroll captures remain in the PR body and linked proof comments. The model lock is unchanged; all three production owner repairs together remain net-zero production LOC. The real-loopback transport proof controls callback ordering and is not claimed as live-provider or installed-app startup proof; historical Talk timeout attribution remains explicitly uncertain. Proceeding through the repository-native prepare/merge guards; this comment is not a claim that the PR has merged. |
|
Merged via squash.
|
…7196) Align the update tool and /update exact-call assertions with the shared in-process Gateway actor introduced by openclaw#136952. Preserve owner checks, trusted routing, admin scopes, abort propagation, and the update timeout. Reuse Peter Steinberger's two-line fix from commit 0fee3dc in openclaw#137041, separated so this CI prerequisite can land independently of its UI and Android changes. Four failures reproduced on main 385c9d9. All 50 owner and sibling tests pass after the correction. Production delta: zero lines.
* fix(ui): show concrete model names in locked chats Keep the selected catalog label or qualified model reference visible in locked Control UI chats. Use Session model only when the selection is unknown, and preserve the existing lock and model mutation guards. Remove runtime-based ownership labeling and document that model editability does not establish native ownership. Cover canonical Gateway rows, missing catalog metadata, and runtime-independent labels with regression tests. Fixes openclaw#137039. UI follow-up to openclaw#136754; runtime behavior is unchanged. * test(cron): synchronize timeout probe with child readiness Freeze deadline timers until the real shell publishes a live descendant, then advance the unchanged 0.5-second timeout and termination grace. This keeps startup latency from consuming the process-group cleanup proof. Reuse canonical PID and temporary-directory helpers and clean up processes, timers, and the spawn spy even when setup fails. Cron runtime is unchanged. Proof: all 10 command-runner tests, 10 sequential timeout-probe runs, inherited-pipe descendant coverage, and deliberate setup-failure cleanup. CI follow-through for openclaw#137041. * fix(android): preserve new-turn scroll while history settles Only include history loading in the reader effect key for empty timelines, where it changes the transition. Populated-history completion must not cancel a scroll after the owner records its new content version. Reproduce loading completion during an observably moving animation and require arrival at the newest turn. Preserve manual takeover and replacement animation behavior without changing the full-message fixture. Fixes openclaw#137111. Found during CI follow-through for openclaw#137041. Proof: old owner stops at item 32/offset 141; repaired owner reaches 0/0. All 57 reader/full-message tests, Kotlin lint, nine-file changed checks, and :app:assemblePlayDebug pass. Native visual proof remains pending. * test(update): expect system actor for gateway dispatch Match the canonical in-process Gateway actor in the existing update tool and /update exact-call assertions. Main now propagates the system actor; these two expectations were missed while the shared helper tests changed. Four failures reproduced on the CI merge baseline. All 50 owner and sibling tests pass after the two-line expectation repair. Runtime behavior, scopes, routing checks, mocks, and timeouts are unchanged. Refs openclaw#137041. * test(android): await rendered Settings reply completion Wait for the actual enabled composer after the atomic reply state is published. Preserve publication-only waits for frozen-clock geometry tests and keep the existing timeout and reading assertions. CI follow-through for openclaw#137041; controlled notification ordering reproduces the original stale working-row assertion. * fix(android): publish WebSocket before handshake sends Serialize socket publication with the existing transport write lock so an early OkHttp callback cannot send through an unpublished handle. Revalidate closure after waiting for that lock so a retired handshake cannot enqueue. A real-socket regression holds the asynchronous factory return, reproduces the pre-fix gateway send failure, and covers disconnect during publication. No auth policy, wire payload, retry, or timeout changes. Fixes openclaw#137404; CI follow-through for openclaw#137041.



Closes #137039 — concrete locked model chats show an unsupported Codex ownership label.
Closes #137111 — Android history-load completion cancels new-turn auto-scroll, found during CI follow-through.
Closes #137404 — Android handshake can send before its WebSocket is published.
Related: #136754 — runtime/native model ownership repair.
Additional instructions
This branch is in the canonical repository and remains editable by maintainers.
What Problem This Solves
Fixes an issue where users viewing concrete model-locked chats would see Codex-controlled model instead of the selected model when their session reported Codex runtime metadata. That label could remain even when authored Responses settings caused OpenClaw to execute the turn without any native binding.
Broader CI validation exposed a cron test-readiness defect and an Android reader cancellation defect. Their bounded repairs are included and described separately below; the model-runtime and sidebar native-terminal work remain untouched.
Maintainer scope decision confirmed: the maintainer explicitly selected Keep together in the task's approval prompt after reviewing the combined scope. Retain the Control UI label fix, Android scroll repair, cron fixture repair, and update-dispatch test expectations as one PR. This resolves ClawSweeper’s combined-scope decision and rank-up suggestion. The four logical commits preserve traceability; the broader rollback/bisection scope is accepted. The earlier unconfirmed-approval wording was corrected before this explicit decision was obtained. Exact-head required CI must still be green before native landing.
Why This Change Was Made
Model identity, execution runtime, and model editability are separate facts. The composer now uses the existing canonical model-label path for locked and unlocked chats, rather than inferring ownership from the runtime ID. The unused runtime-label prop and English ownership string are removed.
Known selections show the catalog name or qualified model reference; an unknown locked selection shows neutral Session model rather than an unrelated default. A transient or empty picker catalog does not replace the locked selection's label. The existing locked-model menu, mutation guards, reasoning controls, and speed controls are unchanged.
No model-runtime workaround, schema/config option, authentication policy change, dependency change, or sidebar native-terminal creation change is included. Raw native catalog views retain their separate no-composer path; adopted sessions use the Gateway's canonical model/provider row.
User Impact
Operators can see which model their locked chat uses. Opening the menu still shows Locked and exposes neither model choices nor reset; the fix does not allow model switching or claim native ownership. Control UI documentation now explains that distinction.
Android also preserves an already-moving new-turn scroll when a populated history finishes loading. Manual reader navigation and replacement-animation cancellation remain authoritative. Cron runtime behavior is unchanged; only its process-cleanup test gains deterministic readiness and failure-safe cleanup.
Android Gateway startup also publishes its socket before a handshake callback can send. A queued handshake is rejected if the connection closes while awaiting the transport lock. Settings test synchronization now waits for rendered completion without changing product behavior or frozen-clock geometry assertions.
Evidence
Latest CI-driven retry
Current head:
ec6e49fb9d102c0d53b8fcf9863c0af22cac89c9. Two separate commits address the Android failures from synchronized headda7b0a0f: Settings UI completion and WebSocket publication. Exact-head CI 33778933094 completed successfully, including both Android variants and the requiredopenclaw/ci-gate. Live GitHub state isMERGEABLE/CLEAN. The latest ClawSweeper review found no code defects; its outstanding CI and conflict observations are superseded by those terminal checks and live mergeability. No rebase is needed or being performed merely for main drift. Native review artifacts validate for this exact head; preparation and merge remain the final steps.Transport owner repair: pinned OkHttp 5.5.0 enqueues its asynchronous connection before returning the socket handle. A controlled real-network test holds only that return while callbacks run. The old owner fails with
[Connecting…, Gateway error: gateway send failed]because its handshake sees an unpublished socket. The owner now publishes under the existing write mutex. Its existing enqueue condition also rechecks closure after the wait, preventing a retired handshake from sending. No new transport state, factory injection API, retry, timeout, payload, endpoint or auth-policy change was added. The Talk CI logs did not capture their connection stage, so those historical instances are not claimed as direct observations of this ordering; the owner race is independently reproduced.The permanent regression uses the real OkHttp connection, protocol exchange, identity preparation and server, with a test-only Robolectric scheduling shadow at the factory boundary. It proves first-socket success and cancellation during pending publication. The final test fails on byte-identical pre-fix production with the expected send error, then passes with the repair. Independent review identified a missing wait for the test's own factory barrier; that was corrected and the final red/green sequence repeated.
Settings test repair: the real controller already publishes the reply and
sending=falseatomically. Its raw state can become visible before ViewModel/Compose collectors schedule work, sowaitForIdlealone could return against the old UI. A controlled notification hold reproduced the exact CI working-row assertion and geometry. The helper now waits for the real enabled composer when automatic clock advancement is active. Frozen-clock callers still observe publication before explicitly advancing their frame. No producer state, geometry assertion, deadline or scroll behavior changed.Validation: 163 focused tests passed across publication/cancellation, Gateway lifecycle, headers, Talk and Settings. Complete Android Play passed 2,724 tests / 211 suites; third-party passed 2,855 tests / 216 suites, all with zero failures/errors/skips. The APK build and changed checks passed. After the review-found test synchronization correction, both final publication/cancellation regressions and Kotlin lint passed again. Fresh whole-candidate independent review through P2 is scoped-clean, with no actionable P0–P2 findings.
From
apps/androidwith the installed SDK configured:The last command runs from the repository root. Transport proof is a real loopback network boundary with controlled callback scheduling, not a live-provider or installed-app UI run. Existing Control UI and native scroll captures continue to document their unchanged repairs.
Previous synchronized head
Previous head:
da7b0a0f1ea874261261ea70d74053f6c9c65fc6, synchronized with main907f6956ee5eae23d8a44fe224fd8bcd5faefefdthrough a signed merge that preserves the four published repair commits. Only adjacent test imports conflicted; both sets of helpers and tests remain. The complete tree matches the rebased candidate verified by 427 UI tests, 57 Android ownership tests, formatting, diff checks, and fresh scoped P0 autoreview. Main already contains the two update-dispatch expectations from #137196/#137199. Remaining delta: nine files; production +10/-12 (net -2), tests +261/-94 (net +167), docs +1/-1.CI 33767216916 failed the Talk connection wait and Settings completion assertion, prompting the retry documented above. This and earlier SHA-specific evidence remain historical; final native preparation and merge require green current-head CI and fresh guard verification.
Before and after
The attached images are from a real running Control UI in isolated Chromium, with synthetic Gateway responses. The fixture supplies
openai/gpt-5.6-sol,modelSelectionLocked: true, and Codex runtime metadata. Before: Codex-controlled model. After: GPT-5.6 Sol, still Locked. Both complete screenshots were inspected; they contain only the synthetic session and isolated app. The candidate recorded zero model-patch requests and zero browser errors.This browser proof uses a mocked Gateway, not another live inference run. The underlying real two-turn runtime scenario was already verified in #136754; no model-runtime execution code changes here.
UI regression and static checks
The focused locked-model regression run produced 23 expected failures before the production fix and 27 passes afterward. The existing no-model-patch regression remained passing. The full selected owner/caller/model-resolution/session-reconciliation run passed 453 tests across four files:
The current UI build verified 808 sidecars and reported sizes below its printed budgets. Coverage includes concrete catalog labels, missing/empty/loading catalogs, unknown selections with unrelated defaults, and Codex/OpenClaw/other/absent runtime metadata. A caller-boundary case supplies the actual selected Gateway row.
Direct sibling Codex source inspection covered
codex-rs/app-server-protocol/src/protocol/v2/thread.rs:181–184,415–418,turn.rs:213–215, and the start/resume response implementations; native threads report a model/provider tuple, while a runtime request alone is not binding evidence.Historical integration and CI follow-through
The candidate at this stage was
0fee3dcee793f5a1f0367191d822323bf08fb22b, based on51becd0cfe8c675ba85c6e29579152cfe6c8db2a. The three original task commits remain patch-identical through integration. Main’s model-picker cleanup remains intact, including auth warnings, provider settings, accessible selection scope, and removed visible scope chrome. The merged node-host test split cleared main’s max-lines lint failure; no node-host patch was added here.CI run 33731642238 exposed four stale assertions across the Gateway update tool and
/updatetests. Its merge already contained main’s in-process system-actor contract. Both existing exact-call assertions omittedoperatorRoleActor: { kind: "system" }, while the shared helper and its own tests already used it. The two-line test-only repair adds that expected field, retaining exact routing/scope checks and existing mocks. Local controls reproduced three tool failures and one command failure; the two repaired files plus the shared in-process helper suite now pass 50 tests. No production dispatch or permission behavior changed.The earlier CI run 33726291846 had one Android failure: a 5-second Gateway connection wait in
TalkModeManagerTest.lateFinalUserTranscriptKeepsTheAnsweredUtteranceStatus, before voice assertions. It already tested a merge containing #136934; rebase is not a demonstrated Talk fix. Investigation found no confirmed cause and made no repair or timeout/assertion change. All 244 targeted JUnit executions passed, followed by a complete 2,708-test/208-suite Android Play run with zero failures/errors/skips on32327fba3ba43925a8434087834eea41bd5cb411. After the latest main integration also changed Android node-event code, the complete suite was rerun and passed 2,714 tests across 209 suites, with zero failures/errors/skips, in 3m43s. The hosted Android job in run33731642238 also passed. New exact-head hosted CI remains required.# From apps/android ./gradlew --offline --no-daemon :app:testPlayDebugUnitTestThe unchanged UI source passed 546 tests across seven owner/model-selection/reconciliation/new-session/update-overlay files, 22 picker E2E tests, and
pnpm ui:buildonfb6690896a5787bbbdefedf606545d3cd4b0351b. The E2E flow uses a synthetic mocked Gateway. The refreshed source-Control-UI capture on32327fba3ba43925a8434087834eea41bd5cb411shows GPT-5.6 Sol and Locked, with zero model-patch requests and page errors; both full frames were inspected. Picker/caller bytes match the current candidate. The original attached pair predates main’s layout cleanup; the inspected refreshed capture will accompany final proof.CI recovery and bounded repairs
Original PR CI passed every executed job but left one Node shard without a runner or executed steps. The repository's exact-head capacity-recovery mode then ran broader CI on the same commit and reported the Android and cron failures. Both implicated owners were unchanged on current main; no matching in-flight repair was found.
Cron fixture: the 0.5-second wall-clock timeout could expire before the shell spawned its descendant and wrote
child.pid. The timeout assertions passed, butENOENTprevented descendant-termination proof. A startup-gated control reproduced that failure. The test now freezes deadline timers while preserving real subprocess I/O, proves a live child, and only then advances the unchanged deadline and termination grace. Canonical PID/temp helpers replace the local helper.finallyaborts, kills owned processes, drains timers, restores state, joins the command, and removes the temporary directory. The whole file passed 10 tests, the affected test passed 10 sequential runs, and the inherited-pipe descendant sibling regression passed. Deliberate failed-setup injection also proved cleanup and subsequent real-time tests remained healthy; the injection was removed.node scripts/run-vitest.mjs src/process/exec.test.ts -t 'force-kills inherited-pipe descendants after the direct child exits'Android reader: the owner recorded a new content version before awaiting its scroll animation. Changing
historyLoadingcanceled the effect; the replacement saw the recorded version and did not finish scrolling. The controlled regression first proves actual animation movement, then finishes loading: the old owner stopped at item 32/offset 141 instead of item 0/offset 0. The owner now includes loading in the effect key only for empty timelines, where that input affects transition behavior. This is one executable-expression replacement plus a two-line invariant comment—no retry, added state, or forced-scroll workaround. The original full-message fixture is unchanged. The identical regression passes, along with all 57 full-message/reader state/reader ownership tests and Kotlin lint. The exact scheduling of the earlier CI occurrence was not recorded; the controlled test independently proves the owner defect.Run from
apps/android:The Android APK build also passed:
./gradlew --offline --no-daemon :app:assemblePlayDebugcompleted successfully in 49 seconds.Supplementary native Android proof is complete: real installed controller instrumentation on an owned blank emulator, not a full Gateway or production ChatScreen flow. The baseline stops at item 31/offset 165 with the newest user row absent; the candidate reaches item 0/offset 0 with new user visible. Both variants used the same instrumentation APK and proved actual animation movement before loading changed. The full PNG frames were inspected, and all owned emulator/recording/build processes stopped. The cache/storage blocker was resolved without PR dependency changes. The captured controller SHA-256 was
85375218e2e7247b62b7daf7cd165702fe57e3998d8661e3f1d6415b94f8c00d. Later main jump-button visibility changes were retained and covered by the synchronized ownership tests; the task's loading/scroll repair remains unchanged.The original nine-file changed check passed on the published
fb6690896a5787bbbdefedf606545d3cd4b0351bcandidate formatting, UI/core-test types, Android lint, i18n, native schema/protocol guards, full core lint, and other selected policy guards:Fresh independent Codex autoreview of the complete eleven-file candidate against the current merge base returned scoped-clean at the P0-only threshold. This is not a claim that all lower-priority findings were exhaustively ruled out. New exact-head CI remains required before native landing.
Current production LOC: +15/−15, net 0. Tests: +476/−95, net +381. Docs: +1/−1. Total: twelve changed files. No generated locale, budget, inventory, or baseline files changed. Original introduction of the UI label defect is unknown: available local history reaches a boundary that already contains it.