105 KiB
Journal
2026-05-18
Scaffolded Osteo Report MVP skeleton from approved design spec. Created 80+ files: schemas, stubs, routes, stores, PDF modules, Docker infra. Moved Horse.svg + Horse_head.svg to public/species/equine/. pnpm install + build + typecheck + tests passing. pnpm 11 used (corepack shim broken on host Node 20.20.0).
- MVP scaffold+impl done. Editor flow works. PDF roundtrip green. Real SVG assets in repo.
2026-05-19
Fixed 3 zone-interaction bugs (b9da4fa). Detail-popup clicks now resolved via detailBones map.
Spine zones (data-anno-special="vertebral-precision") auto-open VertebraPicker on click.
ObservationCard hides "Vertèbres…" button on non-special zones.
Parser reads data-anno-special; convention doc updated.
- BLK-003 resolved. LRN-004, LRN-005 captured. 91 tests green, lint clean, build OK.
- VertebraPicker preselects region tab inferred from zone label (
b3bd75d). +5 tests. - Hotfix: detailBones now accumulate across popup opens; merged allBones passed to ObservationList so detail-popup zone labels survive after modal close.
- PDF rendering bugfix: titles cleared the header rule, zone-line wrap respects following blocks, non-selected zones hidden + data-anno-* stripped before raster, main SVG skipped when every zone lives in details. BLK-004, LRN-006, LRN-007 captured.
- PDF styling pass: eyebrow + Times 22 title + 2pt accent rule + uppercase accent section labels + color-coded severity pill (sage/amber/red). Eyebrow/title baseline gap raised to 27pt after first attempt still overlapped. BDR-008, LRN-008 captured.
- Commits this session: b9da4fa..d7ea99e (10 commits — bugfix + feat + hotfix + PDF styling).
2026-05-19 (session 2)
feat(editor): home-nav (back btn + clickable Brand link to "/") + "Modifier les infos" dialog reusing PractitionerForm/AnimalForm via draft-copy with save/cancel. 3 store setters (setPractitioner/setAnimal/setOwner), 4 setter tests. Cache re-synced on save. 100/100 tests, lint 0, typecheck clean.
- hotfix(pdf): multi-SVG observation page packed into 2-col grid; pre-rasterize → measure aspect → reserve text-area height → cell budget per row; single-SVG keeps full width; floor prevents zero-cells. Text sections now always visible. LRN-009 captured.
- hotfix(editor): zone-highlight scoped to active obs only (collapsed obs no longer leave faint 'linked'/'multi' tints). AnatomyCanvas re-paints highlights after async SVG mount so DetailModal popup zones color correctly. NewReportRoute header harmonized with editor — back btn + clickable Brand left-aligned. 3 files (hotfix cap +1, accepted). LRN-010 captured.
- domain pivot decided: flat Pathology[] → hierarchical findings tree per zone, path+snapshot serialization, FR/EN bilingual site+PDF. ReportSchema bumps v1→v2 (no retro-compat, no prod PDFs). Sample 3-zone JSON v1.1 dropped at src/domain/species/equine/pathologies.json — inert (loader not migrated). TODO rewritten as B0..B5 + C ship gate, ~23h dev.
- NEXT SESSION: run /ship-feature on B0 (findings Zod schema + JSON loader) + B1 (ReportSchema v2 + observation.findings) + B2 (FindingsTreePicker replacing flat PathologyPicker). I18N (B3) deferred to separate feature. Reconcile JSON species.id (currently "equin") vs registry species.id ("equine") before parse — pick one.
2026-05-20
Bundled B0+B1+B2 shipped on feat/findings-tree-v2. 3 atomic commits.
- B0 (
f80e161): findings.ts Zod schema (recursive z.lazy + explicit ZodType), SpeciesFindingsSchema.parse(JSON) at boot, manifest swaps pathologies→findings, JSON species.id "equin"→"equine", new species.equineFindings test (5). - B1 (
d08d773): ObservationSchema.findings + freeTextFindings, ReportSchema.version 1→2, store emptyObservation+initReport updated, PDF import detects v1 via IncompatibleReportVersionError + ImportError wraps message (FR), pathology.ts schema + test deleted. - B2 (
b67f4cd): FindingsTreePicker (breadcrumb, drill, leaf toggle, retour, vet-referral ⚠, description_fr), ObservationCard renders one picker per zone with catalog, FreeTextPathologyInput renamed FreeTextFindingInput, scope_disclaimer modal once/session via osteo:disclaimer-shown sessionStorage flag, PDF observationPage renders findings via labelFrSnapshot with ⚠ prefix on vet-referral. B5 folded in: Toast + ZoneTooltip stubs deleted, CLAUDE.md folder map refreshed. - 107/107 tests green, lint 0 warn, typecheck clean, vite build OK (882KB main + 15KB lazy pathologies chunk).
- BDR-009 (snake_case JSON fields preserved in TS), LRN-011 (Zod recursive via z.lazy + explicit ZodType), LRN-012 (sessionStorage flag pattern for once-per-session UX modals) to capitalize.
- NEXT: push branch + PR. After merge: B3 (i18n FR/EN) + B4 (PDF observationPage polish for vet-referral) + C (full horse.json + QA + deploy).
2026-05-20 (session 3 — B3 shipped)
B3 (i18n FR/EN site + PDF) shipped on feat/findings-tree-v2 via /ship-feature. 5 new commits:
0a05c47docs(plan): B3 i18n FR/EN implementation plana570475feat(i18n): localeStore + persist359104cfeat(i18n): fr/en dicts + useT hook (~90 keys each, parity-tested)d602726feat(i18n): migrate site + PDF to locale-aware (25 files, +390/-207)fa3eb51test(pdf): roundtrip per locale (3 cases)- (post-review fix) typed ImportError discriminant for localized PDF import errors
- 154/154 tests pass, lint clean, typecheck clean, build OK.
- description_fr + scope_disclaimer stay FR-only this iteration (vet-expert authoring needed).
- BDR-014 (PDF locale = render preference), BDR-015 (typed ImportError discriminant), LRN-017 (dict parity test), LRN-018 (useT selector+closure), LRN-019 (exhaustive-deps closure trap), EVAL-002 (review caught FR leak in PDF import) captured.
- NEXT: B4 (PDF observationPage vet-referral polish), C (full horse.json + QA + Scaleway deploy). description_fr/_en EN copy when vet expert provides.
2026-05-21
User dropped catalog v1.2→v2.0 in place. pathologies.json now schema_version "2.0", 26 zones (was 3), 792 nodes, 612 leaves, 41 vet-referral leaves. Generic vet description_fr purged on 25 leaves; 16 kept with clinical differential.
- Zero code change needed:
findings.tsZod schema already optional description_fr + boolean requires_vet_referral since B0. FindingsTreePicker + PDF already read boolean (no textual fallback). 154/154 tests stay green, typecheck clean. - One case mismatch noted then fixed by user: SVG Horse_head.svg
data-anno-name-fr="hyoïde"→"Hyoïde". JSON ↔ SVG strict equality now holds for all 26 zones (diff empty). Fuzzy matcher (lib/zoneMatch.ts) no longer needed for this pair but kept as safety net. - BDR-016 (v2.0 catalog adoption), LRN-020 (forward-compat schema absorbed change), BLK-002 resolved capitalized.
- TODO Phase C item 1 "Author full horse.json" → done. B4 still has scope_disclaimer footer decision open.
- NEXT: B4 disclaimer footer call + C QA + Scaleway deploy.
- hotfix(pdf): PDF export crashed
WinAnsi cannot encode "⚠"on any obs carrying a requires_vet_referral leaf — StandardFonts.Helvetica is WinAnsi-only. Swapped⚠PDF marker →(!)(UI keeps ⚠). Regression test added onwidthOfTextAtSize+ prefixed label. LRN-021, EVAL-003 captured. 155/155 green. Follow-up: migrate PDF body to embedded TTF (Inter/Fraunces per CLAUDE.md spec) so future non-Latin-1 glyphs work. - chore: rename project
osteo-report→zoosteo→faunosteo(Gitea repo moved). 15 files: repo URLs (CHANGELOG, DEPLOY, package.json), brand strings (env.ts DEFAULTS, entrypoint.sh fallbacks, i18n fr/en, pdf attachment metadata, index.html title, Brand test, scaffold banner, README/CLAUDE/CHANGELOG/ADDING-A-SPECIES headings), example URL osteo.example.com → zoosteo.fr in DEPLOY.md. PDF FILENAMEosteo-report.json+ startsWith contract preserved. 155/155 tests green. Commit7dd4f63+ push. - fix(docker): pin
pnpm@11.1.3in Dockerfile:7.corepack prepare pnpm@latestre-resolved to pnpm >=11.4 on VPS cold build, which needs Node 22.13 →ERR_UNKNOWN_BUILTIN_MODULE: node:sqliteon Node 20 image. Commit7dccde7+ push. BLK-005 + LRN-022 captured. - fix(docker) v2: 11.1.3 pin insufficient — pnpm 11.x ENTIRE LINE imports
node:sqlite(not just 11.4+). Local dev was misleading because pnpm install never re-ran on host. Downgrade Dockerfile topnpm@10.13.1(last 10.x cached on host, reads lockfile v9 unchanged). Commit990c8e7+ push. BLK-005 + LRN-022 corrected with iteration log. - chore(docker): pin
container_name: faunosteo-webin docker-compose.yml — Compose v2 always appends-1replica suffix; single-instance service doesn't need scaling. DEPLOY.md log-prune command updated. Commit7d214ed. - fix(docker): nginx template used bash-style
${PORT:-8080}but envsubst doesn't support:-default. Switched to plain${PORT}since entrypoint.sh already exports PORT with default. Commit0fcc526. - feat(ui): global footer (© year + brand + "Powered by ZenQuality" logo linking to zenquality.fr). New Footer.tsx mounted via flex-column layout in App.tsx so it sticks bottom on every route. Two i18n keys added (footer.all_rights_reserved, footer.powered_by). Commit
caac149. - feat(ui): unify header — tagline next to brand on left for every page; LanguageSwitcher far right everywhere; dropped redundant "← Accueil" button on /new + /editor (brand is already a link to /). 3 files. Commit
1b01744part 1. - fix(editor): scroll(0,0) on mount — long /editor page was landing at bottom on navigation due to browser scroll restoration. Commit
1b01744part 2. - feat(editor): directional slide+fade between findings-tree levels (motion.ul, key-remount, 180ms). Forward enters from right, back enters from left. AnimatePresence omitted to keep test assertions synchronous. Commit
adbab1b.
2026-05-23
feat(i18n): 8 laterality keys added to fr.ts + en.ts after vertebra section. Dict parity test (i18n.dicts.test.ts) + full suite 163/163 green. Committed feat(i18n): add laterality translation keys (FR/EN).
feat(schema): LateralSideSchema (z.enum left/right) + LateralSide type added to observation.ts. ObservationZoneSchema gains optional side field. 6 new tests covering accept/reject paths. Bone.lateral already present from prior anatomy commit. 163/163 green, typecheck clean.
2026-05-22 (session 2)
- feat: locale-aware hover tooltip on anatomy zones (AnatomyCanvas custom floating tooltip, replaces native SVG title).
- feat: /editors listing page + footer "Éditeurs" link + "Paws iin Harmony" credit.
- feat(i18n): SVG editor header navbar + 58 FR/EN keys; pathology editor header + 76 FR/EN keys. Both editors fully bilingual.
- fix(ui): 3 iterations on vertical centering — h-full→flex-1 on route containers (LRN-027). App.tsx main needs flex flex-col for children to grow.
- Commits 569e571..89e010c (9 commits). 155/155 tests green throughout.
2026-05-22
Integrated standalone editor.html (~1630 lines vanilla JS SVG annotation tool) into React app at /svg-editor route. Vanilla JS wrapped in useRef+useEffect — zero behavior loss. CSS restyled to Faunosteo tokens (warm palette, accent vars, serif headings). DOMParser used for safe SVG loading (no innerHTML). Page noindexed via dynamic meta tag. 3 files created (SvgEditorRoute.tsx, svg-editor.css), 1 modified (App.tsx route registration), CLAUDE.md folder structure updated.
- 155/155 tests green, typecheck clean, build OK (941KB main). No regressions.
- BDR-017 (vanilla wrap decision), LRN-022 (DOMParser SVG loading) captured.
- feat(editor): standalone pathology-editor.html — JSON pathology tree editor with SVG zone selection. 1390 lines vanilla JS/CSS, zero deps. Pre-wired species list + manual upload. Fuzzy zone matching ported from zoneMatch.ts. Recursive tree editor: add/edit/delete nodes, sources management, auto ID generation. SVG sanitized (scripts/foreignObject/on* stripped). Export full JSON preserving all zones. public/species/equine/pathologies.json added for HTTP access. Docs synced (CLAUDE.md + README).
- BDR-020 (standalone HTML not React route), BDR-021 (inline port of zoneMatch.ts), LRN-025 (importNode XSS), LRN-026 (inline port pattern) captured.
2026-05-20 (session 2)
Iterated on the findings-tree branch — 11 more commits on top of B0+B1+B2.
1731adffix(editor): match findings tree to SVG zones via FR label (strict equality, dropped raw-boneId lookup).95d746bfeat(editor): fuzzy zone matcher (src/lib/zoneMatch.ts) — normalize + Levenshtein, EN-first + FR fallback. 23 new tests.34acb0cfeat(editor): count badges on intermediate FindingsTreePicker nodes (pathStartsWith + countSelectedUnder).93294a4fix(pdf): buildZoneLabels per-source try/catch + parallel + warn + exported for tests. Fixes raw-boneId fallback when detail SVG fetch fails.1e12f22fix(editor): EditorRoute eagerly preloads every species.details SVG so re-imported PDFs render their pickers immediately.de40c5ffeat(editor+pdf): per-zone PDF sections "CONSTATS — " + dedicated "CONSTATS LIBRES"; ObservationCard accordion (one zone picker open at a time).add408efeat(pdf): single-SVG observations halved + centered; first halo glow on main-view selections.4f8ea9efix(pdf): bumped halo with stacked feGaussianBlur (stdDeviation 18 + 8) to survive the SVG→canvas→PNG→pdf-lib alpha attenuation.700567ffeat(pdf): inter-item separator rendered as accent-coloured bold "•" @14pt with per-segment layout instead of plain join (height-estimator updated).70b7f20feat(species): auto-discover species via import.meta.glob default-export contract +pnpm scaffold:speciesNode script + docs refresh.70f21ccdocs: PATHOLOGIES-FORMAT.md — canonical findings-JSON spec mirroring src/domain/schema/findings.ts.- BDR-012 (auto-discovery import.meta.glob), BDR-013 (fuzzy FR/EN label bridge), LRN-013 (glob+default plugin pattern), LRN-014 (normalize+Levenshtein cross-walk), LRN-015 (per-source try/catch), LRN-016 (pdf-lib subset-font bytes-grep caveat) captured.
- Tests 139/139 green, lint 0, typecheck clean, vite build OK throughout. Branch feat/findings-tree-v2 = 15 commits ahead of main, no remote configured (push + PR still pending).
- NEXT: push branch + PR; then B3 (i18n FR/EN), B4 (PDF observationPage vet-referral polish), C (full horse.json + QA + Scaleway deploy).
2026-05-27
feat(editor) 9544924 — cross-region vertebra picks spawn their spine zone.
-
New src/lib/spineZones.ts: regionFromLabel (moved from VertebraPicker, re-exported for back-compat), findSpineZoneId (region→zone via vertebral-precision + label heuristic), distributeVertebraeToZones (pure, target=replace / others=union / unmapped→target).
-
EditorRoute onConfirm now distributes instead of dumping all verts on clicked zone. +7 tests (lib.spineZones).
-
BDR-018 (replace-target/union-others), LRN-028 (drive derived UI via source-of-truth row) captured.
-
171/171 green, lint 0, typecheck clean.
-
Iterated vertebra picker 3x same session.
9544924additive distribute →38888cbunified full-spine editor.- collectSpineVertebrae (union all spine zones, clicked first) seeds picker; syncSpineZones authoritative (replace region / prune zero / spawn new); initialRegion beats initial[0] so click opens own tab.
- BDR-018 SUPERSEDED by BDR-019. LRN-028 still holds (drive derived UI — highlight+findings — via observation.zones lever).
- Wart accepted: prune orphans zone findings (parity w/ ✕ button). All spine-gated (special==='vertebral-precision'). 174/174 green, lint 0, tc clean.
2026-06-01
feat(ui+pdf): footer partnership credit "Paws iin Harmony" text -> Paws_in_harmony.svg logo (moved to public/, wide 2068x454 wordmark). Site Footer.tsx h-6 mirrors ZenQuality treatment. PDF footer drawFooter gains pawsLogoPng asset; export.ts rasterizes svg via rasterizeSvg (canvg) -> embedPng, text handle "@paws.iin.harmony" kept as fallback when fetch/raster fails. 2 commits (
3a67da7 ui, d9cf2fa pdf). 174/174 green, lint 0, tc clean, build OK.
2026-06-13
fix(editor) 2803cf7 — pathology-editor.html 404 in prod (faunosteo.com/pathology-editor.html). Root cause: file at repo root, Vite bundles only index.html -> never in dist/ -> nginx SPA-fallback -> React "Page introuvable". Worked in pnpm dev (serves root files), hid prod gap. Fix: git mv -> public/ (copied verbatim to dist/), href unchanged (public/=web root). Verified via vite preview: /pathology-editor.html=200 text/html. CLAUDE.md + README folder maps synced. LRN-029 captured. Pushed 97f8a92.
- Decided NOT to unify pathology-editor with svg-editor React-route pattern. BDR-022: asymmetry intentional (svg reuses app internals, pathology isolated zero-imports + produces prod JSON -> minimal-change zone). Verified editor fetches same prod assets as app (/species/equine/{pathologies.json,Horse.svg,Horse_head.svg}, all in dist/). No code change.
2026-07-12
/tour full sweep — branch chore/tour-2026-07-12, 11 commits, UNMERGED (human review pending). Security: CVE deps patched (pnpm audit 0), SVG import sanitized both editors, container non-root (BREAKING: PORT >=1024), nginx:1.31-alpine pin, min-release-age guard. Clean: -93 lines dead code (canvg dep dropped), 3 dedup extracts, i18n dead keys purged. Docs synced (README/DEPLOY/CHANGELOG, incl. stale origin/master). 6 bugs quarantined -> BUGS-FOUND.md (worst: B-3 draft mirror write-only). 4 reconcile suggestions pending /reconcile. Report: .claude/audits/TOUR.md. LRN-030/031, EVAL-004 captured.
2026-10-08
SaaS migration kickoff. Step 0: 8 docs in docs/development/ (27-step plan, domain map, FE/BE arch, migration, tests, 9 open questions) — user validated + decided: no external users, no v2 compat obligation, equine only, 2 SVG assets kept, import anomalies into draft (no silent fix), self-hosted Supabase on adequate infra, design decisions gated by user (ChatGPT), manual report points confirmed. Step 1: 91 characterisation tests, 2 golden fixtures, CHARACTERIZATION_REPORT.md; 271/271, typecheck/lint/build green; host had no pnpm → corepack (LRN-032). Both committed on feature/step-01-characterisation-tests, validated.
- Step 2 (same day): app → apps/app (git mv, 144 R100), pnpm workspace, Node 24 + pnpm 10.13.1 pins, Dockerfile node:24 filtered build (unverified locally, no daemon), Gitea CI, WORKSPACE.md; 271/271, typecheck, lint, build green from root. Finish purged docs/superpowers (lib BDR-065) → restored under docs/history (BDR-025). Both steps merged into develop (
c8d48ab,4959602). BDR-023/024/025, LRN-034. User confirmed@faunosteo/app; working method set: harness owns gitflow/memory/quality, user gives step goals, design changes gated. Next: Step 3 on user goals.
2026-10-08 (session 3 — Step 3)
Step 3 Supabase foundation on feature/step-03-supabase-foundation (9 commits, pushed). Docker socket denied (BLK-006) → PGlite+pgtap harness (BDR-028). 3 migrations: foundation (private/audit, set_updated_at, append-only audit_logs, log_event), profiles (auth trigger, own-row RLS, column grants), platform_roles (4-value enum BDR-026, RPC-only writes audited BDR-027, helpers hierarchy). 81 pgTAP checks allowed+denied; packages/supabase (client PKCE, types in gen format BDR-029, schema↔types test); app env.supabase null-safe, lib/supabase.ts, entrypoint/env.example; CI supabase job; SUPABASE.md. 278+13 tests, typecheck/lint/build green. Not run: real stack, gen types, seed. LRN-035/036, EVAL-006. Next: user validation; Step 4 (sheet model) parallelizable; Docker access for real-stack proof.
- Same day, Docker access granted by user: real stack up, pgTAP 81/81 after seed-agnostic fix, gen types adopted (prettier pipe), REST script verified, db reset OK. BLK-006 resolved, EVAL-007, LRN-037. Branch still awaiting user validation before finish.
- Step 3 validated by user (session 4). chore/supabase-cli-gitignore finished into develop. Step 4 (sheet model) started on feature/step-04-anatomical-sheet-model.
- Step 4 (session 4): spec docs/development/ANATOMICAL_SHEET_MODEL.md; packages/domain (Zod doc strict, 17 integrity rules, 60 tests, opus executor); migration 20261008110000 (species, sheets, immutable versions, assets, 11 RPCs, RLS) + pgTAP 005 (95 checks); types regenerated on real stack (Docker now OK), pgTAP 176/176 real + PGlite; publishSheetVersion gate; docs synced. 5 commits on feature/step-04-anatomical-sheet-model. BDR-030/031/032, LRN-038/039. Verifier + security gates dispatched. Next: user validation, Step 4b importer → equine draft.
- Gates: verifier ECARTS(5) + security BLOCK(1) on first pass (private EXECUTE never revoked = BLK-007, foundation flaw). Fixed: hardening migration 20261008110100, explicit revokes + pgTAP census, set_sheet_visibility RPC, no direct draft DELETE, caps, authz-first, counter, asset copy scoped, SQL check split, url http(s) only. Real stack 210/210, root check green. Fresh verifier re-dispatched on the delta.
2026-10-09
Step 4 validated + finished into develop. User decisions on the 7 open points → BDR-033 (follow-gated use, verified publication, no auto-deprecation, platform-owned official, kind rename, server validation, erasure path). Step 4b on feature/step-04b-equine-import: packages/anatomy importer (opus executor, 25 tests) → seed equine v1 as DRAFT (27 ann / 26 linked / 792 nodes / 612 leaves / 41 vet, 0 integrity issues, 18 anomalies reported, ssb-dysfunctions flagged); Storage migration + policy through the sheet, shim storage tables, harness applies seed/**, pgTAP 006/007 (238/238 real stack), assets uploaded + REST/Storage checks (owner 200, alice/anon 400). BDR-034, LRN-041. Gates dispatched; stop for user validation before Step 5.
-
Gates 4b: verifier ECARTS(4) + security PASS/MEDIUM → fixed same session (confirm_sheet_asset_upload + uploaded_at in read predicate, 27 anomalies declared, seeds-listed test, Dockerfile manifests for domain/anatomy, docker build green). Real stack 256/256, Storage e2e verified. EVAL-009. Fresh verifier re-run on delta; stop for user validation.
-
2026-10-10 Step 4c on feature/step-04c-equine-curation: Docker
faunosteo_convention (BDR-035); schema v2 (references, review_status, count_range; migration 20261010100000, pgTAP 008); curation pipeline (executor) + review overlays; 4 research agents (skull, axial, limbs, osteo/legal) → 44 changes / 679 ops / 48 refs authored from scratch python modules; draft 811 nodes, 28 annotations, 0 integrity errors; 9 points moved, carpus added, 9 questions for the osteopath. Root check green, real stack pgTAP + types clean, docker build OK. BDR-036, LRN-042. Gates next; stop for user validation; no publication. -
Gates 4c: verifier ×3 (4→2→1 écarts, last 3 doc lines fixed by hand at cap), executor closed the applier rule + typed tests; security PASS (LOW url scheme → SQL rule
reference.url.scheme). Real stack 267/267, Storage e2e OK. EVAL-010. Awaiting user validation;.env.exampleCOMPOSE_PROJECT_NAME left to the user (file denied). -
Step 4c VALIDATED by user 2026-10-10 → tracking: head view check documented (spec §6), BLK-008 migration limit, BDR-037, DEPLOY.md
.env.examplenote. Finished into develop. Next: Step 5 (app on the canonical sheet), design points flagged before any UI work. -
Step 5 preparation (2026-10-10): 4 analyzer agents (core/store, rendering, PDF, tests) + plan/spec reading → docs/development/STEP5_MIGRATION_ANALYSIS.md on chore/step-05-migration-analysis. Key facts: all 27 legacy data-anno-ids differ from canonical ids; 170/612 legacy finding paths moved/removed by curation → generated report-migration-map; markers never drawn by the app (in the SVG); PDF depends on markers only for the highlight; 66 tests import the registry. 8 decisions D1–D8 await the user. No implementation.
-
Step 5 implemented (2026-10-10, feature/step-05-app-on-canonical-sheet): domain report v3 + migration (80 tests), pipeline migration map/sheet-ref/app review drawings + layer renderer (110), app rewritten on the sheet (99 tests: service, store, provider, canvas, pickers, PDF v2/v3, route), legacy code removed, docs rewritten (ANNOTATION-RENDERING.md replaces the SVG convention). Root check green, docker build OK, real stack 267/267, default build carries no sheet. BDR-038, LRN-043. Gates next; awaiting user validation.
-
Step 5 gates (2026-10-10): verifier 36→4→4 (real gaps closed by 2 executors + doc fixes; cap reached, last test lot unverified by a 4th pass), security PASS (2 LOW fixed: prototype keys, size caps). EVAL-011. Final check green. Awaiting user validation; no publication; default build carries no sheet.
-
Step 5 addendum (2026-10-10, user testing manually): per-leaf migration tests (612 leaves, anatomy + app + PDF roundtrip),
pnpm report:comparearchive check tool (privacy default, escaping), stalescaffold:speciesscript removed, attachment read/parse split. Gates: verifier 2→1→CONFORME, security PASS ×2 (2 MEDIUM + 4 LOW fixed by executors). EVAL-012, LRN-044. Branch 14 commits ahead, not merged; awaiting user validation; no Step 6. -
Step 5 user validation (2026-10-10): all paths OK. One defect: findings picker text blurry on screen. Root cause (headless Chromium measure): permanent
will-change: transform, opacityon the picker list + fractional offset inside height-animated card → composited text resampled; PDF unaffected. Hotfix1f0b710: prop dropped, regression test (app 182). Security PASS, docs NONE. Full check green. User signal → finish Step 5; carpus + moved points noted, 28 annotations NOT a final catalog (enrichment with the osteopath + future editor later). Step 6 to present, not started.
2026-10-10 (session — Step 5 closed, Step 6 analysis)
Step 5 validated + closed by user; LRN-045 (permanent will-change blurs text) written on develop. Step 6 analysis on chore/step-06-pdf-archive-analysis: 3 analyzers (PDF pipeline, data model, app/tests) → facts: export reads live SheetIndex (labels, views, asset, all annotations of view), 4 fetched logos + 3 hard-coded URLs, DOM in drawing/highlight/raster, attachment = bare v3 Flate'd by pdf-lib, getAttachments dead on pdf-lib 1.17.1, no report↔sheet check anywhere. Measured: lean snapshot envelope 172 KB raw / 51 KB stored (3 obs), 228 / 54 worst; SVG = 90% of stored. Plan: snapshot = lean AnatomicalSheetDocument + assets inline (reuses index/renderer/integrity rules), packages/pdf engine (xmldom compose promoted from app-review.ts, Rasterizer + Branding inputs, no DOM lib), envelope v1 layered reading (report never lost), rebase on import/restore keeps report.sheet == snapshot.ref, export-side caps. 3 plan-challengers GO WITH FIXES (16+19+13 findings folded in). docs/development/STEP6_PDF_ARCHIVE_ANALYSIS.md; TODO 6.0–6.7. Awaiting user decisions D1/D4/D6/D7/D8/D10/D12/D13; no implementation.
2026-10-11 (Step 6 implementation)
User validated the Step 6 analysis with D7 (branding archived), D8 (imported snapshot kept, explicit rebase, no new UI without UX gate), D13 (explicit import messages). Analysis chore branch finished; feature/step-06-pdf-archives. Part II contract (exact types) + BDR-039. Phases by executors: 0 freeze (39 goldens, demo fixture, bare v3 PDF, route characterisation), 1 domain (archive/{snapshot,envelope,branding,labels}, sheet-index moved, rebase, bundle asset hashes), 2 anatomy (composeViewSvg + highlightLayer promoted from app-review), 3 engine packages/pdf (xmldom composition, allowlist sanitiser, safeText, Rasterizer, envelope v1, layered reader, resvg test), 4 app (export/import on the engine, archive in session osteo:archive, rebase + 4 messages, legacy modules removed). Verifier ECARTS(31, all my contract's oracles/scope) → CONFORME. Security BLOCK(1) HIGH (URI injection via archived branding) → 4 fix loops (hex URI → ASCII hex after poppler regression, URL schema, export re-validation, PNG IHDR budget → chunk allowlist + IEND → native IDAT inflation against exact raw size + IHDR fields, CSS escapes, NaN, file.size) → PASS. Docs: PDF-FORMAT.md real, CLAUDE/README/WORKSPACE/DEPLOY/CHANGELOG. 656 tests, build + docker green. Sizes: demo envelope 55 KB stored no logos / 136 KB with archived branding (306 KB raw). LRN-046, BLK-009, EVAL-013. Awaiting user validation + UX decision for re-export of the kept archive; Step 7 not started.
2026-10-11 (Step 6 manual-test feedback)
User: step not merged; findings-picker text still blurry; footer logos absent in their PDFs; decisions: re-export from archive wanted (UX to propose), restore-rebase must be visible, exact labels to validate; BLK-009 analysis. Done on feature/step-06-pdf-archives: logos NOT reproduced (real export in headless Chromium dev/preview/Docker image + Firefox 157 engine harness: 4 logos embedded, 0 warnings, poppler + pdf.js render them) → branding bundled into the app (src/assets/brand, ?inline/?raw, no fetch at all) + export returns warnings + editor.export_warnings alert (293a6e0); blur NOT reproduced (headless Chromium/Firefox, DPR 1/1.25/2, scrolling 9-leaf list, CDP LayerTree: no composited layer, no lingering animation/will-change; headed runs on the user's Wayland display failed to capture) → analysis + A/B recipe for the user; restore rebase alert editor.draft_rebased (e8f1734); docs/development/PDF_IMPORT_HARDENING.md (byte-scan reader + no object streams now; worker/parser later) (5ed4a4b). Root check 660 tests, build, docker green. Awaiting user: browser/zoom for the blur, UX choice for re-export, label validation.
2026-10-11 (Step 6 closure)
User round 2: logos OK, picker text crisp, flows OK → STEP 6 VALIDATED. Decisions BDR-040: re-export-archive button refused for good; restore-rebase alert approved; import headlines full/partial (62b8a43). BLK-009: byte-scan attachment reader + export without object streams (60ee712), verifier CONFORME, audit PASS+2 MEDIUM → slice-fed inflater + candidate budget (3a6e926), focused re-audit. EVAL-014. Then: gitflow finish into develop, release/0.2.0 prep (Milestone A) up to the human go; Step 7 not started (UX/design to discuss with ChatGPT first).
2026-10-11 (Step 7 implementation)
User: mockups validated (external, not in repo), implement Step 7 on a branch. feature/step-07-identity-app-shell off develop (release/0.2.0 still open, awaiting go). Foundation: packages/supabase auth/profile/roles services (closed AuthFailure kinds), migration 20261011100000 professional columns + pgTAP 009 (PGlite 22/22, real stack 280/280, types regenerated), config.toml TOTP on + google/apple via env(), APP_AUTH_PROVIDERS. App: authStore + localeSync + AuthProvider, routes /login /signup /forgot-password /reset-password /auth/callback, guards, AppLayout (sidebar / top bar / drawer), dashboard (profile completeness, local tool, account), Mon compte (4 sections, one save each), Home entry when configured. Tests 277 app + 24 supabase, lint 0, typecheck, build, docker OK; impeccable detect clean; headless e2e against the local stack 20/20 (guard, login, account save, SIRET error, language, mobile no overflow, drawer, logout, signup → Mailpit confirmation → /app, recovery → reset → login). Docs: IDENTITY.md, CLAUDE.md, SUPABASE.md, CHANGELOG, plan note. BDR-041, LRN-047. Gates (verifier, security) dispatched; awaiting user validation; .env.example edit denied (file rule) → user adds APP_AUTH_PROVIDERS=. Gates: verifier ECARTS(2) → safeNextPath parser-escape fix (+5 tests) + contract CHECK scoped → CONFORME 16/16; security PASS (MEDIUM = same redirect; LOWs: sign-out failure alert, reauthentication_needed kind, prod redirect allowlist doc). EVAL-015. Real-stack pgTAP 280, build, docker green. Stop: user validation.
2026-10-12 (Step 7 closure)
User validated Step 7 (all screens, flows, FR/EN, responsive; Home-without-sidebar accepted). Mockup file dropped at root → docs/design/faunosteo-etape7-maquettes-validees.png + README (deltas vs step, owning steps); CLAUDE.md design-reference rule; IDENTITY.md pointer. BDR-042; TODO 7.10 follow-ups (MFA gate, verification ≠ SIRET, OAuth real tests, tool integration). Final check green; gitflow finish into develop. Next: Step 8 files foundation, awaiting user go (Q2 hosting/edge-runtime decision shapes the SVG sanitizer).
2026-10-12 (Step 8 analysis)
User: Step 7 closed; Step 8 = files foundation + Storage, analysis before implementation; Q2 settled (self-hosted first, managed later); 8 private buckets closed by default; quarantine + server validation; allowlist SVG; avatar in Mon compte; release 0.2.0 kept = Steps 3–6, identity → 0.3.0, check deploy triggers before finishing. Done on chore/step-08-files-analysis: docs/development/STEP8_FILES_ANALYSIS.md (assets table authority, server-built keys, quarantine prefix, worker faunosteo_worker sharp + pdf sanitiser, policies through assets, Storage API signing under RLS, sweeper/reconcile, file volume + restic backups, managed migration by rows, 10 security answers, scope, tests, risks, D1–D8); 3 plan-challengers dispatched. Release check: CI on push main/develop only, no tag trigger, no deploy job; hooks push only; VPS deploy manual; default 0.2.0 build has no sheet → never redeploy the live tool from main without SHEET_BUNDLE=draft. Awaiting user: D1–D8 + Step 8 go; release finish go.
2026-10-12 (Rust-by-default review)
User: new permanent rule, Rust preferred for everything equivalent or better, existing code included; study + roadmap before Step 8 or any migration; nothing implemented. On chore/step-08-files-analysis: 4 analyzers + 3 researchers (scratchpad reports) → docs/development/RUST_ARCHITECTURE_REVIEW.md rev 1 (6a078da) → 3 plan-challengers (61 findings, 2 blockers: deletion schedule vs surviving TS consumers; CSP/VPS deployment facts) → rev 2 folded. Outcome: A/B/C classification (B empty), 3-crate workspace, Rust worker design (keyless parent, traced seccomp, libwebp in child), roadmap R0–R5 with end criteria + rollback rows, 13 decisions D-R1..D-R14. Memory: BDR-043, LRN-048, EVAL-016; CLAUDE.md "Rust by default" section; TODO Rust block. No cargo on the dev host (owner installs rustup at R0). Awaiting owner validation; release 0.2.0 untouched.
- Same day: owner validated the Rust orientation (10 principles, BDR-044), asked the expanded decision table + R0 scope before validating D-R1..D-R14 → Annex A (13 decisions: recommendation, alternatives, pros/cons, risks, consequence, impact tags) and Annex B (R0: Docker builder image as the reference toolchain, rustup optional locally, workspace skeleton, worker image, CI job, 7 experimental proofs kept as tests, exit criteria) appended to the review. Nothing started; awaiting the 13 validations.
2026-10-13 (Rust R0 delivered)
Owner go (BDR-045): chore/step-08-files-analysis finished into develop (Annex C), feature/rust-r0-foundation. Built R0 through the Docker builder only: workspace (core, wasm, worker), proofs (float_roundtrip finding, trap/fresh-instance behaviour, musl + libwebp 1.6.0, seccomp 7 syscalls derived by strace on the release binary, CSP 'wasm-unsafe-eval' proven in Chrome 156, 225 KB / 85 KB gzip module), packages/core-wasm (14 proofs), CI (rust job, worker test stage, advisories nightly, manual release-images), docs (RUST.md, DEPLOY digest deploy prepared, CLAUDE/WORKSPACE/TEST_STRATEGY/CHANGELOG). Gates: verifier ×3 (oracle gaps only, CONFORME in substance), security ×3 (1 HIGH + mediums fixed; my first fixes introduced 3 mediums, fixed; follow-ups documented). Root pnpm check 777 tests, live deployment untouched, frontend loads nothing. BDR-046, LRN-049, EVAL-017. Stop: owner validation of R0; R1 not started; release 0.2.0 pending.
2026-10-13 (R0 correction: native toolchain)
Owner brief: dev = Ubuntu native server, Docker for services/isolation/images, VPS separate, no CI active. Host audit: rustup 1.29.1 already user-level, rustup show auto-installed 1.99.0; added wasm32 target, wasm-bindgen-cli 0.2.129, cargo-deny 0.20.2 (--locked, 100 s, no sudo, no package missing). Scripts moved docker/ → scripts/ (rust-check.sh, wasm-build.sh, PATH guard rust-env.sh), root rust:check/wasm:build native, :docker variants, pnpm check:all single pre-merge gate (+ warn-only advisories, porcelain drift gate). Worker unit tests now in the native check; sandbox/seccomp stay Docker. SAFETY comments rewritten as invariants (no [gated]), stride checked_mul, prctl args as c_ulong. Workflows kept, marked prepared/never executed. Docs: RUST.md §1/§4/§5.8/§6, CLAUDE, README, DEPLOY, WORKSPACE, TEST_STRATEGY, CHANGELOG, review C.1. Gates: verifier ECARTS(2 prose) → CONFORME; security PASS ×2 (fixes landed). check:all green ×2. BDR-047, LRN-050, EVAL-018. 7 commits on feature/rust-r0-foundation, pushed. Stop: owner's final validation; R1 not started; no deploy, no release.
2026-10-13 (Step 8 = Rust R1 delivered)
Owner validated R0, go for R1 with D1–D9 (D1 Rust worker, D3 top-bar avatar). gitflow finish of R0 refused by the classifier → R1 branch feature/step-08-files-foundation cut from the R0 tip (owner finishes both). Delivered: migration 20261013100000 (assets, 7 private buckets, avatar policies through assets, purge queue, 11 RPCs, lease token, per-account byte budget + bytes-present ceiling), pgTAP 010 (140), worker R1 loop (ureq, config/log/keys/backend/http/job/sweep/watchdog, 11 loop tests, child untouched, allowlist unchanged), TS assets layer + avatar UI (Mon compte, sidebar, drawer, top bar), real-stack e2e + runner, compose worker profile, STORAGE.md + docs. Gates: verifier CONFORME (pass 2), security PASS after 5 passes (1 BLOCK from my own fix), check:all ×4 green, e2e ×7, Chromium smoke 18/18. BDR-048, LRN-051, EVAL-019. Stop: owner manual validation; no merge, no deploy, no release.
2026-10-13 (R1 validated, merges, DEV on the LAN)
Owner: R1 10/10 validated, identity final (Faunosteo, faunosteo.com), env DEV/STAGING/PROD, permanent LAN-access rule. gitflow finish R0 then R1 → develop (linear graph, two merge commits, branches deleted). chore/dev-lan-access: DEV origin centralised (scripts/dev-env.sh, CLI wrapper, pnpm dev on the LAN, config.toml via env()), ENVIRONMENTS.md, docs, CHANGELOG. Verified: GoTrue/Studio on the LAN address, signup mail link on the LAN, probes from a separate Docker network (app/api/mailpit 200, studio 307), 10-step procedure in headless Chromium at http://192.168.1.100:5175 computer + phone 26/26 with URL audit. Firewall state unreadable (no sudo) → proposal to the owner (54322 loopback, 54323/54324 subnet). BDR-049. Stop: owner LAN validation + R2 go.
- Same day, LAN least privilege (owner brief): measured from a distinct Docker network → Mailpit open without auth, PostgreSQL open, Studio open. Built DEV gateway (nginx, API + Mailpit basic auth on the LAN address),
pnpm dev:gateway,pnpm dev:net-check; gateway proven on alternate ports. Pending owner authorisation:~/.config/docker/daemon.json {"ip":"127.0.0.1"}+ rootless daemon restart (daemon-wide, only Faunosteo containers on it). LRN-052. Branch not merged; R2 not started. - Same day, owner applied the UFW rules (ENVIRONMENTS.md §3.2) and verified from another device: 54322, 54323, 54324 refused, 54321 answers; app served by the owner's
pnpm dev. Allowed surfaces 5/5 by dev:net-check. Remaining: owner's 10-step run on computer + phone, then merge go and R2 go. - Owner validated the 10-step path on computer and phone over the LAN; merge go for chore/dev-lan-access. R2 not authorised yet.
2026-10-14 (Rust R2 delivered)
Owner: LAN validated, R2 go (brief 2026-10-13), 4 new strings validated (recommended wording). feature/rust-r2-domain-core off develop 1a7ee7d. Plan + 3 challengers (45 findings, 1 blocker) → rev 2. Freeze first (envelopes, N-1 copy, Zod oracles, characterisation 84 + verdicts 765 + editor 49 + conformance 26), contracts byte-equal, rules by 3 worktree forks, runtime (lazy, poison, offline recovery, BUILD_STAMP), app switched (sheet, store, click chain, pickers, import, export snapshot, publish gate fail-closed), quarantine, degraded states, Docker wasm stage + gzip_static, CSP proof on the image 15/15. Verifier 12/12 + floor 2 (deleted tests, owner micro-gate); security PASS → by-ref deserialisation (module 341 KB gzip). check:all green. BDR-050, LRN-054, BLK-010, EVAL-020. Stop: owner validation, no merge, R3 not started, release 0.2.0 untouched.
2026-10-14 (R2 closure)
Owner: manual 10/10 validated, R2 accepted (architecture, migrations, contracts, perf); L1 refused (silent U+FFFD). Costed preservation (own JSON reader + lossless string type) → owner chose refusal + quarantine, detailed import wording. Fixed: core refuses lone surrogate as lone_surrogate (draft/archive quarantined verbatim, import refused with message, action refused, gate invalid_shape). Deletions proven covered (12+1 Rust tests + 49 oracle cases; stale module fails suites). Worktrees verified recoverable-free. Gates: verifier CONFORME 13/13, security PASS 6 LOW; check:all green. BDR-051, LRN-055, EVAL-021. Next: finish into develop, worktree cleanup, R3 summary (not started).
- Same day: owner go honoured →
gitflow finishR2 into develop (c3f28d8, pushed, branch deleted); 3 agent worktrees + temp branches removed (BLK-010 resolved). R3 summary presented, not started; release 0.2.0 untouched.
2026-10-14 (R2 maintenance)
Owner brief: maintenance before R3. bugfix/r2-maintenance: rustls 0.23.46 (4 advisories, none reachable: ring no ML-KEM, no ECH/brotli; e2e on new image, compose worker paused then restarted), supabase/.temp/cli-latest untracked, session texts held when set-aside fails (owner chose resolution panel + banner; quarantine UI deferred). Found 2 extra overwrite paths (mirror removed draft on any store change; newest-only slot overwrite). Editor effect loop (OOM) from per-render deps + fresh array setState → attempt guard. Verifier 11/11, security PASS 4 LOW fixed, check:all green. Merged into develop. Next: R3 plan + freeze.
2026-10-15 (Rust R3 delivered)
feature/rust-r3-anatomy-core: plan rev 2 after 3 challengers (32 findings; blocker = roxmltree recursion, measured overflow < 3,000 levels on 1 MiB → markup prescan before any parse). Freeze first: O1 canvas trees, O2 layer order, O3 36 highlights, O4/O5 36 hostile + 10 floods + 4 product SVGs, Chromium refs. Rust reader (prescan, tree, allowlist, reference graph, serialiser), layer, canvas/highlight compose, view.canvas; app canvas switched, denylist + anatomy dep deleted. All oracles green, mutation-checked; Chromium DOM = O1, 30/30 pixel-identical; module 396 KB gz (+56). check:all green. Gates dispatched; stop for owner validation, no merge, no R4.
- Same day: gates. Verifier CONFORME 11/11. Security PASS + MEDIUM (prescan closer searched inside its opener,
<!-->hid 5,000 levels → stack overflow) fixed; pass 2 PASS (4M differential docs) + LOW url( whitespace fixed; verifier re-run CONFORME. Final check:all green, Chromium 30/30 identical. BDR-052/053, LRN-056, EVAL-022. Stop: owner LAN validation. - 2026-10-15 owner UX decisions on R3: unnamed trigger names per language (contract doc first, Rust layer, declared change applied to frozen oracles, goldens untouched); canvas engine failure (retry) vs view failure (own message, no retry). check:all green, Chromium 30/30 identical + DOM = O1 (declared), verifier CONFORME 8/8, security PASS 0 findings. Owner LAN tests in progress; no merge, no R4.
- 2026-10-15 owner validated both UX fixes + retry on internal; asked 3-attempt cap then clear failure state: found canvas + 8 alerts would still offer retry after cap →
CoreRuntime.stopped+core.stoppedmessage, no retry. BDR-054. R3 not merged (LAN tests pending). - 2026-10-16 owner asked final independent audit of
0279953(stopped state): not satisfactory (unsaved draft promise false, 4 dead retries, recovery dead end). Owner choices: unsaved variant + core-free copy, reload button, copy on save banner, beforeunload, "plusieurs erreurs". Fixed6371523(runtime self-restart below cap, CoreStoppedNotice on core pages, FAILED not held, ESLint census); verifier CONFORME 12/12, security PASS. BDR-055, BLK-011, LRN-057, EVAL-023. R3 not merged (LAN pending), no R4.
2026-10-17 (R3 final checks)
Owner brief: 5 checks before R3 close. Copy round trip proven, no in-app restore → Home import reads copy via draft.restore. Loop: fuzz 37k 0 traps (OOM ~50 MB only) → defended: trapping pair held in panel, re-read only on Retry. Work loss: guard app-wide, replace dialog on New report / Import. GC finalizer harmless, bounded, recorded. 9bd9aca; verifier 10/10, security PASS, check:all green. BDR-056, BLK-012, LRN-058, EVAL-024. R3 not merged (LAN pending), no R4, no release, no deploy.
- 2026-10-17 owner LAN acceptance R3: all functional + graphical tests passed, go to merge. Docs: RUST.md status (R2, R3 validated), §9 status, CLAUDE.md, CHANGELOG heading, README rescue copy bullet (copy ≠ archive of record) →
db8c0ef.gitflow finish→ develop8df964b(pushed, branch deleted local + origin). check:all green on develop (Rust, wasm, Node 1015 tests incl. app 405, build, Docker app + worker). Residuals stay in BLK-011/BLK-012. R4 not started; release 0.2.0 untouched; no deploy. Waiting owner instructions.
2026-10-17 (R4.0 plan)
Owner go R4.0 (A1-A13: one branch + J1, old PDFs preserved, years 0-99 kept, Producer/Creator Faunosteo, goldens/r4, 0 px diff, import message kept + kinds split, copy via worker, Firefox/WebKit, report:compare name, TTF/scope_disclaimer/caps out, WASM stop, real PDFs). chore/rust-r4-plan: plan rev 1 → 3 challengers (19 major, 0 fatal) → rev 2. Facts: Rust lossy UTF-8 = TextDecoder (200,015 cases, 0 diff); serde_json refuses 1e400 (JS → null) → rewrite; TS embedPng holds RGB planes until save (≈ 3.8 MB/view) → session ≈ 0.37 MB/view; import already needs DecompressionStream (Firefox 113, Safari 16.4); glue module record retains instances (no throwaway instance). Firefox 157 Playwright OK, WebKit needs 2 apt libs. No code. Stop: owner validation, OD-1..OD-7.
2026-10-18 (R4 prerequisites)
Owner validated R4.0 plan with conditions (BDR-057, plan §A.6, LRN-059/060). R3 state checked: merged 8df964b, branch gone. chore/rust-r4-plan finished → develop ae17097. Hotfix bugfix/pdf-download-webkit 2b8000e: downloadBlob (anchor attached, URL revoked after 30 s) shared by rescue copy + PDF export; 3 challengers SOLID, app 405, security PASS, RUST.md 8.7 synced. Playwright WebKit 27.2 now starts (owner installed libs); desktop WebKit/Firefox/Chromium save the PDF even with immediate revoke → fix unproven until owner iPhone run. Stop: owner iPhone validation + CHANGELOG wording, then merge, then feature branch.
- 2026-10-18 owner iPhone run of the Safari fix: all OK → check green (1015) → gitflow finish
fcff92b. Owner go R4.1: feature/rust-r4-pdf-core cut from develop. - 2026-10-18 R4.1 freeze done on feature/rust-r4-pdf-core (eff5405..4439fd2): O1-O13 generators + oracles committed, ledger 299 rows (150 ported / 28 replaced / 88 kept / 33 deleted), browser harness scripts/browser (Chromium 156, Firefox 157, WebKit 27.2, 4 GiB RSS watchdog = not guaranteed limit). TS baselines: CAP export stopped by ceiling in all 3 engines, L peak content 0.8-1.35 GB, import 226 files same outcome everywhere; O9 browsers = Node on 26 rows. Repo +5.92 MB stored vs ~5 MB approved. Frozen step6/r2/r3 goldens untouched. .gitleaks.toml narrow allowlist for compare.json. Next: checkpoint report to owner, then R4.2.
- 2026-10-18 owner validated R4.1 (fixtures 5.92 MB kept incl. real raster; gitleaks exception OK if narrow; decoy-first OD-4 kept in register, risk to explain before R4.3; UPNG/text oracles kept; headless OK for R4.1). Go R4.2 (reader, inflate, JSON pre-scan, UTF-8 parity, wasm facade, memory protections). Hard stop end of R4.2 before any import switch; budgets whole-browser; gains compared on identical perimeters. No merge, no R5, no release/prod.
- 2026-10-18 R4.2 done on feature/rust-r4-pdf-core (21d34fb..): pdf::read (scan, strings, stamp, inflate, probe), json_js, import_pdf, SheetHandle.import_pdf; O7 144/144, O9 38/38, O8 51 (4 declared: 3 OD-4 lone surrogate in overwritten dup value, 1 OD-3 values-1m), reference PDFs all import, through wasm too. OD-3: MAX_JSON_VALUES 400,000 (10 × CAP envelope 39,652), rescue copy guarded, --max-memory 1 GiB trap proven; hostile 16 MiB: 784 MiB → 16 MiB linear. Security gate BLOCK(1) (count stopped past depth cap → bypass) fixed
593893a, re-gate PASS. Browser run 3 engines: 666/678 agree, W4 max 68 MiB, W2 46 ms; open: after-GC residue 11.7 MiB first import (one-time), worker holds file twice on 50 MiB inputs (WebKit 324 MiB). Module 422 KB gzip. STOP before R4.3: owner to confirm thresholds. - 2026-10-18 owner validated R4.2 (BDR-058): thresholds 400,000 / 1 GiB final; R4.3 go on feature branch; app import switch gated on the 20–50 MiB file memory fix (WebKit 324 vs 76 MiB) re-measured on 3 engines, and leak series (init apart, ≥ 5 imports, ≤ 10 MiB recurring). LRN-061, LRN-062 written. Next: R4.3a bytes API + streaming read, worker protocol, HomeRoute, CSP proof, series measurements.
- 2026-10-18 R4.3 done on feature/rust-r4-pdf-core (52471db..b08373a): FileBytes sink + import_pdf_bytes/restore_copy_bytes; worker protocol v1 (task/chunk/ack/end → ready/result/failed), page reads file in 1 MiB BYOB chunks (amendment B.1.5: WebKit worker file read ≈180 MiB), client timers + settle-once + terminate, controller, HomeRoute switched, B.1.8 messages pinned on O8/O7/O2/O3 via in-process worker, 6 suites migrated (458 app tests). Security gates: reader PASS after fix, worker PASS 7 LOW → hardenings
8ddf185. Browser proofs on dist: 666/678, W5 0 long tasks, CSP with/without OK; 50 MiB WebKit 145 vs TS 76 (was 324); leak series Chromium OK, Firefox sawtooth reclaimed, WebKit grows with same-tab navigation (control too). DEPLOY note, R4_J1.md + kit script. Open for owner: WebKit large-file gate, WebKit leak criterion. Next: owner decision, J1 on devices. - 2026-10-18 owner: J1 authorised with both WebKit reserves (BDR-059), cap 50 MiB kept, no streaming scanner, criterion 10 MiB / 5 imports kept with same-page vs navigation split + control. Kit generated (../faunosteo-j1-kit, 13 MB, L report as rescue copy for the 42 MB export), R4_J1_RESULTS.md template. STOP: waiting for device results; no merge, no R4.4.
- 2026-10-18 J1 partial: owner ran the functional checks on a computer, no failure (browser/version, timings pending); iPhone not available, deferred → stays NON TESTÉ, blocks final R4.3 acceptance (OD-6). Proposed: continue R4.4 on the branch with the iPhone J1 as a blocking item before any merge; waiting for the owner's decision. No merge, no R4.4 started.
- 2026-10-18 R4.4 done (
70007e0,1550d21): pdf::write text/afm_data/dates (O4 55,992 widths bit-exact, 1,168 wraps, safeText every code point, upper 1,580 = Rust to_uppercase, O5 tables, O6 6,468 cells), input checks, layouts → DrawLog; O1 12 runs 2,124 calls equal, step6 text/images 24 derived. Layout L 3 ms, CAP 24 ms release. Nothing wired, module size unchanged. STOP before R4.5. - 2026-10-18 owner validated R4.4; R4.5 go (BDR-061). Subtasks R4.5a-f in TODO. Tooling present: qpdf 12.3.2, poppler 26.01 (pdftoppm, pdfdetach), crates.io reachable.
- 2026-10-18 R4.5 done (d420f67..b44dd80): content emitter (60 streams byte-equal, numberToString 703 + V8 pow10 quirk), PNG gate + UPNG decoder (O6 108/108), own object writer (pdf-writer dropped: numberToString everywhere, no dep), serialiser, export + self-check, from_envelope; O2 14 runs equal (streams after B3, planes, links, Info, attachment), qpdf clean, poppler 0 px, O11 + N-1 + TS reader read R4 PDFs, wasm = native digests; Node TS→Rust demo 198→36 ms, L 772→57, CAP 5.7 s→0.22 s; writer linked 531.6 KB gzip (proofs build), shipped 426 KB. Gate PASS 4 LOW → hardenings. Open: one-shot path holds PNGs twice (R4.6 session must stream), L real rasters 5 s native (deflate 6), E3 judged at R4.6. STOP before R4.6.
- 2026-10-19 owner validated R4.5; R4.6 go (BDR-062). R4.6 done (9e688b6..): ExportSession (decode on arrival, chunked never-realloc file 1→8 MiB, catalog last, parts → Blob, self-check on attachment chunk), views.rs (compose_highlight requests, raster_size_of O4 57/57), wasm ExportSession + CoreExportSession, app export.ts on session (abort on unmount, User Timing), labels.ts; app suites read content streams (pdfRead.ts), app-path bytes = R4 digests (re-frozen: object order B2, hex upper-case B4), Step 6 goldens via app path, 14 O2 runs through module = digests, request SVG = TS compose text, export Rust → import Rust / TS reader / N-1 ok. E3 Chromium demo 0.67, L 0.74 (Firefox 0.66/0.67, WebKit 0.91/0.95); E4 CAP completes 3 engines (TS stopped by ceiling); peaks lower (L Chromium 805→470 MiB). Linear memory L real 62 MiB flat over 7 exports; Chromium per-export RSS growth ≈ 20 MiB on L same as TS control, plateau after 8. Shipped 519.7 KB gzip (W1). rust-check 0, pnpm check 1,099 tests, ledger 11 pending (R4.7). J2 kit + procedure. STOP before R4.7.
- 2026-10-19 owner accepted R4.6 provisionally (Chromium series = open reserve); R4.7 go (BDR-063). R4.7 done:
pdf::compare(featurecli),report-comparebin,scripts/report-compare.shbehind rootreport:compare, cargopdf_compare15 tests: O10 230 rows (158 exact, 72 declared A.3 → 62report document invalid, 7 surrogate refusals, 3version null), 11 scenario cases = ledger targets (301 rows, 0 pending), binary spawned 8×. Release binary 7 ms/PDF, 6 MiB RSS; module unchanged 1,535,289 B / 519,795 gzip. RUST.md §10.9, CLAUDE.md, PDF-FORMAT. STOP before R4.8. - 2026-10-19 owner validated R4.7; R4.8 go (BDR-064). R4.8 done: packages/pdf (70 files, 12,010 lines TS), TS CLI, TS import path, generators, ts-engine comparison deleted; deps pdf-lib / @pdf-lib / resvg / @faunosteo/pdf / tsx / @faunosteo/domain (app) gone, xmldom only under anatomy; test read-back on own
pdfFile.tsreader, view goldens from captured session SVGs, N-1 scanner exported via core-wasm/n-1, in-process import helper on module reader;r4.censussuite (8); ledger 301 rows from frozen TSV, 0 pending; app 427 tests, core-wasm 58; docs RUST.md §10.10, CLAUDE.md, README, PDF-FORMAT, DEPLOY rollback R4, CHANGELOG R4 entry, hardening §5 pdf-lib closed. STOP before R4.9.
2026-10-20 (R4.9 final checks)
Owner validated R4.8; R4.9 go. check:all green ×2. Memory bench (5 dims, 3 engines, rest windows, Chromium pressure + raster control): linear flat after init, all canvases/Blobs/URLs released, Chromium 20 MiB/L export = browser raster path (control identical, plateau after 8) → accepted temporarily, BDR-065. PDF_IMPORT_HARDENING §6 (20 rows). J1/J2 re-issued (OD-6 list, J1.13, J2.12-14, report:compare dry run identical), kits regenerated outside repo. Gates: verifier ECARTS → no-feature core build fixed + rust-check guard; §6 J2 row; security BLOCK(1) gitleaks marker = owner; serve.mjs wildcard bind fixed (3 re-gates), CLI bounded read. EVAL-025, LRN-065. packages/pdf/node_modules rm refused by permissions → owner. No merge, no R5.
2026-10-21 (R4.10 J1/J2 anomalies)
Owner results: Chrome/Firefox/Brave/Android run, Safari iOS not; J1.7 FAIL Firefox+Brave, J2.3 FAIL, rest PASS declared without browser split (declared column only, device cells NON TESTÉ). A: repro headless → serve.mjs lacked nginx Cache-Control on /assets/ (Chromium refuses cached worker chunk offline); fixed, harness r4-offline-import.mjs 6/6, negative run exit 1; picker freeze not reproducible headless → discriminating step in R4_MINI_RECETTE.md. B: nologos reference archive has null logo slots; editor export always uses bundled loadBranding() (same at 66909b6); J2.3 expected result wrong since R4.6 → owner decision, no code change. RUST.md §10.12, LRN-066. Gates dispatched. No merge, no R5.
2026-10-21 (R4.10 decisions, J1.7 rectified, ZenQuality logo)
Owner: J2.3 option 1 (current branding on editor export; expected result corrected, no engine/golden/oracle change); gitleaks [gated 2026-10-18] marker applied on owner's written authorization; R4.8 trace verified: 23 test files deleted by 0dc1ba2 (RUST.md said 21 → corrected), 22 in ledger, ts-engine test in §10.10, approval = R4.9 contract header + BDR-064. J1.7 rectified by owner: picker opens after ~60 s with system network cut, same via Ctrl+O → functional PASS, performance reserve, cause unclaimed; cache-header fix kept. ZenQuality footer logo: hotlink refused by documented CSP (VPS proxy, not docker nginx; faunosteo.com sends no CSP today; PDF unaffected) → bundled exact remote PNG, Footer test, r4-app-csp.mjs counts every violation (12/12 none), offline harness 6/6, app 429 tests. LRN-067. Verifier + security dispatched. No merge, no R5, Safari iOS pending.
2026-10-21 (R4.10 owner verdict recorded, scope + redaction)
Owner verdict: J1.7 PASS w/ reserve, M3 complementary, J2.3 option 1 final, logo bundle + CSP hardening validated, gitleaks marker valid (writing delegable), 23 R4.8 deletions authorized (21 = census error), Safari iOS real device only → BDR-066, RUST.md §10.11/§10.12 D, recette docs. Contract FILE SCOPE amended (itself, memory, redactions), criteria 9-12 added, none removed. Redacted /home/<user> + scratchpad paths in results JSON, contracts, README, history plan; harness now writes repo-relative distDir. LRN-068. Verifier left to orchestrator. No merge, no R5.
- 2026-10-21 R4.10 final: check:all green on 8943bf3; verifier CONFORME 12/12 (scope incl. contract itself, floor clean); security PASS (2 LOW: username readable in contract criterion 11 regex; pre-existing gated gitleaks allowlist). Waiting owner Safari iOS J1/J2 + explicit merge signal. No merge, no R5.
- 2026-10-21 R4.12 pre-merge fixes: D3 safeNextPath re-probes rebuilt path (dot segments → //host refused; 5 tests, 3 red on old), D1 worker on distroless static-debian13 (e2e:avatar 5/5), D6 DEPLOY http2 on with nginx 1.24 form kept (1.24 rejects
http2 on, proven nginx -t). check:all green; verifier CONFORME 9/9; security PASS (fuzz 218, 0 escape). D2/D5 → a11y chantier, D4 → backlog. STOP pre-merge; Safari iOS pending.
2026-10-21 (R4 closed and merged)
Owner: J1 + J2 PASS on computer, Android, real iPhone Safari iOS (declared as a whole; model/versions/timings/memory not given → marked missing, not invented); R4.12 validated; merge authorized → BDR-067. Consolidation 3a7937e: R4_J1/J2_RESULTS + MINI_RECETTE, RUST.md §10.15 (risk table, deadlines, final checks), PDF_IMPORT_HARDENING §7 (items 3/19 unblocked, 5/6/7/9/20 open), CHANGELOG headers, TODO R4.13. Final checks on 22bbfb4 (code identical through 3a7937e): check:all green 22:15:50 (app 434, domain 262, core-wasm 58, anatomy 131, supabase 40, worker TLS + debian13 digest), audit --prod clean, gitleaks 111 commits clean (tree: ignored .env.worker only), no local path/personal id, merge-tree clean, goldens 8b86b92 / oracles 4439fd2 / digests d492bf7 untouched, 51 deletions all 0dc1ba2. gitflow finish feature rust-r4-pdf-core → merge 96ae75e (parents 66909b6 + 3a7937e, 113 commits), develop pushed = origin, branch deleted local + origin, main 605ee7c untouched, release/0.2.0 untouched. Not done: release 0.2.0, deploy, DNS, R5, D2/D4/D5. Next: owner signal for R5 (entry: plan D-R5, packages/anatomy pipeline → crates/core, seed golden regenerated once).
2026-10-22 (R5.1 freeze + D-R5 study)
Owner: R4 bilan validated, R5.1 authorised (freeze TS pipeline, study D-R5, stop before Rust pipeline + fingerprint change). Branch feature/rust-r5-pipeline-core from 9c0117a. Two analyzers (inventory, documentSha256 census) → .claude/audits/R5_*.md. Oracles oracles/r5/{pipeline,ids,fingerprints}.json via r5.pipeline-oracles.test.ts (MAKE_R5_ORACLES=1; 6 cases, determinism two runs, ledger vs committed). Study scripts scripts/r5-fingerprints.mjs, packages/supabase/scripts/r5-jsonb-fingerprint.mjs; throwaway Rust experiment (scratchpad) reproduced every draft digest byte-for-byte, JCS 40 lines no crate, RFC vectors pass; jsonb round trip keeps B only. Found F1: js_number tie rounding (Grisu up vs ES6 even; 840.1692504882812, 7.4 % of float32 values; zmij matches) hidden by self-referential R2 oracle test → LRN-070, EVAL-026, not fixed (owner go). Plan 2026-10-22-rust-r5-pipeline-core.md, RUST.md §11, TODO R5.1 ticked. Recommendation: B on validated form + alias mechanism (old 27c7… stays valid, no visible migration). STOP at checkpoint. No Rust pipeline, no fingerprint change, no merge.
2026-10-22 (R5.1b F1 fix, R5.2 legacy importer in Rust)
Owner validated R5.1, decided D-R5 = B sha256-rfc8785-validated-v1 + aliases, F1 go, byte-exact port, frozen SVG bytes, ureq at R5.5 → BDR-068. R5.1b aed6b1e: js_number digits from zmij (edge only, no new crate), V8 oracle 44,322 rows (1,552 mismatches before → 0), zod_oracle now checks oracle bytes (red on old printer), rust:check + wasm + check green, no oracle/golden/digest moved. R5.2 03bdb5e: crates/core/src/curation (feature curation, 3,187 lines: Prettier string width table transcribed, JSON layout rules, table alignment, slugify via icu_normalizer NFD, uuids, legacy importer, IMPORT-REPORT) + import-equine --check|--out; legacy-import/ byte-exact (6 files), pipeline.json legacy parts equal, 10 synthetic TS cases, 968 Prettier probes; declared refusals: emoji width, malformed SVG, wrong-typed catalog nodes. Docs 82f1664 (RUST.md §11.9-11.11, CHANGELOG), contract 2026-10-22-rust-r5-f1-importer.md. Gates: check:all green 21:16:39, security PASS (5 LOW, report Map-index panic fixed), verifier CONFORME 12/12 → EVAL-027. STOP after R5.2 checkpoint.
2026-10-22/23 (R5.3 curated draft in Rust)
Owner validated R5.1b/R5.2, go R5.3, named pnpm r5:import-equine. e0f149b: crates/core/src/curation/draft (2,718 lines: schema, targets, fields, records, ops, rename, apply, migration_map, stats, seed, pipeline) + import-equine both folders + scripts/import-equine.sh; draft 5 texts + frozen horse.svg byte-exact (--check 12/0), 825 records, 46 changes, stats, migration stats 792/571/180/7/34, 612 leaves 442/141/29, 58 synthetic TS cases (oracles/r5/curation-synthetic.json, 9 byte-exact, 49 refused alike). Security PASS (6 LOW, 3 fixed). Verifier 4 passes: found null-on-optional, repeated keys, NUL touch-mark drop, symlink trailing slash, lossy UTF-8; all fixed or declared (RUST.md §11.12); pass 4 C1-C12 met, C13 doc gaps fixed after, not re-verified. check:all green 00:10:03. documentSha256 unchanged. STOP at R5.3 checkpoint; R5.4 on owner go.
2026-10-23 (R5.3 closed after 6 final gate rounds)
Owner validated R5.3 functionally, asked a fresh verifier on the final state, Object.prototype characterisation, migration-map debt kept + characterised, LRN/EVAL. 9901106/8654905: Object.prototype member = plain key, safe, test; debt test from TS-frozen cases; refusal reasons compared by stage; LRN-072, LRN-073, EVAL-028. Then 6 rounds (verifier + security + check:all each) on the final state, each finding real edge families via TS-vs-Rust fuzzing (up to 150,000 changesets): NUL field segment silent drop, stack overflow (8 segments, 64 levels, 200,000 values), non-exclusive --out, serde struct-as-array / enum-as-map (draft/shape.rs; R2 derives raised to owner, gated readers), non-list/non-object children, JSON.parse key order + big ints, proto segments, seed identity guard, reads confined to seed. Sixth round c6e0d85: CONFORME 13/13, security PASS LOW only, check:all green. LOW leftovers carried into R5.4. Next: R5.4 (owner go conditional on these checks: met).
2026-10-23 (R5.4 review files in Rust, 14 gate rounds)
R5.4: draft/{labels,changelog,review_report,drawing,overlay,app_review,svg_compare}.rs + curation/report_guard.rs (allowlist guard); CHANGELOG 1,114,533 B, REVIEW-REPORT, 3 drawings byte-exact, app-main.svg = R3 trigger-name rule only; --check 6/0 + 12/0, 1 declared. Gates: rounds 1-5 Markdown families → allowlist + 798-probe TS sweep; rounds 6-11 bounds (records 16 Mi weight charged per record, report tables 32 Mi summed, drawings 64 MiB projected per annotation + fixed parts); 12-14 docs. Final c4e717d security PASS, check:all green; eb667ad verifier 9/9 MET, only audit-prose FLOOR. LRN-074, LRN-075, EVAL-029. STOP at R5.4 checkpoint; R5.5 on owner go.
2026-10-23 (R5.5)
- R5.4 adjustments: FLOOR clarification + negative-proof script (21 audit prose requalified, evals.md:205 STUB declared), 4 MiB cap changes/references (+39 MB parse at 3.98 MB), serde tolerance characterised, no reader changed.
- R5.5:
upload-sheet-assetsRust (core rules pure, bin ureq), local-only destination, plan before write, no overwrite, confirm after verify; 12 stub tests + 7 unit. - Blocked: own run vs real local stack refused by permission layer, not retried; owner runs
pnpm e2e:sheet-assets. Fable gate agents out of credits → re-dispatched on opus. - Gates: verifier ECARTS(4)→fixed→C1-C13 MET; security PASS ×2; check:all green 21:47:11. STOP at checkpoint.
2026-10-24 (R5.5 close)
- Owner closed R5.5: real-stack e2e PASS 11/11 (owner's manual run). LOW fixes: Protocol final, broadcast DEV addr refused.
- BDR-069 serde: 3 v3 shapes refused at reader entry; all R2-R4/PDF/N-1 suites green unchanged.
- Found: DEV stack on CLI default JWT secret + 54321 LAN-open → LAN service_role (ENVIRONMENTS §3.6, owner decision). SQL confirm characterised, unchanged.
- R5.6 plan written, 4 decisions open. STOP.
2026-10-24 (R5.6 prep)
- Owner: R5.5 validated, D-R5.6 decided (compiled registry authority, 5 consumers, Rust sole generator at switch). DEV key risk accepted temporarily, separate hardening task.
- Fingerprint module inert + 9 tests; Rust draft value = frozen 12d7…74e2 first try. Switch as rehearsed patch (green), tree restored, --check 0 diff.
- Rehearsal found: fingerprint before drawings bound (order), loaded.rs/facade.rs outside approved files. STOP before switch.
- Correction: "patch rehearsed green" was false (green run predated generator/load parts; patch broke report-compare build). Verifier caught it; patch fixed, docs corrected. Lesson → EVAL-031.
2026-10-25 (R5.6 rehearsal)
- Owner: M1 option 1, 8-file scope, v0 kept without alias privilege. Rehearsed in detached worktree, seed switched there only (copy approved by owner at prompt).
- M1 in input.rs; equivalence one-way + fingerprint_verified (v1 recomputed at load, sha2 in wasm). Goldens reproduced byte-exact on switched sheet.
- Original contexts via pre-switch fixtures (O7, O10, R2, ledger, TS + app goldens); check:all 00:56:22 green switched.
- Slip:
pnpm formatrewrote append-only audits in worktree → reverted. Never format over .claude/.
2026-10-25 (R5.6 M1 fix)
- Cause M1: export sees only snapshot. Fix in build_sheet_snapshot via recognises_historical_stamp (private verified + recompute at use); input.rs strict, unchanged.
- null block refused, warnings allowed (is_publishable), canonical depth 128. Fresh worktree final: all gates green, security PASS, verifier CONFORME 8/8. STOP before activation.
2026-10-25 (R5.6 active)
- Owner authorised switch. Patch applied (sha = verified worktree), equivalence pub(crate), comments + trust boundary. Seed: fresh --out, 2 files copied (03e7f6ab, 0e991bc2), --check 0 diff.
- Switch commit
9e87016: rust:check + check:all green; security PASS LOW; verifier 13/14, ECARTS(1)=S7 pre-activation wording → Clarification. - Rollback measured: new v1 report on pre-switch build → rebased, 0 unresolved, notice shown. BDR-070, LRN-077. STOP, no merge, no R5.7.
2026-10-25 (R5.7)
- Owner validated R5.6, authorised R5.7. Census: anatomy 144 + domain 263 TS cases mapped; 15 anatomy contracts + 1 domain oracle only TS checked → ported to Rust first (+19 tests, curation_leaves.rs).
- Deleted anatomy, domain, TS upload script, legacy scripts; LEDGER.tsv 407 (256/149/2), FILES.tsv 112; fixtures moved sha kept; xmldom out; tsx left as vite optional peer.
- TS replay rehearsed at
59521dc+756b7ef. check:all green 03:58:13; security PASS 2 LOW; verifier ECARTS(2): tsx residue (owner), digest typo fixed. STOP before merge.
2026-10-25 (R5.7 pre-merge)
- Owner validated R5.7, accepted tsx as vite optional peer → C6 Clarification. Census now refuses
#[ignore]ledger targets (cd69f0e). 149 replaced rows checked active, 2 deletions checked. - Rerun on
27bf59c: frozen install, dedupe, check:all green 13:41:41, --check 0 diff, report:compare ok; security PASS (pnpm audit 57 pre-existing, MEDIUM); verifier CONFORME 10/10. LRN-078, LRN-079, EVAL-033. STOP before merge.
2026-10-25 (R5 merged)
- Owner authorised finish. Pre-checks: branch = origin, develop = origin/develop
9c0117aancestor, post-gate delta .md only, census 18/18, no secret.gitflow finish→ merge9ba2a25(parents9c0117a,505a837), tree = branch tip, feature branch removed local + origin. - R0-R5 done on develop. Not production: npm advisories (zod 4 first), rollback v1, DEV hardening, cascade debt, SQL checks, export API trust, census LOW stay open. STOP at checkpoint.
2026-10-25 (product survey)
- Owner closed R0-R5, asked read-only functional survey + roadmap. 4 parallel analyzers. Inventory
.claude/audits/2026-10-25-functional-inventory.md; release readiness track RR-1..RR-10 in TODO. - Finding: local tool and /app not linked; no client/animal/report tables; plan text drifted (step numbers, Node worker, Step 13 "published"). Proposed V1-1 owners + animals first, needs C4/C5/C6. STOP, no branch, no code.
2026-10-25 (P0 + V1-1 contract)
- Owner validated roadmap P0, V1-1..V1-5; C4/C5/C6 = hypotheses. Census agent: ~100 stale doc sites. P0 edits in working tree (plan §0 + Steps 13/15/17/19-26, BACKEND_ARCH D-R9, DOMAIN_MAP roles, OPEN_QUESTIONS status table, snapshot notices, design owners, README DEV origin).
gitflow start chore/p0-doc-realignmentrefused by permission layer → uncommitted on develop. - V1-1 contract
docs/development/V1-1_OWNERS_ANIMALS.md: workspace model, clients + animals + link roles, RPC writes, archive only, 17 decisions. Inventory criterion 4 (validation in core) contradicted D-R7, withdrawn. STOP before migration.
2026-10-25 (P0 arbitration, branch chore/p0-doc-realignment)
- Owner created
chore/p0-doc-realignmentoff develop by hand, P0 edits carried over; finalised on it. Owner orientations D1-D9, D16, C4-C6 into V1-1 contract as proposals (§9.1), sub-choices D4a/D6a/D6b/D7a/D9a, open D10-D15/D17. Contract fixes vs brief: no owner required on animal (was last-owner rule), birth year + optional date (was date + precision), display name sole required client field, staff access = no mechanism (was impersonation pointer). - README split public 0.1.0 / develop / DEV-only / planned; CHANGELOG Unreleased note; DEPLOY status notice + CSP "not production-ready" markers (RR-5 keeps fixes). BDR-071, BDR-072 (BDR-041 step fix), EVAL-034. nginx
/species/= code debt, untouched. No migration, code, manifest. STOP at checkpoint, merge on owner go.
2026-10-25 (V1-1 ratification + preparation, branch feature/v1-1-clients-animals)
- Owner ratified V1-1 business decisions (BDR-073). Branch via gitflow lib off develop
5502617, pushed. Contract rewritten: approved §13.1, nomenclature §3, SQL M1-M3, RLS/helpers/RPCs §9, D15 thresholds §10, UI §11, tests §12, N1-N9 + D10-D14/D17/U1-U3 open, 6 steps in TODO. - 3 challengers: CONCERNS, findings integrated (EVAL-035). Stop at checkpoint: no migration, no dependency, no Supabase DEV change.
2026-10-25 (V1-1.1 workspaces, branch feature/v1-1-clients-animals)
- Owner validated V1-1 architecture + N1-N9 (BDR-074; N4 voiding, N6 budget per workspace, N9 ids-only audit). Built M1
20261025100000_workspaces.sql+ pgTAP 012 (85) + config test; commits7bf4fb6(code),0f8c983(docs). - Isolated sandbox (DEV images, own net, loopback ports, no volume): fresh + upgrade paths, 531 pgTAP, concurrency, 33 HTTP checks; types generated there (sslmode=disable). DEV untouched (migration list: M1 local only).
- Gates: security PASS (0 HIGH), verifier ECARTS(1) = C9 unverifiable by it, closed by read-only migration list. rust:check + check:all green. STOP at checkpoint; M1 on DEV = owner action (SUPABASE.md §3.3).
2026-10-25 (V1-1.2 clients, branch feature/v1-1-clients-animals)
- Owner validated V1-1.1, authorised V1-1.2 + kept sandbox. M1 closure: official
gen typesagainst sandbox = 0 diff;scripts/db-sandbox.shcommitted (08abe42), DEV procedure rehearsed incl. backup/restore (5ed1f01); LRN-080/081. - M2 clients (
4adbfcb): RPCs, search, budget counter, N9 filter; pgTAP 013 (130), parity test, sandbox suite 28; real image adds a GRANT hint on table denials (PGlite not) → tests compare state+message there. Prettier over tests/ reformatted 3 unrelated files → restored before commit.
2026-10-25 (V1-1.3 UI foundations, branch feature/v1-1-clients-animals)
- Owner validated V1-1.2, authorised V1-1.3. db:sandbox final check: defect bad
upargs → fixed 57922e0; fresh + upgrade + types + argv + DEV fingerprint green. - Built ModalDialog (native dialog), Dialog/drawer on it, Playwright + axe suites (e2e:ui 26, e2e:shell 6 on sandbox), check:all stage; shell suite found AvatarSection focus loss → fixed
8371aa0. D11 compared, no tab bar. BDR-076, LRN-082, EVAL-038. - Verifier CONFORME, security PASS, check:all green. STOP at checkpoint, no V1-1.4, no merge.
2026-10-26 (V1-1.4 animals and relations, branch feature/v1-1-clients-animals)
- Owner validated V1-1.3, authorised V1-1.4. M3
20261026100000_animals_relations.sql(b54c8e5): species 8+other, animals, relations current/ended/voided, 7 write RPCs + 3 reads, search_clients count; pgTAP 014 (258), parity, sandbox suite 18; sandboxup upgrade <v> <then>(2dc04bc). - 14 mutations, 2 gaps closed (
533a1c4); 4 migration states green; axe exceptions scoped (ba3a51e), check:all statuses (d7845b7); docs + DEV procedure to M3, not run (bc6a7dd). BDR-077, LRN-083/084, EVAL-039. - Verifier CONFORME 11/11, security PASS, check:all green. STOP at checkpoint: no V1-1.5, no DEV, no merge.
2026-10-26 (V1-1.5 client screens, branch feature/v1-1-clients-animals)
- Owner validated V1-1.4, authorised V1-1.5. Owner choices: U1 « Afficher plus », U2 archived toggle, animals read-only, first-animal section → V1-1.6. Built access layer (
a0e0699), workspace in authStore (ff028ec), screens (b38e627), Chromium journeys (d33a8f6), docs (ae0bd3f,d8e86a4). - Fixes from gates: shell HTML report kept passwords (
db81928), re-read unmounted forms (e1c1980), not-found heading focus (567ad40). BDR-078, LRN-085/086, EVAL-040. - Security PASS, verifier CONFORME 11/11 (3rd round), check:all green. STOP at checkpoint: no V1-1.6, DEV untouched, no merge.
2026-10-26 (V1-1.6 animal screens and relations, branch feature/v1-1-clients-animals)
- Owner validated V1-1.5, D11 = drawer only. Owner choices: first animal from client page, no role default, in-page link panel, U3 lock. Built access layer (
e223576), screens (930499c), Chromium journeys (3e968ee), docs + closure inventory + DEV restore check (e215e9b). - Gate fixes: shared late-replay drop for shell specs, pgTAP 014 uuid-as-date false positive. BDR-079, LRN-087/088/089, EVAL-041.
- Security PASS, verifier CONFORME 12/12 (3rd round), check:all green, e2e:shell 82. STOP at checkpoint: no merge, no V1-2, DEV untouched (M1-M3 pending).
2026-10-26 (V1-1 DEV integration checkpoint prep, branch feature/v1-1-clients-animals)
- Owner validated V1-1.6 + closure limits. Read-only DEV preflight: 9 applied, M1-M3 pending only, no V1-1 object, types drift 24 names, 6 accounts = 6 profiles, 2 objects / 11 volume files. Git clean = origin, develop/main/release untouched.
- SUPABASE.md §3.3 rewritten (read-only helpers, fingerprints, storage tar, restore check on sandbox, post.sql, failure + restore effects, acceptance 19 lines); restore comparison rehearsed on sandbox, identical. BDR-080, LRN-090. Rehearsal dump already gone.
- STOP: backup, migration up, acceptance, merge = owner.
2026-10-26 (V1-1.7 owner brief: preflight accepted)
- Owner accepted preflight, keeps backup/restore/migration/acceptance. Classified 26 restore errors: pg_restore errors, not negative tests (18 ALTER DEFAULT PRIVILEGES, 7 GRANT ... WITH GRANT OPTION, 1 COPY vault.secrets). DEV vault 0 (read-only check).
- §3.3 hardened: pg_restore exit + full message/command set, vault count, exit codes, pgtap after db:test, object query. Exit status of earlier rehearsal not recorded. STOP: owner runs steps 0-4.
2026-10-26 (V1-1.7 restore check closed before owner run)
- 26 vs 28: my report double-counted (pg_reload_conf/pg_stat_statements_reset inside "7 GRANT"); log = 26. Rehearsal 2 sandbox, 4 variants, real exit codes; retained filtered TOC + single transaction, exit 0, rows + privileges identical. DEV D=21 → 29 exclusions expected.
- §3.3 step 2/3b rewritten, replayed verbatim on sandbox. LRN-091. STOP: owner runs steps 0-4.
2026-10-27 (V1-1.7 DEV preflight + backup + restore check, owner-authorized steps 0-3b)
- Preflight ok (vault 0, D=21, 28+15 lines = 2026-10-26, M1-M3 pending). pg_dump + storage tar ok outside Git, mode 600, dump sha256 kept.
- 3b run 1 exit 1: role supabase_functions_admin missing in sandbox. Owner authorized option A: NOLOGIN role sandbox only. Run 2 exit 0, empty log, 28+15 identical, scratch DB dropped, DEV unchanged. LRN-092. STOP: awaiting owner go for step 4.
2026-10-27 (V1-1.7 M1-M3 on DEV, db:test, pgTAP 007/010 fix)
- Owner-authorized: migration up exit 0 (M1-M3 only), post checks ok. db:test DEV exit 1: 007 storage collision, 010 13 due purges; DEV unchanged.
- Fix 007/010 (owner option 2): sandbox B1 reproduced DEV failures, B2 latent (jobs, leftovers, stale uploads: 15 fails old). New: A + B PASS 921; 11 mutations detected A + B, same as old. Verifier + security gates. LRN-093. DEV rerun awaits owner go.
- CLAUDE.md split: 11 sections → .claude/rules/ (docker, i18n, annotation-rendering, schemas, stores, pdf, sheet-content, database, environments, storage, sheet-model), always-on Memory files 31.9k → 27.2k, project row 22.3k → 17.7k; commit
7a75974on feature/v1-1-clients-animals (user choice). Folder structure 13.4 KB + Architecture 6.6 KB stay always-on. Proof: fresh session, Read one file per rule, thenjq -c 'select(.memory_type=="Project" and (.file_path|contains("/.claude/rules/")))' ~/.claude/logs/instructions-loaded.jsonl | tail.
2026-10-27 (V1-1 post-acceptance: RESP-01 fix, AVATAR-01 diagnosis)
- Owner recette: 19 lines FR detailed, EN global + 4 at 375 px, isolation ok. RESP-01 global scroll = owner browser zoom (owner DEV measures). Real defect found on sandbox: long account e-mail widens dashboard cards (implicit grid track). Fix DashboardRoute +
e2e/shell/responsive.spec.ts(fails on old code). LRN-094. - AVATAR-01 = class A: DEV worker stopped, row
uploadedwaits, message by design (STORAGE §4.4). Sandbox repro with temp gateway + worker on sandbox net: clean in 1.1 s. Side finding (pre-V1-1): full reload doesn't resume the waiting row, new save supersedes it. DEV read-only only. - Owner closure 2026-10-27: RESP-01 counter-check 6 PASS → closed; AVATAR-01 class A non-blocking, DEV worker stays off, Alice's waiting upload kept; AVATAR-02 ticket in TODO (no Gitea CLI). Pre-merge checkpoint, no merge.
2026-10-27 (V1-2 audit + V1-2.0 contract, branch feature/v1-2-anatomical-sheets)
- Read-only V1-2 audit delivered (git, model, Supabase, DEV read-only, equine state); owner approved D1-D8 + added D9 (in-app admin of official sheets, any species).
- V1-2.0: branch off develop
9135d73in scratchpad worktree (recette server on main tree). Contract drafted (§1 facts, §5 capabilities, §6 review + publish gate, §8 editor levels, §9 worker-verified SVG, §12 defects F1-F12 confirmed by reading only, §16 steps, §17 O1-O20); 3 challengers (2 FATAL, 1 CONCERNS) integrated, contract rewritten (§19). Equine count fixed: 839 elements, 620 inherited (audit said 611 = findings only). - Doc fixes: V1-1 status TODO + contract header, CLAUDE.md M1-M3 line. Open: V1-1 CHANGELOG « Added » entry missing. STOP at V1-2.0 checkpoint.
2026-10-28 (V1-2.0 O1-O20 review, O1-O23 ratified, contract consolidated)
- Read-only review of O1-O20 delivered; proposed O21-O23. Found own contract contradiction §14 vs §6.4 (legacy base) +
inherited-edit hole. Owner ratified O1-O23 (BDR-082). - Contract rewritten: rights M4, catalogue access fail-closed, MFA + operator recovery, group acknowledgments, worker verdict states, species inactive, equine working copy, SQL mirror removal, steps §16 with 9 headings.
- 3 fresh challengers: business CONCERNS, security FATAL (AR-1: aal1 owner grants owner role → bypasses catalogue MFA; O4-D unratified → owner arbitration), simplicity CONCERNS. All other findings integrated (omitted status = inherited, F12 unconditional, F15/F16, reader row predicate, uploads to M5, PreviewSheet editor handle, removal groups).
- Docs only, committed + pushed on feature/v1-2-anatomical-sheets. STOP: verdict BLOCKED on AR-1.
2026-10-28 (V1-2.0 AR-1 B ratified, contract updated)
- Owner ratified AR-1 B (BDR-083). Contract §5.7 written: rule, chain, path inventory (2 RPCs, 2 private fns, service_role table grants F17, owner-count race F18), bootstrap, factor/password/recovery, session rules, deploy order (enrol before M4 on DEV), tests §15.
- GoTrue v2.197.0 source read: enrol needs aal2 once verified factor, unenroll verified needs aal2. auth.sessions check kept as to-verify.
- Docs only. Independent security review, then commit + push feature branch. STOP at checkpoint.
2026-10-28
- V1-2.1 M4/M5 built+tested on sandbox (DEV untouched): M4 20261028100000 sheet_access_hardening (rights table + RPCs, has_mfa/has_aal2_session, catalogue reader predicate, can_edit_sheet on capability, AR-1 B role RPCs + F17/F18/F19, F1-F16), M5 20261028110000 sheet_review_workflow (version/sheet cols, freeze/revision/author triggers, rounds/comments/acks, lifecycle+review+publish RPCs, species, working copy, uploads+INSERT policy, mirror removed + status check). Defects F1-F19 reproduced on old schema; pgTAP 001/003/004/005/006/007/010/015/016 green (850 real-stack, 122 PGlite); sandbox real-GoTrue AR-1 B + F18 race green; fresh install + M3->M5 upgrade green; sheets.ts closed kinds, client gate deleted, types regen no drift; rust:check + typecheck + lint + build green. 011 + SQL-mirror generator deleted, ledger retargeted. BDR + LRN-095. check:all Docker image/worker stages not re-run (no app/worker/Dockerfile change). STOP at checkpoint.
- V1-2.1 fresh security+verifier gates run on commit
77e5fa4: security PASS (no blocker; lease-token whole-row grant narrowed to omit attempts/lease_token/locked_at). Verifier ECARTS(10) → fixed the real gaps: publish re-checks the approver's reviewer grant (publish.approval.invalid), scope disclaimer enforced at approve+publish (publish.disclaimer.missing, O6), to_confirm split from inherited (publish.to_confirm.open), save requires an active sheet, delete_sheet_asset revoked from service_role, species table comment updated, working-copy 2 MiB check, lock order sheet→version→round in decide/publish, conflict_retry kind (40001/40P01) in sheets.ts. Tests added (pgTAP 016 now 50, 001 census no-other-writer): omitted review_status, separation author-reviewer, revoked-reviewer approval + renewal, ack carry, inactive-species publish refusal, deprecated-delete, schema_version 1 refused, content-write-without-actor, working-copy positive. 871 real-stack pgTAP / 122 PGlite / 4 sandbox green; typecheck+lint+types drift clean. Deferred (noted): at-caps timing (V1-2.2 doc), fuller MFA factor mgmt (V1-2.5), low residuals (existence oracle, write-budget on some admin RPCs). - V1-2.1 corrections after audit (
3914eaaCHANGES REQUIRED): M1 approve needs active sheet, M2 base only from published round version, LOW fixes (rights.mfa first, closed codes, budgets, view.asset.unknown at submit, upload policy = registrant, append-only acks, deprecate/working-copy locks). Found+fixed: published round withdrawable, approver-author not refused at publish. Found: jsonb pg_column_size > text size (CHECK binds before contract measure) → closed code; owner decision. pgTAP 1325 fresh+upgraded, sandbox 86/86 x2 both stacks, caps timing max 374 ms, M7 rehearsal object+metadata identical, check:all green. Commits d05f75d..4a82941 pushed. M6 + M7 criterion + size measure → owner. Fresh verifier + security gates dispatched. - V1-2.1 final owner decisions (
2af61e7): M6 A grant.self_review dropped, size = octet_length(content::text) (table CHECK replaced in M5), M7 Git fixture wording in contract + evidence. pgTAP 1352 fresh+upgraded, sandbox 86/86 x2 both stacks (concurrency 16/16), caps text 2 076 707 / jsonb 2 346 648 accepted, PGlite 127. DEV metadata identical. BDR-085. - V1-2.1 review pass on
1281667: verifier ECARTS(6) (missing proofs: AR-1 B matrix, non-owner rights RPCs, publish.species.other; LOW docs), security PASS + MEDIUM number-exponent OOM (9000 x 1e131071 = 1 GiB text, raw OOM). Fixed3eba6d8: bounded number walk before text measure; pgTAP 020 (449). Re-run5620399: pgTAP 1807 x2 both stacks, suite 86/86 x2 both. Correction: earlier 'DEV metadata identical' = DEV container state only (ids, start times), no DEV data read. - V1-2.1 second reviews on
7c4bf12: security BLOCK HIGH = my number walk quadratic (jsonb_path_query per row, PG17 list_delete_first; 200k numbers 2.2 s native, ~26 s near cap). Fixed538d103: jsonb_path_query_array + jsonb_array_elements (linear, 600k 0.4 s). Verifier ECARTS(1) LOW: red-on-old raw log now committed (.out). Rerun2379d28: pgTAP 1808, suite 87/87 x2 both stacks. - V1-2.1 final: code
2379d28(= HEAD code), check:all green on532c61e, security PASS (1f9fa8b), verifier CONFORME on doc deltas after ECARTS(3) LOW fixed. Declared VERIFIED pending owner. Open V1-2.3: e2e:avatar DEV target, quadratic status walks, ingress cap, schema_version 2.0 raw 22P02. DEV containers untouched. STOP at checkpoint.
2026-10-29
- 2026-10-29 V1-2.2 core built (size, review groups, verdict, PreviewSheet, sheet.edit, clean_svg); owner answers before code (exports by owner, integrity.document, draft load). Verifier ECARTS 6 then 3, security PASS x2, fixes ca31b78; check:all green. DEV untouched. STOP: READY FOR REVIEW.
- V1-2.2 owner arbitrations on
17d9199: dangling SVG refs refused, canvas ids scoped per view, stored form required, strict rgb kept, remove refused while named, Inkscape 1.4.3 exports, wasm name section dropped. Security BLOCK(1) url(#%61) fixeda678faa, PASS. check:all greenf1ef6a4. Open: A6 owner exports, per-document prefix. Not VERIFIED.
2026-10-30
- V1-2.2 owner decisions on
05de816: BDR-087 canonical stored SVG, LRN-099→LRN-100 strict reference grammar. Final review (Opus, Fable out of credits): verifier ECARTS(3) = A6 open, B9 LOWf1ef6a4glued url( reader/composer mismatch fail-closed, FLOOR prose FP; security PASS (MEDIUM per-document prefix, 5 LOW).05de816=f1ef6a4code. A6 not met. No fix, STOP at checkpoint. - V1-2.2 finalisation 2026-10-30: Figma default Clean, ids Cleanable (g@id), pixel-identical after maskUnits/maskContentUnits/clipPathUnits allowed (BDR-088). Glued url( removed in every attribute (urls_unglued), LRN-101. check:all green
7d9ab8c. Verifier ECARTS(2): A6 Illustrator, doc drift fixed. Security PASS, pre-existing MEDIUM PDF halo id osteo-halo for owner. Not VERIFIED. STOP. - V1-2.2 K reserved ids 2026-10-30: drawing filter#osteo-halo erased PDF marker (0 px Chromium), g#osteo-halo before defs lost halo. Reader refuses reserved_id (exact set, ASCII case), both composers fail-closed, halo always engine's.
08efd9a. check:all green, mutations 11/11, verifier ECARTS(1) LOW leaked id expansion fixed, security PASS + pre-existing MEDIUM root visibility hides markers (owner). A6 open: Illustrator. - V1-2.2 L 2026-10-30: A6 final = Figma, Inkscape, cairo, ImageMagick; Illustrator/Affinity optional (BDR-090, BDR-088 amended). Root visibility≠visible refused (root_visibility) reader+cleaning+composers, red-first, 3 browsers, mutations 20/20, check:all green. BDR-089, LRN-102. Security PASS but 3 pre-existing MEDIUM marker-hiding vectors open (root viewBox frame, inherited stroke-opacity/dasharray, hitbox stroke-width click hijack): class fix changes R3/R4 oracles, owner decision.
2026-10-31
- V1-2.2 three MEDIUM: lot A frame rule committed 0c87c7f..9e49ed1 (check:all green
faa53c7); lot B isolation+hitbox built, uncommitted, patch in audits, R3 oracles pass under declared transforms, R4.1 manifest digest fails. Security PASS + MEDIUM scale bypass, verifier ECARTS(2) fixed. Junction-point overlap found. STOP: owner authorisation.
2026-11-01
- V1-2.2 N (owner 2026-11-01): lot B committed
4f52f5e, R4.1 call-1 svgSha256e677150, visible wins canvas-only9c606aa, marker_too_small 4 px @320x568 + frame range96b9978, path numbers ±2^2076ead95. check:all + e2e:shell green on76ead95, 56 mutants killed, 1 equivalent. Open: zone without interior (MEDIUM, owner). STOP at checkpoint. - 2026-11-01 V1-2.2 last MEDIUM: interior rule (4 px disc, nonzero, stroke out)
8dd2d78+ review fixes03be75b(sub-f32 arc radius). Equine kept (caudal 4.95 px). Chromium touch adjustment measured. LRN-105..107. Checkpoint pending owner. - V1-2.2 closed VERIFIED (BDR-092, LRN-108, mutations re-anchored, delta verifier CONFORME). V1-2.3 built on sandbox: M6 RPCs, worker verify child + sheet-verify mode, brk added to seccomp (traced), verify-e2e 7/7, rehearsals ok, check:all + e2e:shell green on 6aa85fe; security PASS. Open for owner: proposals (codes, limit 5, lease 10 min, caps, service name, shared brk), e2e:avatar targets DEV, no backoff LOW. DEV untouched, no merge.
- 2026-11-01 V1-2.3 reserves: avatar-e2e on sandbox 5/5, retry delay 2/5/10/20 s in SQL, caps proofs child + sandbox, brk bounded, per-run sandbox passwords, LRN-109; security PASS (null lease token MEDIUM fixed); verifier ECARTS(2) → CONFORME. Checkpoint, no merge, no DEV.
- 2026-11-01 V1-2.3 closure: retry by cause (resource_limit, verdict_refused definitive; timeout, unavailable incl. external SIGKILL transient), e2e:avatar = sandbox alias (DEV script removed, suite refuses other targets and issuers), per-session seed secret, floor reductions recorded, V1-2.4 scope prepared. Review PASS; verifier ECARTS(1) → CONFORME. Checkpoint, no merge, no DEV.
2026-11-02
- 2026-11-02 V1-2.3 closed (BDR-093, risk register §13.1), e2e:sheet-assets sandbox alias, V1-2.4 maquettes proposal. TWO DEV READ INCIDENTS: old DEV sheet-assets script ran from main checkout at 23:03:49 (executor, backgrounded cd) and 23:10:59 UTC (orchestrator, unquoted heredoc backticks); 13 GET each, no write, DEV not restarted. Stopped, reported to owner.
- 2026-11-02 incident containment: bugfix sheet-assets guard merged into develop
6287e5b(always refuses there), refusals proven without IP sockets, security PASS; incident report reconciled (13 GET each); LRN-110 supersedes LRN-102. V1-2.4 maquettes: design review applied, security PASS on V1-2 runner, verifier ECARTS(1) (§13.1 register in the maquettes commit, owner-ordered). Graphic checkpoint. - 2026-11-02 V1-2.4 G1/G2 fixed on owner brief: phantom warning board 06 removed, « Mark as reviewed » to arbitrate, fingerprint + verdict_refused messages match code; only 06/12 re-rendered, contact sheet + REVUE.md; fresh verifier CONFORME;
98e8403pushed. Graphic checkpoint, no approval. - 2026-11-02 V1-2.4 owner: UX decisions 2-11 ratified, item 3 = hidden catalogue entry + « Accès non autorisé » page, reviewer-only keeps limited Administration (asked: point 4 conflicted with boards 07/09/10), §6.5 alert divergence recorded. BDR-094. Boards unchanged; visual validation + 32 labels open.
- 2026-11-02 V1-2.4 final graphic corrections (owner brief after external review): 01 sheet-name search only (UX item 4 withdrawn; no repo trace of earlier 'no zone search'), 06 distinct failed/unavailable titles, 03 whole horse at opening, 05 1 024 px not device, 04 vertex wording, complement « Accès non autorisé » board.
9adbd3a,f9fc13c. Verifier ECARTS(1) = zip not built yet; built after. Labels open. Checkpoint, no approval. - 2026-11-02 V1-2.4 owner arbitrations: BDR-095 (sheet-name search replaces BDR-094 zone item, distinct failed/unavailable titles, V1-2.7 lists on failure_outcome), board 05 whole horse at 768 px, 24 common labels + owner arbitrations ratified, object_conflict kept open (meaning = hash mismatch). Verifier ECARTS(2) → ECARTS(1) → CONFORME 21/21 incl. archive -3.zip. No global graphic approval.
- 2026-11-02 V1-2.4 GRAPHICAL APPROVED by owner (BDR-096): 12 boards + « Accès non autorisé » page, no board regenerated; object_conflict FR, L20 EN, L32 EN ratified, L14 confirmed; L15 2nd sentence + code messages open, checked at integration. Recorded contract §16.5/§17.9, maquettes contract, REVUE.md, design README, TODO. Next: V1-2.5 prerequisites.
- 2026-11-02 V1-2.5 built + tested on sandbox (A-K): MFA proofs 10/10 no STOP, M7 admin reads + deprecated fingerprint (BDR-097/098), access layer, shell/step-up/MFA UI, admin, catalogue, e2e A0 A1 S1 P1. pgTAP 1941, unit 66/148/655, e2e:shell 108+6 skip, check:all green. Security PASS; verifier ECARTS(7)->ECARTS(1)->ECARTS(1)->CONFORME. Phone e2e flake root-caused (inert closing drawer). DEV untouched, no merge. Checkpoint.
2026-11-03
- 2026-11-03 V1-2.5 owner checkpoint corrections (
f5456f3): three permission states (creation page order loading, server refusal, failed read, editor rule; admin home notice; reloadAccess keeps held roles), Paris end-of-day expiry, species order 0..9999 in M7, labels, TOTP reuse measured (code accepted by several sessions in step N and N+1, refused N+2), lost-factor review = production prerequisite. 2 state-dependent sandbox tests fixed. Gates green on fresh stack, security PASS, verifier CONFORME. V1-2.5 VERIFIED. No DEV, no merge. - 2026-11-03 owner accepted V1-2.5 final checkpoint
b4415a3(V1-2.5 VERIFIED): BDR-099 decisions, LRN-113 TOTP reuse/Storage 409/sandbox order. V1-2.6 editor level 1 authorised (brief « Validation V1-2.5 et autorisation V1-2.6 »). - 2026-11-03 V1-2.6 owner GO conditional on six FATAL re-check. Fresh verifier: REMAINING(2): fixes 1-5 closed, I1-I5 hold; radius fix 6 opens out_of_frame on small frames; I6 broken (pending recovery copy overwritten by first commit). 2 MINOR. LRN-095 collision + BLK-013 trap in TODO. Executor not launched, STOP.
- 2026-11-03 V1-2.6 owner arbitrations on REMAINING(2) integrated (C25-C31, AAL2 risk V1-2 §13 + RR-12, RR-11 collision noted). Second fresh re-check REMAINING(1): F1 accept trusted core silence on unmeasured views (no drawing / no usable frame); 7 MINOR. All integrated in plan; C26 refinement for inherited out-of-frame edits awaits owner. Executor not launched, STOP.
2026-11-04
- V1-2.6 owner GO after REMAINING(1): F1 approved, C26 refined (7 repair rules: commit only when changed annotation error-free after; form group applied whole; frame change never invalidates silently), C32-C34 gated. Execution lots A-M starts.
- V1-2.6: scratchpad worktree removed by harness cleanup 13:08 (LRN-114); lots A-F + G committed safe at 8343528; uncommitted H + G fix lost. Worktree recreated at /home/bchanot/Documents/faunosteo-v1-2 (prune of 5 missing entries only). Tracked execution ledger added.
- V1-2.6 lots A-M done on feature/v1-2-anatomical-sheets, HEAD
7a4ce9e. Fresh sandbox contract order green (1992 / e2e 148+46 skip / sandbox 105), check:all green, security PASS, verifier 33/34 then order fixed. Stop at owner checkpoint; R12 state files, m3, sign-out copy, labels pending owner. - V1-2.6 owner checkpoint decisions applied (lot N: C35-C44), code
5e0aa62. Fresh sandbox contract order green (1992 / e2e 150+48 skip / sandbox 105), check:all green, security PASS, fresh verifiers: all criteria met except checkpoint-report parts. Guide run from durable worktree. Stop: ready for owner trial. - V1-2.6 lot O: free paths never reshaped (core proposal written, not built), explicit category zone, owner trial on LAN 192.168.1.100:5193 behind a Host filter (no CORS, no ws, upgrades closed). Fresh verifier final pass CONFORME 0 NOT MET. Stop: ready for owner trial.
2026-11-05
- V1-2.6 new editor UX maquettes: 16 boards docs/design/v1-2-6 (desktop, tablet, phone), REVUE.md, core feasibility audit. Missing core: annotations_in_rect, path point edit/translate, remap on drawing swap; schema change for fixed categories + opacity. Reopens §8.3, O14 A, §8.2, §7.4. Design review + verifier gaps fixed. No code, no DEV. Stop at graphic checkpoint.
- V1-2.6 maquettes owner review prep: fresh verifier CONFORME 11/11 on
9f420d3, 5 defects outside criteria kept (no redraw; wrong category counts boards 07/09). ARBITRAGES.md, ETUDE-TECHNIQUE.md (route A: optional role + integer fill_opacity in schema v2, stripped from PDF snapshot), archive ~/faunosteo-v1-2-6-ux-maquettes.zip, SHA256SUMS verified on extraction. No code, no DEV. Stop. - V1-2.6 maquettes final corrections after external ChatGPT review: board 04 trace strip, undo/redo in header tab bar all tabs (owner-confirmed choice 2), board 07 one state per interaction, counters computed from draft data; 12/15 byte-identical. Targeted check ECARTS(2) on
7bc3d65-> fixedb5058b3, delta K1-K8 8/8. ARBITRAGES: 1 confirmed, 10 open. Archive ~/faunosteo-v1-2-6-ux-maquettes-2.zip, SHA256SUMS 48 verified. No code, no DEV. Stop at final graphic checkpoint. - V1-2.6 UX technical prep: 5 static audits, plan U0-U9 + compat/tests/risks/decisions in docs/development (
14fb527). Wasm margin 7 857 B by gate measure (not 17 KB). Category keys must be omitted when absent; view.unreachable blocks views without access; remap explicit (seed head drawing = crop viewBox). 3 challengers CONCERNS, fixes integrated. No code, no DEV. Stop at owner technical checkpoint. - V1-2.6 UX owner ratification recorded (BDR-100): T11, T16 cond. (curves lot), T2/T3 cond. (proofs COMPAT §8, one-way compat), T4 no gap (verdict rule, repairable edits, core gate, publication + save SQL checks to confirm, rules-epoch lock), T5 history, T9 two calls V=R keep, T10 cat-access to confirm, T12 text missing. LRN-118 wasm rule. Reviews fixed. Docs only, uncommitted. Stop at technical checkpoint.
- V1-2.6 ratification docs committed: third independent check ECARTS(2) (R-3, U6 objective, write-lock test, T16 count scope) fixed, fresh re-check CONFORME 12/12. 7 observations deferred to U0 (RISKS:59-60 wording, COMPAT:146, contract §6.4). Docs only, no DEV.
2026-11-06
- V1-2.6 U0 (docs only, BDR-101): V1-2 contract §6.2/§6.4 (draft rounds)/§6.7/§7.4/§8.2-8.4/§12.2 O22 (save + approval/publication fixed-category checks, not built)/§16.7/§16.12/§17.12; level-1 C3-C40 notes; design README v1-2-6 validated; rules sheet-model/schemas; 5 UX docs. T17, T12, T6, T14, T1 open. Verifier ECARTS(1) x2 fixed. No code, no DEV.
- V1-2.6 U2b principle approved by owner (BDR-103): U2b after U2; F1/F2/F6/F8/F22 decided, F7 term, F3/F4 partial; study §7 table F1-F22 with alternatives + consequences, F2 groups open (730 vs 627 leaves), F3 fields, F4 facet model; LRN-119 Activity. U1 plan
2e46c14untouched. Docs only, no DEV. - V1-2.6 owner final arbitrations (BDR-104): U2b F2 leaves, F3, F4 model A, F8, F22 decided; U1 design confirmed; no implicit sandbox deletion. U1 checkpoint page (18 choices, AC3/4/5/7/17 exact, 16 MAJOR traced, reset = down + up fresh, lot criteria). Docs only, sandbox untouched.
2026-11-09
- V1-2.6 U1 implemented: lots A-I 9ec232a..da95b84, verifier 22/22, security PASS, final review fixes 0467885/da95b84 re-review clean. Shell at
da95b84188/90/4 (admin.spec:717 working-copy slot, sandbox state). Owner checkpoint decisions BDR-106: 5 files + 3 rewrites accepted, checkpoint open, RR-13 rights paging track. LRN-120-122. U2 not started. - 2026-11-09 U1 trial arbitrations: R0 boards 23-30 + corrections plan + trial stack plan; design review APPROVE WITH FIXES applied, verifier ECARTS(1) fixed; awaiting owner validation
- 2026-11-09 R0 owner decisions recorded (BDR-108): A3/A6/A7 ratified, db:trial two accounts; ARBITRAGES.md, R3 SQL checkpoint proposal; counter-check closed both fixes, 2 minor label gaps fixed in REVUE; archive ~/faunosteo-v1-2-6-r0-maquettes.zip; impeccable detect not run (proposal: pinned 4.1.0 offline)
- 2026-11-09 R0 graphic verdict applied (BDR-109): boards 23/24/26 fixed, 28/29 notes, 25/27/30 byte-identical; A1-A15 settled; impeccable 4.1.0 offline 2 observations kept; final counter-check ECARTS(1) file scope; stop at final R0 checkpoint
- 2026-11-09 R0 closed: last corrections 24A/26/28, closing counter-check CONFORME, R0 graphically validated (BDR-110), archive rebuilt; stop before R1
2026-11-11
- db:trial closure: code review + 2 fresh re-reviews fixed (
d3bdbbef2cbf68953ae41). Strict absent match broke on real docker: inspect -f prints '\n' on stdout before stderr error; fresh re-review caught it, stub now splits streams. GATE 0 MET, harness 372/0, plan read-only: create would proceed. Stopped before create, owner go pending. - db:trial first create 2026-11-11 at
255dd67(owner go): 6 containers, net, 2 volumes as planned, loopback ports only, DEV and sandbox unchanged, 17 migrations, equine draft equal. Interrupted at check 3: TR_PW in db container log, image migrate.sh ALTER USER logged during init. LRN-123..126 written. Owner decision pending. - db:trial TR_PW leak 2026-11-11: owner-ordered one-off rotation (5 roles, auth/storage/rest recreated, old pw refused, services ok, DEV/sandbox unchanged); fix
5f63d22-c log_statement=none on server cmdline (harness 373/0, control 372/1, verifier CONFORME, security PASS); LRN-127. Real proof pending: create on fresh volume. - db:trial MFA rule 2026-11-11 (owner): owner grant with 1 verified TOTP on trial only (
45d7453, harness 375/0, verifier CONFORME, security PASS), BDR-112 narrows BDR-083; production rule unchanged. App on LAN 192.168.1.100:5194 (BDR-111). Accounts owner@trial.local, praticien@trial.local created by owner, 1 verified factor each, no role yet. - db:trial equine drawing imported 2026-11-11 (owner go): pre-checks (gateway faunosteo_trial, key iss/signature, historical sheet, sha256/size vs assets.json/draft/row, bucket empty), R5.5 --check plan,
pnpm db:trial assets1/1 confirmed, object re-downloaded byte-identical, 2nd --check nothing to do, draft=document.json, seed=HEAD, no secret in logs, DEV/sandbox unchanged. App exposure 192.168.1.100:5194 noted (BDR-111); host Valheim argv password noted separately in TODO.
2026-11-12
- 2026-11-12 R1 + D6b delivered on feature/v1-2-anatomical-sheets (owner GO): Défaire/Refaire, Désélectionner, Escape priority, empty press on drawing deselects (useEmptyTap, press-based; mouse at pointerup, touch+pen at own click). Plan challenged x2 (capture retarget, blur-rebuild click drop, touch click-through). Gates: unit 1381/180/66, e2e:ui 227, e2e:shell 197/4/99 (4 = admin.spec.ts:717 baseline). Verifier 15/15, security PASS x2, code review fixes landed. Stopped at R1 checkpoint; R2 not started.
- 2026-11-12 R1 last owner feedback: « Sélection » tag above drawing made sr-only (
927537b), drawing stable on select/deselect (desktop + 375 twin e2e); docs00936c8(board 04/26 deviation). BLK-013, LRN-131. Owner: R1 accepted technically, visual fix to confirm on db:trial; ToolNotes shift + SR selection announce + iOS open; RR-14 secrets rule added. R2 not started. - 2026-11-12 R1 VALIDATED functionally by owner (10/10 manual checks +
927537bvisual confirmation). BDR-114 R2 decisions recorded. Next: anomaly B e2e fix (isolated fixture), then R2 GO. - 2026-11-12 Anomaly B fixed
2cdee42(owner accepted): BLK-014, LRN-132. editor-equine set-aside risk + fixture accumulation tracked in TODO (separate fix). Owner GO R2.0-R2.6.
2026-11-13
- R2 corrections 2026-11-13: C0 admin.spec diagnosis (A/B + dose-response, accumulation, BLK-015 open), C1-C5 + final review I1 + verifier gap fixed (3303530..538ce27), sweep 221p/5f admin.spec only, guard OK, verifier CONFORME; stopped at R2 checkpoint for db:trial trial.
- 2026-11-13 R2 UX finish built (553a0e5..021685f): dialogs, history Back/Forward, filter chip, Plus overlay, sticky sidebar; final review fixes; gates green, shell sweep fails only admin.spec (BLK-015); awaiting owner db:trial trial
2026-11-14
- 2026-11-14 R2 closed after owner trial: edit-only citing, delete undo reveal, Plus focus, session tag in history, Navigation API leave confirm + cascade, sign-out notice; U2 orientation recorded (BDR-117); final sweep only admin.spec (BLK-015); awaiting owner manual checks OWNER_TRIAL 4.12
2026-11-15
- 2026-11-15 R2 owner follow-up built (Tasks 10-13 + fixes, b41c24b..ebd1d6d): references dialog with own edit mode, one tab order, vertical Plus. Gates 0, sweep 264 passed, fails = admin.spec BLK-015 + Target crashed (rerun green), GUARD OK. Waiting owner db:trial check.
- R2 Rev 6 built: Citer button, draft-owned creation (commitBatch), family labels, 44px dialog close. Sweep final7 273 pass, 6 fail admin.spec BLK-015. Await owner db:trial then R2 closure.
- R2 CLOSED 2026-11-15: owner db:trial 4.13+4.14 pass, validated functional+graphic; saved-ref edit own Défaire + unsaved new ref lost on abrupt close ratified. Sweep
52d5613273p/163s/6f admin.spec BLK-015 open (RR-13). No merge/deploy. Next R3, R4; U2 orientation kept.
2026-11-16
- R3 CLOSED 2026-11-16: owner db:trial trial pass, phone filters panel validated, reset in panel only. check:all exit 0 at
a50796b. BLK-015, RR-13, pgTAP 014/021 open separate. No merge/deploy. Next R4 catalogue card integrity warning (D9 C).
2026-11-17
- R4 built 2026-11-17 (f061111..8224eda): card integrity line A10, caps own line (D1), view line (D2), retry/focus R-3; spec on sandbox 6p, cleanup archive own ids; check:all exit 0 at
2c9d837(app 1780); verifier 16/16 MET, 2 out-of-scope files to owner. STOP owner trial §4.16 on db:sandbox trial. - R4 CLOSED 2026-11-17: owner manual trial db:sandbox §4.16 pass, archive (D4) + Card.tsx/records.ts accepted, BDR-121. check:all
2c9d837exit 0, spec 6/0/0/0 x4. BLK-015, RR-13, anomaly A open. Next U2 design (boards 02-06, 13), no code. - U2 design 2026-11-17: boards 02-06,13,31-33 in docs/design/v1-2-6-u2 (
bc19481,8bdb23a, pass 3), 15 arbitrations, A1-A3 deviate from orientation 14/11 (first click selects only; dialog over right column; overview kept). Design review 5 must-fix fixed; verifier ECARTS(4)->ECARTS(1)->fixed. STOP owner visual validation. - U2 design validated (BDR-122); U2 tech plan rev 2 (
8c5a887) after 3 challengers + final pass; D1 RepairDialog coords until U5, D2 « + » on short segments; waits owner, no code.