Gate 1: the accessor's scope mutation is caught through each read
Fable's final review of 58fd476, gate honesty. make mutate's "scoped accessor ignores its scope" was caught through one comparison only, /d/2026-11-12's day dots. Gate 1 now also compares two day pages where the week strip alone and the month calendar alone hold 12 November (/d/2026-11-13?month=2026-10, /d/2026-10-20?month=2026-11). With the mutation applied by hand, all three comparisons differ.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+5
−0
internal/mapatest/gate1_test.go+5 −0
diff --git a/internal/mapatest/gate1_test.go b/internal/mapatest/gate1_test.go| index 6bae5f0..2f4306f 100644 |
| --- a/internal/mapatest/gate1_test.go |
| +++ b/internal/mapatest/gate1_test.go |
| @@ -108,6 +108,11 @@ func boSees(t *testing.T, rig *rig, acme string) map[string]string { |
| "/search?q=2026-11-12", "/search?q=today", |
| "/links/suggest?q=zeb", "/links/suggest?q=ac", |
| acme, "/pages", "/d/2026-11-12", |
| + // The scoped accessor's day dots, through each of its two reads |
| + // alone: November's month beside a week in October, and the |
| + // week of 12 November beside October's month (review: the |
| + // mutation was caught through one read only). |
| + "/d/2026-10-20?month=2026-11", "/d/2026-11-13?month=2026-10", |
| } { |
| seen[path] = rig.page(t, Bo, path) |
| } |