diff --git a/CLAUDE.md b/CLAUDE.md index 4de2778..3034b9f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -30,7 +30,7 @@ to rough effort: | Phase | Contains | Status here | |---|---|---| | **1** | Extraction + 6 checks + Excel export, dual-engine, measurement harness | **In progress — see gaps below** | -| 2 | Review screen, suggested-fix patterns, OCR, 2nd+ bank support | OCR routing + working Docling-fallback (`raw_ocr_extract.py`) built and verified against a real multi-page scan 2026-10-11 — one known single-page edge case remains unreliable, see "OCR / scanned statements" below — review screen **in progress, staged R.1-R.5** (see "Review screen" under Key decisions & lessons) — R.1's backend half (per-row source-position capture) shipped 2026-10-13; the pdf.js highlighting viewer, R.2's plain-language flags, and R.3's suggested-fix engine are not started yet | +| 2 | Review screen, suggested-fix patterns, OCR, 2nd+ bank support | OCR routing + working Docling-fallback (`raw_ocr_extract.py`) built and verified against a real multi-page scan 2026-10-11 — one known single-page edge case remains unreliable, see "OCR / scanned statements" below — review screen **in progress, staged R.1-R.5** (see "Review screen"/"R.2" under Key decisions & lessons) — R.1 (source-position capture + the pdf.js highlighting viewer) and R.2 (plain-language flags + jump-to-flagged navigation) both shipped 2026-10-13; R.3's suggested-fix engine, R.4's structural row edits, and R.5's accept/acknowledge + edit log are not started yet | | 3 | Layout mapper (fingerprinting, versioning, drift detection) | Not started | | 4 | Multi-tenant practice/client accounts, Frappe data model | Not started | | 5 | Free front door, public accuracy page | Not started | @@ -347,6 +347,13 @@ security only, not the full SaaS-shaped doc — and the judgment call on what co `pdfColHidden`). `restoreBannerVisible` etc. were removed along with `RestoreBanner.vue` in Stage B.2 - see "PocketBase Stage B.2" under Key decisions & lessons. + `highlightRequest`/`requestHighlight()`/ + `clearHighlightRequest()` (NEW 2026-10-13, review screen + R.2) - the bridge between `TransactionRow`'s "Show on + source" and `SourceDocumentPanel`'s exposed + `showHighlight()`, siblings three levels apart with no + direct prop/event path between them - see "R.2" under Key + decisions & lessons. authStore.js — `user` (mirrors `pb.authStore.record`), `isAuthenticated` getter, `syncWithAuthStore()` (registered once in `App.vue`'s `onMounted`, keeps the store in sync @@ -383,7 +390,13 @@ security only, not the full SaaS-shaped doc — and the judgment call on what co were removed outright in Stage B.2, replaced by documentsService.js below). formatService.js (fmtMoney/fmtNum/parseNum - escapeHtml dropped, redundant - once Vue's own {{ }} auto-escapes). authService.js (login/ + once Vue's own {{ }} auto-escapes). flagCatalogService.js + (NEW 2026-10-13, review screen R.2 - translates each + check's raw mismatch/issue data into the spec's + four-part plain-language flag; only + running_balance/date_sanity/structure_sanity/ + narrative_direction ever carry row-level data, see + "R.2" under Key decisions & lessons). authService.js (login/ signup/loginWithGoogle/logout, thin wrappers over the PocketBase SDK — the SDK itself persists/restores the auth token). documentsService.js (`saveDocument`/ @@ -451,7 +464,8 @@ security only, not the full SaaS-shaped doc — and the judgment call on what co via pdf.js/usePdfViewer as of 2026-10-13, not the browser's native `