Repository navigation
fix(app): identify the session in archive notifications - #4818
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
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 (39161 ms), confidentiality-review (60789 ms), spec-provenance-review (74417 ms), desktop-den-sync-review (59702 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 (a33888c2bd8400f33d3b4e7b100398e80b65d231). 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 |
|
Verification notes for head
Publication used the prescribed single-run command. The optional composed report route initially failed because |
|
Archive-run evidence follow-up: after the prescribed publisher posted and I verified the archive-specific sticky, that same sticky was concurrently replaced with a broader 12-test report for the same head. I have preserved that publication rather than overwrite it. The linked Vercel report requires sign-in, so I cannot independently confirm its selected runs from this environment; its 12-test total is not a claim from my archive run. For the archive-specific record on These uploaded images from the verified run remain available as unvalidated references, not visual assertions: No source changes, CI bypasses, or merge were made during this monitoring pass. |


Problem and RCA
Agent-driven archive actions can affect a nonfocused conversation. The shared archive hook retained the correct session ID for View/Undo but displayed only generic success text, leaving the affected conversation ambiguous.
Product/design decision
Show
Session archived: <title>for both manual and programmatic actions, preserving View and Undo. Snapshot the target title before mutation, use New session for blank legacy titles, truncate long titles with full hover text. No confirmation modal for this reversible action.Options considered: generic toast (ambiguous); named toast (chosen, smallest contextual fix); confirmation dialog (unnecessary interruption); durable activity log/bulk summary (useful future scope, not needed here).
Research: ChatGPT archives without confirmation and supports recovery in Archived Chats (https://help.openai.com/en/articles/8809935). Gmail keeps archived messages discoverable and restorable (https://support.google.com/mail/answer/6576). Material recommends concise operation-related snackbar text and Undo (https://m3.material.io/components/snackbar/guidelines). These documented patterns do not establish competitors exact current toast wording. Agent-driven actions need explicit object identity because direct-click context is absent.
Verification
pnpm evals:e2e session-archive-undo --engine v1 --daytona— 1 passed, 0 failed, 0 skipped; 9 steps passed.pnpm typecheck: exit 0.git diff --check: passed.pnpm evals:typecheck: exit 2, 399 diagnostics both on final branch and clean origin/dev control 2ed12f7; matching content after path/line offsets. No introduced diagnostics.Isolated worktree; unrelated ongoing changes excluded.