Repository navigation
Attach a long paste as a text file, and say a message is too large before it is sent - #30398
Conversation
…ge is too large before it is sent A paste of 32 KB or more (or one that would push the message past the 256 KB send limit) into a structured chat is saved as a file the agent reads, through the same pending-chip and @path route a dropped file takes: Orca's paste folder here, or the chat's attachment store on its paired server. Claude gets the paste folder as an allowed directory. A message still over the limit is handed back before it is sent, on desktop and the phone, with words naming the limit instead of the generic 'not sent, send it again'.
…-paste # Conflicts: # src/main/runtime/__snapshots__/structured-agent-launch-parity.test.ts.snap
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 Walkthrough
Priority: ⚪ Pending latest changes Merge Risk: 🔵 Low · up to
|
…tles in place A long paste now puts an inline Pasted text pill where it went, replacing any selected text immediately, and the saved file (or inline text, or the original selection on failure) replaces that same pill when the save finishes, in its own chat's draft. Nothing reads the caret later, so order and position hold. The paste never joins the image row, so image numbers are unchanged. The size check measures the real message body with the selection replaced and images included. A server that keeps no files takes the paste inline when the message still fits. A pending paste a restart lost shows Paste not saved, and Send says so.
…-paste # Conflicts: # src/renderer/src/web/preload-api/web-agent-session-attachment-upload.ts
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
343a5a29-92af-4852-b0d5-8ff30ab9497d
⛔ Files ignored due to path filters: 1
src/main/runtime/__snapshots__/structured-agent-launch-parity.test.ts.snapis excluded by!**/*.snap
📒 Files selected for processing: 43
src/main/agent-hooks/server/server-status-application.tssrc/main/agent-hooks/server/server-status-update.tssrc/main/daemon/pty-subprocess-spawn-file-foreground.test.tssrc/main/daemon/terminal-host-process-inspection.test.tssrc/main/providers/local-pty-child-process-verdict.test.tssrc/main/providers/local-pty-provider-foreground-process.test.tssrc/renderer/src/components/native-chat/NativeChatComposer.paste-remount.test.tsxsrc/renderer/src/components/native-chat/NativeChatComposer.tsxsrc/renderer/src/components/native-chat/NativeChatFileReferencePill.tsxsrc/renderer/src/components/native-chat/NativeChatPromptEditor.tsxsrc/renderer/src/components/native-chat/native-chat-attachment-upload.tssrc/renderer/src/components/native-chat/native-chat-composer-draft-storage.tssrc/renderer/src/components/native-chat/native-chat-composer-draft-store.tssrc/renderer/src/components/native-chat/native-chat-composer-input.tssrc/renderer/src/components/native-chat/native-chat-composer-pasted-text-references.tssrc/renderer/src/components/native-chat/native-chat-context-command.test.tsxsrc/renderer/src/components/native-chat/native-chat-draft-cache.tssrc/renderer/src/components/native-chat/native-chat-pasted-text-reference.tssrc/renderer/src/components/native-chat/native-chat-pasted-text-state.tssrc/renderer/src/components/native-chat/native-chat-prompt-document-text.tssrc/renderer/src/components/native-chat/native-chat-prompt-document.tssrc/renderer/src/components/native-chat/native-chat-resolved-path-ownership.test.tssrc/renderer/src/components/native-chat/native-chat-resolved-path-ownership.tssrc/renderer/src/components/native-chat/native-chat-submission-navigation.test.tsxsrc/renderer/src/components/native-chat/use-native-chat-composer-attachments.tssrc/renderer/src/components/native-chat/use-native-chat-composer-handle.tssrc/renderer/src/components/native-chat/use-native-chat-composer-submit.test.tsxsrc/renderer/src/components/native-chat/use-native-chat-composer-submit.tssrc/renderer/src/components/native-chat/use-native-chat-pasted-text-file.test.tsxsrc/renderer/src/components/native-chat/use-native-chat-pasted-text-file.tssrc/renderer/src/components/native-chat/use-native-chat-pty-composer-send.test.tsxsrc/renderer/src/components/native-chat/use-native-chat-pty-composer-send.tssrc/renderer/src/components/native-chat/use-native-chat-structured-composer-send.test.tsxsrc/renderer/src/components/native-chat/use-native-chat-structured-composer-send.tssrc/renderer/src/i18n/en-runtime-required.jsonsrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/fr.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.jsonsrc/renderer/src/web/preload-api/web-agent-session-attachment-upload.tssrc/shared/agent-session-attachments.ts
🚧 Files skipped from review as they are similar to previous changes: 7
- src/renderer/src/i18n/en-runtime-required.json
- src/renderer/src/i18n/locales/ja.json
- src/renderer/src/i18n/locales/zh.json
- src/renderer/src/i18n/locales/en.json
- src/renderer/src/i18n/locales/fr.json
- src/renderer/src/i18n/locales/es.json
- src/renderer/src/i18n/locales/ko.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.
🟡 Minor · Admit only file-reference nodes. · native-chat-composer-pasted-text-references.ts:54-76
src/renderer/src/components/native-chat/native-chat-composer-pasted-text-references.ts:54-76
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick winAdmit only file-reference nodes.
nativeChatPastedTextAdmissionscans flattened draft text and classifies any unregistered token-shaped text asunsaved. Ordinary pasted text remains atextnode, so both structured and PTY sends can show “Paste not saved” and stop before dispatch.Use
nativeChatFileReferencenodes from the stored document as the ownership boundary. Preserve the existingsavingandunsavedchecks for those nodes. Keep candidate handling separate because callers can provide a candidate that differs from the stored document.
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
fdba1a74-2f06-4633-bd6e-8914486786cc
📒 Files selected for processing: 14
src/renderer/src/components/native-chat/NativeChatPromptEditor.tsxsrc/renderer/src/components/native-chat/agent-session-write-notice-text.tssrc/renderer/src/components/native-chat/native-chat-prompt-document-text.tssrc/renderer/src/components/native-chat/structured-agent-session-message-sender.test.tssrc/renderer/src/i18n/en-runtime-required.jsonsrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/fr.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.jsonsrc/shared/agent-session-refusal-notice.tssrc/shared/agent-session-write-notice-copy.tssrc/shared/rpc-contract/structured-agent-session-message-params.ts
🚧 Files skipped from review as they are similar to previous changes: 8
- src/shared/agent-session-write-notice-copy.ts
- src/renderer/src/i18n/en-runtime-required.json
- src/renderer/src/i18n/locales/en.json
- src/renderer/src/i18n/locales/zh.json
- src/renderer/src/i18n/locales/ja.json
- src/renderer/src/i18n/locales/fr.json
- src/renderer/src/i18n/locales/es.json
- src/renderer/src/i18n/locales/ko.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
Real Electron QA on 0d4cb71QA failed: literal-token Send is refused, and an oversized typed draft is lost. The real Claude/Codex large-paste paths and Claude restart/resume passed. Tested
Main's observed wording was “Your message was not sent.”, without a size explanation. The typed oversize input used the editor's real input events rather than a paste event, so file conversion could not absorb it. Main vs branch
Real replies and edge casesClaude sent message and exact marker: All screenshots capture the whole hidden renderer. Local saves settled too quickly to isolate the pending-save frame; failed-save handling was not forced. No lint/typecheck/source edits were run, every started test copy is stopped, and the before/after real-config hashes match. The Electron and visual-proof skills were used for this run. |
…-paste # Conflicts: # src/renderer/src/components/native-chat/native-chat-structured-composer-dispatch.ts
Real Electron QA on f4adbb8Branch core flows PASS; overall QA incomplete. Exact head
First qa-drive completed branch flows. Follow-up qa-drive exhausted its drivers: Codex answered sign-in preflight then hit model capacity; Grok signed out, OpenCode unavailable. Per the QA machine contract, copies were stopped and run is incomplete; no claim that Undo observation is a regression. Main was not built/tested before this stop. Gaps: image retention; restart while still saving (failed-paste restart exercised); main and plain-message Undo comparisons. Initial isolated Windows CMD alias setup caused visible Claude startup-hook error; throwaway initializer corrected, hooks stayed enabled, real marker/recovery replies succeeded. All recorded app PIDs exited; real config hashes unchanged; no shipped source/tests changed. 31 whole-window PNGs and filename/SHA-256/flow manifest are preserved. Windows host lacks GitHub browser upload cookie; coordinator explicitly owns gh image upload from its Mac and will post images mapped to these filenames. No crops or reconstructed UI. |
Screenshots for the Real Electron QA on f4adbb8Whole-window screenshots of the hidden test copy on Windows high spec, uploaded from the QA folder after SHA-256 verification against the run's manifest. Results table: #30398 (comment) Claude: large paste becomes a pill, real reply gives the exact marker Full quit and relaunch: chat reopens with the sent file and reply; follow-up gives the marker again Codex: large paste and exact marker Pasted placeholder token: unavailable "Paste not saved" pill, explained refusal, removal recovers (typed token: accepted limitation) 270,014 typed characters: 256 KB notice, draft kept exactly on repeated Send, then shortened and sent (Claude and Codex) Small paste stays inline Rich draft (whitespace, pill, picked skill) kept through refusal, then shortened and sent Copy of a saving pill and a completed pill Undo after Send restores a usable pill (typed text after it not restored; main comparison pending) Failed paste after restart shows a removable "Paste not saved" pill |
Real Electron QA on 409b3c2Large text pastes became file pills, both real agents read the saved file and returned the exact last-line marker, and the original Claude conversation survived a full app restart. No branch-only regression was found in the requested confirmation flows. One Undo after an immediate Send leaves the composer empty on both branch and main; that unexpected behavior is pre-existing. Tested branch
Timing from last character to Send: paused 1,106 ms branch / 1,110 ms main; immediate 5 ms branch / 32 ms main. Same saved action scripts and one CDP Command+Z on each build. The branch rich Undo waited 1,106 ms after typing and restored pill plus question. Full before/outgoing/after editor JSON is retained in the local report. The existing Chat UI opt-in was enabled through Settings; other settings remained at defaults. Default workspace terminal startup encountered the shared host terminal cap, so the requested native chats ran without PTYs. A synthetic image-paste attempt was discarded because its native clipboard source differed from the fixture; the final image flow was rerun through the existing file-drop UI handler, with matching fixture/composer/outgoing image hashes and a correct real-agent description. The unrelated capture and its screenshots were deleted. Native file picker, phone, remote and other-platform behavior were not exercised in this targeted confirmation. A transient model-label change during initialization was recorded separately, with no branch regression established. All test copies and the isolated daemon are stopped. No shipped source changes, commits or pushes. |
Real Electron QA on 409b3c2FAILED / INCOMPLETE — required coverage remains after qa-drive exhausted its available drivers. No merge-confidence claim. Windows high spec; exact head
Actual skill-chip draft: serialized JSON length 304,920; exact SHA256 identical before and after both refusals. insertText 60 ms; refusal notices 1,852/1,892 ms. Supplemental provider Unexpected observations: the limit notice stayed visible after shortening until Send; Claude reported the supplemental electron skill text truncated near Cleaning Up; startup onboarding tips appeared; an isolated-server Edge crashpad handler needed PID cleanup; the paired-desktop pill screenshot shows a bottom-left All UI driving used qa-drive → Codex, real load-balanced Claude, hidden Electron renderers and CDP; image used a PNG file drag, not system clipboard. Launcher ultimately classified Codex Evidence directory: |
Screenshots for the targeted QA on 409b3c2 (Windows high spec)Uploaded from this Mac after SHA-256 verification against the run's manifest. Results and gaps: #30398 (comment) Draft typed in the main build opens and sends in this build (Chat UI opt-in shown) Completed unsent pill and question survive a full quit/relaunch, then send; real reply gives the exact marker Rich over-limit draft refused twice, draft unchanged (skill chip run, and an earlier provider-command run with shortened send) Paired test server: pairing and pill uploaded to the server store (final send not reached) |
Real Electron QA on 409b3c2QA FAIL overall: flows 3–4 PASS; required flow 5 BLOCKED. Exact head
Flow 3's two refusals took 1.136 s and 0.893 s; repaired real reply observed after 29.809 s. File payload was 105,473 bytes. Editor snapshots before/after both refusals were all 270,955 bytes with identical SHA-256. flow3-chat-ui-enabled.png records Settings opt-in. The browser blocker matches its missing native-session capabilities and host tab filtering; these source files are unchanged from the main parent. This run does not demonstrate a paste regression, but it cannot pass the mandatory browser-upload requirement. No capability spoofing or source edits. Other observations recorded: a new fixture skill needed the existing five-minute picker cache to expire; the size notice stayed until successful Send (existing behavior confirmed by coordinator); removing an accidental test-server project left an Unknown sidebar group. An initial server marker attempt in the real primary checkout was retained only as supplemental, then repeated in the requested scratch repo; real checkout Git status remained clean. The additional mobile-web build failed on absent mobile dependencies, outside these flows. All owned desktop/server/browser processes and daemons stopped by recorded PID; CDP/server ports closed. No shipped source changes. Report, driver attribution, editor comparisons, server journals and 26-image SHA-256 manifest: |
Phone QA on 409b3c2QA FAILED: required Send/recovery flows were not completed. This is incomplete validation, not a verified failure of the new size guard.
Unexpected observations: a single 270 KB paste did not populate the draft in our attempts; smaller UI pastes accumulated the oversized draft successfully. The large composer extended below the visible screen; the emulator AX connection was also lost after the host runtime restarted. After reattachment and rotation, the app was no longer open; no crash cause was diagnosed ( All owned test processes were stopped and the dedicated simulator was shut down. PNG screenshots and SHA256 |
Phone QA rerun on 409b3c2PASS — all required head flows exercised; main-parent comparison also completed. Tested signed iOS simulator apps paired with isolated servers at the matching commits: head
Head notice: “Your message was not sent. It is over the 256 KB limit for one message. Shorten or split it, then send it again.” Send remained visible throughout both runs in portrait with the software keyboard hidden; no scrolling, rotation, or keyboard dismissal was needed. The earlier tall-composer/inaccessible-Send and app-closure observations did not reproduce in this path; keyboard-visible and rotated layouts remain untested. Seven native UI pastes assembled the draft; native smart spacing added 12 bytes to the generated 276,480-byte fixture. A single 270 KB paste was not retried. Evidence is in |
…-paste # Conflicts: # src/renderer/src/components/native-chat/use-native-chat-composer-handle.ts
Phone QA rerun on 409b3c2: screenshotsScreenshots for the phone results above (issuecomment-6316756881). Order: oversized draft before Send, the 256 KB notice after Send with the draft kept, the shortened message, Claude's real reply, then the main-parent build's generic refusal for comparison. Head 409b3c2 is now superseded by 5725135 (main merge). A short phone confirmation on 5725135 is queued. |
Real Electron QA on 5725135PASS: all four required desktop flows on exact head
Marker: Pending-save proof: natural observer recorded disabled Send/hourglass at1792598497812 and completed path/enabled Send at1792598497902 (90ms). Initial still captures missed the transient; the saving PNG is an untouched whole-window frame from a supplemental real-paste CDP screencast with CPU throttle100, restored afterward. No promise hold, save/API wrapper, fake save, or mocked reply was used. The missing visual frame was captured after the main flows; main send/reply/restart evidence remains from the original chat. Residual tips, a Codex shared-server notice, and a star nag appeared without blocking the flows. All test copies and owned remaining processes are stopped; real config hashes unchanged. One install/build, no lint/typecheck or shipped source edits. Scope: requested local native-chat macOS flows; other platforms/remote/mobile and forced save failures were not exercised. Earlier-head evidence was not counted. |
Phone QA on 5725135PASS — phone app and isolated Orca server rebuilt from exactly
Notice: “Your message was not sent. It is over the 256 KB limit for one message. Shorten or split it, then send it again.” Send stayed visible in portrait with the software keyboard hidden; no dismiss, scroll, or rotation was needed. The composer stayed bounded. Native Paste menus intermittently needed a tap on the visible caret before Paste appeared; no draft was lost ( Evidence: |
Real Electron QA on 4d3b4b5 (Windows)PASS with an accepted evidence limitation. Tested exact head
Saving screenshot limitation: immediate captures missed the roughly 5ms natural save. The coordinator-approved single screencast/CPU-throttle attempt timed out before retaining frame files; normal CPU speed was restored. Timestamped DOM evidence shows saving=true/Send disabled=true at 159605.1ms and saving=false/Send enabled at 203196.5ms. The coordinator explicitly accepted this missing still with those records; no screenshot of saving is claimed. Other observations: Claude's composer label changes WSL integrity qualification: the first baseline checked agent configs and All screenshots come from the actual hidden renderer over CDP. Native Chat UI was enabled through Settings; other chat settings remained at defaults. Every test copy, including the supplemental launch, is stopped using recorded PID/creation-time checks; real config hashes are unchanged. No real project or agent login files used. Evidence folder: |
Real Electron QA on 4d3b4b5 (Windows): screenshotsScreenshots for the Windows results above (issuecomment-6334090055), in order: Claude paste saved as a file and its exact-marker reply; the Claude chat after a full restart and its second reply; Codex's pill and reply; the Codex chat after a full restart and its second reply; the 256 KB notice with the draft kept; the shortened send's reply; the small paste staying inline; and the clipped-reply observation. |
Upgrade check: main 6698df3 to 4d3b4b5PASS. This checks whether existing chats and an unsent draft survive upgrading to the large-paste change. Built main
The 163,842-byte numbered-lines paste became one inline “Pasted text” pill in each existing chat. Normal Send supplied an ordinary saved file path, and both agents returned exactly Informational observations: Codex's untouched Standard-speed radio had no visible selection immediately after restart and selected Standard after a continuation; its chosen model and High effort stayed selected throughout. Claude's compact label changed from Opus to Opus Med after continuation; no Claude effort choice was changed. The session-search promotion was dismissed without opting in. None blocked the tested flows; these observations were reviewed with the QA coordinator. All 15 screenshots are whole-window PNG captures with SHA256 entries in local Scope: local macOS main-to-head upgrade and two post-upgrade sends per agent. This run does not claim remote/mobile/other-platform coverage or a second restart after the large-paste sends. Before upgrade, selected Codex model and effort: After upgrade, exact draft retained: |
Phone QA on bb80125PASS — rebuilt both the signed iOS app and isolated Orca server from exactly
Observed notice: “Your message was not sent. It is over the 256 KB limit for one message. Shorten or split it, then send it again.” Send stayed visible in portrait with the software keyboard hidden; no scrolling, keyboard dismissal, or rotation was needed to reach it. Seven smaller native pastes built the draft. After five pastes, the Paste menu needed a tap/hold in the blank right composer area Evidence folder: |
|
Focused QA on f8940a6: Claude and Codex across a restart PASS on exact
Pastes were 142,289 / 142,288 bytes; saved files exactly matched fixture SHA256 values. Sent messages contained ordinary file paths. Returned exact markers: Observation: the first Codex short reply displayed Working for 4m32s, with no error shown; after restart its short/paste replies took 2s / 6s. No cause is claimed; checked initial-turn logs contained no retry/overload line. One-time tutorial modals and a Codex informational toast were dismissed without changing agent defaults. Driver provenance: Evidence: |
|
Large pasted logs could exceed the 256 KB message limit and fail with a generic “send again” notice. This PR saves large pastes as files on the chat’s computer, shows a “Pasted text” pill, and sends an ordinary file reference the agent can read. Oversized ordinary messages receive an explanation before the composer hands over the draft, preserving its contents. Six design review rounds are complete. Final head is Focused QA on f894, with ten embedded screenshots, passed its independent bounded evidence audit on exact Windows desktop QA, with 12 screenshots, passed independent evidence audit on actual tested build Upgrade QA passed independent evidence audit from main The final source check carries the unchanged client intake, admission, retained-draft and saved-state contracts from these actual 4d3 runs. The f894 merge changed Claude/Codex continuation and reply consumers, so those older provider reply/resume results do not establish current-head behavior. The audited focused f894 run above supplies provider execution evidence. The final e699 merge preserves the active Claude/Codex, store, journal, wire and send consumers. Its layout restoration and mixed-version tab consumers were traced separately and preserve structured-chat identity and draft ownership; removed exports/test support have no active callers. These source checks support carrying the named f894 evidence forward without claiming an e699 app execution. Phone QA, with five screenshots, reports PASS with both phone and isolated server rebuilt at exact The bb8 phone/server build is historical. Its admission and exact-draft-retention contracts are unchanged on f894. Shared phone transcript folding changed only hook-outcome notices; ordinary successful reply predicates are unchanged. Current provider continuation/reply evidence is supplied by the audited focused f894 run above; no f894 phone execution is claimed. Historical 409/572 evidence remains at its original tested heads: macOS, Windows persistence, rich draft and paired server, desktop572, and phone572. The paired run used same-machine loopback, not SSH or browser. Timed main/branch Undo controls showed that pausing about 1.1 seconds allows restoration on both; immediate Send followed by Undo left both empty. That immediate behavior is an existing failure, not a passing Undo result. Accepted limits remain explicit: unfinished paste bytes disappear on renderer restart; completed Undo depends on the mounted editor; removing before completion can leave Redo unavailable; completed unsent files can expire after 30 days; goal-only file references retain the existing claim/expiry gap. Reserved-looking external paste/menu text becomes an unavailable pill, while typed/saved literal text can look literal yet be refused by string consumers. Phone paste-to-file conversion is the post-#30398 lane follow-up; #30359 is its merged upload dependency. Direct-create sizing and transcript presentation remain outside this change. Browser structured paste is unavailable and was not exercised; no direct browser text-adapter test is claimed. Native IME, OS clipboard/file picker and actual SSH were not exercised by these confirmations. Performance was source-reviewed, without latency/heap/burst/store benchmarks. For Brennan’s review Tested f894 resumed chats read the pasted files and return the exact markers: Tested 4d3 Windows file read and retained oversized draft: Main 6698 and tested4d3 ordinary draft before/after upgrade: Historical bb8 phone refusal and real recovery reply: Historical phone main/409 control, with surrounding model labels not settings-matched: Three code judgments: |




































































































































Problem and user-facing change
Pasting a large log or diff into native chat could exceed the 256 KB message limit and produce a generic “send it again” notice. Large desktop pastes now become a “Pasted text” file pill that the agent can read. Messages that still exceed the limit get an explanation before sending, with the draft kept intact. Phone native chats gain that explanation and retention; phone paste-to-file is a follow-up.
How it works
An ordinary structured-chat paste becomes a file when it reaches 32 KiB in characters or UTF-8 bytes, or would make the outgoing message exceed its existing limit. The pill replaces the selected range immediately. Send waits while the file saves; completion records its path without changing the editor or moving the caret. Failure leaves a removable “Paste not saved” pill and explains recovery.
Files use the existing attachment store on the chat’s execution host. Accepted ordinary messages claim their files with the chat. Completed paths survive restart in one optional saved map; transient source bytes and upload status are not persisted. Completion updates only the original draft when its identity still survives there. Same-editor Undo retains completed paths through weakly held editor history. Copy, send and size prediction use the same projection to an ordinary file reference, including quoting and boundary spaces.
Admission measures the actual outgoing JSON/UTF-8 text and image blocks before handing over the draft. This preserves rich content, attachments and whitespace on refusal. Existing terminal text stays inline. Unknown or unsupported upload capability keeps fitting text inline and explains an oversized paste rather than attempting an unsupported upload. Folder workspaces, host ownership and mixed paired-server versions retain their existing routes.
The common pattern records attachment identity before I/O and settles completion independently of a mounted editor. This change uses that mechanism while retaining ordinary file-reference transport for existing hosts.
Intended differences and limits
Review and verification
Final head is
e699f14fc0d43c45345022ca53f5b805b259b09c. Source review, independent accounting, whole-mechanism comparison, accepted Claude/Codex execution evidence and its applicability audit are complete. All older results below retain their actual tested head.Six design review rounds are complete. The final bounded integration and whole-mechanism comparisons are clean on
e699f14fc0d43c45345022ca53f5b805b259b09c. Independent accounting is 700 production / 416 test / 44 locale additions; conservative charges retain historical changes at 703 / 420 / 44, within the approved 705 production / 420 test caps and locale allowance. The full PR workflow and aggregate gate passed on this exact head: 25 successful checks, 22 skipped, none failed or pending. The owner cancelled the first mobile-web bundle attempt after it hung for about an hour; the failed/cancelled-job rerun passed in 15m14s. Other jobs had already passed on their first attempt. CI covers lint, typecheck and repository checks. The owner reports 49 targeted tests passed on predecessor f894; this is a receipt, not the review coordinator’s test execution.Focused QA on f894, with ten embedded screenshots, passed its independent bounded evidence audit on exact
f8940a6b33bbb438b96d5c371d41df248df95ac2on macOS. Real Claude and Codex chats each answered before a full app stop; the same profile reopened both original histories. Each resumed chat then answered a short request and read a large pasted file, returning an exact marker absent from the question. The actual fixtures are 142,289 and 142,288 bytes; both fixture hashes and all 26 manifest screenshots independently match. The QA lead records saved-file equality. The audit found no contradiction or material missing evidence for these named flows. Saved-file equality, full launch environment, Codex provider identity after restart and cleanup remain corroborated driver/lead receipts; the copied evidence does not include raw profile files, post-restart databases or a launcher/event log for independent replay.qa-driveused opencode-go after Codex timed out and Grok was signed out; Claude and Codex were the real agents under test. Nine monitored real-config path records were unchanged (four existing hashes and five missing files), and the lead records both app trees stopped. The first Codex reply took 4m32s before any restart or paste; later replies took 2s and 6s. This remains an observation without an attributed cause. ClipboardEvent/DataTransfer exercised the actual editor handler through CDP, not the OS clipboard. Visible labels changed from Opus Med to Opus after reopen and back, and from GPT-6.1-Sol to GPT-6.1-Sol Low on later turns; these are unattributed display observations, with no picker/config evidence of a changed saved choice.Windows desktop results and 12 screenshots passed independent evidence audit on tested build
4d3b4b5d12452985f65cf97ad143af1c98ba49a2: real Claude/Codex reads of distinct 152,055/152,054-byte files; both original conversations resumed after full process stop/relaunch and answered again; exact 270,014-character text/editor-document retention through refusal, then a real recovery reply; and 2,000-character inline paste. ClipboardEvent/DataTransfer exercised the actual handler, without testing the physical OS clipboard. No saving-state still was captured; throttled DOM observations establish ordering only. The original WSL hook baseline was incomplete, and a later bounded supplement does not retroactively fill it. Model-label/options and clipped-prose observations remain unattributed.Upgrade results and screenshots passed independent audit from main
6698df32771b736c301918c893dd5ab516a72084to tested4d3b4b5. The same isolated profile retained both original conversations, an exact ordinary unsent draft, and the opened Codex picker’s selected model and High effort. Each agent completed two post-upgrade requests, including reading a 163,842-byte saved file and returning its exact final line, which the question did not contain. Codex speed-selection and Claude compact-label observations remain unattributed. Four monitored real-config hashes matched and one changed; the owner attributes the latter to worker trust entries, without independent contents verification.The final source check carries the unchanged client intake, admission, retained-draft and saved-state contracts from these actual 4d3 runs. The f894 merge changed Claude/Codex continuation and reply consumers, so those older provider reply/resume results do not establish current-head behavior. The audited focused f894 run above supplies provider execution evidence. The final e699 merge preserves the active Claude/Codex, store, journal, wire and send consumers. Its layout restoration and mixed-version tab consumers were traced separately and preserve structured-chat identity and draft ownership; removed exports/test support have no active callers. These source checks support carrying the named f894 evidence forward without claiming an e699 app execution.
Phone results and five screenshots report PASS with both phone and isolated server rebuilt from exact
bb801256456a200da4ac9d11c5794c370618733d: actual oversized Send, 256 KB notice, all 276,490 draft bytes retained, unchanged 10-row server journal with one user entry, then an 82-byte replacement and real Claude reply. The independent evidence audit passed those named flows. Send stayed reachable in portrait with the software keyboard hidden. Seven native pastes added ten smart-paste spaces; after five chunks, Paste required a hold on the blank right side. The launcher’s authentication environment initially reached build/helper processes too, then was corrected; the lead reports a zero-match secret scan, whose denied artifact was not independently inspected. Keyboard-visible layouts, rotation and physical devices were not exercised.The bb8 phone/server build is historical. Its admission and exact-draft-retention contracts are unchanged on f894. Shared phone transcript folding changed only hook-outcome notices; ordinary successful reply predicates are unchanged. Current provider continuation/reply evidence is supplied by the audited focused f894 run above; no f894 phone execution is claimed.
Historical evidence retains its original heads: macOS, Windows previous-build draft and completed-unsent-file persistence, rich-draft repeated refusal and paired-server file reads, desktop572, and phone572. The paired run used same-machine loopback, not SSH or browser. Timed main/branch controls showed one Undo restored the draft after a pause of about 1.1 seconds; immediate Send followed by Undo left both empty, an existing failure rather than a passing Undo result.
Native IME, OS clipboard/file picker and actual SSH were not exercised by these confirmations. Performance was reviewed in source; latency, peak memory, bursts and large stores were not benchmarked.
Author: @BrennanKB5