Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Justify the cycle wiring read in the volunteer-events structural pin
garrytan14dd840fc4b5
diff --git a/test/fix-wave-structural.test.ts b/test/fix-wave-structural.test.tsindex db98d9d999..c0fa8b3f39 100644--- a/test/fix-wave-structural.test.ts+++ b/test/fix-wave-structural.test.ts@@ -350,6 +350,7 @@ describe('v0.42.43.0 #2095 — volunteer-events sink + cycle purge wiring (strucconst src = readFileSync('src/core/cycle/bookkeeping-gc.ts', 'utf8');expect(src).toMatch(/purgeStaleVolunteerEvents\(engine\)/);expect(src).toMatch(/purged_volunteer_events_count/);+ // test-reads-source-ok[structural]: dropping the phase's call from runCycle would silently stop the GC with no behavioral test failing, the same pin class as the drainer registrations above.expect(readFileSync('src/core/cycle.ts', 'utf8')).toMatch(/runPhaseBookkeepingGc\(engine/);});});