chore(memory): LRN-067, journal, TODO R4.10g-j ticked

This commit is contained in:
bchanot committed 2026-10-21 15:47:59 +02:00
1 parent c619f3eba2
commit a8146918b7
3 files changed
+14 -5

No files matched your search

+5
View File
@@ -504,3 +504,8 @@ Apply: when an implementation is swapped under a test that spied the old one, re
- Offline import (J1.7) failed on owner's Brave + Firefox but harness server `serve.mjs` sent no `Cache-Control` on `/assets/` while nginx sends `immutable`: Chromium refuses stale cache entry offline (`net::ERR_ABORTED`), Firefox offline mode serves it anyway, WebKit headless never serves worker script from cache offline. Apply: any test server standing in for prod copies prod's cache + CSP lines verbatim and the harness asserts them (`r4-offline-import.mjs`); test "offline" two ways (Playwright `setOffline` + server killed), they differ per engine.
- Headless browsers replace OS file dialogs: a frozen `<input type=file>` picker cannot be reproduced or excluded headless. Apply: write a discriminating human step (Ctrl+O in empty tab offline, kit copied local) instead of claiming a cause.
- Expected recette result written from an oracle fixture (`nologos` = fetch 404 mode) described the fixture, not the product rule (editor export always embeds bundled branding; archived branding only via `export_from_envelope`). Apply: before writing an expected result, trace which code path the recette step actually runs.
## LRN-067 | 2026-10-21 | "Known violation" excluded from a verdict hides a real defect; wait before calling a dialog frozen
- 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.