chore(memory): R4.10 contract FILE SCOPE declares itself, memory files and redactions; criteria 9-12 added, none removed; local paths redacted in older contracts
This commit is contained in:
1 parent
634c744ecf
commit
cd0630b0a7
9 files changed
+35
-22
No files matched your search
@@ -19,13 +19,18 @@ Message 2, « Rectification définitive J1.7 / M1 / M2 »:
|
||||
|
||||
## FILE SCOPE
|
||||
|
||||
- `docs/development/R4_J2.md` (J2.3 expected result), `R4_J2_RESULTS.md`, `R4_J1_RESULTS.md`, `R4_MINI_RECETTE.md`, `RUST.md` §10.11 (count), §10.12 (decisions, C paragraph), `CHANGELOG.md`, `CLAUDE.md` (map line)
|
||||
- `.gitleaks.toml` (the one description string)
|
||||
- `apps/app/src/components/brand/Footer.tsx`, `apps/app/src/assets/brand/zenquality-logo-horizontal.png` (new), `apps/app/tests/unit/components.Footer.test.tsx` (new)
|
||||
- `scripts/browser/r4-app-csp.mjs`, `scripts/browser/results/2026-10-21-r4-{csp,offline-import}.json` (new)
|
||||
- `.claude/tasks/TODO.md`, memory
|
||||
Range: `git diff 1814a8d` (the base above) to the branch head. Every path
|
||||
the range touches is listed here; anything else is out of scope.
|
||||
|
||||
Out of scope: `crates/**`, `packages/**`, `apps/app/src/pdf/**`, the goldens, the oracles, the R4 digests, DEPLOY.md's CSP, `docker/nginx.conf`, any deletion.
|
||||
- `docs/development/R4_J1.md` (Safari iOS rule), `R4_J2.md` (J2.3 expected result, Safari iOS rule), `R4_J2_RESULTS.md`, `R4_J1_RESULTS.md`, `R4_MINI_RECETTE.md`, `RUST.md` §10.11 (count, marker wording), §10.12 (decisions, C paragraph, D owner decisions), `CHANGELOG.md`, `CLAUDE.md` (map line)
|
||||
- `.gitleaks.toml` (the one description string)
|
||||
- `apps/app/src/components/brand/Footer.tsx`, `apps/app/src/assets/brand/zenquality-logo-horizontal.png` (new), `apps/app/tests/unit/components.Footer.test.tsx` (new, protocol-relative regex 1877c4b)
|
||||
- `scripts/browser/r4-app-csp.mjs`, `scripts/browser/results/2026-10-21-r4-{csp,offline-import}.json` (new)
|
||||
- `scripts/browser/lib/app-build.mjs` (results name the build relative to the repository), and the redaction of absolute local paths (the `distDir` line only) in `scripts/browser/results/2026-10-19-{r4-export,r4-export-series,r4-export-series-chromium-12,ts-export,ts-export-series-chromium}.json`, `2026-10-20-{r4-memory-bench,r4-memory-bench-chromium-L16-export,r4-memory-bench-chromium-L16-raster,r4-offline-import}.json`; `scripts/browser/README.md` (one example path); `docs/history/superpowers/plans/2026-05-23-responsive-mobile.md` (paths only)
|
||||
- `.claude/tasks/contracts/2026-10-21-rust-r4-decisions-1500.md` (this contract), and the redaction of absolute local paths in `.claude/tasks/contracts/2026-10-11-step-06-phase-{0-freeze,1-domain,2-compose,3-engine,4-app}.md`, `2026-10-13-rust-r0-native-verify.md`, `2026-10-13-rust-r0-verify.md`, `2026-10-21-rust-r4-anomalies-1000.md` (`/home/<user>/` → `$HOME/`, session scratchpad → `<session scratchpad>`)
|
||||
- `.claude/tasks/TODO.md`, `.claude/memory/decisions.md` (BDR-066), `.claude/memory/learnings.md` (LRN-067, LRN-068), `.claude/memory/journal.md`
|
||||
|
||||
Out of scope: `crates/**`, `packages/**`, `apps/app/src/pdf/**`, the goldens, the oracles, the R4 digests, `crates/core/tests/pdf/LEDGER.tsv` (generated byte for byte by `scripts/r4-ledger.mjs`), DEPLOY.md's CSP, `docker/nginx.conf`, any deletion.
|
||||
|
||||
## ACCEPTANCE CRITERIA
|
||||
|
||||
@@ -38,6 +43,14 @@ Out of scope: `crates/**`, `packages/**`, `apps/app/src/pdf/**`, the goldens, th
|
||||
7. The app suite, typecheck and lint green: `pnpm typecheck`, `pnpm lint`, `cd apps/app && ./node_modules/.bin/vitest run` (59 files, 429 cases); the headless results are never written into a device cell of the results grids (every device cell of `R4_J1_RESULTS.md` and `R4_J2_RESULTS.md` other than J1.7 Firefox and Brave stays `NON TESTÉ` or `not applicable`).
|
||||
8. Docs: RUST.md §10.12 carries the J2.3 decision, the J1.7 rectification (cause not claimed) and the C paragraph (impact, where the policy lives, the live site's header, why the recettes did not report it, the fix and its proofs); CHANGELOG Unreleased has the footer entry; CLAUDE.md map line names the footer logo.
|
||||
|
||||
9. Owner decisions of 2026-10-21 recorded: RUST.md §10.12 holds a « D. Owner decisions recorded » paragraph (J1.7 PASS with the reserve, M3 complementary and not blocking, J2.3 option 1 final, the logo and the CSP proof validated, the marker valid with its writing delegable, the 23 deletions with no further one, Safari iOS on the real iPhone only); §10.11 no longer says « only the owner adds the marker » nor « the owner's own `[gated]` line » and calls 21 a census error (`grep -c "only the owner adds the marker\|owner's own \`\[gated\]\`" docs/development/RUST.md` = 0; `grep -c "census" docs/development/RUST.md` ≥ 1); BDR-066 in `.claude/memory/decisions.md`.
|
||||
10. Recette docs: `R4_MINI_RECETTE.md` names M3 a complementary control, not blocking, and leaves it NON TESTÉ; `R4_J1.md`, `R4_J2.md`, `R4_J1_RESULTS.md`, `R4_J2_RESULTS.md` state that Safari iOS stays NON TESTÉ until the real iPhone and that a simulator is never a memory proof (`grep -ci simulator` ≥ 1 in each); every iPhone cell of both results grids reads `NON TESTÉ` or `not applicable` (criterion 7).
|
||||
11. Redaction: `git grep -n -I -E "/home/bchano[t]|-home-bchano[t]"` prints nothing (the bracket keeps this line from matching itself); the modified results JSON change the `distDir` line only (`git diff 1814a8d --diff-filter=M -- scripts/browser/results | grep -E '^[-+] ' | grep -vc distDir` = 0; the two 2026-10-21 files are new and covered by criterion 6); `scripts/browser/lib/app-build.mjs` reports `distDir` relative to the repository (`node -e "import('./scripts/browser/lib/app-build.mjs').then(m=>console.log(m.checkBuild().distDir))"` prints `apps/app/dist` when a build is present).
|
||||
12. `pnpm check:all` exits 0 on the final code state (run by the executor, log path and tail in its report; re-run by the verifier only if needed).
|
||||
|
||||
## CLARIFICATIONS
|
||||
|
||||
Q: apply the fix or only present it? / A: the owner asked for a targeted fix with a bundled resource and no branding change; the bundled file is the exact remote file, so the picture does not change; applied on the branch, reversible by the owner. [gated 2026-10-21, owner's message 1]
|
||||
|
||||
Q: the owner's message 1 says « 21 suppressions »; which count is authorized? / A: 23, all from 0dc1ba2; 21 was a census error, confirmed by the owner on 2026-10-21; the quote in REQUEST stays verbatim. [gated 2026-10-21, owner's verdict]
|
||||
Q: scope declaration / A: pass 1 of the verifier found the contract file itself missing from FILE SCOPE (formal gap, 8/8 MET); FILE SCOPE now lists this file, the memory files by name and the redactions; no criterion was removed.
|
||||
Reference in new issue
Block a user