chore(memory): BDR-100, LRN-118, TODO and journal for the V1-2.6 ratification

This commit is contained in:
bchanot committed 2026-11-05 19:06:48 +01:00
1 parent bd444d6906
commit a505b24bfd
4 files changed
+30 -2

No files matched your search

+17
View File
@@ -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)
+2
View File
@@ -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.
+7
View File
@@ -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.