docs(match): record term-quality evidence
This commit is contained in:
@@ -329,3 +329,13 @@
|
||||
- **Consequences:** users without a saved scoped choice inherit the explicit anonymous choice, otherwise the documented default is System. Explicit Light/Dark ignore OS changes. The pre-paint script must remain behaviorally aligned with `themePrefs`; tests cover both.
|
||||
- **User approval required:** No; this directly implements the approved UX-002 contract without schema, dependency or production changes.
|
||||
- **Reversible:** Yes. Revert `11734ee`; existing preference values remain unchanged and readable.
|
||||
|
||||
## DEC-034 — Important-term quality stays deterministic and on demand
|
||||
|
||||
- **Date:** 2026-08-09
|
||||
- **Decision:** Harden the existing shared `JobCvMatchService` rather than add a model or stored analysis version. Clean HTML/chrome at the matcher boundary, use bilingual/general filler categories, rank bounded phrase runs before singleton terms, and extend the canonical skill vocabulary for punctuation-sensitive technologies. Rename UI output to “important terms.”
|
||||
- **Reason/evidence:** the complete path proved the reported Norwegian words came from English-only deterministic token ranking. Imported descriptions may be clean, but manual descriptions/notes reach the same matcher. Results are recomputed and the generated learning sync already preserves user decisions, so a cache/schema migration would solve a nonexistent storage problem.
|
||||
- **Alternatives considered:** hardcode the five examples; call Ollama for keywords; add a result table/version column; filter only in the UI; silently delete learning items. These are incomplete, less reliable, duplicate state, leave API consumers dirty or discard user history.
|
||||
- **Consequences:** term changes appear on the next request; obsolete pending generated learning items auto-complete under existing behavior while done/dismissed decisions remain. The curated vocabulary remains intentionally bounded and test-driven.
|
||||
- **User approval required:** No; this is the deterministic-first implementation explicitly required by both programmes.
|
||||
- **Reversible:** Yes. Revert `da1aa8b`; no schema, cache or provider state changes.
|
||||
|
||||
@@ -2,17 +2,17 @@
|
||||
|
||||
Updated: 2026-08-09
|
||||
|
||||
- **Overall programme status:** Active. Six packages are locally verified; sixteen packages through UX-002 are implemented with automated/runtime evidence but blocked from applicable provider/production gates; QA-001 is in progress.
|
||||
- **Current work package:** `QA-001` — job-analysis and keyword quality (`IN PROGRESS`); source requirements and the deterministic analysis/cache pipeline are the next trace.
|
||||
- **Overall programme status:** Active. Six packages are locally verified; seventeen packages through QA-001 are implemented with automated/runtime evidence but blocked from applicable browser/provider/production gates; CAREER-001 is in progress.
|
||||
- **Current work package:** `CAREER-001` — Career Workspace action-oriented redesign (`IN PROGRESS`); requirements and current first/returning/incomplete/processing/error hierarchy are the next trace.
|
||||
- **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 and PROD-002 (`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 and UX-001/002 (`IMPLEMENTED — NOT VERIFIED`). UX-002 fixes login/logout preference scope, startup paint, route remount and cross-tab synchronization; automated/build and local Light/Dark/System browser gates pass.
|
||||
- **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 and QA-001 (`IMPLEMENTED — NOT VERIFIED`). QA-001 now cleans HTML/chrome, filters bilingual filler, preserves curated punctuation/phrases and uses honest labels; all automated/build gates pass.
|
||||
- **Production-verified work:** None.
|
||||
- **Blocked work:** SEC-006 requires explicit internet/package-index permission; PROD-001/003/004 and REL-001 require documented production access and unfinished dependencies. Real provider, SMTP/MariaDB and production environments are unavailable; 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:** QA-001 job-analysis/keyword quality; CAREER-001 Career Workspace redesign; CAREER-002 CV Builder redesign; EMAIL-001 consolidated email experience; JOBS-001 job-search/application redesign. SEC-006/007 resume after package-index permission.
|
||||
- **Status counts:** 6 `VERIFIED LOCALLY`; 16 `IMPLEMENTED — NOT VERIFIED`; 1 `IN PROGRESS`; 11 `NOT STARTED`; 5 `BLOCKED`; 0 `DONE`; 0 `DEFERRED`.
|
||||
- **Test status:** backend 594/594; AI-004 focused backend 40/40; frontend 48/48 suites and 172/172 tests, UX-002 focused 6/6, production build pass; prior sidecar 22/22. Patch check passes. UX-002 browser passed Light/Dark/System/navigation/refresh/two-tab synchronization at required widths; provider/model/MariaDB/production checks were not run.
|
||||
- **Next five work packages:** CAREER-001 Career Workspace redesign; CAREER-002 CV Builder redesign; EMAIL-001 consolidated email experience; JOBS-001 job-search/application redesign; HOME-001 homepage/Pro promotion. SEC-006/007 resume after package-index permission.
|
||||
- **Status counts:** 6 `VERIFIED LOCALLY`; 17 `IMPLEMENTED — NOT VERIFIED`; 1 `IN PROGRESS`; 10 `NOT STARTED`; 5 `BLOCKED`; 0 `DONE`; 0 `DEFERRED`.
|
||||
- **Test status:** backend 601/601; QA-001 focused matcher 15/15 and affected backend 54/54; frontend 48/48 suites and 172/172 tests, affected UI 13/13; production build and patch check pass. QA-001 browser/production presentation was not run; prior UX-002 browser and sidecar 22/22 remain green.
|
||||
- **Deployment status:** No deployment performed. No production migrations were run. 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 suites. Jest still needs `--forceExit` and reports its existing open-handle notice. 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.
|
||||
@@ -43,5 +43,6 @@ Updated: 2026-08-09
|
||||
- `docs/verification/ai-004-cv-processing-queue.md`
|
||||
- `docs/verification/ux-001-unified-authentication.md`
|
||||
- `docs/verification/ux-002-deterministic-theme-state.md`
|
||||
- `docs/verification/qa-001-job-term-quality.md`
|
||||
- `docs/verification/prod-002-ai-evaluation.md`
|
||||
- `docs/work-programmes/master-work-plan.md`
|
||||
|
||||
@@ -16,7 +16,7 @@ Allowed statuses are `NOT STARTED`, `IN PROGRESS`, `IMPLEMENTED — NOT VERIFIED
|
||||
|
||||
`DONE` requires every applicable acceptance criterion, focused and regression tests, browser/accessibility/theme/mobile checks, tenant and entitlement checks, documentation, migration/rollback evidence, and production verification. Repository-only work that still requires production is at most `VERIFIED LOCALLY`.
|
||||
|
||||
Exactly one implementation item may be `IN PROGRESS`. As of this revision it is **QA-001**.
|
||||
Exactly one implementation item may be `IN PROGRESS`. As of this revision it is **CAREER-001**.
|
||||
|
||||
## Consolidated dependency order
|
||||
|
||||
@@ -595,11 +595,11 @@ Ordering differences from the suggested list:
|
||||
- **Required tests:** seven specified Norwegian/English/mixed/short/noisy/tech/filler fixtures.
|
||||
- **Required browser verification:** result presentation/empty/error/long Norwegian text at three widths/themes.
|
||||
- **Required production verification:** synthetic analysis comparison; no silent historical rewrite.
|
||||
- **Status:** `IN PROGRESS`.
|
||||
- **Blocker:** none.
|
||||
- **Evidence:** source requirements and deterministic fixture contract are next for complete pipeline/caching trace; PROD-002 fixtures are available.
|
||||
- **Commit:** none.
|
||||
- **Remaining work:** deterministic fix before considering model help.
|
||||
- **Status:** `IMPLEMENTED — NOT VERIFIED`.
|
||||
- **Blocker:** browser presentation and production comparison remain; deterministic repository work is complete.
|
||||
- **Evidence:** `docs/verification/qa-001-job-term-quality.md`; V-114–V-116; seven required fixtures, focused matcher 15/15, affected backend 54/54, full backend 601/601, focused UI 13/13, full frontend 172/172 and build.
|
||||
- **Commit:** `da1aa8b` (`fix(match): prioritize meaningful job terms`).
|
||||
- **Remaining work:** browser empty/error/long Norwegian/three-width/theme presentation; synthetic production comparison. No stored analysis migration exists.
|
||||
|
||||
### CAREER-001 — Career Workspace action-oriented redesign
|
||||
|
||||
@@ -613,9 +613,9 @@ Ordering differences from the suggested list:
|
||||
- **Required tests:** first/returning/incomplete/processing/failure state and navigation.
|
||||
- **Required browser verification:** three widths, light/dark, keyboard/focus/loading/empty/error/Norwegian.
|
||||
- **Required production verification:** synthetic account smoke.
|
||||
- **Status:** `NOT STARTED`.
|
||||
- **Status:** `IN PROGRESS`.
|
||||
- **Blocker:** browser tooling must be available for completion.
|
||||
- **Evidence:** current architecture and source requirement.
|
||||
- **Evidence:** source requirements and current Career Workspace state hierarchy are next for complete trace; CORE-001 and AI-004 contracts are available.
|
||||
- **Commit:** none.
|
||||
- **Remaining work:** no master-profile overwrite.
|
||||
|
||||
|
||||
@@ -2,17 +2,17 @@
|
||||
|
||||
Updated: 2026-08-09
|
||||
|
||||
- **Exact current task:** QA-001 — re-read the specified Norwegian/English quality fixtures and trace import cleanup, language/token/phrase/skill/scoring/cache/version/UI-label behavior before editing.
|
||||
- **Last completed step:** UX-002 implementation `11734ee` was committed. Deterministic user/anonymous/System precedence, pre-paint bootstrap, in-place provider switching, auth-user/cross-tab events and mobile Settings tabs pass automated/build/browser verification. Evidence/tracking are ready for their own commit and push.
|
||||
- **Files currently modified:** UX-002 verification/evidence/tracking documents and three synthetic screenshots under `docs/audits/evidence/ux-002/`. UX-002 application code is committed.
|
||||
- **Commands already run:** UX-002 complete theme/auth/provider/router/bootstrap trace; focused 6/6 and full 172/172 frontend tests; production build; diff checks; local browser Light/Dark/System/navigation/refresh/two-tab/375/768/1440 checks; implementation commit. See V-111–V-113.
|
||||
- **Test results:** backend baseline 594/594; frontend 48/48 suites and 172/172 tests; UX-002 focused 6/6; production frontend build and diff check pass. Browser theme checks and final console inspection pass; authenticated multi-user/production remain.
|
||||
- **Exact current task:** CAREER-001 — re-read Career Workspace requirements and trace first-run, completeness, CV import review, queued processing/failure and recent-document actions before editing.
|
||||
- **Last completed step:** QA-001 implementation `da1aa8b` was committed. Bilingual/chrome filtering, bounded phrases, expanded canonical technology tags and honest important-term labels pass all automated/build gates. Evidence/tracking are ready for their own commit and push.
|
||||
- **Files currently modified:** QA-001 verification/evidence/tracking documents only. QA-001 application code is committed; no screenshots were captured.
|
||||
- **Commands already run:** QA-001 complete import/language/tagger/matcher/API/UI/learning/cache trace; seven required fixtures; affected and full backend/frontend tests; production build; diff checks; implementation commit. See V-114–V-116.
|
||||
- **Test results:** backend 601/601; QA matcher 15/15; affected backend 54/54; frontend 48/48 suites and 172/172 tests; affected UI 13/13; production build and diff check pass. Browser/production QA presentation remains.
|
||||
- **Services currently running:** none started by this session. The Next development server was stopped and in-app browser tabs finalized. Pre-existing Docker services were not changed.
|
||||
- **Temporary files or processes:** none. No dependency declaration, database or private artifact changed.
|
||||
- **Production changes currently active:** none. No deployment, provider/model call, private CV access, model pull, paid service, production migration or external payload occurred.
|
||||
- **Rollback status:** UX-002 has no schema/dependency migration; revert `11734ee` while retaining existing preference keys. UX-001/AI-004 rollback records remain current. Production is unchanged.
|
||||
- **Uncommitted changes:** UX-002 evidence/master tracking documents and screenshots only; commit/push these before QA-001 application code.
|
||||
- **Known failures:** authenticated two-user/production theme smoke remains; configured/real-provider UX-001 browser checks remain; MariaDB/SMTP/production unavailable; SEC-006 upgrades require explicit internet/package-index permission; parser isolation remains SEC-007; historical clean EF-only SQLite chain needs startup reconciliation; Jest reports its existing force-exit/open-handle notice.
|
||||
- **Exact next action:** commit and push UX-002 evidence, then read `work.md:174-263`, `ollama.md:177-223`, PROD-002 fixtures and every job-analysis producer/cache/UI consumer; reproduce the seven specified quality cases before editing.
|
||||
- **Work that can continue independently:** QA-001 and subsequent repository UX packages. SEC-006/007 await package-index permission; PROD-001/003/004 await production access.
|
||||
- **Rollback status:** QA-001 has no schema/cache/dependency migration; revert `da1aa8b` to restore the prior term set/labels. Earlier rollback records remain current. Production is unchanged.
|
||||
- **Uncommitted changes:** QA-001 evidence/master tracking documents only; commit/push these before CAREER-001 application code.
|
||||
- **Known failures:** QA-001 browser/production presentation; authenticated two-user/production theme smoke; configured/real-provider UX-001; MariaDB/SMTP/production unavailable; SEC-006 needs explicit internet/package-index permission; parser isolation remains SEC-007; historical clean EF-only SQLite chain needs startup reconciliation; Jest retains its open-handle notice.
|
||||
- **Exact next action:** commit and push QA-001 evidence, then read `work.md:265-307`, Career Workspace components/tests, CORE-001 data shapes and AI-004 operation states; reproduce first/returning/incomplete/queued/review/failure paths before editing.
|
||||
- **Work that can continue independently:** CAREER-001/002 and later repository UX packages. SEC-006/007 await package-index permission; PROD-001/003/004 await production access.
|
||||
- **Decisions still required from the user:** none for synthetic repository work. Internet/package upgrades, private CV access, external/paid providers and production actions retain their explicit approval/safety gates; SEC-009 retention/legal policy remains unresolved.
|
||||
|
||||
Reference in New Issue
Block a user