Pin the sources page's unreadable re-read state (Fable's final review, N03)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+7
−0
internal/memoria/siblingreset_test.go+7 −0
CI passed — run details
diff --git a/internal/memoria/siblingreset_test.go b/internal/memoria/siblingreset_test.go| index a95682c..bd3694b 100644 |
| --- a/internal/memoria/siblingreset_test.go |
| +++ b/internal/memoria/siblingreset_test.go |
| @@ -228,6 +228,13 @@ func TestAnUnreadableReReadStateWithholds(t *testing.T) { |
| if !strings.Contains(got.notices, "Docs") { |
| t.Errorf("withheld silently: %q", got.notices) |
| } |
| + // And the owner's sources page says it could not tell, rather than |
| + // falling through to another line (Fable's N03, 2026-11-02; that case |
| + // disabled → red). |
| + sib := docsRoster()["Docs"] |
| + if line := sourcesLine(t, s, sib); !strings.Contains(line, "whether this source is being re-read") { |
| + t.Errorf("the sources page with the re-read state unreadable: %q", line) |
| + } |
| } |
| // sourcesLine is the owner's sources-page freshness line for sib. |