Commit Graph
46 Commits
Author SHA1 Message Date
bchanot 6e2bbec4b0 docs(docs): Ubuntu native development, Docker for services and isolation, separate VPS; pnpm check:all; CI status
RUST.md §1 (three environments, native install recipe, what stays in Docker
and why), §4 (pre-merge gate, workflow files prepared and never run), §5.8
(native run numbers against the builder image), §6; CLAUDE.md stack row,
commands, map, workflow rule; README quick start and verification; DEPLOY.md
CI status; WORKSPACE.md; TEST_STRATEGY.md; CHANGELOG; review Annex C.1
addendum of 2026-10-13.
2026-10-13 01:19:15 +02:00
bchanot 3af2861be7 fix(worker): iCCP-bomb proof asserts the content-rejection property (either content code); docs(docs): RUST.md worker and release workflow wording after the second security pass 2026-10-13 00:37:33 +02:00
bchanot 11813f5560 fix(worker): security audit of R0 — no core dumps, tkill/tgkill limited to SIGABRT on self, mmap without PROT_EXEC, Broken outcome for a broken child environment, frame vs canvas check, unsafe denied with local allows, sandbox tests and derivation on the release profile (syscall marker); wasm proof exports behind a feature; ci: release-images hardened (typed input via env, advisories gate, ephemeral builder, env secrets + logout, ref gate, pinned checkout) 2026-10-13 00:18:53 +02:00
bchanot 9d3e0294e2 docs(docs): RUST.md with the R0 proofs, DEPLOY image deploy by digest + CSP note, workspace/test strategy/packages/CLAUDE.md, CHANGELOG; chore(memory): TODO R0 2026-10-13 00:01:27 +02:00
bchanot 40d416b497 docs(docs): Rust review Annex C — owner validation and amendments (D-R4, D-R5, D-R9, D-R13), R0 go; chore(memory): BDR-045 2026-10-12 23:28:07 +02:00
bchanot 51667788e5 docs(docs): Rust review annexes — expanded decision table D-R1..D-R14 and R0 scope (Docker builder toolchain, 7 experimental proofs); chore(memory): BDR-044 orientation validated, journal, TODO R0 2026-10-12 22:58:09 +02:00
bchanot 3fbf34f663 docs(docs): Rust review rev 2 — 61 challenger findings folded (3 crates, frozen oracles, consumer-driven deletion, keyless parent, CSP/digest deploy); CLAUDE.md Rust-by-default rule; chore(memory): BDR-043, LRN-048, EVAL-016, journal, TODO Rust roadmap 2026-10-12 22:48:48 +02:00
bchanot 6a078dab74 docs(docs): Rust-by-default architecture review rev 1 — inventory, hidden contracts, A/B/C classification, Rust worker, workspace, roadmap R0–R6, 14 owner decisions 2026-10-12 22:21:49 +02:00
bchanot aae0b392f8 docs(docs): Step 8 analysis rev 2 — 47 challenger findings folded (keyless decode child, write order, purge queue + grace, download under RLS, narrowed schema); chore(memory): TODO 8.x 2026-10-12 01:29:57 +02:00
bchanot 54df4d851a docs(docs): Step 8 files foundation analysis — storage model, worker, quarantine, policies, backups, scope 2026-10-12 01:11:28 +02:00
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 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 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 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 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 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 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 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 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 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 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 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 c8ebcde913 docs: step 4c curation layout, review drawings, plan and changelog entries 2026-10-10 01:53:11 +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 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 52bfc11553 feat(domain): equine legacy importer (packages/anatomy) + generated official equine sheet seed as draft 2026-10-09 00:38:48 +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 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 aea8902711 docs(docs): anatomical sheet model spec (Step 4) + TODO plan 2026-10-08 23:42:42 +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 1dd45a3109 docs(docs): SUPABASE.md runbook + CLAUDE/README/DEPLOY/WORKSPACE updated for the Supabase foundation 2026-10-08 22:46:38 +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 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