chore(memory): BDR-066 owner verdict, LRN-068, journal, TODO R4.10l

This commit is contained in:
bchanot committed 2026-10-21 16:30:21 +02:00
1 parent cd0630b0a7
commit 5572a61ad8
4 files changed
+17

No files matched your search

+7
View File
@@ -494,3 +494,10 @@ Context: owner R4.9 brief (R4.8 validated; final checks, memory bench before mer
Decision: Chromium ≈ 20 MiB/L export = browser raster path, not session: control with no core call grows same 20 MiB/step to same plateau (436 vs 437 MiB, 16 steps, last 5 within 10 MiB); linear flat after init, JS heap flat, 847/847 canvases + Blobs collected, 854/854 URLs revoked after 30 s; critical pressure returns nothing. Class: accepted temporarily (§6 row 7), device check J2.6/J2.7. Correction only if a device fails: one reused canvas / OffscreenCanvas, bench vs control first; rasteriser untouched (pixel parity pinned). Import risks: PDF_IMPORT_HARDENING §6, 20 rows; blocking before merge = J1 + J2 device runs + timer confirmation. Port 4173 recette surface closed by UFW by default; owner opens one rule per session.
Alt rejected: reused canvas now (no measure says it helps; risk on pinned raster output); disposable export worker S2 (no device failure).
Status: active; owner checkpoint R4.9 pending; gitleaks allowlist `[gated]` marker = owner action.
## BDR-066 | 2026-10-21 | R4.10 owner decisions final: J1.7 PASS with reserve, J2.3 option 1, logo bundle, gitleaks marker valid, 23 deletions, Safari iOS real device only
Context: owner verdict after R4.10 gates (verifier 8/8 + one formal scope gap = contract file itself; security PASS 3 LOW).
Decision: J1.7 functional PASS, perf reserve (~60 s OS picker offline, same via Ctrl+O outside app); M1/M2 PASS ~60 s; M3 NON TESTÉ = complementary non-blocking, never PASS without run; M4/M5/M6 NON TESTÉ; no app work on 60 s without Faunosteo-specific proof; Cache-Control fix kept. J2.3 option 1 final: editor export = current branding even for logo-less archive; corrected expected result validated; data/oracles/goldens unchanged. ZenQuality logo bundle dcc7940 validated (same image, CSP intact, no zenquality.fr dependency); reintroduction tests + CSP proof (every violation fails, except refusal a negative test expects) kept. `[gated 2026-10-18]` marker valid: marker needs explicit owner decision, writing delegable (Claude wrote it under authorization). R4.8 authorization = exactly 23 test files of 0dc1ba2 (21 = census error, EVAL-025 superseded on count); no further deletion under it. Safari iOS NON TESTÉ until real iPhone results; simulator never memory proof.
Recorded: RUST.md §10.11 (marker wording, count) + §10.12 D; R4_MINI_RECETTE, R4_J1/J2 + RESULTS. LEDGER.tsv untouched (generated byte for byte by `scripts/r4-ledger.mjs`).
Status: active; R4 close still waits on Safari iOS real device; no merge, no R5, no release.
+4
View File
@@ -308,3 +308,7 @@ Owner results: Chrome/Firefox/Brave/Android run, Safari iOS not; J1.7 FAIL Firef
## 2026-10-21 (R4.10 decisions, J1.7 rectified, ZenQuality logo)
Owner: J2.3 option 1 (current branding on editor export; expected result corrected, no engine/golden/oracle change); gitleaks `[gated 2026-10-18]` marker applied on owner's written authorization; R4.8 trace verified: 23 test files deleted by 0dc1ba2 (RUST.md said 21 → corrected), 22 in ledger, ts-engine test in §10.10, approval = R4.9 contract header + BDR-064. J1.7 rectified by owner: picker opens after ~60 s with system network cut, same via Ctrl+O → functional PASS, performance reserve, cause unclaimed; cache-header fix kept. ZenQuality footer logo: hotlink refused by documented CSP (VPS proxy, not docker nginx; faunosteo.com sends no CSP today; PDF unaffected) → bundled exact remote PNG, Footer test, `r4-app-csp.mjs` counts every violation (12/12 none), offline harness 6/6, app 429 tests. LRN-067. Verifier + security dispatched. No merge, no R5, Safari iOS pending.
## 2026-10-21 (R4.10 owner verdict recorded, scope + redaction)
Owner verdict: J1.7 PASS w/ reserve, M3 complementary, J2.3 option 1 final, logo bundle + CSP hardening validated, gitleaks marker valid (writing delegable), 23 R4.8 deletions authorized (21 = census error), Safari iOS real device only → BDR-066, RUST.md §10.11/§10.12 D, recette docs. Contract FILE SCOPE amended (itself, memory, redactions), criteria 9-12 added, none removed. Redacted `/home/<user>` + scratchpad paths in results JSON, contracts, README, history plan; harness now writes repo-relative distDir. LRN-068. Verifier left to orchestrator. No merge, no R5.
+5
View File
@@ -509,3 +509,8 @@ Apply: when an implementation is swapped under a test that spied the old one, re
- Footer hotlinked `zenquality.fr` logo since 2026-05-21, same day DEPLOY.md CSP `img-src 'self'` written; R2 + R4 CSP proofs saw refusal on every page, harness listed it as `KNOWN_IMAGE_HOST` and excluded from verdict → nobody fixed it for 5 months. Live site sends no CSP yet, so symptom invisible. Apply: a harness never carries a "known" exception longer than one slice; either fix the cause or open a TODO line with owner date. Bundle third-party images (`?url`, exact remote bytes = no branding change) instead of widening CSP.
- Owner's J1.7 "picker never opens, browser unusable" = OS file dialog taking ~60 s to open with system network cut (same from Ctrl+O in empty tab). Apply: recette step for any "hang" says wait 2 min before declaring FAIL and records time; a symptom reproduced outside the app closes the app-defect hypothesis, cause of delay stays unclaimed unless traced.
## LRN-068 | 2026-10-21 | Contract FILE SCOPE lists itself, memory files by name and every redaction; harness results carry repo-relative paths
- R4.10 verifier: 8/8 MET but formal gap: contract's own file in the diff, absent from FILE SCOPE ("memory" written vaguely). Apply: FILE SCOPE names the contract path, each `.claude/memory/*.md` and TODO touched, and gets amended in the same commit as any later scope growth; never drop a CHECK to pass.
- `scripts/browser/lib/app-build.mjs` wrote absolute `DIST_DIR` (user home) into committed results JSON from R4.6 on (older runs relative). Apply: any committed report names paths relative to repo or a placeholder; scan `git grep -E "/home/|-home-"` before each report commit.
+1
View File
@@ -282,6 +282,7 @@ feat/findings-tree-v2 merged (FindingsTreePicker tracked in HEAD); all work belo
- [x] R4.10i R4.8 deletion trace: 23 test files deleted by 0dc1ba2 (one commit, nothing else on the branch); 22 traced case by case in LEDGER.tsv (ported / replaced / deleted with a target), the glue's `pdf-export.ts-engine.test.ts` traced in RUST.md §10.10 and R4.8b; approval = contract 2026-10-20 header (« Je valide officiellement R4.8 … les remplacements de tests sont approuvés ») + BDR-064; RUST.md §10.11 says 21 → corrected to 23; no new deletion
- [x] R4.10j ZenQuality footer logo (dcc7940: 12/12 CSP passes no violation, offline 6/6, app 429 tests): diagnosis (hotlink since caac149 2026-05-21; the DEPLOY.md CSP is the VPS reverse proxy's, docker/nginx.conf carries none; faunosteo.com today sends no CSP header; the PDF uses the bundled `zenquality-logo-fr.png`, unaffected; seen by the R2 and R4 CSP proofs as the known violation, never a J1/J2 item) → fix: the exact remote file bundled under `src/assets/brand/`, Footer `?url` import like the partner logo (same pixels, no branding change); `components.Footer` test (no external image source); `r4-app-csp.mjs` drops the known-host exception (any violation is a problem); build:preview + r4-app-csp + r4-offline-import re-run; CSP unchanged
- [x] R4.10k (verifier 8/8 MET, one formal scope gap: the contract file itself; security PASS, 3 LOW, protocol-relative test regex fixed 1877c4b) (owner 2026-10-21 rectification recorded: J1.7 PASS with picker-delay reserve, M1/M2 PASS ~60 s, M3-M6 NON TESTÉ, cause unclaimed, no app change) gates: verifier on the contract, security gate on the diff; docs (RUST.md §10.12, CHANGELOG), memory; report → STOP: owner's M1-M5 + Safari before any R4 close; no merge, no R5, no release, no deploy
- [x] R4.10l owner verdict recorded (BDR-066: J1.7 PASS w/ reserve, M3 complementary non-blocking, J2.3 option 1 final, logo + CSP hardening validated, gitleaks marker valid with delegated writing, 23 deletions authorized, Safari iOS real device only); contract FILE SCOPE amended (contract itself, memory, redactions) + criteria 9-12; report paths redacted, harness distDir repo-relative; check:all + gitleaks/semgrep/cargo deny/pnpm audit run; verifier re-dispatch = orchestrator
- [ ] owner actions: open UFW 4173 for the recette session, then delete the rule; J1 + J2 on the OD-6 devices
- [ ] owner action (non-blocking): `packages/pdf/node_modules` leftover (13 pnpm symlinks, 6 bin shims, 1 vitest cache file, 0 tracked or useful files) → `rm -rf packages/pdf/node_modules && rmdir packages/pdf` (the recursive delete was refused to Claude by the permission layer)
- [ ] outside R4 (owner 2026-10-17, non-blocking): worker container ignores SIGTERM (Docker kill after 10 s; chore, e.g. `init: true`); README test counter stale (367 vs 1,015)