CultLib/packages
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 4002a996b8 CultMesh Kotlin: a cache refuses a second type for one schema id, typed
F7 (operator, 2026-09-30): "Schema aliasing sounds like a really bad idea,
I support retiring it." CultCache.register wrote its type and schema maps
unconditionally, and put, get, getAll and delete register implicitly, so one
Kotlin cache could hold two types for one schema and codecForSchema answered
with the last.

- register refuses a codec whose type already holds another schema id, or
  whose schema id another type holds, with the new
  CultSchemaConflictException (schema id, both document types, empty record
  key), the Kotlin counterpart of the other runtimes' typed conflict. The
  implicit registration in put, get, getAll and delete goes through the same
  check. Registering the same type for the same schema again stays allowed.
- Self-test: other-type same-schema and same-type other-schema claimants,
  through register, put, get, getAll and delete, each in a fresh cache; the
  first codec still answers for its schema afterwards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 17:47:48 +02:00
..
cultcache-py Python: a document listing an id registers beside the one owning it; registration refuses typed 2026-09-30 15:31:25 +02:00
cultcache-rs Rust: a registered type owns its schema id, so only it may name an id over records the file holds 2026-09-30 11:10:06 +02:00
cultcache-ts TypeScript: a definition listing an id registers beside the one owning it; registration refuses typed 2026-09-30 15:31:31 +02:00
cultmath CultMath: Phacelle port moves into MPL-2.0 files; prune cut pinned by boundary points 2026-09-30 00:34:27 +02:00
cultmesh-browser Raise the TypeScript packages' Node floor to 20 2026-09-29 01:21:18 +02:00
cultmesh-kotlin CultMesh Kotlin: a cache refuses a second type for one schema id, typed 2026-09-30 17:47:48 +02:00
cultmesh-py One local schema id in cultmesh-py; catalog writers merge only the same schema; a compatible entry before its owner reads as the owner 2026-09-30 09:01:00 +02:00
cultmesh-rs CultNet Rust: a second type for one schema id is refused, typed 2026-09-30 17:47:39 +02:00
cultmesh-ts CultMesh TS: a catalog refuses a second type for a schema it holds, typed 2026-09-30 17:37:32 +02:00
cultnet-py Writers derive the catalog from the records they write; the merging is deleted 2026-09-30 10:03:34 +02:00
cultnet-rs CultNet Rust: a second type for one schema id is refused, typed 2026-09-30 17:47:39 +02:00
cultnet-ts CultNet TS: a second type for one schema is refused, typed 2026-09-30 16:59:08 +02:00