diff --git a/docs/cultcache-publication-cut.md b/docs/cultcache-publication-cut.md index ed281978..8a7cb2fc 100644 --- a/docs/cultcache-publication-cut.md +++ b/docs/cultcache-publication-cut.md @@ -826,3 +826,15 @@ Recorded, not forked: - **Crash between the store write and the log append** leaves the log lagging the store, and nothing detects it; a restarted primary reuses that sequence (A2's divergence reached by a plain kill). The spec called this lag detectable; for a crash it is not. +- **Cut 4 final Soul (4d), recorded 2026-09-30 (Self), not fixed in Cut 4:** + - **F2, read cost.** `CultNetDatabase.Serves` (`:1980-1989`) runs per row in `GetAll`/`GetByName`/`GetByIndex` for every + layout except a single owns-everything shard: a reflection `GetTrackedKey`, a gate lock and a shard re-scan per row. + `database.GetAll` measured 24.8x `cache.GetAll` on 20,000 rows under a key-prefixed shard. Fix: filter by key inside + the cache enumeration (the `rowFilter` path already has keys) and hoist the owns-everything check. + - **F4, dispose drain edges.** An observer that removed its stash entry before the drain can publish after `Dispose` + returns (dropped); a throwing `_cacheJournal.Dispose()` skips the drain. Neither double-publishes or deadlocks. + - **F5, refusal naming.** A write whose schema is owned but whose key is outside the shard's prefix also answers + `unowned_schema` with details `{field:"schemaId"}`; the peer cannot tell a key refusal from a schema refusal. + - **Pre-existing, separate task.** Python emits error code `unsupported_schema_version` + (`cultnet-py/.../interop_peer.py:415`, `cultmesh-py/.../server.py:161`), which is not in the error-code enum; TS and + Rust refuse the whole message.