Repository navigation
fix(app): leave archived sessions and explicitly stop active work - #4640
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
Final archive test evidenceTested commit 3 actual screenshot attachments are embedded below: open gallery. First two tests contain no screenshot captures. Earlier-head records are superseded; no dry-run upload is claimed. Supplemental local Warden: Incomplete, not clearance. Bare pinned preflight matched 4 skills over 26 committed changed files / 160 chunks; security, confidentiality, and desktop/Den sync completed without findings, while spec provenance timed out at the 1,200,000 ms shell deadline. No native finding IDs were emitted. Before/after HEAD stayed E2E reproduction: set OPENWORK_EVAL_REF and OPENWORK_EVAL_DAYTONA_REF to the tested SHA; run v1 — archive/navigation, Stop, Undo, side chats, and subtasksTest evidence — archiving exits only the viewed conversation, and working sessions require a confirmed stop without replay — ✅ passedSHA cb79d85 · engine v1 ✅ passed · 0 expectations passed · 0 failed · 0 pending [world] desktop(daytona) · mock(mcp) · workspace(/tmp/openwork-session-archive-1788988547242-60608-a) · [seed:raw] evalIn() ×29 Test run created 2026-09-09T21:14:09.168Z · Source: v1 — exact command admission and no replayTest evidence — accepted commands require exact engine admission before archive and never replay after Undo — ✅ passedSHA cb79d85 · engine v1 ✅ passed · 0 expectations passed · 0 failed · 0 pending [world] desktop(daytona) · mock(mcp) · workspace(/tmp/openwork-session-archive-1788988872256-60608-a) · [seed:raw] evalIn() ×27 Test run created 2026-09-09T21:19:22.397Z · Source: v1 — Undo/View compatibilityTest evidence — session archive is honest about availability and can be undone when supported — ✅ passedSHA cb79d85 · engine v1 ✅ Test passed · 2 recorded reference screenshot(s) attached. [world] desktop(daytona) · workspace(/tmp/openwork-session-archive-undo-1788989087397) · sessions(2) · [seed:raw] evalIn() Reference capture — Archive confirmation and Undo/ViewOriginal recorded capture; no separate visual expectations were recorded. Reference capture — Read-only archived conversation and RestoreOriginal recorded capture; no separate visual expectations were recorded. Test run created 2026-09-09T21:23:18.706Z · Source: v2 — archive remains explicitly unavailableTest evidence — session archive is honest about availability and can be undone when supported — ✅ passedSHA cb79d85 · engine v2 ✅ Test passed · 1 recorded reference screenshot(s) attached. [world] desktop(daytona) · workspace(/tmp/openwork-session-archive-undo-1788989241005) · sessions(2) · [seed:raw] evalIn() Reference capture — v2 disabled archive actionOriginal recorded capture; no separate visual expectations were recorded. Test run created 2026-09-09T21:25:26.710Z · Source: |
Deploying openwork with
|
| Latest commit: |
70cdda4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d937b9f4.openwork.pages.dev |
| Branch Preview URL: | https://fix-session-archive-active-w.openwork.pages.dev |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (0cdad10fb4ae2e859564c4fd9aad07de64429a0f). 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 (3b9b72818f4c87b64e543accb18ce3a7017ca455). 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 (c56845a88ce34c68620e0d3e1be51dd4280a6430). 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 (953e4edfc3643d6bd9837d594140904f81f8a900). 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 (953e4edfc3643d6bd9837d594140904f81f8a900). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Recorded screenshots — archive safetyThese are the three original captures from the passing Daytona runs on commit 1. v1: Archive confirmation with View and Undo2. v1: Archived conversation is read-only with Restore3. v2: Archive remains disabled with an explanation |
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 (197255 ms), confidentiality-review (254734 ms), spec-provenance-review (424174 ms), desktop-den-sync-review (382195 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 (cb79d85bcab2dc2e71e02f632737e734b8e9a898). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
…he snapshot-error composer test apps/app/tests/composer-editable-on-snapshot-error.test.tsx has been red on dev since #4293 (composer renders WorkspaceRunModeMenu, which reads DesktopConfigProvider) and #4650 (message list renders ActionContextMenu, which reads PlatformProvider). Both providers exist at the real app root, so this is test drift, not a product regression. Mirror the fix already applied to composer-focus-continuity.test.tsx in #4631 and #4640.
…r (missing PlatformProvider / run-mode menu) (#4802) apps/app/tests/composer-editable-on-snapshot-error.test.tsx has been red on dev since #4293 (composer renders WorkspaceRunModeMenu, which reads DesktopConfigProvider) and #4650 (message list renders ActionContextMenu, which reads PlatformProvider). Both providers exist at the real app root, so this is test drift, not a product regression. Mirror the fix already applied to composer-focus-continuity.test.tsx in #4631 and #4640.









Summary
Conflict resolution and CI repair
Merged current dev through
d7fb62e83, preserving native right-click menus, pending Stop feedback, optimistic attachments, submitted-message visibility, full-history loading, and scoped background-session retention. Tests use the existing quick actions and command palette rather than replacing native menus with DOM menus.The Warden Clearance pipeline initially could not emit its new receipt from the older immutable base. Updating the branch to a trusted base containing the reporting helper resolved that CI integration issue without changing or bypassing review policy.
Final verification
Tested head:
cb79d85bcab2dc2e71e02f632737e734b8e9a898.session-archive-button, v1session-archive-undo, v1session-archive-undo, v2 availabilityBehavioral runtime verdict: Passed. The selected local tests total 56 passes and 724
expectcalls. All three E2E commands printedplacement: daytona (--daytona)and used fresh isolated sandboxes; all sandboxes were cleaned up. Skipped unrelated CI jobs are not counted as passed tests.Screenshots are reference captures; no separate visual-validation verdict is claimed. They are actual GitHub uploads, not dry-run placeholders. Earlier-head records and screenshots are superseded by this selection.
Supplemental local Warden — Incomplete
After journey checks, one owner ran the required bare local preflight with the pinned CLI:
origin/dev.diff-security-review,confidentiality-review,spec-provenance-review,desktop-den-sync-review(4/4 matched).cb79d85bcab2dc2e71e02f632737e734b8e9a898(unchanged).origin/dev:4446e992cffa422739677a25f9d91c6fa47dc8a9(unchanged).ed3b131a-2026-09-09T21-28-37-218Z; raw analysis logs remain private and are not attached.Reproduction
Install root and eval dependencies with frozen lockfiles. With the authorized test environment and Daytona access:
No force-push, administrator bypass, or changes to the original working checkout were used. This PR does not add v2 archiving, durable cross-client command admission, or cancellation of external actions that have already been submitted.