Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

accepted-takes: review its parseTakesFence use in the reservation census

garrytan87211c9cfd9a
diff --git a/test/takes-reservation-callers.test.ts b/test/takes-reservation-callers.test.ts
index e74382ab35..7ef170b41c 100644
--- a/test/takes-reservation-callers.test.ts
+++ b/test/takes-reservation-callers.test.ts
@@ -21,6 +21,7 @@ const REVIEWED: Record<string, string> = {
'src/core/fence-repair/refusal.ts': 'same warning and collision checks as page-checks',
'src/core/persistence/canonical-projections.ts': 'projects takes only, so a reservation projects no row and its old row is deleted',
'src/core/persistence/takes-prepare.ts': 'allocates with nextFreeRowNum, re-renders through upsertTakeRow/supersedeRow/replaceFence, and remove adds the reservation',
+ 'src/core/repair/accepted-takes.ts': 'reads the archived row at a removed take\'s number (reservations are never takes) and requires the live fence to reserve that number; it re-renders with renderTakesFence keeping every other reservation',
'src/core/repair/connector-fences.ts': 'moves fence blocks verbatim, reservations included',
'src/core/repair/take-supersession.ts': 're-renders through replaceFence, which keeps the reservations of the body it replaces',
'src/core/shared-skills/migration-projection.ts': 'compares stored takes with fence takes; neither holds a reservation',