Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(gfs): assert witness reservation survives idempotent release

M90338bc5787b
diff --git a/packages/gfs-interaction-policy/index.test.cjs b/packages/gfs-interaction-policy/index.test.cjs
index fec71ca2c..522d608ba 100644
--- a/packages/gfs-interaction-policy/index.test.cjs
+++ b/packages/gfs-interaction-policy/index.test.cjs
@@ -443,6 +443,7 @@ describe('GFS collision policy invariants (property-based)', () => {
const before = [...book.reservedNames('parent')].sort()
holder.release()
assert.deepEqual([...book.reservedNames('parent')].sort(), before)
+ assert.ok(book.reservedNames('parent').includes(witnessName))
assert.throws(() => holder.reserveNext(), /already settled/)
witness.release()