7.2 KiB
Native browser recovery and connected CV qualification
18 November 2026. Recovered A3eb253877 and roadmapb577c506; no test/build processes remained. Root preserved the uncommitted heading assertion and all isolated worker proposals. Source5262bee fixes compact CV heading semantics and two stale native selectors. Native tests a88e260 extend private-CV read recovery to desktop/mobile and add the actual Career Profile-to-CV journey. This is bounded development evidence, not full A3, Phase10, security or release acceptance.
What changed and why
The original frozen four-suite real-API run completed40 passed/3 failed/43 total. Two application-form tests used retired exact Norsk labels; they now use the established Norsk bokmål accessible name without changing application language behavior. The third failed all-enabled axe heading-order: compact editor navigation replaced the level-two editor heading with a dropdown, leaving Sections at level three. The editor now always retains its level-two heading, using the existing MUI visually-hidden pattern in compact layouts. No visual spacer/duplicate visible heading, document mutation, renderer or design replacement was introduced. A strengthened existing mobile unit case failed on original runtime source; all104 affected unit cases now pass. Native red/green outputs are retained, including existing JSDOM focus/act warnings, which were not suppressed.
The original three native failures now pass in the focused four-case run; that run still FAILED overall because the new unqualified CV journey initially used Experience where the server outline exposes Professional Experience. That selector was corrected from the actual accessible snapshot; application code was not changed to satisfy the test. The subsequent connected case PASSED. A later two-width read-recovery test exposed a stale preview allowlist: the current editor uses the existing read-only POST /api/cv/preview, not /api/cv/variants/:id/preview. The assertion now permits only that exact POST and settings-only body, retaining unchanged stored version and prohibiting all other writes. The original negative run is preserved. Final read-recovery case PASSED both1440px EN/light and390px Bokmål/dark with GET-only retry, editor focus, no persisted CV change, no root overflow and complete all-enabled axe/target-size vectors. One test covers two configurations; this is not two distinct tests.
Connected source-selection journey
The existing library tests create blank CVs; prior edit/export suites seeded variants through HTTP. The added native case exercises the missing creation-dialog source-selection path: save a canonical phone change with expected revision, navigate overview→builder, choose From Career Profile, explicitly include contact and Experience while excluding Summary, create the variant, edit one CV-only title, await durable autosave/version, inspect the live preview, then explicitly download PDF at the saved version. It proves no automatic export, no later canonical/history/raw-source/metadata changes, sibling CV equality and unchanged variant after export. Real disposable API/Identity/CSRF/SQLite and existing renderer are used; no model/provider/import engine.
The PDF check covers MIME, filename, %PDF header, download completion, hash and expectedVersion transport, not new PDF metrics, extraction semantics, layout fidelity or physical-print acceptance. Existing accepted renderer evidence is not reopened. The final status comment was corrected after the native pass; executable test logic is unchanged.
Executed verification and limits
- PASSED: offline locked API restore and Release build; normal Next16.4.6 compile/TypeScript/static export built for API5302; final scoped lint/source diff checks. No warning bypass or production services. Actual local SDK9.0.317; no new backend dependency advisory scan is implied by cached restore.
- PASSED:104 CV editor unit cases; the one strengthened original-case red failure is included in104, not added. Initial focused red selection's103 skips are not final-suite skips.
- Initial real-API four-suite run FAILED40/3; focused original3 failures PASSED while new CV proposal initially FAILED. Separate final responsive recovery1 case/two configurations and connected CV1 case PASSED. These overlap; no fresh all-green43 or sum of overlapping totals is claimed. Original expected negative API errors and SQLite migration warnings remain in native logs.
- Current fixtures use fresh disposable E-drive SQLite; provider/model/import background workers are disabled and external/model/delivery browser requests blocked. Actual backend/renderer routes are distinguished from controlled precommit503 responses. MariaDB/hosted CI/live services, human/device/AT and production remain unqualified.
Root inspected retained desktop/mobile focus viewport screenshots and the populated connected CV capture against the existing A3 reference. Editor-left/preview-right, mobile navigation, readable wrap and visible keyboard focus remain. Full-page images can place sticky elements outside the viewport; viewport captures are separately retained. Synthetic empty-source recovery is not a populated-concept comparison. These samples do not close the34-route/57-group visual discrepancy register or final owner review.
Evidence and exact source/native hashes: receipts. Native traces and disposable credentials stay outside Git. Rollback restores the small heading delta and test changes; no data rollback or dependency change. Parent read/draft lifetime fixes and later dependency candidates retain their own source-bound evidence. No orchestrator, main merge or deployment.
Final integrated affected regression
18 November: frozen application0765b151, qualification HEAD4eb8a293 (documentation-only difference), freshly locked E-drive dependencies. Full lint and standard Next16.4.6 build/TypeScript/export PASSED exit0. Fresh server-backed Playwright run PASSED 44/44 tests across five existing specs, zero skipped, failed or flaky,292.38seconds. This is original43 plus the new connected selected-source CV journey; it supersedes the earlier40/3 outcome for this affected scope, without erasing original failures. Counts overlap prior focused runs and are not added together.
Coverage: application form draft/revision/recovery paths, Career Profile overview/evidence/history, saved discovery actions, document ownership/source/error/retry/sign-out and CV profile-selection/edit/preview/explicit PDF. Responsive cases include finite desktop/tablet/phone EN/NB/theme samples with existing axe/target-size assertions. It is not all34 routes,57 groups, full backend/MariaDB, human/device/AT/native-language, PDF fidelity, provider/model, integrated security/recovery or release acceptance. Disposable SQLite and actual local Identity/CSRF/API/renderer were used; provider/model/import workers disabled, browser external/model/delivery requests blocked.
Exact native logs (including original encoding) are losslessly gzipped beside normalized UTF8 reports and source/blob receipts in native-integrated evidence. Traces/disposable credentials remain outside Git. No running production service was accessed.