Files
pipelines/docs/notes/claude-session-recovery-2026-11-07.md
T

3.2 KiB

Claude session recovery — 2026-11-07

Resumed session f07f729d-0951-43f2-a735-d31d0a6e3675. Preserved its checkouts and the unrelated untracked transcript in the main checkout.

Recovered and landed locally:

  • Run 259, 84a03bea and d8ef2b61: file viewing/downloads, thumbnails, breadcrumbs, error handling, fixtures and tests under app/lib/features/chat/files/, shared artifact viewers and matching tests.
  • Run 260, 95849f63: internal/server/server_stats*.go, internal/protocol/server_stats.go, dispatch, dependency and tests. Follow-up dbf63982 corrects CPU core counts and reports incomplete size scans.
  • Run 261, 8bf8cd95: app/lib/features/settings/health/, Settings entry, full/partial fixtures, threshold and refresh lifecycle tests.
  • Run 262, 1a0f999f: explicit steered-prompt delivery status across the chat protocol, queue acknowledgement and Flutter delivery indicator; capture flag.

Existing local main already included slash-to-focus, recent-chat Ctrl+Tab, composer focus ring/desktop margin, mobile peek animation and the explorer shell/server file endpoint. Terminal popup remains research only, recorded in docs/notes/terminal-popup-research.md.

Verification evidence:

  • go build ./..., go vet ./..., go test ./...: passed on the combined Go changes. A temporary isolated server returned real host metrics and was stopped.
  • tool/analyze.sh: clean after integration and final viewer fixes.
  • Full tool/memwatch/full.sh test: 3,095 passed, zero failed/skipped; peak 2,391 MB, 218 seconds. Production Docker web build passed.
  • Focused watchdog suites: conversation 483, settings 128, artifacts 244, files 17 tests passed. Final files retest passed after dark-theme/Markdown fixes.
  • Files received three independent source/rendered review rounds. Fixes included native Cupertino sheets/actions, download errors, exact paths, filter sync, dark theme and rendered Markdown. Final captures inspected: /tmp/review/files-final-phone-dark/01-list.png, 02-grid.png, 03-details.png; /tmp/review/files-final-viewers/01-markdown.png.
  • Health reviewed in Material/Cupertino, wide/narrow and light/dark; final /tmp/review/health-final-cupertino/01-health.png and 02-lower.png.
  • Steered state visibly verified at /tmp/review/steered-recovery-verified/01-steered.png.

No physical-device verification or installation was performed. PDF external handlers and media playback are not claimed as verified on physical devices. Deployment receipts belong in the installation's private rollback directory; source integration, checks, installed runtime and APK publication are separate.

Live delivery verification caught an omitted authenticated web-proxy route: /files?path=... returned the SPA instead of file bytes. web/serve.mjs now forwards the exact /files path after authentication, retaining query strings, Range requests, HEAD and response disposition. A proxy integration regression in web/test/serve.test.mjs verifies sign-in enforcement and forwarding; node --test web/test/*.test.mjs passes all five proxy tests. The existing npm test --prefix web directory invocation fails on this Node 22 setup; explicit test-file selection is the verified command.