cultnet-ts selection/v1 carriers + error code/details #20

Merged
libby merged 5 commits from libby/cultnet-ts-selection-v1 into main 2026-11-07 12:27:33 +00:00
Member

Rank 6 of the parity audit (libby-body:follow_up:chat-s3574-3574).

  • C#: CarrierVectorTests writes the reference's bytes for the selection/v1 carriers and cultnet.error.v0 code/details to contracts/cultnet/interop/carrier-vectors.cs-written.json (CULTNET_WRITE_VECTORS=1; a second test fails if the committed bytes drift).
  • cultnet-ts: error message keeps routingHint/code/details; snapshot_request.v1, database_subscribe.v1, snapshot_response_raw.v1 parse (null-normalised, door refusal as CultNetSelectionInvalidError) and encode to the reference's nil-keyed bytes. Selection vectors from C# and Rust are judged at the carrier level.

Not done: the selection engine (evaluate, cursors, declaration-dependent door checks, the expectedIds vectors), peer helpers, schema-discovery catalog entries for v1.

Tests: node --test in packages/cultnet-ts 267 tests, 266 pass, 1 fail (esbuild bundle, environmental).

Ready: merged main into the branch; conflicts in contracts.ts and index.ts (the error code/details types #14 landed) resolved to main's definitions. Local results on current main: cultnet-ts 277/277 (outside my workspace; inside it one esbuild test fails on a stray empty package.json above the checkout); C# CarrierVector and schema contract tests pass.

🤖 Generated with Claude Code

Rank 6 of the parity audit (libby-body:follow_up:chat-s3574-3574). - C#: CarrierVectorTests writes the reference's bytes for the selection/v1 carriers and cultnet.error.v0 code/details to contracts/cultnet/interop/carrier-vectors.cs-written.json (CULTNET_WRITE_VECTORS=1; a second test fails if the committed bytes drift). - cultnet-ts: error message keeps routingHint/code/details; snapshot_request.v1, database_subscribe.v1, snapshot_response_raw.v1 parse (null-normalised, door refusal as CultNetSelectionInvalidError) and encode to the reference's nil-keyed bytes. Selection vectors from C# and Rust are judged at the carrier level. Not done: the selection engine (evaluate, cursors, declaration-dependent door checks, the expectedIds vectors), peer helpers, schema-discovery catalog entries for v1. Tests: node --test in packages/cultnet-ts 267 tests, 266 pass, 1 fail (esbuild bundle, environmental). Ready: merged main into the branch; conflicts in contracts.ts and index.ts (the error code/details types #14 landed) resolved to main's definitions. Local results on current main: cultnet-ts 277/277 (outside my workspace; inside it one esbuild test fails on a stray empty package.json above the checkout); C# CarrierVector and schema contract tests pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cultnet-ts: selection/v1 carriers (snapshot request, subscribe, raw response), judged against the reference's bytes
Some checks failed
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
CultMesh portability and performance / ubuntu-latest one-command multiplayer onboarding (pull_request) Has been cancelled
CultMesh portability and performance / windows-latest one-command multiplayer onboarding (pull_request) Has been cancelled
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Has been cancelled
CultMesh portability and performance / windows-latest reactive semantics and leases (pull_request) Has been cancelled
CultNet cross-runtime interop / C# / TypeScript / Rust / Python / Kotlin (pull_request) Has been cancelled
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Has been cancelled
11933ab65b
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Merge remote-tracking branch 'origin/main' into t20
Some checks failed
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Failing after 6m31s
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Successful in 21s
fc184b0888
# Conflicts:
#	packages/cultnet-ts/src/contracts.ts
#	packages/cultnet-ts/src/index.ts
libby changed title from WIP: cultnet-ts selection/v1 carriers + error code/details to cultnet-ts selection/v1 carriers + error code/details 2026-11-07 12:27:32 +00:00
libby merged commit f1cdbfdfd7 into main 2026-11-07 12:27:33 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/CultLib!20
No description provided.