Commit Graph
195 Commits
Author SHA1 Message Date
bchanot 7bf1404946 chore(memory): LRN-114 worktree loss, durable worktree, V1-2.6 execution ledger 2026-11-04 13:26:04 +01:00
bchanot 2571978780 chore(memory): V1-2.6 owner GO, C26 repair rules, C32-C34 2026-11-04 11:32:18 +01:00
bchanot f34381c242 chore(memory): V1-2.6 owner arbitrations, plan revised, re-check REMAINING(1) 2026-11-03 22:04:29 +01:00
bchanot 4657abf1e3 chore(memory): V1-2.6 plan, contract, gate re-check REMAINING(2) 2026-11-03 21:27:30 +01:00
bchanot 7f618d05a2 chore(memory): BDR-099 V1-2.5 decisions, LRN-113 TOTP reuse, Storage 409, sandbox order 2026-11-03 11:05:44 +01:00
bchanot b4415a382f chore(memory): V1-2.5 VERIFIED after owner checkpoint corrections, journal 2026-11-03 00:14:26 +01:00
bchanot 14ff890761 chore(memory): V1-2.5 checkpoint, LRN on inert drawer and GoTrue MFA, journal 2026-11-02 19:49:38 +01:00
bchanot ff9d5c4a3d chore(memory): BDR-098 deprecated fingerprint 2026-11-02 17:18:28 +01:00
bchanot a701b04210 chore(memory): BDR-097 V1-2.5 start decisions, TODO plan 2026-11-02 16:06:55 +01:00
bchanot 410025715c chore(memory): BDR-096 V1-2.4 graphic approval, TODO, journal 2026-11-02 15:38:53 +01:00
bchanot 74aa8f6099 chore(memory): BDR-095, V1-2.4 label arbitrations, journal 2026-11-02 14:52:37 +01:00
bchanot c2a3147293 chore(memory): V1-2.4 final graphic corrections, journal 2026-11-02 14:01:19 +01:00
bchanot fdf0f7f023 chore(memory): BDR-094 V1-2.4 catalogue access UX, journal 2026-11-02 12:53:29 +01:00
bchanot 1a68cd8351 chore(memory): V1-2.4 G1/G2 corrections, verifier CONFORME, journal 2026-11-02 12:44:41 +01:00
bchanot a15c35ca66 chore(memory): V1-2.4 open UX decisions, journal 2026-11-02 01:00:41 +01:00
bchanot 8191e3a42c chore(memory): DEV read incident report, LRN-110 supersedes LRN-102 2026-11-02 00:25:30 +01:00
bchanot 9c4603755e chore(memory): journal, DEV read incidents 2026-11-02 00:11:51 +01:00
bchanot 8db62b43e2 chore(memory): BDR-093 V1-2.3 verified, CPU-contention MEDIUM accepted temporarily 2026-11-02 00:09:03 +01:00
bchanot 57b93afae6 chore(memory): V1-2.3 closure verified, journal 2026-11-01 23:47:04 +01:00
bchanot 26e4b1b0ee chore(memory): V1-2.3 reserves verified, journal 2026-11-01 22:01:06 +01:00
bchanot a6de7d6b94 chore(memory): V1-2.3 reserves contract, plan, LRN-109 brk 2026-11-01 21:03:00 +01:00
bchanot a48aaf7499 chore(memory): journal V1-2.2 closure and V1-2.3 build 2026-11-01 18:03:57 +01:00
bchanot 5eca08688a chore(memory): V1-2.2 closure, mutations rerun on final code, BDR-092, LRN-108, V1-2.3 contract 2026-11-01 16:38:53 +01:00
bchanot e190dfc794 chore(memory): V1-2.2 interior rule evidence, tools, LRN-105..107 2026-11-01 13:40:57 +01:00
bchanot de2dfb392e chore(memory): V1-2.2 owner decisions evidence, BDR-091, LRN-103/104 2026-11-01 02:01:50 +01:00
bchanot f1bb19b30b chore(memory): V1-2.2 three MEDIUM evidence, lot B patch, contract, TODO, journal 2026-10-31 23:39:40 +01:00
bchanot 958228a9de chore(memory): V1-2.2 root visibility evidence, A6 decision, BDR-089/090, LRN-102 2026-10-30 18:56:49 +01:00
bchanot 81f7639c75 chore(memory): V1-2.2 reserved ids evidence, mutations, contract, TODO 2026-10-30 17:31:01 +01:00
bchanot 2f1f0764bf docs(docs): V1-2.2 finalisation review drift, canvas size cap, TODO 2026-10-30 15:21:05 +01:00
bchanot f976f33307 chore(memory): V1-2.2 finalisation, A6 scope, BDR-088, LRN-101, floor wording 2026-10-30 15:05:56 +01:00
bchanot 98060d74a3 chore(memory): V1-2.2 owner decisions, BDR-087, LRN-100, final review 2026-10-30 12:50:01 +01:00
bchanot 05de816962 chore(memory): V1-2.2 final module size, check:all on f1ef6a4, journal 2026-10-29 17:22:03 +01:00
bchanot 17d919971e chore(memory): V1-2.2 checkpoint, evidence, BDR-086, LRN-097/098, TODO 2026-10-29 14:05:28 +01:00
bchanot ac71c5b662 chore(memory): V1-2.1 final checkpoint, TODO, journal 2026-10-28 21:21:09 +01:00
bchanot 1f9fa8b835 chore(memory): V1-2.1 raw old-schema repro log, evidence, LRN, TODO 2026-10-28 20:51:17 +01:00
bchanot 7c4bf124f4 chore(memory): V1-2.1 review findings fixed, evidence, TODO, journal 2026-10-28 20:16:34 +01:00
bchanot 12816671e4 chore(memory): V1-2.1 final decisions evidence, BDR-085, TODO, journal 2026-10-28 19:41:17 +01:00
bchanot f80f325fd6 chore(memory): V1-2.1 evidence update, M7 rehearsal scripts, TODO, journal 2026-10-28 18:44:00 +01:00
bchanot 3914eaa866 fix(supabase): V1-2.1 harden M5 after the security and verifier gates
Fresh security audit PASS; verifier ECARTS(10) addressed:
- publish re-checks the approver's sheet_reviewer grant (publish.approval.invalid)
- scope disclaimer enforced at approve and publish (publish.disclaimer.missing, O6)
- to_confirm split from inherited (publish.to_confirm.open distinct from publish.inherited.present)
- save_sheet_draft requires an active sheet; working copy adds the 2 MiB octet_length check
- delete_sheet_asset EXECUTE revoked from service_role (§5.4 surface)
- species table comment updated (§7.2); lease columns dropped from the reviews grant
- lock order sheet->version->round in decide/publish; conflict_retry kind (40001/40P01) in sheets.ts
Tests: pgTAP 016 (omitted status, separation, revoked-reviewer + renewal, ack carry,
inactive-species publish refusal, deprecated-delete, schema_version 1, content-write
without actor, working-copy positive), 001 census (no other writer of profile_roles).
871 real-stack pgTAP / 122 PGlite / 4 sandbox green; typecheck, lint, types drift clean.
2026-10-28 16:20:51 +01:00
bchanot 77e5fa4cf5 feat(supabase): V1-2.1 M4/M5 secure sheet access and review workflow
M4 20261028100000_sheet_access_hardening + M5 20261028110000_sheet_review_workflow
(applied together; no unprotected window). Implements contract §5-§14.

