cultnet-py: schema catalog describes cultnet.error.v0 as the contract does #17

Merged
libby merged 1 commit from libby/cultnet-py-error-catalog into main 2026-11-07 12:13:32 +00:00
Member

Follow-up libby-body:follow_up:cultnet-py-schema-catalog-error-stale.

Catalog required = the contract's five keys; code = the closed enum or null; no messageId property (the contract is closed). The test now compares required, property names and the code enum to contracts/cultnet/cultnet.error.schema.json. Checked: with the old catalog the test fails (1 failure).

Tests: packages/cultnet-py python -m unittest discover -s tests: Ran 120 tests, OK.

Not touched: interop_peer.unsupported_schema_version_error still emits a code outside the enum, a messageId and no routingHint (follow-up cultnet-py-peer-error-code-outside-enum, needs a ruling).

🤖 Generated with Claude Code

Follow-up libby-body:follow_up:cultnet-py-schema-catalog-error-stale. Catalog required = the contract's five keys; code = the closed enum or null; no messageId property (the contract is closed). The test now compares required, property names and the code enum to contracts/cultnet/cultnet.error.schema.json. Checked: with the old catalog the test fails (1 failure). Tests: packages/cultnet-py `python -m unittest discover -s tests`: Ran 120 tests, OK. Not touched: interop_peer.unsupported_schema_version_error still emits a code outside the enum, a messageId and no routingHint (follow-up cultnet-py-peer-error-code-outside-enum, needs a ruling). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
cultnet-py: schema catalog describes cultnet.error.v0 as the contract does
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
81aeb60c57
Required is the contract's five keys (schemaVersion, error, routingHint, code, details), code is the
closed enum (or null), details and routingHint are object-or-null, and the catalog has no messageId
property, as cultnet.error.schema.json is closed. The test compares required, property names and the
code enum to the contract file instead of pinning the stale two-key form.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
libby merged commit 0fd9d25527 into main 2026-11-07 12:13:32 +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!17
No description provided.