CultLib/packages/cultcache-ts/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens b69d3057a5 cultcache-ts: the payload nesting bound (256) in the one document-payload owner, so every TS payload door shares it
checkPayloadDepth is an iterative header walk run by decodeDocumentPayload before the formatter and by
encodeDocumentPayload on the formatter's bytes; the two plain-decode inspection doors call it first. The plain
formatter's encoder depth is set above the limit so the walk decides. Tests: the C# bounds vectors, the walk's
header and scalar rules, the owner, the inspector, the legacy version inference, and the mesh network doors;
test:pack:ts denies decoder-shaped exports by enumerating the packed entries.

Builds and passes untested at this commit (verification runs on Yggdrasil next).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 00:01:59 +02:00
..
cult-cache.test.ts cultcache-ts test: the cache keeps its own copy of an admitted envelope's bytes and of the ones it hands out 2026-10-11 21:05:09 +02:00
decode-document-payload.test.ts One typed owner of document-payload reads and writes: DocumentPayload is opaque, the definition is required 2026-10-11 19:33:42 +02:00
payload-depth.test.ts cultcache-ts: the payload nesting bound (256) in the one document-payload owner, so every TS payload door shares it 2026-10-12 00:01:59 +02:00
payload-type.test.ts One typed owner of document-payload reads and writes: DocumentPayload is opaque, the definition is required 2026-10-11 19:33:42 +02:00
union-parity.test.ts cultcache-ts: the payload nesting bound (256) in the one document-payload owner, so every TS payload door shares it 2026-10-12 00:01:59 +02:00