carlos / platform Public

copy gate: every seeded row is wired (Plan 8 Task 7, the series gate)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 1552220356bc724c536bec8add122ba7bfc76355 parent dddf8c9
1 file changed, +14 −0
  • approved_seeded_copy_test.go +14 −0

CI failed — run details

diff --git a/approved_seeded_copy_test.go b/approved_seeded_copy_test.go
index 2c5bd193b..9080f617d 100644
--- a/approved_seeded_copy_test.go
+++ b/approved_seeded_copy_test.go
@@ -181,3 +181,17 @@ func writeFile(t *testing.T, dir, name, body string) {
func TestSeededCopyIsApproved(t *testing.T) {
reportAll(t, checkSeededApproved(mustParseSeededRecord(t)))
}
+
+// TestEverySeededRowIsWired holds the series' end state: every approved
+// deck row is spoken by the code that owns it (Plan 8 Task 6).
+func TestEverySeededRowIsWired(t *testing.T) {
+ wired := map[string]bool{}
+ for _, id := range seededWiredIDs {
+ wired[id] = true
+ }
+ for _, id := range seededCopyIDs {
+ if !wired[id] {
+ t.Errorf("%s is approved and never wired", id)
+ }
+ }
+}