feat(I203/M1): InvocationContext + streaming parity (post-I198/I199) #1
No reviewers
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
h-dv/ixt-sdk-python!1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/i203-m1-streaming"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Mission I203 / M1 — brings the Python SDK to parity with the Rust SDK for InvocationContext (spec 21) and streaming (spec 23). Closes the 13-commit nested-
ixt-publiclag (eaf4205→117319c).Phase A — post-I198 migration
ixt-publicpineaf4205→117319c37e78(addsipc_streaming.capnp, InvocationContext onmodule.capnp, observability/storage).ixt_sdk/invocation.py:ActorSubject/ActorIdentity(capabilities + opaquetoken_ref, wildcard-aware) /MessageTarget/InvocationContextwith capnpto_bytes/from_bytes. Replaces the deletedSecurityLevelwith metadata-key conventions (tenant / auth.strength / ingress.*), mirroring Rusttypes.rs+conversions.rs. (The Python SDK previously passed an untypedcontextdict — migration was additive, no deletions.)serialization.py) extended to loadmodule.capnp;module.py::_handle_messagedecodesHandlePayload.contextinto a typedInvocationContext.Phase B — streaming API
ipc_streaming.capnp.ixt_sdk/streaming.pymirroringstreaming.rs+stream_wire.rs: 4InteractionKinds,CloseReason/CancelReason/13-variantStreamErrorCode,StreamId/StreamData/StreamError, 6-variantStreamFrameunion with capnp round-trip,StreamSender(send_data/close/cancel/error + spec-23 credit/backpressure, additive grant, monotonic sequence),StreamHandle(accept-side, decodes the Open frame's InvocationContext). No bespoke flow control beyond the credit model.Test plan
stream_wire.rstest vectors (golden hex fixtures pin this — canonical single-segment Cap'n Proto)Lockstep: superproject submodule pin bumps after merge. Schema-pin drift (this SDK) clears.
🤖 Generated with Claude Code