- Catalogue rights table + owner RPCs; has_mfa / has_aal2_session (live
  auth.sessions check); grant_active vs caller_has split; catalogue reader
  predicate; can_edit_sheet on the sheet_editor capability (F14).
- AR-1 B: aal2 required on every platform role change, target verified factor,
  race-free last-owner guard (F18/F19); service_role loses table privileges on
  the catalogue + profiles/profile_roles and EXECUTE on the role RPCs (F12/F17).
- Reviewed lifecycle: version provenance + review columns, content/freeze/
  author triggers, rounds/comments/acknowledgments, save/submit/withdraw/
  comment/acknowledge/decide, atomic publish_sheet_version(review_id) on the
  stored verdict, deprecate/archive/restore, species RPCs, equine working copy,
  uploads with the storage check (F7) + editor INSERT policy + 2 MiB bucket.
  F1-F3,F5,F6,F8,F9,F13,F15,F16 closed. Verdict is a fixture until M6 (V1-2.3).
- O22: SQL business mirror removed, declared status check kept; pgTAP 011 and
  the Rust generator's SQL parts deleted, ledger retargeted.
- Access layer sheets.ts (closed SheetFailure kinds); old client publish gate
  deleted; types regenerated; upload tool reads via get_sheet_asset_state.

Tested on the throwaway sandbox only; DEV untouched. pgTAP 850 (real stack) /
122 (PGlite) green; real-GoTrue AR-1 B + F18 race green; fresh install and
M3->M5 upgrade green; V1-1 regression green; rust:check, typecheck, lint,
build, types drift clean. BDR-084, LRN-095.
2026-10-28 15:52:49 +01:00
bchanot 9c13bae4bc docs(security): ratify AR-1 MFA for platform roles
AR-1 option B (BDR-083): aal2 for every platform role change. Contract 5.7 rule, path inventory, bootstrap, factors, recovery, sessions; F17-F19; M4 scope, tests, DEV preconditions; fresh security review integrated (19.4).
2026-10-28 12:20:11 +01:00
bchanot 41d3b09120 chore(memory): BDR-082 V1-2 decisions ratified, TODO, journal 2026-10-28 11:35:52 +01:00
bchanot 397d6007b4 chore(memory): V1-1 closed in TODO, V1-2.0 plan line, BDR-081, journal 2026-10-27 22:36:49 +01:00
bchanot f93412c8e9 docs(supabase): close RESP-01, AVATAR-01 class A, AVATAR-02 ticket 2026-10-27 19:44:36 +01:00
bchanot 7e40c44a64 chore(memory): RESP-01 fix, AVATAR-01 diagnosis, LRN-094 2026-10-27 19:37:55 +01:00
bchanot dd5a23c39d chore(memory): journal — CLAUDE.md split into .claude/rules/ (0b) 2026-10-27 16:05:06 +01:00
bchanot 78aacc09e1 chore(memory): DEV migration, db:test run 1, pgTAP fix, LRN-093 2026-10-27 14:44:03 +01:00
bchanot 6c36e2f22d docs(supabase): sandbox role prerequisite for the DEV restore check 2026-10-27 13:52:05 +01:00
bchanot 545a161f69 chore(memory): restore check rehearsal 2, LRN-091 2026-10-26 22:00:52 +01:00
bchanot a2507fc083 docs(supabase): restore check reads pg_restore exit and every error 2026-10-26 21:46:02 +01:00