bchanot
bbfb8d6203
chore(chore): capitalize Step 4b — BDR-034, LRN-041, journal, TODO
2026-10-09 00:39:44 +02:00
bchanot
e5a0445b19
test(supabase): equine seed + storage pgTAP on both engines; docs for Step 4b; upload script resolves from caller dir
2026-10-09 00:38:49 +02:00
bchanot
52bfc11553
feat(domain): equine legacy importer (packages/anatomy) + generated official equine sheet seed as draft
2026-10-09 00:38:48 +02:00
bchanot
f4682cdba5
feat(supabase): sheet asset Storage bucket + read policy through the sheet, shim storage tables, seeds in the PGlite harness, upload script
2026-10-09 00:28:34 +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
1cc70c3589
Merge feature/step-04-anatomical-sheet-model into develop
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-09 00:23:08 +02:00
bchanot
5d32bed829
docs(docs): sheet model spec matches the hardened code (counter, SQL-only codes, census, migration list)
2026-10-09 00:05:39 +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
6966c54a2e
docs(docs): Step 4 sheet model in CLAUDE.md, SUPABASE.md, WORKSPACE, README, plan note, changelog
2026-10-08 23:45:01 +02:00
bchanot
8cac8b1a68
feat(supabase): regenerated types, row aliases, publishSheetVersion gate, schema test
2026-10-08 23:42:44 +02:00
bchanot
f4ceaf68f9
feat(supabase): anatomical sheets, immutable versions, assets, lifecycle RPCs, RLS + pgTAP
2026-10-08 23:42:43 +02:00
bchanot
36812f4625
feat(domain): canonical anatomical sheet document, integrity rules, tests
2026-10-08 23:42:42 +02:00
bchanot
aea8902711
docs(docs): anatomical sheet model spec (Step 4) + TODO plan
2026-10-08 23:42:42 +02:00
bchanot
da444309ae
Merge chore/supabase-cli-gitignore into develop
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-08 23:19:14 +02:00
bchanot
7891e36bdb
chore(chore): mark Step 3 validated in TODO + journal
2026-10-08 23:19:08 +02:00
bchanot
e5f81a4ebe
chore(supabase): ignore Supabase CLI local state (.branches, .temp)
2026-10-08 23:15:54 +02:00
bchanot
7ea0b1f905
Merge feature/step-03-supabase-foundation into develop
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-08 23:15:14 +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
8b233e5cf0
chore(supabase): adopt CLI-generated database.types.ts; db:types scripts pipe through prettier
2026-10-08 23:04:21 +02:00
bchanot
a2e33fe4a2
test(supabase): make pgTAP counts seed-agnostic (real stack carries seed accounts)
2026-10-08 23:04:20 +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
1e7d0327cc
fix(supabase): no USAGE on schema private for anon; pin it and RPC EXECUTE in pgTAP
2026-10-08 22:47:20 +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
5511a2158a
ci(ci): supabase job — start stack, pgTAP on the real image, generated types diff
2026-10-08 22:46:37 +02:00
bchanot
ab04b2e43d
style(supabase): prettier pass on the new TypeScript files
2026-10-08 22:46:37 +02:00
bchanot
d239374d81
feat(app): optional Supabase connection in runtime config + lazy typed client
...
- env.ts: supabase: SupabaseConnection | null resolved from env.js
(supabaseUrl/supabaseAnonKey), VITE_SUPABASE_*, else null; half config refused
- lib/supabase.ts: getSupabaseClient() null when unconfigured, one client per URL
- entrypoint.sh writes the two public values; .env.example placeholders
- Dockerfile copies packages/supabase manifest for the install layer
- no UI change; 7 new tests (278 app)
2026-10-08 22:43:18 +02:00
bchanot
ce76c6597a
feat(supabase): @faunosteo/supabase package with PGlite harness and typed client
...
- tests/db: PGlite (PostgreSQL 17 WASM) applies the Supabase shim + migrations and
runs supabase/tests/*.sql through pgTAP without Docker
- schema-types test pins tables, columns, enums, RPC args, RLS-on, no using(true)
- database.types.ts in supabase gen types format; createBrowserClient (PKCE)
- Supabase CLI pinned as root devDependency; db:* root scripts
2026-10-08 22:20:54 +02:00
bchanot
2d5ff0c33e
feat(supabase): foundation migrations (audit, profiles, platform roles) + pgTAP suite
...
- schemas private/audit, set_updated_at, append-only audit.audit_logs, private.log_event
- profiles created by auth.users trigger; own-row RLS; column-level UPDATE grant
- platform_role enum (owner/admin/moderator/support), profile_roles history table,
is_platform_* helpers, grant/revoke RPCs audited; writes only via RPC
- config.toml (public schema only, strong passwords, no edge runtime), local seed
- 79 pgTAP checks: allowed and denied paths for every policy
2026-10-08 22:20:54 +02:00
bchanot
62c5a3ac86
chore(chore): plan step 3 Supabase foundation in TODO
2026-10-08 22:06:37 +02:00
bchanot
d9a7bd70b8
chore(chore): refresh gitflow post-commit/post-merge hooks (fail-closed autopush)
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
2026-10-08 22:06:19 +02:00
bchanot
ab8451210b
chore(chore): capitalize step 2 decisions, learning and journal
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
2026-10-08 21:57:05 +02:00
bchanot
49596022c9
Merge feature/step-02-monorepo-workspace into develop
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
2026-10-08 21:56:42 +02:00
bchanot
02052f3622
docs(docs): restore 2026-05 design specs and plans under docs/history
...
Purged from docs/superpowers by the gitflow finish of step 1 (BDR-065);
that path is purged at every finish, so the records live under
docs/history/superpowers/ instead. References updated.
2026-10-08 21:51:13 +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
c8d48ab4cc
Merge feature/step-01-characterisation-tests into develop
2026-10-08 21:41:52 +02:00
bchanot
8f217d8103
chore: purge transient planning artifacts (BDR-065)
2026-10-08 21:41:51 +02:00
bchanot
e9047a99d2
chore(chore): capitalize step 0-1 learnings, eval and journal
2026-10-08 21:41:40 +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
bchanot
b0cce2cd8c
docs(docs): add SaaS implementation plan and architecture docs (step 0)
...
Eight documents under docs/development/ confronting the approved business
architecture with the audited code: 27-step plan, repository migration map,
domain map, frontend/backend architecture, migration and test strategy,
open questions. Reference document placed at the repository root.
2026-10-08 21:41:39 +02:00
bastien
2ae1e48b7e
chore(chore): refresh gitflow hooks (gitleaks backstop, auto-push, ref protection)
...
pre-commit gains a gitleaks secret scan on every branch, a per-repo
gitflow.protect opt-out, and exempts .githooks/** like .claude/**.
Adds the generated post-commit, post-merge and reference-transaction
hooks from the gitflow lib.
2026-10-06 23:53:24 +02:00
bastien
021569f44c
Merge chore/anatomical-audit into develop
2026-10-06 23:52:45 +02:00
bastien
e471d41c6b
docs(docs): add anatomical audit of existing SVG, catalog and report systems
...
Read-only technical audit before the SaaS redesign: 13 reports,
a logical anatomical-sheet JSON built from real horse data, verbatim
copies of the 52 relevant source files, and a self-contained ZIP.
2026-10-06 23:51:35 +02:00
Bastien Chanot
83e40af99b
Merge chore/tour-2026-07-12 into develop
2026-07-18 01:18:19 +02:00
Bastien Chanot
cbf62ff5c2
docs(tour): mark BUGS-FOUND B-1..B-6 fixed with commit refs
2026-07-12 17:54:23 +02:00
Bastien Chanot
d702e9fb45
chore(pdf): decompose addObservationPage (context object + sub-functions)
2026-07-12 17:52:50 +02:00
Bastien Chanot
fe307e1d8d
chore(editor): split onZoneClick into per-behavior handlers
2026-07-12 17:05:32 +02:00
Bastien Chanot
0ec1b27d1f
chore(pdf): extract shared render constants module
2026-07-12 17:02:45 +02:00
Bastien Chanot
a5849113e5
chore(i18n): extract shared pickLocaleLabel helper
2026-07-12 17:00:07 +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
9d8267ba22
chore: drop dead BoneState values and unreferenced logo PNGs
...
CLN-6: BoneState 'linked'/'multi' never produced anywhere + their two
CSS rules. CLN-7: 22 of 24 public/assets PNGs unreferenced (favicon is
/favicon.svg; PDF uses the two kept 512px files) — SVG sources and
generate-sizes.sh remain in logos/. Shrinks every build/Docker image.
2026-07-12 16:34:22 +02:00