Repository navigation
fix(v1): preserve composer drafts and verify instant sends - #4662
Merged
Merged
Conversation
added 8 commits
September 8, 2026 20:28
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
Author
|
Passed · 1/1 tests · 2/2 assertions · 0 images Commit |
Contributor
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (f5a009ef1e4214c399e6be05e819b69a33bde43c). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
This was referenced Sep 9, 2026
yomgui
added a commit
that referenced
this pull request
Sep 9, 2026
#4662 shows the submitted row at once for a new task while the editable continuation stays in the composer; an existing chat still shows none.
yomgui
added a commit
that referenced
this pull request
Sep 9, 2026
A new task keeps its attachment draft visible until the session composer has prepared the upload (#4652), but #4662 stopped clearing whenever a handoff snapshot was present, so the sent draft lingered in the composer. Clear the continuation after preparation when it still mirrors the submitted snapshot; edits made in the meantime are preserved.
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Production fixes
Builds on the immediate-message implementation already merged in #4631; it does not duplicate that work.
Performance proof
Final tested head:
f5a009ef1e4214c399e6be05e819b69a33bde43c.OPENWORK_WORLD_PLACE=local OPENWORK_EVAL_ENGINE=v1 OPENWORK_EVAL_MAX_WORKERS=1 pnpm evals:e2e workspace-new-task-hit-target --localPassed: 1 test, 36/36 timing samples, 11/11 evidence assertion groups, 0 failures, 0 skips, 0 pending judgments. Placement:
local (--local); isolated real Electron/v1 with a deterministic standalone model witness.Timing runs from trusted renderer input to two consecutive qualifying animation frames, excluding CDP roundtrip. Creation/prompt requests are held before engine forwarding for at least 1500ms. Every sample is retained; these are renderer-frame opportunities, not hardware pixel-presentation telemetry.
The existing journey is extended rather than adding a new spec file. It checks no empty-session creation on opening, single submission, continuation preservation, known-rejection/Restore behavior, navigation isolation, SSE-before-HTTP response, and exact-once messages/model calls across reload. Its required local placement is declared in the journey catalog. Most of the diff is fixture instrumentation and evidence diagnostics.
Additional checks
Final-head evidence is published below. Historical interrupted/red runs are not used as passing proof. This is a v1 local composer/performance slice, not certification of v2, live LLMs, hundreds of sessions, or the full safety baseline. No merge or release requested by this PR.