docs(jobs): record discovery provenance evidence
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
|
||||
Updated: 2026-08-10
|
||||
|
||||
- **Exact current task:** JOBS-001 — re-read Phase 4 and reproduce current job discovery/source/import behavior before choosing the first change.
|
||||
- **Last completed step:** MAIL-001 repository inventory found no safe remaining provider mutation without new consent/scopes; MAIL moved to `IMPLEMENTED — NOT VERIFIED` and JOBS-001 became the sole `IN PROGRESS` item.
|
||||
- **Files currently modified:** authoritative MAIL-001 tracking/evidence only; persistence/export/API code is committed.
|
||||
- **Commands already run:** dependency/audit/router/full frontend/build; legacy follow-up/export/recovery/provider suites; full backend; Gitea run inspection; Playwright; MAIL context/unlink/provider-state/Free-policy/draft-persistence focused and full suites/build; EF model-current and dual-provider up/down scripts. See V-126–V-146.
|
||||
- **Test results:** npm audit 0 vulnerabilities; Gitea pull-request CI PASS in 4m20s at run 609; backend 625/625; frontend 50/50 suites and 194/194 tests; Playwright 4/4; production build passes. Draft isolation/cascade 1/1; EF model current; SQLite/MariaDB draft up/down scripts pass. Full blank-chain SQLite apply fails earlier in `AddJobEntityAndProspectStages` on missing `LastReminderEmailSentAt` (JT-019).
|
||||
- **Exact current task:** JOBS-001 — improve submitted-search state, sorting and assessment scanability after the verified provenance increment.
|
||||
- **Last completed step:** committed and pushed `511a9f6`, which exposes honest NAV source/acquisition/retrieval/deadline metadata and verifies source/country preservation through the reviewed create-job request.
|
||||
- **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 test; focused discovery/quick-capture UI tests; full backend/frontend; production frontend build; diff review. See V-154 and prior records.
|
||||
- **Test results:** npm audit 0 vulnerabilities; Gitea pull-request run 609 previously passed; backend 630/630; frontend 50/50 suites and 198/198 tests; JOBS focused backend 1/1 and UI 4/4; Playwright 4/4 from DEP-001; 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:** tracking/decision/evidence for MAIL closure and V-153 only; commit and push before JOBS implementation.
|
||||
- **Uncommitted changes:** JOBS-001 tracking/decision/evidence for V-154 only; commit and push before the next implementation increment.
|
||||
- **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:** read `docs/todo/work.md` Phase 4 and inspect `JobDiscoveryPage`, discovery DTO/API/source adapters/import path and tests; reproduce source/filter/import behavior with mocks before editing.
|
||||
- **Work that can continue independently:** remaining MAIL-001 repository work and later UX packages. SEC-006/007 await package-index permission; PROD-001/003/004 await production access.
|
||||
- **Exact next action:** add an explicit not-yet-searched versus no-results state, bounded client sort and retry behavior to `JobDiscoveryPage`, with loading/error/empty/sort tests; do not add a one-option source filter or infer work mode.
|
||||
- **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.
|
||||
- **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.
|
||||
|
||||
Reference in New Issue
Block a user