feat: complete release readiness work #28

Open
cesnimda wants to merge 110 commits from release-readiness into main
6 changed files with 44 additions and 25 deletions
Showing only changes of commit 3a99531e46 - Show all commits
+1
View File
@@ -187,3 +187,4 @@ Output was reduced to filenames and commit counts. The token artifact appears un
| V-153 | Complete Phase 9 requirement reread; provider interface/scope/controller inventory; canonical hub and embedded correspondence action comparison | Repository root | Determine whether safe independent MAIL-001 implementation remains | PASS/PARTIAL — routing, suggestions/dismissal, link/relink/unlink, shared saved domain, provider-neutral reads/detail, reply/new-message drafts and explicit send are implemented; Gmail modify/Graph read-write and IMAP outgoing/category contracts are absent, so read/unread/pin/read-later/archive/spam/trash cannot be honestly enabled | Source inspection only; no provider/re-consent/browser/production action. Full SEC-009 deletion and real-provider gates remain | Repository scope implemented; external/authority verification blocked |
| V-154 | Phase 4 and discovery/import execution-path trace; `dotnet test ... --filter FullyQualifiedName~JobDiscoveryControllerTests --no-restore`; focused `job-discovery.test.tsx` and `quick-capture.test.tsx`; full backend/frontend; `npm run build`; `git diff --check` | Repository root / `job-tracker-ui` | Verify honest NAV provenance, explicit deadline/retrieval mapping and source preservation through reviewed import | PASS — focused backend 1/1; focused UI 2 suites and 4/4; backend 630/630; frontend 50 suites and 198/198; production build and diff check pass; `511a9f6` pushed | One npm command was initially run from repository root and failed environmentally before the correct-directory run passed. Synthetic fixtures/mocked API only; no NAV/browser/production request. Jest retains its existing force-exit/open-handle warning | Repository provenance increment verified; live/browser gates remain |
| V-155 | Focused `job-discovery.test.tsx`; full frontend Jest; `npm run build`; staged diff review | `job-tracker-ui` / repository root | Verify honest submitted-search, loading/error/retry/empty states, bounded sorting and missing-data disclosure | PASS — focused 4/4; frontend 50 suites and 201/201; production build/TypeScript and diff check pass; `3f74b23` pushed | JSDOM/mocked API only; no NAV/browser/production request. Jest retains its existing force-exit/open-handle warning | Repository UX increment verified; browser/live gates remain |
| V-156 | Focused discovery backend/UI; mocked Playwright JOBS journey; screenshot inspection; full backend/frontend/build; complete `npm run test:e2e`; staged diff review | Repository root / `job-tracker-ui` | Verify feed duplicate/withdrawal handling and discovery browser behavior across widths/themes/keyboard/long Norwegian content/reviewed import | PASS — focused backend 2/2 and UI 4/4; backend 631/631; frontend 201/201; build; Playwright 5/5 including 375/768/1440 with no overflow; dark banner contrast defect found visually, fixed and rerun; `82f4526` pushed | First two browser attempts exposed test-locator API mistakes and were corrected without weakening behavior. NAV/import responses were mocked; no external NAV/production request. Existing GSI repeated-initialize and Jest open-handle warnings remain | Synthetic/browser repository scope verified; live/production blocked |
+11 -3
View File
@@ -29,8 +29,16 @@ Updated: 2026-08-10
- Cards use equal-height action placement and responsive result controls.
- Focused UI: 4/4; full frontend: 50 suites and 201/201; production build passed.
## Browser and duplicate evidence
- Mocked authenticated Playwright journey passed at 375, 768 and 1440 pixels with keyboard form traversal, long Norwegian text, sorting, reviewed URL import, light/dark themes and zero horizontal overflow.
- Visual inspection found and corrected an unreadable dark-mode information banner; the rerun passed and refreshed both screenshots.
- The feed regression confirms repeated active events keep the latest value and a later inactive event removes a withdrawn duplicate.
- Complete Playwright regression: 5/5. Full backend: 631/631. Full frontend: 201/201. Production build passed.
- Evidence: `docs/audits/evidence/jobs-001-discovery-375-light.png`, `docs/audits/evidence/jobs-001-discovery-1440-dark.png`.
- Implementation/evidence commit: `82f4526`.
## Not yet verified
- No live NAV, browser, provider or production request was performed.
- Required 375/768/1440, light/dark, keyboard, Norwegian/long-content and end-to-end import checks remain.
- Browser end-to-end sorting/retry/import and duplicate-feed regression remain before repository scope can close.
- No live NAV or production request was performed. Browser result/import data was mocked and is not evidence of NAV availability.
- Native mobile-device assistive technology, live NAV response compatibility and production smoke remain.
+10
View File
@@ -619,3 +619,13 @@
- **Consequences:** NAV cards now explain where and how the listing was obtained and preserve attribution into tracking. Missing work mode remains visibly absent rather than guessed; source filtering becomes useful only when a second real provider is implemented.
- **User approval required:** No; this is approved repository work using synthetic fixtures with no external request.
- **Reversible:** Revert `511a9f6`; no schema or stored data changes are involved.
## DEC-063 — Close synthetic JOBS scope before resuming theme order
- **Date:** 2026-08-10
- **Decision:** Move JOBS-001 to `IMPLEMENTED — NOT VERIFIED` after its complete synthetic browser and regression matrix, then make UX-003 the sole in-progress item before JOBS-002.
- **Reason/evidence:** JOBS now has honest provenance/import/result/duplicate behavior plus mocked 375/768/1440, theme, keyboard and long-content evidence. Remaining NAV/production checks are external. Theme corrections precede the job-workspace redesign in the validated programme order and the browser environment is currently available.
- **Alternatives considered:** keep JOBS in progress while repeatedly retrying unavailable live NAV/production; begin the larger JOBS-002 package; skip the outstanding Kanban theme requirement. These would misstate the active work or ignore the established dependency order.
- **Consequences:** UX-003 becomes the only in-progress package. JOBS remains explicitly incomplete rather than `DONE`; its live gates stay visible.
- **User approval required:** No; this is tracking and safe local sequencing within the approved programme.
- **Reversible:** Yes; JOBS can resume when live NAV or production verification becomes available.
+6 -6
View File
@@ -2,17 +2,17 @@
Updated: 2026-08-10
- **Overall programme status:** Active. Seven packages are locally verified; twenty packages through MAIL-001 are implemented with automated/runtime evidence but blocked from applicable browser/provider/production gates; JOBS-001 is now in progress. Gitea run 609 passes complete pull-request CI in 4m20s; DEP-001 now awaits approved merge-to-main and production verification only.
- **Current work package:** `JOBS-001`job-search source and assessment redesign (`IN PROGRESS`); provenance, import preservation and result-state/sort/scanability increments are committed; duplicate and browser evidence are next.
- **Overall programme status:** Active. Seven packages are locally verified; twenty-one packages through JOBS-001 are implemented with automated/runtime evidence but blocked from applicable live/provider/production gates; UX-003 is now in progress. Gitea run 609 passes the prior complete pull-request CI; DEP-001 awaits approved merge-to-main and production verification.
- **Current work package:** `UX-003`Kanban theme-state correction (`IN PROGRESS`); re-read Phase 10 and reproduce every specified board state before editing.
- **Completed work packages:** None are `DONE`; all repository security/AI packages still have applicable browser, provider and/or production gates.
- **Locally verified work:** SEC-001, SEC-002, SEC-003, SEC-005A, CORE-001, PROD-002 and DEP-001 (`VERIFIED LOCALLY`).
- **Implemented, verification incomplete:** SEC-004, SEC-005B, SEC-008, CORE-002, BG-001, OPS-001A/B/C, POL-001/002, AI-001/002/003/004, UX-001/002, QA-001, CAREER-001, CAREER-002 and MAIL-001 (`IMPLEMENTED — NOT VERIFIED`). MAIL repository flows are implemented; provider mutation/re-consent, browser, deletion and production gates remain.
- **Implemented, verification incomplete:** SEC-004, SEC-005B, SEC-008, CORE-002, BG-001, OPS-001A/B/C, POL-001/002, AI-001/002/003/004, UX-001/002, QA-001, CAREER-001/002, MAIL-001 and JOBS-001 (`IMPLEMENTED — NOT VERIFIED`). JOBS repository/browser-mock scope is implemented; live NAV and production remain.
- **Production-verified work:** None.
- **Blocked work:** SEC-006 parser upgrades remain outside the scoped frontend advisory permission; PROD-001/003/004 and REL-001 require documented production access and unfinished dependencies. Real provider, SMTP/MariaDB and production environments are unavailable; DEP-001 awaits approved merge/live verification. The in-app browser is available for local UI checks.
- **Deferred work:** None. Conditional multi-replica coordination, model deletion, realtime operation delivery and unrelated production changes remain outside current packages.
- **Next five work packages:** JOBS-001 job-search/application redesign; HOME-001 homepage/Pro promotion; UX-003 authentication/profile polish; PRODUCT-001 homepage/Pro claims; JOBS-002 application workspace redesign. SEC-006/007 resume after package-index permission.
- **Status counts:** 7 `VERIFIED LOCALLY`; 20 `IMPLEMENTED — NOT VERIFIED`; 1 `IN PROGRESS`; 7 `NOT STARTED`; 5 `BLOCKED`; 0 `DONE`; 0 `DEFERRED`.
- **Test status:** backend 630/630; frontend 50/50 suites and 201/201 tests; Playwright smoke 4/4; npm audit 0 vulnerabilities; production build passes. JOBS-001 provenance backend 1/1 and discovery/import/result-state/sort UI 7/7 cumulatively pass. DEP-001 focused router 24/24; MAIL-001 suites remain as recorded. EF model-current and SQLite/MariaDB up/down draft scripts pass; a full blank-chain SQLite apply remains blocked by pre-existing JT-019 drift. Jest force-exit/open-handle behavior remains recorded.
- **Next five work packages:** UX-003 Kanban theme states; JOBS-002 applications/workspace; PRODUCT-001 homepage/Pro claims; VER-001 action matrix; production-blocked SEC-006/007 when package-index permission is available.
- **Status counts:** 7 `VERIFIED LOCALLY`; 21 `IMPLEMENTED — NOT VERIFIED`; 1 `IN PROGRESS`; 6 `NOT STARTED`; 5 `BLOCKED`; 0 `DONE`; 0 `DEFERRED`.
- **Test status:** backend 631/631; frontend 50/50 suites and 201/201 tests; Playwright 5/5; npm audit 0 vulnerabilities; production build passes. JOBS-001 focused backend 2/2, UI 7/7 cumulative and mocked browser 1/1 pass at 375/768/1440. DEP-001 router and MAIL-001 suites remain as recorded. EF model-current and provider draft scripts pass; historical JT-019 and Jest force-exit/open-handle behavior remain recorded.
- **Deployment status:** Gitea pull-request run 609 passed the complete CI job in 4m20s. Deploy was intentionally skipped because the workflow deploys only a `push` to `main`; live remains unchanged. No merge/deployment was performed directly, no production migrations were run and the AI operation worker remains disabled by default.
- **Production status:** Unchanged and unverified. No provider/model call, model pull, external request or paid API occurred.
- **Known regressions:** None found by automated/local browser checks. Jest still needs `--forceExit` and reports its existing open-handle notice. Email-provider/send tests are fake/local only; real delivery is not claimed. Current MAIL browser evidence is 1280×720 only because the browser surface could not resize or perform native Tab traversal. Interrupted attempts are aged after 15 minutes and notified without retry; the five-minute scan is unmeasured on a large ledger. Direct clean EF-only SQLite migration still hits the pre-existing historical blank-chain defect before later migrations; normal startup owns reconciliation. Cross-feature monthly AI usage accounting remains a rollout gap.
+8 -8
View File
@@ -667,11 +667,11 @@ Ordering differences from the suggested list:
- **Required tests:** provenance mapping/filter/import preservation/empty/loading/error/duplicates.
- **Required browser verification:** three widths/themes/keyboard/long text/Norwegian/import.
- **Required production verification:** official NAV/safe provider smoke; unavailable providers labeled.
- **Status:** `IN PROGRESS`.
- **Blocker:** none for repository inspection and synthetic implementation; official source/browser/production validation remains external.
- **Evidence:** `docs/verification/jobs-001-job-discovery.md`; V-154V-155. Verified NAV source/acquisition/retrieval/deadline metadata, reviewed import-source persistence, honest initial/empty/error/retry states, result count, three bounded sorts and explicit missing location/work-mode disclosure; focused backend 1/1, focused UI 4/4, backend 630/630, frontend 201/201 and production build pass.
- **Commit:** `511a9f6` (honest provenance/import regression), `3f74b23` (result states, retry, sort and scanability).
- **Remaining work:** add duplicate-feed regression and browser verification for mocked results/import at required widths/themes/keyboard/long Norwegian content; then perform live NAV and production gates when authorized/available. Add source filtering only when more than one real source is available.
- **Status:** `IMPLEMENTED — NOT VERIFIED`.
- **Blocker:** live official NAV compatibility and production smoke remain external; browser data/import was mocked.
- **Evidence:** `docs/verification/jobs-001-job-discovery.md`; V-154V-156. Verified source/acquisition/retrieval/deadline/import, honest result states/retry/sorts/missing-data disclosure, feed duplicate withdrawal and mocked browser journey at 375/768/1440 with light/dark, keyboard, long Norwegian content and reviewed import; backend 631/631, frontend 201/201, Playwright 5/5 and production build pass.
- **Commit:** `511a9f6` (honest provenance/import), `3f74b23` (result states/sort), `82f4526` (duplicate/browser/contrast regression and evidence).
- **Remaining work:** live NAV compatibility, native mobile assistive-technology and production smoke. Add source filtering only when more than one real source is available.
### JOBS-002 — Applications table and embedded workspace
@@ -703,9 +703,9 @@ Ordering differences from the suggested list:
- **Required tests:** component/visual state coverage.
- **Required browser verification:** three widths, light/dark, pointer and keyboard drag, focus/contrast.
- **Required production verification:** board smoke.
- **Status:** `NOT STARTED`.
- **Blocker:** browser verification required for completion.
- **Evidence:** reported visual defect not yet reproduced.
- **Status:** `IN PROGRESS`.
- **Blocker:** none for repository/browser reproduction; production board smoke remains external.
- **Evidence:** source requirement; browser tooling was proven available by V-156.
- **Commit:** none.
- **Remaining work:** smallest token-level root fix.
+8 -8
View File
@@ -2,17 +2,17 @@
Updated: 2026-08-10
- **Exact current task:** JOBS-001add duplicate-feed regression and local browser evidence after the provenance and result-state increments.
- **Last completed step:** committed and pushed `3f74b23`, which distinguishes initial/empty/error/loading states, retries the last trimmed search, adds three result sorts and discloses unavailable location/work mode.
- **Files currently modified:** authoritative JOBS-001 tracking, decision and verification evidence only; application/test code is committed.
- **Commands already run:** Phase 4/source/import trace; focused discovery backend/UI/quick-capture tests; full backend/frontend after provenance and full frontend after result states; production frontend builds; diff reviews. See V-154V-155.
- **Test results:** npm audit 0 vulnerabilities; Gitea pull-request run 609 previously passed; backend 630/630; frontend 50/50 suites and 201/201 tests; JOBS cumulative focused backend 1/1 and UI 7/7; Playwright 4/4 from DEP-001; production build passes. Jest retains its known force-exit/open-handle warning.
- **Exact current task:** UX-003re-read Work Phase 10 and reproduce Kanban light/dark, drag, empty, loading, error and keyboard states before editing.
- **Last completed step:** committed and pushed `82f4526`; mocked JOBS browser flow passes at 375/768/1440 and visual inspection confirmed the dark information-banner contrast fix.
- **Files currently modified:** authoritative JOBS-001 tracking/decision/evidence only; application/tests/screenshots are committed.
- **Commands already run:** JOBS source/import trace, focused backend/UI tests, full regressions/builds, mocked Playwright discovery and complete E2E suite, screenshot inspection and diff reviews. See V-154V-156.
- **Test results:** backend 631/631; frontend 50 suites and 201/201; JOBS focused backend 2/2 and UI 7/7 cumulative; Playwright 5/5 including JOBS at three widths/themes/keyboard/import; production build passes. Jest retains its known force-exit/open-handle warning.
- **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:** JOBS-001 tracking/evidence for V-155 only; commit and push before browser work.
- **Uncommitted changes:** JOBS-001 closure/UX-003 transition tracking, decision and V-156 evidence only; commit and push before UX implementation.
- **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:** add a backend duplicate/inactive-event regression, then a mocked Playwright discovery journey covering responsive layout, theme, keyboard-visible controls, long Norwegian data and reviewed URL import without contacting NAV.
- **Work that can continue independently:** remaining JOBS-001 repository UX/tests and later UX packages. MAIL provider mutations await scopes/re-consent; SEC-006/007 await package-index permission; PROD-001/003/004 await production access.
- **Exact next action:** read `docs/todo/work.md` Phase 10 and inspect `KanbanBoard`, its style tokens and tests; reproduce specified state contrast in a mocked browser before choosing the smallest root fix.
- **Work that can continue independently:** UX-003, JOBS-002, PRODUCT-001 and VER-001. JOBS live NAV/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.