Commit Graph
100 Commits
Author SHA1 Message Date
bchanot 5ed1f01c37 docs(supabase): owner procedure for M1 on DEV and the isolated stack
SUPABASE.md §3.3: target, history, drift, accounts, backup with auth data and its check, migration up without reset, checks after; every command rehearsed on the isolated stack. §5.1: pnpm db:sandbox.
2026-10-25 20:57:09 +01:00
bchanot 08abe42c48 test(supabase): isolated Supabase stack and real-stack suite for M1
scripts/db-sandbox.sh (pnpm db:sandbox): DEV images on an own network, loopback ports distinct from DEV, no volume, secrets generated outside Git; fresh and upgrade modes through the CLI's migration up, test db and gen types with --db-url. packages/supabase/tests/sandbox: M1 sign-up and confirmation, reads and refusals per role, residual GoTrue admin path, correlation cap, concurrent sessions.
2026-10-25 20:57:09 +01:00
bchanot 6bf69787cb chore(memory): BDR-074, EVAL-036, V1-1.1 journal, TODO, gate contract 2026-10-25 20:08:33 +01:00
bchanot 0f8c9833cc docs(docs): V1-1 owner decisions N1-N9 and M1 as built
Contract: N4 voiding instead of deletion, N5 date constraints, N6 write budget per workspace under a lock, N7 effective-privilege wording and residual admin paths, N9 audit metadata limited to ids; M1 as-built notes and isolated-stack results (§8.1). SUPABASE.md §3.3 with the owner procedure to apply M1 on DEV without reset; backend architecture, test strategy, plan and CLAUDE.md lines.
2026-10-25 20:00:06 +01:00
bchanot 7bf4fb6079 feat(supabase): workspaces M1, one personal workspace per account
V1-1.1 (contract V1-1_OWNERS_ANIMALS.md §4, §8, §9). Tables workspaces and workspace_members, created with the profile by trigger through one atomic, idempotent write path; deferred invariant (a personal workspace has exactly its account as holder); backfill of existing profiles; access helpers caller_workspace_ids (active profile, confirmed email) and writable_workspace_ids; RLS select for members only; no privilege for anon or service_role. log_event keeps x-correlation-id only as a short token. pgTAP 012 (85 checks), census and types updated, config test.
2026-10-25 19:53:16 +01:00
bchanot 5d734be512 chore(memory): BDR-073 V1-1 ratification, EVAL-035, V1-1 plan in TODO 2026-10-25 19:15:35 +01:00
bchanot a6346105f1 docs(docs): V1-1 contract approved, technical design for review
Owner ratified the V1-1 business decisions. The contract now records them
as approved, adds the nomenclature, the proposed SQL schema, RLS, RPCs,
technical limits, journeys and test plan, and lists the choices left for
the owner. OPEN_QUESTIONS, plan, DOMAIN_MAP, README and CLAUDE.md follow.
2026-10-25 19:15:35 +01:00
bchanot 5502617193 chore(memory): close P0 in TODO after merge
ci / rust (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-25 18:09:42 +01:00
bchanot dae74e00dc Merge chore/p0-doc-realignment into develop
ci / rust (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-25 18:09:27 +01:00
bchanot 858d0f37b9 chore(memory): P0 arbitration, BDR-071, BDR-072, EVAL-034
Roadmap principle validated, BDR-041 step number corrected by a new
entry, inventory contradiction with D-R7 recorded, journal, TODO with
the nginx /species/ code debt and the V1-1 ratification gate.
2026-10-25 17:12:43 +01:00
bchanot d4f628f8c8 docs(docs): separate public 0.1.0 from develop in README and DEPLOY
README splits the public 0.1.0, develop, DEV-only features and planned
work. CHANGELOG states nothing under Unreleased is deployed. DEPLOY gets
a status notice (historical, unverified, would-break, security
prerequisites) and marks both CSP examples as not production-ready;
fixes stay with RR-5.
2026-10-25 17:12:38 +01:00
bchanot ac60b24267 docs(docs): realign active docs on develop for P0
Roadmap section and step statuses in the plan, D-R9 Rust services in
place of Edge Functions and a Node worker, platform roles per BDR-026,
equine sheet draft-only, curation-only authoring until Step 17,
OPEN_QUESTIONS statuses and conflict resolutions, dated snapshot
notices on the Step 0 documents.
2026-10-25 17:12:37 +01:00
bchanot c71fafa3c5 docs(docs): add V1-1 clients and animals contract
Functional contract for roadmap item V1-1 with the owner's orientations
of 2026-10-25 recorded as proposals awaiting ratification (D1-D9, D16,
C4-C6), their SQL and permission impact, the sub-choices they leave and
the decisions still open. No migration, table, RPC or component.
2026-10-25 17:12:30 +01:00
bchanot 0c54e4b3c3 chore(memory): functional inventory, roadmap proposal, release readiness track
ci / rust (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-25 15:06:37 +01:00
bchanot d6306ff448 chore(memory): R5 merged into develop (9ba2a25), journal
ci / rust (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-25 14:45:12 +01:00
bchanot 9ba2a250f4 Merge feature/rust-r5-pipeline-core into develop
ci / rust (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-25 14:44:48 +01:00
bchanot 505a837124 docs(docs): R5 merge status, R5.7 follow-ups per owner decision 2026-10-25 14:44:29 +01:00
bchanot 9992f23b26 chore(memory): R5.7 pre-merge, LRN-078, LRN-079, EVAL-033 2026-10-25 13:57:57 +01:00
bchanot 97529f95b8 docs(docs): R5.7 pre-merge record, final security audit, doc precisions 2026-10-25 13:57:56 +01:00
bchanot 27bf59cd4b docs(docs): R5.7 owner decision C6 (tsx optional peer), pre-merge note 2026-10-25 13:37:22 +01:00
bchanot cd69f0ea11 test(tests): R5.7 census refuses #[ignore] ledger targets 2026-10-25 13:37:22 +01:00
bchanot ce9768d679 docs(docs): R5.7 security audit report (PASS, 2 LOW) 2026-10-25 04:19:02 +01:00
bchanot 475a41d705 fix(tests): R5.7 gate findings, digest typo, census needs #[test] fns
RUST.md and FILES.tsv carry ba79698c...fde7; ledger cargo targets must name a #[test]
function. Verifier and security reports recorded, journal entry.
2026-10-25 04:18:52 +01:00
bchanot 4e0a6c04d6 docs(docs): R5.7 census, ledger, reproducibility, RUST.md 11.23
CLAUDE.md, WORKSPACE, packages/README, README, sheet model, SUPABASE, TEST_STRATEGY,
PDF-FORMAT and ANNOTATION-RENDERING follow the deletion; RUST.md 11.23 records the census,
counts, the historical TS replay procedure and hashes; CHANGELOG, TODO, R5.7 plan and
contract.
2026-10-25 04:00:15 +01:00
bchanot 1b359598ab chore(workspace): R5.7 delete packages/anatomy and packages/domain
The TS pipeline, domain, upload script and legacy scripts leave; xmldom out of the
lockfile, Dockerfile copies trimmed. LEDGER.tsv (407 cases) and FILES.tsv (112 files)
record each disposition; r4 and r5 census tests guard the tree, lockfile and
production imports.
2026-10-25 04:00:07 +01:00
bchanot 0da7d3ab9f test(domain): R5.7 port the contracts only the TS suites checked
612 leaves and 26 legacy ids (curation_leaves), region inference, R5.1 ledger rows,
generated folder lists, migration-map oracle entry by entry, overlay removal, halo
filter, CHG-000 and dollar-tag refusals; report-v2 fixtures moved to crates/core/tests
(sha256 unchanged).
2026-10-25 03:59:49 +01:00
bchanot 756b7ef34d docs(docs): TODO, drop the duplicated R5.6 line 2026-10-25 02:24:45 +01:00
bchanot b4f54ba000 docs(docs): R5.6 active, RUST.md 11.22, CHANGELOG, BDR-070, LRN-077, audits, contract clarification 2026-10-25 02:24:35 +01:00
bchanot 9e87016399 feat(domain): R5.6 fingerprint switch to sha256-rfc8785-validated-v1
The Rust pipeline is the official seed writer (pnpm import:equine); sheet-ref.json
and report-migration-map.json carry 12d78872...74e2 and the v1 block, the only two
seed files changed. 27c7383c...2660 stays a registered alias, honoured only through
LoadedSheet::recognises_historical_stamp (verified v1, recomputed document). M1: the
snapshot of an old report keeps its stamp; export, archive reader strict. Historical
oracles run in their pre-switch context; equivalence is crate-private.
2026-10-25 02:02:42 +01:00
bchanot 59521dc195 docs(docs): R5.6 M1 corrected, final rehearsal results, audits, memory 2026-10-25 02:10:38 +02:00
bchanot baff88280f chore(docs): R5.6 final switch patch after the M1 correction, contract clarification (inactive) 2026-10-25 01:54:28 +02:00
bchanot 8e77e37633 chore(docs): R5.6 switch patch with the M1 correction (inactive) 2026-10-25 01:28:09 +02:00
bchanot bc36d3d639 docs(docs): EVAL-032 2026-10-25 01:13:25 +02:00
bchanot 65fa30893d docs(docs): R5.6 rehearsal gates, export alias gap stated, audits 2026-10-25 01:13:14 +02:00
bchanot 6ade9176d9 docs(docs): R5.6 rehearsal results, TODO, journal 2026-10-25 00:58:11 +02:00
bchanot 82e2e43ba3 chore(docs): R5.6 rehearsal contract and final switch patch (inactive) 2026-10-25 00:57:45 +02:00
bchanot 943a25a98f fix(domain): R5.6 prep gates, strict declared block, patch builds, docs corrected
v1 refuses a non-hex or historical value (NotCanonical); the switch patch now builds
report-compare and refuses unknown block keys; RUST.md 11.19 states the measured
rehearsal (4 + 3 expected failures) instead of a green claim.
2026-10-24 14:57:44 +02:00
bchanot 3b9a395d43 feat(domain): R5.6 prepared, fingerprint convention and registry inert, switch patch
canonical_json (RFC 8785), sheet_fingerprint behind feature fingerprint,
TRUSTED_ALIASES (one equine pair), equivalence and check_declared; tests against
the RFC vectors, the V8 numbers, an independent Node reference and the archives.
No consumer wired: the switch is a rehearsed patch under .claude/tasks/plans.
2026-10-24 14:36:01 +02:00
bchanot 1f8873dbce docs(docs): R5.5 closing gates round 2, contract clarification, TODO 2026-10-24 03:59:04 +02:00
bchanot 1ec9e1bea6 fix(domain): shape check sees positional parents, multicast never an own address 2026-10-24 03:47:07 +02:00
bchanot 257a29b09b docs(docs): R5.5 close memory, LRN-076, EVAL-030, BDR-069 2026-10-24 03:34:57 +02:00
bchanot d502dfa923 fix(domain): refuse three non-canonical v3 shapes, R5.5 LOW fixes, R5.6 plan
check_v3_shape at read_report_document v3 and parse_envelope (sheet, practitioner
as non-objects, severity as non-string); Protocol errors final; DEV address must be
an own unicast address. SQL confirm function and DEV keys characterised, no change.
2026-10-24 03:34:38 +02:00
bchanot 13db5539a3 docs(docs): R5.6 prerequisites, fingerprint census stated exactly 2026-10-23 21:55:56 +02:00
bchanot dead54612b docs(docs): R5.5 gate round 2, checkpoint, memory, TODO 2026-10-23 21:55:31 +02:00
bchanot fad85c0f92 fix(supabase): R5.5 round 2 nits, e2e INIT_CWD, final error wording 2026-10-23 21:43:30 +02:00
bchanot 56593af25c fix(supabase): R5.5 gate round 1, final errors, four attempts, keys off argv, runbook 2026-10-23 21:34:24 +02:00
bchanot a481af52c7 docs(docs): R5.5 upload tool runbook, caps, serde tolerance characterisation, contract 2026-10-23 21:16:59 +02:00
bchanot 2c445063a4 feat(supabase): R5.5 upload-sheet-assets in Rust, R5.4 caps and FLOOR clarification
Core rules curation::upload (manifest, local destination, bytes through the SVG reader,
plan from observed state); binary upload-sheet-assets over ureq (handshake, no overwrite,
confirm after verify, bounded retries, key never printed); pnpm assets:upload repointed,
e2e:sheet-assets for the local stack. 4 MiB cap on changes.json and references.json.
FLOOR clarification for audit prose with its negative proof.
2026-10-23 21:15:22 +02:00
bchanot 637ea6334c docs(docs): R5.4 round 14 verdict, memory, TODO 2026-10-23 18:10:05 +02:00
bchanot eb667ada57 docs(docs): R5.4 synthetic coverage and URL query rule stated exactly 2026-10-23 17:39:33 +02:00
bchanot 88e42749ec docs(docs): R5.4 emoji refusal named at the guard, round 12 residuals declared 2026-10-23 17:13:30 +02:00
bchanot c4e717da86 fix(anatomy): R5.4 drawings projection charges each drawing's fixed parts 2026-10-23 16:38:06 +02:00
bchanot 411e1058c0 fix(anatomy): R5.4 review drawings bounded per annotation, report tables summed, docs counts 2026-10-23 15:59:19 +02:00
bchanot 29eb499539 fix(anatomy): R5.4 records weigh every cloned string with its header 2026-10-23 15:34:38 +02:00
bchanot 8bdb079f70 fix(anatomy): R5.4 records charged at each record, review drawings bounded before rendering 2026-10-23 15:21:31 +02:00
bchanot 5880dfa959 fix(anatomy): R5.4 records bounded in total, CHANGELOG tables projected before they are joined 2026-10-23 14:58:40 +02:00
bchanot 777c8000b8 fix(anatomy): R5.4 aligned report tables bounded before they are built, declared case fully held, docs 2026-10-23 14:39:51 +02:00
bchanot aeb5050502 fix(anatomy): R5.4 field segments and code spans on the generator alphabet, wiki and liquid brackets refused in list items, linear guard 2026-10-23 13:58:14 +02:00
bchanot 1b12d90325 docs(docs): R5.4 fifth gate round declared, audits 2026-10-23 13:21:29 +02:00
bchanot bc5d0ad038 fix(anatomy): R5.4 authored backticks refused, underscores paired across code spans refused; sweep cites probe_ref and probe_ref_ 2026-10-23 13:21:28 +02:00
bchanot aff3a96d55 docs(docs): R5.4 fourth gate round declared, guarantee restated exactly, audits 2026-10-23 13:02:22 +02:00
bchanot dcef2eb79c fix(anatomy): R5.4 guard rules & (legacy references), image references, nested padded wiki links; linear URL checks 2026-10-23 13:02:21 +02:00
bchanot 6d4fdd65b2 docs(docs): R5.4 third gate round declared (allowlist guard, empirical guarantee), audits 2026-10-23 12:39:18 +02:00
bchanot 124d954a0d fix(anatomy): R5.4 report guard as an allowlist (report_guard.rs), sweep of 762 probes incl. seeded random strings, NUL refused in field segments 2026-10-23 12:39:17 +02:00
bchanot 077d91bdff docs(docs): R5.4 second gate round declared, contract clarification (markdown-sweep oracle), audits 2026-10-23 12:10:36 +02:00
bchanot df82424107 fix(anatomy): R5.4 guard covers links, autolinks, references, CJK underscores; ids validated at the op; prescan before the drawing comparison 2026-10-23 12:10:35 +02:00
bchanot 68dec25e5e docs(docs): R5.4 first gate round declared (Markdown guard, strict comparison), audits 2026-10-23 11:51:42 +02:00
bchanot 94f8b35105 fix(anatomy): R5.4 Markdown guard from a TypeScript sweep, strict drawing comparison, unwritable characters refused, indexed renderers 2026-10-23 11:51:41 +02:00
bchanot 0a79c52e62 chore(memory): R5.4 TODO 2026-10-23 11:21:50 +02:00
bchanot b27121ff08 docs(docs): RUST.md §11.14-11.15 (R5.4 review files, declared R3 trigger-name difference, checkpoint), CHANGELOG, CLAUDE.md 2026-10-23 11:21:50 +02:00
bchanot fef21d67ef feat(anatomy): R5.4 review files in Rust (CHANGELOG, REVIEW-REPORT, review overlays, app drawings) and the whole-draft --check 2026-10-23 11:21:49 +02:00
bchanot 43ce28a79b chore(memory): R5.4 plan and contract 2026-10-23 11:12:50 +02:00
bchanot 0a78492d64 chore(memory): R5.3 closed on c6e0d85 (verifier CONFORME 13/13, security PASS), journal, TODO, security final6 2026-10-23 11:12:22 +02:00
bchanot c6e0d851a9 docs(docs): R5.3 fifth final round declared (RUST.md §11.12-11.13), security final5, verify record 2026-10-23 10:51:40 +02:00
bchanot f245b3ec25 fix(anatomy): R5.3 __proto__ field segments refused, seed identity guard over the whole seed tree, hashed id comparisons 2026-10-23 10:51:39 +02:00
bchanot 3ece1a64b1 docs(docs): R5.3 fourth final round declared (RUST.md §11.12-11.13), security final4, verify record 2026-10-23 10:32:45 +02:00
bchanot 07d63076d3 fix(anatomy): R5.3 authored values read as JSON.parse does (key order, big integers), non-list children refused, document value bound, --check and seed guard by identity 2026-10-23 10:32:44 +02:00
bchanot 6c0fe88725 docs(docs): R5.3 third final round declared (RUST.md §11.12-11.13), security final3, verify record 2026-10-23 10:11:51 +02:00
bchanot 86273b6206 fix(anatomy): R5.3 non-object children refused at add, reads confined to the seed, array length in the shape check, only run-created folders, seed guard tested in place 2026-10-23 10:11:51 +02:00
bchanot 42bbc48fcc docs(docs): R5.3 second final round: shape alignment, residual risks measured, R2 derive leniency raised to the owner; audits, TODO 2026-10-23 01:33:02 +02:00
bchanot 776c7095b3 fix(anatomy): R5.3 shapes refused as Zod did (struct as array, enum as map), reads bounded to regular files, --check never follows links, plain names in --out 2026-10-23 01:33:01 +02:00
bchanot 314cf04e6a docs(docs): R5.3 final-gate fixes declared (RUST.md §11.12-11.13), security final audit, verify record 2026-10-23 01:08:08 +02:00
bchanot 9f11499f2c fix(anatomy): R5.3 final gates: NUL field segments refused, field path and document depth bounded, --out writes exclusive, .. / missing parent / seed destination refused 2026-10-23 01:08:07 +02:00
bchanot 865490512e docs(docs): R5.3 Object.prototype characterisation, migration-map debt kept (owner 2026-10-23); memory LRN-072, LRN-073, EVAL-028, TODO 2026-10-23 00:50:23 +02:00
bchanot 9901106a62 test(anatomy): R5.3 characterisation: Object.prototype member as a plain key, migration-map cascade debt, refusal reasons compared by stage 2026-10-23 00:50:22 +02:00
bchanot 8010661de6 chore(memory): R5.3 contract, security and verifier audits, TODO, plan status, journal 2026-10-23 00:11:06 +02:00
bchanot 94280a4c56 docs(docs): RUST.md §11.12-11.13 (R5.3 draft port, parity, declared differences, gates, checkpoint), CHANGELOG, CLAUDE.md commands 2026-10-23 00:11:06 +02:00
bchanot e0f149b28a feat(anatomy): R5.3 curated draft in Rust (changeset applier, migration map, stats, seed SQL) and pnpm r5:import-equine
crates/core/src/curation/draft behind the curation feature: strict changeset and references parsing as JSON.parse + Zod, the six ops, rename cascades, the B/C review rule, the R2 shape and integrity gate, migration map, document stats, seed SQL. import-equine writes both folders; --check reproduces legacy-import/ and the R5.3 draft files byte for byte (12 files, 0 differences), --out claims an absent or empty, non-symlink destination and never deletes. Parity: 825 records, 46 changes, stats, 612 leaves 442/141/29, 58 synthetic TypeScript cases (oracle r5/curation-synthetic.json).
2026-10-23 00:10:55 +02:00
bchanot 5e114da2ce chore(memory): R5 owner decisions BDR-068, R5.1b/R5.2 contract, TODO, journal, LRN-071, EVAL-027 2026-10-22 21:24:05 +02:00
bchanot 6afc1e0a37 fix(anatomy): import report reads the id map with get instead of panicking Map indexes (security gate LOW) 2026-10-22 21:24:04 +02:00
bchanot 82f166450c docs(docs): RUST.md §11.9 to §11.11 (F1 fix and audit, R5.2 importer parity, declared differences, checkpoint), CHANGELOG 2026-10-22 21:14:46 +02:00
bchanot 03bdb5eaa0 feat(anatomy): R5.2 legacy importer in Rust (curation feature, import-equine --check/--out), Prettier JSON and table layout, JS semantics; parity oracles frozen from the TypeScript 2026-10-22 21:14:45 +02:00
bchanot aed6b1e300 fix(domain): js_number rounds exact decimal ties to even as ECMAScript (zmij digits); V8 oracle of 44,322 values, Zod oracle bytes checked against the core's printing 2026-10-22 20:50:32 +02:00
bchanot 64d4595e73 chore(memory): R5 plan, pipeline inventory and documentSha256 census audits, TODO R5.1, journal, LRN-070, EVAL-026 2026-10-22 20:18:13 +02:00
bchanot 60cc0f5fa8 test(anatomy): R5.1 freeze of the TypeScript pipeline (oracles r5: intermediates, ids, fingerprint matrix) and the D-R5 study scripts; RUST.md §11 2026-10-22 20:18:12 +02:00
bchanot 9c0117a692 chore(memory): R4 merged into develop (96ae75e), journal
ci / rust (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-21 22:24:21 +02:00
bchanot 96ae75e025 Merge feature/rust-r4-pdf-core into develop
ci / rust (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-21 22:23:51 +02:00
bchanot 3a7937e9fb docs(docs): R4 close: J1/J2 results as declared (real iPhone Safari iOS, missing details listed), RUST.md §10.15 residual risks and final checks, PDF_IMPORT_HARDENING.md §7, CHANGELOG headers, TODO R4.13, BDR-067 2026-10-21 22:23:32 +02:00
bchanot 22bbfb4c8b chore(memory): LRN-069 id 2026-10-21 19:04:22 +02:00
bchanot 17f6a17809 chore(memory): R4.12 gates recorded, RUST.md §10.14 router note from the security gate, journal, learning 2026-10-21 19:04:14 +02:00