Repository navigation
fix(chat): verify queued turns across workspaces and both engines - #4599
benjaminshafii wants to merge 19 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (04d6866b62022c003d912d2524995517ade4ecf7). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (6f44209ec38d8ff32bf615afc6456f8c1c6889a6). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
|
Passed · 12/12 tests · 18/18 assertions · 8 images Commit |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (18490ccedc2e644a346682a078243ba463694ba5). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Deploying openwork with
|
| Latest commit: |
d216706
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e397ad3b.openwork.pages.dev |
| Branch Preview URL: | https://test-v1-v2-running-session-q.openwork.pages.dev |
#4599 — final candidate queue evidenceOriginal queue scenario: behavioral Passed on v1 and v2; ready for scoped review, standard CI still required. Evidence is bound to Base freshness note: Artifact/visual status: Incomplete. Each run has five passing assertion expectations and four unvalidated screenshots: 30 passed expectations / 0 failed across six runs, 24 unvalidated screenshots. All have Keep the existing reviewer/owner; #4798 owns overlapping Stop work. STOP-01, Stop-pauses-queue, fast-Stop/interrupt-and-send, parallel model execution and end-to-end uncertain-admission injection are outside this claim. Native steering acceptance while busy is followed by provider execution after tool completion, not concurrent provider admission. Commands and final receiptsAll commands below have recorded exit 0. Each selected test passed. Queue CLI JSON additionally lists two skipped/unselected tests (other queue case + SWITCH-10); steering has no skips. Never count those unselected cases as passes. Run from the candidate checkout using the recorded clean environment:
Six run directories and runtime referencesPrefix every directory below with
The exact queue test titles are Common raw result shapeSelected fields from each of the six {
"gitSha": "8ec2ac781a5933150d6e46af00008f529060258e",
"summary": {
"ok": false,
"totalArtifacts": 9,
"passedArtifacts": 5,
"failedArtifacts": 0,
"unvalidatedArtifacts": 4,
"pendingArtifacts": 0,
"passedExpectations": 5,
"failedExpectations": 0,
"pendingJudgments": 0
},
"outcome": "passed"
}Q1-v1 — same workspace / PassedSource: Q1-v1 {
"expectation": "Queued follow-ups wait for completion, drain exactly once in order, and stay in their own session",
"evidence": "v1, same workspace: A held two follow-ups while busy, then rendered each prompt and answer once in order. B preserved its queue across navigation and delivered its follow-up while unmounted. Neither session received the other's queued content.",
"passed": true
}Q2-v1 — different workspaces / PassedSource: Q2-v1 {
"expectation": "Queued follow-ups wait for completion, drain exactly once in order, and stay in their own session",
"evidence": "v1, different workspaces: A held two follow-ups while busy, then rendered each prompt and answer once in order. B preserved its queue across navigation and delivered its follow-up while unmounted. Neither session received the other's queued content.",
"passed": true
}Q1-v2 — same workspace / PassedSource: Q1-v2 {
"expectation": "Queued follow-ups wait for completion, drain exactly once in order, and stay in their own session",
"evidence": "v2, same workspace: A held two follow-ups while busy, then rendered each prompt and answer once in order. B preserved its queue across navigation and delivered its follow-up while unmounted. Neither session received the other's queued content.",
"passed": true
}Q2-v2 — different workspaces / PassedSource: Q2-v2 {
"expectation": "Queued follow-ups wait for completion, drain exactly once in order, and stay in their own session",
"evidence": "v2, different workspaces: A held two follow-ups while busy, then rendered each prompt and answer once in order. B preserved its queue across navigation and delivered its follow-up while unmounted. Neither session received the other's queued content.",
"passed": true
}For each of Q1-v1, Q2-v1, Q1-v2, Q2-v2, the remaining passing records in
Natural completed-tool return visibility is also enforced by S-v1 — native-history steering / PassedSource: S-v1 {
"expectation": "Native next-step steering preserves the pending FIFO queue",
"evidence": "Native native-history accepted X as msg_08c7b6e05000e29d4f15949e45 during its running shell; no X model call had started; B then C remained queued and the recovery session did not change.",
"passed": true
}Selected fields from S-v1 {
"visible": {
"sessionId": "ses_f7384c3cbffejzYEFZpyorQrJ3",
"queued": [
"Queued follow-up B BYPASS-QUEUED-B-mtvu2ehj-94877.",
"Queued follow-up C BYPASS-QUEUED-C-mtvu2ehj-94877."
]
},
"requests": [],
"admission": {
"source": "native-history",
"messages": [{"id": "msg_08c7b6e05000e29d4f15949e45", "text": "Apply immediate direction X BYPASS-DIRECT-X-mtvu2ehj-94877."}],
"streamError": null
}
}The same raw payload's S-v2 — native-inbox-event steering / PassedSource: S-v2 {
"expectation": "Native next-step steering preserves the pending FIFO queue",
"evidence": "Native native-inbox-event accepted X as msg_08c7d6472001V0pRUeGYVOWgfW during its running shell; no X model call had started; B then C remained queued and the recovery session did not change.",
"passed": true
}Selected fields from S-v2 {
"visible": {
"sessionId": "ses_f7382cc55ffegd4GqrUBmQqJHT",
"queued": [
"Queued follow-up B BYPASS-QUEUED-B-mtvu4hjc-6288.",
"Queued follow-up C BYPASS-QUEUED-C-mtvu4hjc-6288."
]
},
"requests": [],
"admission": {
"source": "native-inbox-event",
"messages": [{"id": "msg_08c7d6472001V0pRUeGYVOWgfW", "text": "Apply immediate direction X BYPASS-DIRECT-X-mtvu4hjc-6288."}],
"streamError": null
}
}The same payload's For both S-v1 and S-v2, final {
"expectation": "The local preserved queue drains exactly once and the session settles",
"evidence": "Provider order was long-tool,X,B,C; each user and reply marker appeared once; queue count and Stop cleared while idle Run task and the editable composer remained.",
"passed": true
}Each steering record additionally proves no cloud identity (
Reference screenshots are the Supporting checks / non-green exceptionsFinal-candidate handoff
Final Warden and explicit review exclusionsFinal bare Warden run Selected summary fields: {"type":"summary","totalFindings":0,"bySeverity":{"high":0,"medium":0,"low":0},"totalSkippedFiles":2}The two skipped-file records are the same path in two skills, not two distinct reviewed files. Selected exact fields from JSONL lines 43 and 62: [
{"skill":"diff-security-review","status":"skipped","skippedFiles":[{"filename":"apps/server/src/server.ts","reason":"limit:file_lines"}]},
{"skill":"confidentiality-review","status":"skipped","skippedFiles":[{"filename":"apps/server/src/server.ts","reason":"limit:file_lines"}]}
]Thus the changed server route has no security/confidentiality scan coverage in this run. The reason is explicitly a file-line limit. Spec-provenance reviews only its matched spec/world chunks; unmatched skills and other unreviewed files are not certified. Zero findings applies to completed matched coverage, not a full-file/full-PR review. Existing reviewer ownership and standard required CI remain in force. Historical red evidence — not latest-head matched failures or passes
Prepared inline sticky draft only; no publication or hosted evidence is implied. |
Final stopped handoffWorktree:
Latest d216 resultCommand: env -i HOME="$HOME" TMPDIR="${TMPDIR:-/tmp}" PATH="$PWD/apps/desktop/resources/sidecars:/Users/benjaminshafii/.nvm/versions/node/v24.15.0/bin:/Users/benjaminshafii/.bun/bin:/usr/bin:/bin:/usr/sbin" OPENWORK_EVAL_CHROME_HEADLESS=1 pnpm evals:e2e live-tool-visible-after-session-switch --local --engine v1 --surface web --case QUEUE-01Runtime reached the queuedSessionSwitchWeb test. Terminal returned Clean-parent evidenceThe prepared body Original red receipt: candidate Diagnostic receipts, not clean-head certificationAll entries below had git HEAD 48cb818 but uncommitted diagnostic source changes. They exited 0 with 1 selected pass / 0 failures / 0 selected skips. They are observations, not recovery receipts proving a causal fix. Under candidate
Queue transitions in instrumented original-duration successes show both queued A sends admitted by the global drainer at generation 0, without hold/cancel/clear. Provider receipts matched A1 then A2. This does not explain the earlier red. The earlier driver commit 27c8d11 was inspected. Its native macOS key-code and stable-click changes were not duplicated: the existing queue helper used direct DOM Enter and the historical queued-row assertions had passed; no link from that patch to this failure was demonstrated. Historical reds and controls retained
Final dispositionImplementation/testing stopped explicitly by user. Product instrumentation, shortened timing, and forced Vite cache settings were fully removed. No product/engine change remains in d216. The new commit strengthens early queue-preservation/renderer-continuity assertions and retains diagnostics; it does not resolve the historical cause. Orchestrator may publish completed work with failed/incomplete verification honestly; no all-green or fixed-engine claim is justified. |
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (181241 ms), confidentiality-review (298608 ms), spec-provenance-review (260815 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (d216706baceda801e064037138c0fd29e94850a6). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
…sion-queue-web-proof
…v2-running-session-queue-web-proof
…v2-running-session-queue-web-proof
…v2-running-session-queue-web-proof
d216706 to
522413f
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (522413f35e07408d3cc05df519f795cf1b7ca3ef). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Verified signatures: complete; queue verification remains incompleteRe-signed the PR history with authorization and pushed using an explicit old-head force-with-lease. GitHub reports all 19 PR commits
This fixes signatures only. Historical v1 queue failure and trusted-keyboard provenance gap remain unresolved. Queue journeys were not rerun on this signed head; prior runs are historical, not fresh signed-head proof. Fresh bare |
Summary
Candidate
d216706baceda801e064037138c0fd29e94850a6Parent:
48cb8180ede5604e0e5675166df35e870728411f(clean merge of b040675 and e4e316d). Existing PR ancestry is preserved. This is an update for existing #4599, not a new PR.Verification — Incomplete, historical red retained
Inline evidence
All receipt paths below are relative to the candidate worktree's
evals/results/.testkit/and remain local, not published URLs.cli-run-1789070913135.jsoncli-run-1789070985511.jsoncli-run-1789071067673.jsoncli-run-1789071380682.jsoncli-run-1789071605459.jsoncli-run-1789071829586.jsoncli-run-1789070756092.jsoncli-run-1789070869485.jsonEach selected case had zero selected skips. Excluded cases are not passes.
Original v1 QUEUE-01 error:
Its screenshots show 2 queued A rows after returning, then no queue while the third native tool still runs. Later observations contain only the original prompt/reply. The passing diagnostic runs do not erase this red.
Parent supporting checks: 50 targeted unit tests / 532 assertions passed, app typecheck passed. Browser callback check failed on a raw-code-string/TS2345 error at
library-mcp-servers-from-config.e2e.test.ts:21:50; exact clean e4e316d control reproduced it. These checks were not rerun on d216706.Scope and caveats
Native steering is turn acceptance for the next model step, not a parallel provider call. Prior 2337dae stronger-claim reds remain historical disproven claims. Screenshots are reference artifacts, not independent visual certification. No engine patch was made. This publishes committed work and the merge refresh, not a claim that the remaining v1 failure is resolved.
Latest Local Review: Incomplete
Bare
pnpm warden:checkran on clean HEADd216706baceda801e064037138c0fd29e94850a6, runa213293f-2026-09-10T21-20-58-174Z. Security/confidentiality completed with no findings; provenance returned a medium, high-confidence finding:Synthetic keydown bypasses the user keyboard/focus path for queueingatlive-tool-visible-after-session-switch.e2e.test.ts:276-280. Clear when queue input uses trusted keyboard actions and matching final-head proof passes. This remains open, not waived. Server entrypoint review was excluded by file-size limits. HEAD unchanged; shared origin/dev advanced from077058748bdb02c0638bc961ca8a7072385c92d2to0b219dc4e5f2868c258dbe960d58c657dbe8d99bduring review. No full-clearance claim.