CultLib/packages
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 0ee98e8c2e CultNet TS: the registry resolves only ids a definition declares
Soul F1, F2 and F3 on the registry. The F2 principle (operator,
2026-09-30): "CultCache never destroys or relabels a record it doesn't
understand; keeps it byte-for-byte, refuses writes that would overwrite it."

- F1: the registry derives every binding's identity with cultcache-ts's
  schemaIdentityOf, so it stamps, refuses and resolves exactly as the cache
  does. P1 (A with schema name "p1.shared", B with schema id "p1.shared")
  is now refused by both.
- F2a: an id nobody owns resolves to the one binding that lists it as
  compatible. Several listers and no owner is a SchemaConflictError naming
  the id and the listers, whatever order they were registered in; an owner
  beats every lister. This is refused at resolution, as the cache refuses
  it at load, not at registration: refusing at registration would make the
  outcome depend on whether the owner was registered before the listers.
- F2b: version inference is deleted. "p3.note.v7" no longer resolves to
  the type named "p3.note" and gets relabelled "p3.note.v1".
- F2c: a schema version string, and a schema name, are not ids. Snapshot
  filters, typed puts and deletes, and raw puts match only declared ids.
- F3: a raw record under an id no binding declares is refused. The
  registry no longer tries each binding's parser and stores the record
  under the first that accepts it (P5: an identity parser registered first
  took everything).
- The dead resolvePayloadSchemaVersion helper is gone.

Tests: the three shape- and alias-routing tests are replaced by P1, P2,
P3/P4 and P5 as behaviour tests. The one-type-per-schema test registers two
bindings ahead of the holder (F6/M11).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 19:49:41 +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 CultCache TS: one function derives a definition's schema identity 2026-09-30 19:49:41 +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: the reconciliation self-test note gets its own schema 2026-09-30 18:34:37 +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 Test: catalog write arguments and the catalog refusal's names and message 2026-09-30 18:56:46 +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: the registry resolves only ids a definition declares 2026-09-30 19:49:41 +02:00