Files
jobtrackingapp/docs/work-programmes/session-handoff.md
T
cesnimda 1ec9dd037e
CI and Deploy / test (pull_request) Successful in 5m13s
CI and Deploy / deploy (pull_request) Has been skipped
feat(export): add readable account archive
2026-08-15 18:36:40 +02:00

3.4 KiB

JobTracker session handoff

Updated: 2026-08-15

  • Exact current task: begin SEC-009 with the owner inventory/readable export, then implement the deletion lifecycle behind a disabled production gate.
  • Last completed step: implemented a recent-authenticated, rate-limited, redacted readable account ZIP with complete safe row/file inventory, checksums, warnings and Settings UX.
  • Files currently modified: account export service/API/rate policy, Backup Settings UI/translations, real-SQLite/backend/frontend/browser tests and SEC-009 evidence.
  • Commands already run: readable-export backend/API 11/11, backend 650/650, frontend focused 4/4 and full 234/234, backend/frontend builds and targeted Chromium ZIP response. The preceding VER-001 sidecar/Compose/preflight/full Playwright evidence remains current.
  • Test results: all listed local gates pass. Provider/native-AT/production cells remain explicitly partial, not run or blocked. Jest retains the documented force-exit/open-handle notice.
  • Services currently running: none on task-owned ports 3000/5202. Playwright stopped its disposable API/Next servers. Pre-existing Docker services were not changed.
  • Temporary files or processes: no task-owned process is running and the failed disposable migration database was removed. Existing synthetic browser evidence/account and startup-created local backup remain documented. No provider account, real email, private content, paid service or production service was accessed.
  • Production changes currently active: none. No deployment, migration, provider connection/sync/send or production payload occurred.
  • Rollback status: downgrade 20260810080858_AddEmailDraftClientRequestId, then 20260810075206_AddEmailDrafts, before reverting draft commits; then follow the existing MAIL rollback order (ee5ef7e, 449faeb, 123fc55/e9937ac, ledger downgrade before 653f011). No production migration/deploy/provider grant occurred.
  • Uncommitted changes: V-174 readable-export code/tests/docs; no dependency, schema or production configuration change. V-173 is pushed as cdcc716.
  • Known failures: live deployment is not verified because PR deploy is intentionally skipped and the active branch is not approved for merge. Draft export/API/UI, full thread/category actions and non-Gmail review remain; existing accounts need re-consent and IMAP stays read-only. A clean full-chain SQLite apply fails in the pre-existing JT-019 migration before the new draft migration. Browser/provider/MariaDB/production unavailable or unverified; recovery scan performance is unmeasured at large ledger scale; Jest open handles; SEC-006 parser dependency work is still separately gated; parser isolation remains SEC-007.
  • Exact next action: complete full Chromium after the export addition, commit/push V-174, then add the disabled additive deletion state and coordinator using the same owner inventory.
  • Work that can continue independently: SEC-009 repository-side owner inventory/export and disabled deletion lifecycle. UX/JOBS/PRODUCT production, MAIL provider mutations, SEC-006/007 and PROD packages retain their recorded external gates.
  • Decisions still required from the user: none for synthetic/code-inspected repository work. Any provider connection or send test, internet/package upgrades, private data, external/paid providers and production actions retain explicit approval/safety gates; SEC-009 retention/legal policy remains unresolved.