bchanot
3cf74fd255
docs(docs): validated Step 7 mockups under docs/design (reference README with deltas and owning steps); chore(memory): BDR-042, journal, TODO 7.10 follow-ups — Step 7 validated
2026-10-12 00:54:03 +02:00
bchanot
9d2fb788c1
chore(memory): EVAL-015, journal, TODO 7.9 — Step 7 gates closed, awaiting user validation
2026-10-11 23:47:18 +02:00
bchanot
9771d997f4
fix(app): failed sign-out reported (local session still cleared); reauthentication_needed phrased; docs(docs): exact production redirect allowlist
2026-10-11 23:45:14 +02:00
bchanot
1aed64b4ef
fix(app): safeNextPath resolves next= against a sentinel origin (closes the /\host and tab/newline open redirect); tests; contract amended
2026-10-11 23:44:00 +02:00
bchanot
aeea1f2e9b
chore(app): drawer honours prefers-reduced-motion; chore(memory): BDR-041, LRN-047, journal, TODO 7.x
2026-10-11 23:40:11 +02:00
bchanot
552733b4c8
docs(docs): IDENTITY.md (routes, session, providers, MFA gap, manual validation); CLAUDE.md map + architecture; SUPABASE.md wiring; CHANGELOG; plan note; Step 7 verify contract
2026-10-11 23:39:08 +02:00
bchanot
b10b227ee9
feat(supabase): auth, profile and roles services; professional columns on profiles; OAuth + TOTP config
...
- packages/supabase: signIn/signUp/OAuth/reset/updatePassword/signOut wrappers with a closed AuthFailure kind, fetch/update own profile, own platform roles
- migration 20261011100000: practice_name, professional_title, siret (format-checked, column grants); pgTAP 009; database.types regenerated
- config.toml: TOTP enroll/verify on, [auth.external.google|apple] via env(), wildcard redirect URLs
- app config: authProviders (APP_AUTH_PROVIDERS / VITE_AUTH_PROVIDERS), entrypoint env.js, DEPLOY table
- TODO: Step 7 plan
2026-10-11 23:16:13 +02:00
bchanot
62b2b9d86a
fix(pdf): candidates sorted by data offset, JSON depth pre-scan before parse, budget wording; chore(memory): BLK-009 mitigated with gate, EVAL-014, journal, TODO, CLAUDE.md import notes
2026-10-11 17:31:07 +02:00
bchanot
de2bd0437e
chore(memory): BLK-009 attachment scan contract
2026-10-11 16:29:15 +02:00
bchanot
6688c3c60e
chore(memory): journal + TODO 6.8 after the first manual-test round
2026-10-11 16:16:14 +02:00
bchanot
80e95ca61d
docs(pdf): PNG budget wording (pixel cap bounds decoder memory); chore(memory): EVAL-013, journal, TODO 6.6 closed and 6.8 awaiting user
2026-10-11 15:06:12 +02:00
bchanot
dfd04e0bd7
chore(memory): step 6 security fix 2 contract
2026-10-11 14:07:19 +02:00
bchanot
1cc92f664b
chore(memory): security-fix contract — oracle of criterion 1 corrected, evidence recorded
2026-10-11 13:58:26 +02:00
bchanot
51eb7da4a3
chore(memory): step 6 security fix contract
2026-10-11 13:43:06 +02:00
bchanot
f2a64bcb0a
chore(memory): step 6 verify contract — oracles of criteria 6/7 fixed, scope widened, deleted tests authorised with replacements, docker evidence
2026-10-11 13:40:55 +02:00
bchanot
83115b484d
docs: CLAUDE.md on the Step 6 pipeline (architecture, conventions, folder map); TODO 6.4-6.5; LRN-046
2026-10-11 13:33:59 +02:00
bchanot
20dafc0b00
chore(memory): step 6 whole-step verification contract
2026-10-11 13:12:37 +02:00
bchanot
e7419cb4cb
chore(memory): TODO step 6 phases 0-2 done
2026-10-11 12:31:15 +02:00
bchanot
cdc0943f35
feat(domain): archive contracts — sheet snapshot (lean document, caps, integrity), envelope v1 layered reader, branding and label schemas, report rebase, sheet index moved from the app; bundle carries asset hashes
2026-10-11 12:30:57 +02:00
bchanot
694092610d
feat(anatomy): composeViewSvg with tree-level highlight and halo, review drawing on the shared composer
2026-10-11 12:05:56 +02:00
bchanot
4c6c5151f8
docs: step 6 implementation contract (types, envelope v1, read, rebase, session, messages, goldens) + BDR-039
2026-10-11 11:59:08 +02:00
bchanot
81342009fe
docs: step 6 autonomous PDF archives analysis and plan (snapshot content, envelope v1, compatibility, limits, tests)
2026-10-10 23:17:23 +02:00
bchanot
271a8b6515
chore(memory): journal + TODO 5.11/5.12 + contract — hotfix findings picker blur, Step 5 validated
2026-10-10 22:16:18 +02:00
bchanot
9cedaccbb3
chore(memory): EVAL-012, LRN-044, journal, TODO 5.8-5.10 closed
2026-10-10 16:06:00 +02:00
bchanot
dc78a00835
feat(pdf): archive check tool pnpm report:compare (attachment vs its v3 reading, unresolved items flagged, --diff/--summary/--identity); readAttachedDocument split out of extractReportJson; stale scaffold:species script removed; docs
2026-10-10 15:44:20 +02:00
bchanot
e7f4167ada
fix(domain,app): own-key lookups for untrusted ids in the v2 migration, attachment and PDF size caps; EVAL-011, journal, TODO
2026-10-10 12:23:03 +02:00
bchanot
0476276a8f
docs(chore): step 5 — annotation rendering contract, CLAUDE.md map and conventions, README, DEPLOY SHEET_BUNDLE, PDF format v3, spec §6 migration map, plan/changelog/strategy notes; BDR-038, LRN-043, TODO
2026-10-10 11:41:55 +02:00
bchanot
734c0d91fd
docs: step 5 migration analysis (report v3, adapter + migration map, sheet provider, annotation layer, service/store split, risks, tests, decisions D1–D8); TODO plan; plan note
2026-10-10 10:54:04 +02:00
bchanot
866e84f75b
docs(chore): step 4c validated — head view check, migration limit BLK-008, review semantics, .env.example expected change, BDR-037, TODO follow-up
2026-10-10 10:32:57 +02:00
bchanot
c0c17fcf5f
feat(supabase): SQL gate reports non-http(s) reference urls (reference.url.scheme), pgTAP 008 cases; EVAL-010, journal, TODO 4c
2026-10-10 10:10:45 +02:00
bchanot
55bd83d09c
chore(memory): BDR-036 schema v2 + changeset, LRN-042 authoring and SVG audit, journal, TODO 4c
2026-10-10 01:53:12 +02:00
bchanot
6c5b2b7754
chore(docker): faunosteo_ naming convention for Docker resources (compose project + container), documented CLI limit
2026-10-09 16:26:06 +02:00
bchanot
dee4ce43d9
fix(supabase): confirmed uploads gate asset reads (hash claim), seeds-listed test, Dockerfile workspace manifests; importer declares every authored label, real in=out control
2026-10-09 00:50:36 +02:00
bchanot
bbfb8d6203
chore(chore): capitalize Step 4b — BDR-034, LRN-041, journal, TODO
2026-10-09 00:39:44 +02:00
bchanot
12f0b21fdf
feat(domain): finding kind observation → consultation_reason; Step 4 business decisions in spec + memory (BDR-033)
2026-10-09 00:24:22 +02:00
bchanot
d3fa65af29
fix(supabase): revoke PUBLIC EXECUTE on private helpers, audited visibility RPC, input caps, authz-first RPCs, +32 pgTAP checks
2026-10-08 23:59:39 +02:00
bchanot
aea8902711
docs(docs): anatomical sheet model spec (Step 4) + TODO plan
2026-10-08 23:42:42 +02:00
bchanot
7891e36bdb
chore(chore): mark Step 3 validated in TODO + journal
2026-10-08 23:19:08 +02:00
bchanot
fcdcfb53b2
docs(docs): real-stack verification notes; BLK-006 resolved, EVAL-007, LRN-037
2026-10-08 23:04:22 +02:00
bchanot
d5a5a720a1
chore(chore): capitalize step 3 — BDR-026..029, LRN-035/036, BLK-006, EVAL-006, journal, TODO
2026-10-08 22:48:17 +02:00
bchanot
1dd45a3109
docs(docs): SUPABASE.md runbook + CLAUDE/README/DEPLOY/WORKSPACE updated for the Supabase foundation
2026-10-08 22:46:38 +02:00
bchanot
62c5a3ac86
chore(chore): plan step 3 Supabase foundation in TODO
2026-10-08 22:06:37 +02:00
bchanot
8673475293
chore(workspace): move the app to apps/app under a pnpm workspace (step 2)
...
144 files moved with git mv (pure renames). Root package.json delegates
dev/typecheck/test:run/lint/build to the packages; Node 24 LTS and
pnpm 10.13.1 pinned (.nvmrc, .node-version, engines, packageManager,
root devDependency, engine-strict). Dockerfile builds @faunosteo/app on
node:24-alpine and copies apps/app/dist; nginx and runtime config
unchanged. CI workflow for Gitea Actions. packages/ reserved (README only).
Docs synced: WORKSPACE.md, CLAUDE.md, README, DEPLOY, CHANGELOG, plan.
271/271 tests, typecheck, lint, build green from the root.
2026-10-08 21:51:13 +02:00
bchanot
e84cbaf884
test(tests): add characterisation suite of the current app (step 1)
...
Seven files, 91 cases, on the real SVGs and catalog: catalog invariants,
SVG <-> catalog mapping table, pathology-editor matcher parity, click chain
through the DOM, full PDF export/import, schema and persistence, i18n and
species. Two golden Report v2 fixtures. No application file changed.
Report: docs/development/CHARACTERIZATION_REPORT.md. 271/271 green.
2026-10-08 21:41:39 +02:00
Bastien Chanot
d7c9d39b13
chore: apply reconcile suggestions — CLAUDE.md drift + TODO sync
...
REC-1: registry cross-ref ranges (22 BDR / 31 LRN / 5 BLK).
REC-2: env-var identity checked with tour evidence.
REC-3: draft mirror note — restore landed f58a49f .
REC-4: CLAUDE.md factual drift — canvg→native raster, svgToPngDataUrl→
loadSvg, version 1→2, pako→DecompressionStream, pnpm path, folder tree
(EditorsRoute, AppHeader/Footer, LateralityPicker, pdf render files).
TODO gains a dated tour+fixes DONE block.
2026-07-12 16:56:32 +02:00
Bastien Chanot and Claude Opus 4.8
60119c6dcb
chore(memory): reconcile TODO with main +41 commits (174 tests, version 0.1.0)
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01RNaYKPEkjH1jbgoX1TwKMX
2026-07-01 00:20:23 +02:00
Bastien Chanot
f5307ce61c
chore(memory): /close — BDR-016 + LRN-020 + BLK-002 resolve + journal 2026-05-21
...
- BDR-016: pathologies.json v2.0 — boolean source of truth, generic
vet description_fr purged, full 26-zone horse coverage.
- LRN-020: forward-compat Zod schema absorbs catalog version bump
zero-code (optional fields + boolean-driven logic since B0).
- BLK-002 resolved — catalog no longer empty (612 leaves > 40-60 target).
- journal entry 2026-05-21 logs the in-place v2.0 swap, the hyoïde
case alignment fix, and the doc refresh.
- TODO refreshed: Phase C item 1 (full horse.json) done,
PATHOLOGIES-FORMAT.md v2.0 refresh done, B4 PDF observationPage
marked partially done (scope_disclaimer footer still TBD).
2026-05-21 03:23:38 +02:00
Bastien Chanot and Claude Opus 4.7
31bd82de58
chore(memory+docs): /ship-feature B3 capitalize — BDR-014/015 + LRN-017..019 + EVAL-002 + journal + TODO
...
Memory registry capitalization after B3 i18n FR/EN ship.
- decisions.md +BDR-014 (PDF locale = render preference, store-driven, not Report schema field — dual label snapshot already carried).
- decisions.md +BDR-015 (typed ImportError discriminant kind + foundVersion; UI resolves message via dict; review caught hardcoded FR in domain layer).
- learnings.md +LRN-017 (i18n dict parity test: Object.keys().sort() equality + non-empty value assertion — cheapest drift guard).
- learnings.md +LRN-018 (useT hook pattern: selector subscribe + dict closure-per-render, no prop drilling, missing-key dev-warn + key-literal fallback).
- learnings.md +LRN-019 (exhaustive-deps trap when closures over store values appear inside useMemo deps — inline or useCallback).
- evals.md +EVAL-002 (B3 review caught critical FR leak in pdf/import.ts + attachment.ts that grep+analyzer both missed — i18n migrations must enumerate ALL string-emitting files including error paths).
- journal.md session 3 entry under 2026-05-20.
- TODO.md B3 subsection rewritten as DONE with checked checkboxes + cross-refs.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-20 07:43:11 +02:00
Bastien Chanot and Claude Opus 4.7
b7b094535e
chore(memory): TODO + journal + BDR-009..011 + LRN-011..012
...
Mark B0/B1/B2/B5 done on TODO. Journal 2026-05-20 entry with the three
commit SHAs and a per-phase recap. Three new design decisions captured:
JSON snake_case kept in TS (BDR-009), snapshot labels at selection time
(BDR-010), hard-fail v1 PDF with FR-language message (BDR-011). Two new
learnings: Zod recursive schemas via z.lazy + explicit ZodType<T>
(LRN-011), once-per-session UX modal via sessionStorage flag (LRN-012).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-20 03:51:36 +02:00
Bastien Chanot and Claude
a3afdcb763
chore(domain): drop equine findings JSON v1.1 + refactor plan
...
Adds the schema-v1.1 hierarchical findings JSON authored by the
domain expert at src/domain/species/equine/pathologies.json
(3-zone sample: sphenoid/ssb/atm — placeholder before full-body
authoring).
JSON is inert: not yet imported by the loader (still exports the
empty Pathology[]), so build and tests stay green.
TODO rewritten to sequence the V1 refactor:
- B0 findings schema + JSON loader with Zod parse at boot
- B1 ReportSchema v2 (observation.findings = path + snapshot)
- B2 FindingsTreePicker replacing flat PathologyPicker
- B3 i18n FR/EN site + PDF (locale store, dict, switcher)
- B4 PDF observationPage rendering findings
- B5 stub cleanup
- C full horse.json authoring + QA + docs + deploy
Known fixup: JSON species.id is "horse" but registry uses
"equine"; align JSON to "equine" at integration time.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-05-19 07:44:10 +02:00