bchanot
f8d9425d34
chore(memory): TODO 6.10 + journal — release/0.2.0 prepped, awaiting go
2026-10-11 17:34:19 +02:00
bchanot
dac75ab06c
chore(release): 0.2.0 — version.txt + CHANGELOG
2026-10-11 17:33:59 +02:00
bchanot
c746952d7f
Merge feature/step-06-pdf-archives into develop
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-11 17:32:15 +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
3a6e92625a
fix(pdf): inflater fed in 16 KiB slices (browser memory bound), shared 16 MiB candidate budget, monotonic bounded endstream search, JSON object pre-check
2026-10-11 17:08:56 +02:00
bchanot
6adc38b027
docs: hardening §4 commit pointer
2026-10-11 16:42:46 +02:00
bchanot
60ee71208f
fix(pdf): bounded attachment extraction by byte scan — no pdf-lib parse on import, export without object streams (BLK-009)
2026-10-11 16:42:45 +02:00
bchanot
62b8a43e09
feat(home): import messages open with a full-restoration or partial-recovery headline; BDR-040 recorded
2026-10-11 16:31:37 +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
e8f1734424
feat(editor): tell the practitioner when a restored draft was rebased on a different sheet
2026-10-11 16:15:13 +02:00
bchanot
5ed4a4b620
docs: PDF import hardening analysis (BLK-009) — byte-scan reader and object-stream-free export now, worker and parser replacement before external users
2026-10-11 16:12:22 +02:00
bchanot
293a6e0b36
fix(pdf): bundle the branding assets into the app (no fetch at export), export returns its warnings and the editor reports missing elements
2026-10-11 16:09:39 +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
cb95627a11
fix(pdf): PNG gate inflates IDAT natively against the exact raw size, validates IHDR fields, refuses zero dimensions and interlace (UPNG inflateRaw spin)
2026-10-11 14:52:03 +02:00
bchanot
0ceb357b18
fix(pdf): PNG chunk allowlist and mandatory empty IEND — text and profile chunks refused (UPNG nextZero spin)
2026-10-11 14:29:56 +02:00
bchanot
3a26c61119
fix(pdf): link URIs as ASCII hex (readable by poppler), PNG budget walks the chunk list (second IHDR and APNG refused)
2026-10-11 14:14:10 +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
1f417b21fd
fix(pdf): security hardening — hex-encoded link URIs, strict branding URL schema, branding and labels re-validated at export, PNG dimension budget, CSS escape and parenthesis rules in the sanitiser, finite raster size, file size checked before read
2026-10-11 13:54:18 +02:00
bchanot
4930704d8a
chore(memory): BLK-009 pdf-lib uncapped object-stream inflation on load
2026-10-11 13:43:30 +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
9bd5173a9c
feat(app): export and import through @faunosteo/pdf — snapshot, archived branding and labels, browser rasterizer, imported archive kept in session, explicit rebase with messages; legacy PDF modules removed
2026-10-11 13:32:14 +02:00
bchanot
20dafc0b00
chore(memory): step 6 whole-step verification contract
2026-10-11 13:12:37 +02:00
bchanot
9e681232cf
docs: step 6 sync — README layout and docs list, WORKSPACE package rule, DEPLOY rollback note, CHANGELOG entry
2026-10-11 13:11:44 +02:00
bchanot
ad48758f8c
docs(pdf): PDF-FORMAT.md written for real — pages, archive envelope v1, snapshot, layered reading, rebase, limits, compare tool
2026-10-11 13:11:04 +02:00
bchanot
c17956031d
feat(pdf): @faunosteo/pdf engine — explicit inputs, envelope v1 attachment, layered reader, xmldom composition, allowlist SVG sanitiser, WinAnsi guard, rasterizer adapter; goldens reproduced
2026-10-11 13:09:17 +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
8b86b926c8
test(pdf): step 6 phase 0 freeze — demo report, bare v3 PDF, 39 goldens (text, images, links, views) and route characterisation tests
2026-10-11 12:13:36 +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
72f19521d3
Merge chore/step-06-pdf-archive-analysis into develop
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-11 11:52:14 +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
072d761261
chore(memory): LRN-045 permanent will-change blurs composited text
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-10 22:43:11 +02:00
bchanot
91131713b1
Merge feature/step-05-app-on-canonical-sheet into develop
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-10 22:16:24 +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
1f0b710b6e
fix(editor): drop the permanent will-change on the findings list, its text blurred on screen
2026-10-10 22:15:09 +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
388e209ea9
fix(pdf): report:compare --diff follows the privacy default, generic reason on a malformed attachment, Unicode control and format characters escaped, regular files only
2026-10-10 16:01:12 +02:00
bchanot
b1b3e4927e
fix(pdf,tests): report:compare escapes control characters, prints names and free text only with --full, stats before read, missing file as a per-file failure; inferRegionCode regression test; import.ts JSDoc reattached
2026-10-10 15:53:07 +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
1e0491f3bc
test(anatomy,app): every legacy catalog leaf (612) and annotation (27) through the v2 to v3 migration against the draft document, the sheet index and a PDF roundtrip
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
17a6d9b323
test(app): former PDF, observation card, route and schema assertions restored on v3; foreign JSON attachment reported as no_attachment; doc counts
2026-10-10 12:21:19 +02:00
bchanot
06a2e86f3c
test: replacement coverage for the deleted legacy suites (v3 schema rejections, appointment kinds, i18n keys and placeholders, pickLocaleLabel, region mapping, new report route); importer comment
2026-10-10 12:06:59 +02:00
bchanot
09d8b01a54
fix(app): editor route split into dialogs and pickers components, canvas without lint suppression, findings picker coverage restored; golden test pins every generated draft file; stale doc lines
2026-10-10 11:55:57 +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
ce2ec26112
feat(app): application on the canonical sheet — report v3 store with v2 draft migration, bundled SheetProvider (SHEET_BUNDLE), annotation layer rendered from the document, zone interaction service, pickers and cards on the sheet index, PDF v3 export with v2 archive import; legacy registry, matchers, editors and assets removed
2026-10-10 11:36:14 +02:00
bchanot
0a17e390cf
feat(anatomy): report migration map and sheet reference generated by the pipeline, pure annotation-layer renderer (legacy marker look) shared with the app, app review drawings, marker colours as document data
2026-10-10 11:17:34 +02:00
bchanot
70bf992017
feat(domain): report document v3 (annotation ids, sheet ref, severity codes, unresolved findings), v2 schema as input, v2→v3 migration with map; annotation colour override
2026-10-10 11:11:25 +02:00
bchanot
cce0bdcd9c
test(app): freeze golden v2 PDFs exported by the current pipeline (step 5.0, synthetic reports)
2026-10-10 11:06:53 +02:00
bchanot
199e328298
Merge chore/step-05-migration-analysis into develop
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-10 11:04:23 +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
ce3d9634b3
Merge feature/step-04c-equine-curation into develop
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-10 10:33: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
34be7e23df
docs: schema v2 migration listed, one cleaned asset in the draft, curation file list; CHG-021 rationale names no uncited author
2026-10-10 10:05:29 +02:00
bchanot
ed3c70df59
fix(species): JSAVA 2018 citation completed (Le Roux & Carstens, DOI), access dates on undated web references; DEPLOY.md log path uses faunosteo_app
2026-10-10 09:57:21 +02:00
bchanot
6034909674
fix(anatomy): B/C changes leave every touched finding and annotation at to_confirm (applier rule, reviewed refused), typed test reads, docs numbers
2026-10-10 09:03:00 +02:00
bchanot
37550c29a5
fix(species): B-level head changes marked to_confirm instead of reviewed, question on the legal scope text
2026-10-10 02:02:16 +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
c8ebcde913
docs: step 4c curation layout, review drawings, plan and changelog entries
2026-10-10 01:53:11 +02:00
bchanot
4ba937b02f
feat(species): equine curation changeset — 44 research-backed changes, 48 references, draft regenerated (811 nodes, carpus zone, 9 points relocated)
2026-10-10 01:53:10 +02:00
bchanot
1a96a1555c
feat(anatomy): before/after review drawings per view, questions of every level in the report, tests on the real changeset
2026-10-10 01:53:10 +02:00
bchanot
6870d87910
feat(anatomy): curation pipeline — changeset schema, applier with before/after records, cleaned single asset, draft seed, changelog + review report generators; seed layout legacy-import/curation/draft
2026-10-09 16:50:08 +02:00
bchanot
3dbbfdf1df
feat(domain): sheet document schema v2 — references registry, review_status, vertebral count_range; SQL gate + pgTAP 008
2026-10-09 16:30:58 +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
584b165bfa
Merge feature/step-04b-equine-import into develop
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-09 16:13:50 +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
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