chore(memory): BDR-100, LRN-118, TODO and journal for the V1-2.6 ratification
This commit is contained in:
1 parent
bd444d6906
commit
a505b24bfd
4 files changed
+30
-2
No files matched your search
@@ -773,3 +773,20 @@ Also: G1/G2 corrections validated, conformance 8/8 acknowledged; UX decisions 2-
|
||||
7. Reserve: unavailable-permissions e2e runs desktop only (skipped chromium-375; admin pages at 375 covered by other specs); sandbox suites share stack state, two state-dependent tests fixed (0499a39, f5456f3), others may surface → fresh stack per gate run.
|
||||
**Rationale**: owner brief §1-§5 at V1-2.5 checkpoint (14ff890) + final acceptance (b4415a3); fail-closed UI without false refusal; Paris = initial French scope.
|
||||
**Alternatives**: show form on failed read (rejected, owner); deduce no-right from error (rejected); UTC midnight expiry (cuts chosen day short); collapsible Références (rejected, no redesign); add MFA recovery bypass now (rejected, weakens aal2).
|
||||
|
||||
## BDR-100 — V1-2.6 UX technical decisions ratified: T11, T16 conditional, T2/T3 conditional, T4 no residual gap, T5 history, T9, T10 principle, T12 principle (2026-11-05)
|
||||
- **Status**: accepted
|
||||
**Decision**: owner brief « FAUNOSTEO — V1-2.6 UX — Ratification des décisions techniques » (2026-11-05) answers T11, T16, T2/T3, T4, T5, T9/T10, T12 of `docs/development/V1-2-6_UX_DECISIONS.md`. UX choices not reopened.
|
||||
1. T11 approved: old-UX (level 1) trials stopped; anomalies + untested items tracked (TODO level-1 line); level 1 NOT declared validated as a whole.
|
||||
2. T16 conditional deferral: curve handle editing out of V1-2.6 → curves lot (ex-U9), precedes any feature letting a path into a document. Audit: tracked docs 0 paths (seed draft 22 circles 6 polygons, legacy import 21/6), no product journey writes or needs a path change; DB contents (DEV, sandbox) not queried → read-only count before an env gets U6. Paths kept byte for byte, never converted; ops that would change one refused, doc unchanged; « Remplacer par un polygone » = sole explicit exit (contract §8.3).
|
||||
3. T2/T3 principle, conditional on proofs (COMPATIBILITY §8: fingerprints, Rust, SQL, PDF, worker, N-1, R3/R4, BDR-068): `role` + `fill_opacity` optional in schema v2, omitted when absent, never null by default, explicit null refused, absent never defaulted in fingerprinted doc; opacity integer 10-100; controlled snapshot-reader widening (exactly two keys, typed, ranged; else Schema rejection, report kept). One-way compat only: no return to old app after first write; never "full backward compatibility".
|
||||
4. T4 no residual gap: absolute verdict-tier rule on draft (3 roles once each, fixed names) → existing `verification.validation.rules`; `edit.rs` refusals + repair path; U6 migration withdraws rounds in flight + core gate on `verified_with` (pre-U6 passed verdict refused; marker needed, every core says 0.1.0); publication gate unchanged (current verdict). Write lock: keys written only after SQL + worker live (order SQL, worker, app). Save stays permissive (drafts may be incomplete) → owner confirmation pending.
|
||||
5. T5 history preserved: ids, names, colours, 3 own colours, annotations, fingerprints of historical equine; roles on working copy only; conversion test on in-memory copy. New-sheet defaults (ids, EN names, colours) pending.
|
||||
6. T9: explicit 3-action dialog on every crop drawing replacement, before upload: keep (R inside V + accept passes), reposition (same aspect exact, no path, no descendant crop), cancel (nothing uploaded). No approximate auto transformation; `remap.aspect` refusal.
|
||||
7. T10: access never put in Os/Articulations/Vertèbres; `detail_trigger` exists but requires an existing category; recommended internal category `cat-access` role `navigation` (to confirm); automatic access moved U5 → U6.
|
||||
8. T12: one versioned copy; legal text, source, validation to supply; U7 blocked; no invented normative text.
|
||||
**Rationale**: owner answers; no integrity gap at round or publication; history and archives preserved; honest compat wording.
|
||||
**Alternatives**: base-relative rules with first-version gap (old T4 rec, rejected); save-time SQL check (locks pre-U6 drafts, mirrors core rule; offered to owner); Joints category for access (rejected); optional trigger category (breaks N-1 type test + snapshot); V=R without question (rejected).
|
||||
**Open**: T1 (only if budget exceeded), T4 save boundary, T5 defaults, T6 (V1-2.8), T10 option B, T14, T15 (U1), T17 (U6), T12 text. No code; U0 needs new explicit authorisation.
|
||||
- **Status (2026-11-05)**: accepted, items 4 and 6 superseded after second review: T4 adds declared SQL check of fixed model at approval + publication, recommended save non-regression check (no role removed/duplicated/renamed away; role-less drafts still save), both to confirm with O22 amendment; functional write lock = rules epoch RPC read by app, SQL first mandatory; editor: role brings fixed names, repairs for names + duplicates, navigation never assignable; withdrawal limited to draft rounds; replay filters category.fixed.*. T9: keep only when V equals R, reposition same aspect on 0.01 grid, premises stated, two core calls (offer before upload, batch after hold), no viewBox -> cancel only.
|
||||
- **Status (2026-11-05)**: accepted, item 2 count scope aligned with DECISIONS T16: read-only path count before U6 or U8 reaches any env beyond throwaway sandbox (third check G4)
|
||||
@@ -530,3 +530,5 @@ R5.4: `draft/{labels,changelog,review_report,drawing,overlay,app_review,svg_comp
|
||||
- V1-2.6 maquettes owner review prep: fresh verifier CONFORME 11/11 on 9f420d3, 5 defects outside criteria kept (no redraw; wrong category counts boards 07/09). ARBITRAGES.md, ETUDE-TECHNIQUE.md (route A: optional role + integer fill_opacity in schema v2, stripped from PDF snapshot), archive ~/faunosteo-v1-2-6-ux-maquettes.zip, SHA256SUMS verified on extraction. No code, no DEV. Stop.
|
||||
- V1-2.6 maquettes final corrections after external ChatGPT review: board 04 trace strip, undo/redo in header tab bar all tabs (owner-confirmed choice 2), board 07 one state per interaction, counters computed from draft data; 12/15 byte-identical. Targeted check ECARTS(2) on 7bc3d65 -> fixed b5058b3, delta K1-K8 8/8. ARBITRAGES: 1 confirmed, 10 open. Archive ~/faunosteo-v1-2-6-ux-maquettes-2.zip, SHA256SUMS 48 verified. No code, no DEV. Stop at final graphic checkpoint.
|
||||
- V1-2.6 UX technical prep: 5 static audits, plan U0-U9 + compat/tests/risks/decisions in docs/development (14fb527). Wasm margin 7 857 B by gate measure (not 17 KB). Category keys must be omitted when absent; view.unreachable blocks views without access; remap explicit (seed head drawing = crop viewBox). 3 challengers CONCERNS, fixes integrated. No code, no DEV. Stop at owner technical checkpoint.
|
||||
- V1-2.6 UX owner ratification recorded (BDR-100): T11, T16 cond. (curves lot), T2/T3 cond. (proofs COMPAT §8, one-way compat), T4 no gap (verdict rule, repairable edits, core gate, publication + save SQL checks to confirm, rules-epoch lock), T5 history, T9 two calls V=R keep, T10 cat-access to confirm, T12 text missing. LRN-118 wasm rule. Reviews fixed. Docs only, uncommitted. Stop at technical checkpoint.
|
||||
- V1-2.6 ratification docs committed: third independent check ECARTS(2) (R-3, U6 objective, write-lock test, T16 count scope) fixed, fresh re-check CONFORME 12/12. 7 observations deferred to U0 (RISKS:59-60 wording, COMPAT:146, contract §6.4). Docs only, no DEV.
|
||||
@@ -800,3 +800,10 @@ Native modal `<dialog>` closing with exit animation leaves page inert until anim
|
||||
|
||||
## LRN-117 — Index-only staging past format noise: observation, strict control only (2026-11-04)
|
||||
Observation, not a routine: worktree held uncommitted format-only Prettier changes (owner pending) on files a fix had to touch. Staging logic hunks onto HEAD text via `git hash-object -w` + `git update-index --cacheinfo` kept format noise out of commits. Risky: index content bypasses working-tree review. Only with strict control: apply hunks by exact-match script on `git show HEAD:<file>`, prove equivalence (prettier(staged) == prettier(worktree)), run checks, inspect `git diff --cached`. Prefer resolving the noise first (owner decision) over routine index surgery.
|
||||
|
||||
## LRN-118 — Wasm budget margin: measure with the gate's exact call (Node gzipSync level 9 on pkg), never system gzip, never raise silently (2026-11-05)
|
||||
- **Context**: V1-2.6 UX prep, 2026-11-05. Earlier study measured wasm with GNU `gzip -9` (583 126 B) and claimed ~17 KB margin. Gate measures otherwise: real margin 7 857 B. Owner asked rule recorded.
|
||||
- **Gate (verified in repo)**: `packages/core-wasm/tests/size.test.ts` runs Node `gzipSync(bytes, { level: 9 })` on shipped build `packages/core-wasm/pkg/faunosteo_wasm_bg.wasm` (`coreWasmPath('pkg')`), asserts `toBeLessThanOrEqual(COMPRESSED_BUDGET_BYTES)`, `COMPRESSED_BUDGET_BYTES = 600_000` (D-R13).
|
||||
- **Reference**: 592 143 B of 600 000 B → margin 7 857 B (raw 1 569 864 B; pkg built 2026-11-04 after last core change `bbab0e6`; re-measured 2026-11-05 with same call, same figure).
|
||||
- **Rule**: margin = same call, same params (`level: 9`), same `pkg` file as gate. No system gzip substitute: results differ. Measure after every core change (each new op). Never raise ceiling silently: raise = explicit owner decision (D-R13) on measured figure.
|
||||
- **How**: after `pnpm wasm:build`, run size test (prints figure) or `node -e` with `zlib.gzipSync(buf, {level: 9})` on that file.
|
||||
@@ -672,13 +672,15 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet
|
||||
- [x] L3 TOTP reuse measured (code accepted by several sessions in its step and the next, refused at N+2), lost-authenticator review (production prerequisite), decisions in docs; sandbox test 103 + 10 skipped x2
|
||||
- [x] L4 gates: check:all green (dcb1a94; delta = sandbox test + docs), fresh stack test-db 1965, e2e:shell 110 + 8 skipped, sandbox test 103 + 10 skipped after e2e, upgrade from M6 1965 + types match; security PASS x2; verifier ECARTS(6) -> CONFORME; two state-dependent sandbox tests fixed (0499a39, f5456f3); suites need a fresh stack in order test-db, e2e:shell, test
|
||||
- [ ] V1-2.6 editor level 1: plan APPROVED by the owner 2026-11-03 (brief « GO propriétaire V1-2.6 »: 13 lots A-M, C1-C24, 8 visible choices, M8 sandbox only, no JSON export button, recovery messages exact), gated on a targeted independent re-check of the six FATAL fixes. Re-check 2026-11-03: REMAINING(2) — fixes 1-5 closed, I1-I5 hold; fix 6 (r = 12 + 3 %) opens `out_of_frame` on frames under ~25.5 units (hitbox r in frame bounds); I6 broken: the first commit overwrites a pending recovery copy before « Restaurer » / « Ignorer »; 2 MINOR (N source when the admin read fails, two-copy cap). Executor NOT launched; STOP for the owner. Owner arbitrations 2026-11-03 (« arbitrages propriétaire sur REMAINING(2) »): C25-C31 gated, plan revised; second targeted re-check: REMAINING(1), no BLOCKER, F1 MAJOR (accept trusted the core's silence on unmeasured views) + 7 MINOR, all integrated in the plan. Owner GO 2026-11-04 (« GO propriétaire après REMAINING(1) »): F1 fix approved, C26 refined by seven repair rules, minor effects approved; C32-C34 gated; execution of lots A-M authorised, no third plan review. 2026-11-04 13:08 the scratchpad worktree was removed by the harness cleanup (LRN-114): commits safe on origin (8343528), uncommitted lot H + lot G fix lost; worktree recreated at /home/bchanot/Documents/faunosteo-v1-2 (owner authorisation); resume ledger `.claude/tasks/plans/2026-11-03-v1-2-6-execution.md`. Contract `.claude/tasks/contracts/2026-11-03-v1-2-6-editor-1509.md`, plan `.claude/tasks/plans/2026-11-03-v1-2-6-editor.md`; sandbox only, no DEV, no worker on DEV, no merge, no V1-2.7; STOP at the V1-2.6 owner checkpoint (trial procedure)
|
||||
- [x] A M8 draft_last_save (2f824a9) · [x] B sheet asset accessors (f7e7bf4) · [x] C preview mutators, edit ops, ids (173be59..cfd49c7) · [x] D editor store, undo, recovery (7f1d440..b14509f) · [x] E route, modes, tabs (6aba971) · [x] F Général, Références, Vertèbres (d163b2c) · [x] G views + upload (8343528, 1bbf97e, 7ea9619) · [x] H Annotations (2609785, 3f15762) · [x] I Constats (92c595c, 91d06c9) · [x] J Vérification + submit (447d0a4..3d589e1) · [x] K e2e (5097fd7..4cc27a8) · [x] L owner trial tooling (ac5fbfb) · [x] M gates, reviews, checkpoint (071b58a..7a4ce9e; checkpoint report 2026-11-04, owner trial pending) · [x] N owner checkpoint decisions (C35-C44: be4f468..5e0aa62; ready for the owner trial, guide verified from the worktree) · [x] O last decisions (C45-C48: free paths never reshaped, explicit category zone, LAN trial on 192.168.1.100:5193; a69eba5..9b86f54) · [ ] owner manual trial
|
||||
- [x] A M8 draft_last_save (2f824a9) · [x] B sheet asset accessors (f7e7bf4) · [x] C preview mutators, edit ops, ids (173be59..cfd49c7) · [x] D editor store, undo, recovery (7f1d440..b14509f) · [x] E route, modes, tabs (6aba971) · [x] F Général, Références, Vertèbres (d163b2c) · [x] G views + upload (8343528, 1bbf97e, 7ea9619) · [x] H Annotations (2609785, 3f15762) · [x] I Constats (92c595c, 91d06c9) · [x] J Vérification + submit (447d0a4..3d589e1) · [x] K e2e (5097fd7..4cc27a8) · [x] L owner trial tooling (ac5fbfb) · [x] M gates, reviews, checkpoint (071b58a..7a4ce9e; checkpoint report 2026-11-04, owner trial pending) · [x] N owner checkpoint decisions (C35-C44: be4f468..5e0aa62; ready for the owner trial, guide verified from the worktree) · [x] O last decisions (C45-C48: free paths never reshaped, explicit category zone, LAN trial on 192.168.1.100:5193; a69eba5..9b86f54) · [-] owner manual trial: STOPPED by the owner 2026-11-05 (T11, BDR-100), level 1 NOT declared validated as a whole
|
||||
- [ ] level-1 residuals kept in tracking (T11; re-checked at U8, `V1-2-6_UX_DECISIONS.md` T11): owner manual trial never run · real second device on the LAN not tested · editing specs at 375 px skipped (C16 waiver) + 8 admin journeys at 375 px skipped · worker-gated sandbox suite skipped (no worker by contract) · keyboard spec focuses programmatically (no Tab walk) · free-path attach repair covered by automated tests only · Safari iOS `beforeunload` unreliable · LOW security items of the checkpoint report « Audits and reviews » · review minors m4, m6, m7, m8, m10 · path point correction proposal (now in the curves lot)
|
||||
- [ ] V1-2.6 new editor UX maquettes (owner brief 2026-11-05 « nouvelles maquettes UX approuvées sur le principe »; contract `.claude/tasks/contracts/2026-11-05-v1-2-6-ux-maquettes.md`): mockups + feasibility audit only, no core/app code, no DEV, no merge, no V1-2.7; STOP at the graphic checkpoint
|
||||
- [x] core feasibility audit (`.claude/audits/2026-11-05-v1-2-6-ux-feasibility.md`) · [x] 16 boards + contact sheet + sources in `docs/design/v1-2-6/` · [x] REVUE.md (journey, 11 choices, contradictions, feasibility) · [x] fresh design review (6 MUST-FIX, 10 SHOULD applied; board 08 name finding wrong: frame holds Coude) + verifier ECARTS(2) U2/U9 fixed after (custom category menu, phone redraw), no re-verify · [x] commit + push branch · [x] owner review prep (brief 2026-11-05 « préparation de la validation propriétaire »): fresh verifier CONFORME 11/11 on 9f420d3 + 5 defects outside criteria kept (no redraw allowed), ARBITRAGES.md, ETUDE-TECHNIQUE.md, CONTROLE-CONFORMITE.md, archive `/home/bchanot/faunosteo-v1-2-6-ux-maquettes.zip` · [x] external ChatGPT review received (`faunosteo-v1-2-6-revue-ux-chatgpt.md`, untracked in the worktree root) · [ ] final corrections (brief 2026-11-05 « Revue finale des nouvelles maquettes UX V1-2.6 », contract `.claude/tasks/contracts/2026-11-05-v1-2-6-ux-corrections.md`): [x] board 04 trace strip · [x] undo/redo in the header on every tab · [x] board 07 split into distinct states, form visible · [x] counters computed from the data · [x] docs (confirmed vs open choices, prerequisites) · [x] targeted independent check: ECARTS(2) on 7bc3d65 (board 11 drawer hid header undo; 2 REVUE sentences) → fixed b5058b3, delta check K1-K8 8/8 MET, ECARTS(1) = K9 archive not built then · [x] archive `/home/bchanot/faunosteo-v1-2-6-ux-maquettes-2.zip` (SHA256SUMS verified on extraction by the author) · [ ] owner final graphic checkpoint
|
||||
- [ ] separate tracks kept apart: TOTP asked at sign-in; missing illustrations blocking the copy of the historical equine sheet; phone editing (full touch editing below 1 024 px) = distinct future lot after V1-2 (owner 2026-11-05, choice 9; boards 14-16 kept as its reference)
|
||||
- [ ] V1-2.6 UX redesign technical preparation (owner brief 2026-11-05 « V1-2.6 — Validation UX définitive et préparation technique »: 16 boards + 11 choices validated; docs and static audits only, no app/Rust/SQL/worker code, no DEV, no merge, no V1-2.7; STOP at the technical checkpoint)
|
||||
- [x] static audits (core model, rendering/PDF/N-1, geometry/wasm, SQL/worker, editor/tests) · [x] docs/development V1-2-6_UX_{PLAN,COMPATIBILITY,TESTS,RISKS,DECISIONS}.md (sub-steps U0-U9, decisions T1-T19) · [x] independent review (3 lenses: CONCERNS 5/9/6, no BLOCKER) + fixes integrated (plan §6) · [x] commit + push branch · [ ] owner technical checkpoint: answers to the owner decisions of V1-2-6_UX_DECISIONS.md, then U0
|
||||
- [x] static audits (core model, rendering/PDF/N-1, geometry/wasm, SQL/worker, editor/tests) · [x] docs/development V1-2-6_UX_{PLAN,COMPATIBILITY,TESTS,RISKS,DECISIONS}.md (sub-steps U0-U9, decisions T1-T19) · [x] independent review (3 lenses: CONCERNS 5/9/6, no BLOCKER) + fixes integrated (plan §6) · [x] commit + push branch · [x] owner answers 2026-11-05 (brief « V1-2.6 UX — Ratification des décisions techniques », BDR-100): T11 approved, T16 conditional deferral (curves lot), T2/T3 conditional on proofs, T4 no residual gap, T5 history preserved, T9 three actions, T10 navigation type, T12 principle · [x] five docs updated (decisions, compatibility §0/§7/§8, tests, risks + blocking criteria, plan §7) · [x] LRN-118 (wasm measuring rule) · [x] independent reviews: correctness challenger CONCERNS(5 MAJOR, 7 MINOR) integrated; verifier ECARTS(2) fixed; targeted re-check ECARTS(2) (one U6 test assumed permissive save, deploy order said all rounds) fixed · [x] third independent check before commit (2026-11-05): ECARTS(2) on K10/K11 (R-3 mitigation, U6 objective on older T4 scope, write-lock test assumed stripping save, T16 count scope in two forms) fixed · [x] fresh targeted re-check: CONFORME 12/12 (G1-G4 closed; 7 observations kept for U0) · [x] commit + push · [ ] owner answers still needed: T4 declared SQL checks (publication, save non-regression; O22 amendment), T5 new-sheet defaults (ids, EN names, colours), T10 option B, T15 (before U1), T17 (before U6), T12 text (before U7); T1 only if a measure exceeds · [ ] owner authorisation to start U0 (no sub-step before it)
|
||||
- [ ] follow-up candidates (owner T14): multi-tab notice; RR item for the rollback limit of the category model (new id, reconcile with develop)
|
||||
- [ ] curves lot (ex-U9, owner T16 2026-11-05): curve handle editing, curved zone move, path remap, path point correction; spec `V1-2-6_UX_PLAN.md` §2 D, tests `V1-2-6_UX_TESTS.md` « Curves lot ». Rule: no feature that lets a path enter a document (package import, zones from the drawing's shapes, a curve drawing tool) ships before or without it. Before U6 or U8 reaches any environment beyond the throwaway sandbox: read-only count of path geometries in its drafts and published versions (non-zero reopens T16)
|
||||
- [ ] MANDATORY before merging V1-2 into develop (owner 2026-11-03): registry id reconciliation. LRN-095 collides: develop 09655b2 « Port a safe runner verbatim… » (2026-11-02) vs V1-2 « pgTAP across PGlite and the real Supabase image… » (2026-10-28, cited by BDR-084 and the V1-2.1 TODO lines). BLK-013 exists on develop only (« e2e:avatar on develop reached DEV »): `memory.sh` on V1-2 would hand out BLK-013 again, so a V1-2 blocker needs its id checked against develop first. Same for the TODO release-readiness ids: RR-11 is develop's (« sandbox-only e2e follow-ups »), V1-2 uses RR-12. No renumbering during V1-2.6 unless needed; renumber one side and patch its citers at the merge
|
||||
- [ ] V1-2.5 catalogue, admin space, rights, species, MFA · V1-2.6 editor level 1 · V1-2.7 preview, review, publication UI · V1-2.8 equine working copy and review preparation · V1-2.9 FR/EN acceptance and closure (owner checkpoints V1-2.3, V1-2.4, V1-2.6, V1-2.7, V1-2.8, V1-2.9 + each DEV operation of contract §16.11)
|
||||
|
||||
|
||||
Reference in new issue
Block a user