feat(I198): migrate to InvocationContext (lockstep) #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-rust!1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/i198-invocation-context"
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?
Lockstep with h-dv/ixt#173 and h-dv/ixt-public#1 per spec
doc/concept/21-invocation-context.md.Summary
MIT crate, independent of ixt-core. Defines its own mirror types matching the new wire schema in
ixt-public.What changed
src/types.rs:RequestContext,SecurityContext,SecurityLevel(pre-1.0, no compat shim perfeedback_no_premature_compat).InvocationContext,ActorIdentity,ActorSubject,TokenRef,MessageTarget,metadata_keys— structurally identical to the runtime side.SessionTokenkept as a sibling (spec 21 §11.2: dispatched alongside the context, not inside it).src/conversions.rs:invocation_context_to/from_capnp+actor_identity_*+message_target_*replace the legacy converters.src/ffi.rs: deserialiser decodesmodule_capnp::invocation_context::Reader.IxtModule::handle(&InvocationContext, ...)everywhere.examples/auth_basic.rs+examples/auth_truststore_client.rsDELETED — taught the deletedSecurityLevel/SecurityContextmodel. Spec-21/22-aligned auth examples will land with I199.tests/module_interface_tests.rs: 5 new tests coveringInvocationContext::anonymous, capability checks, wildcard semantics,TokenRefredaction, and metadata lookup.Submodule
ixt-publicsubmodule bumped tod1b377c422a164a6da7f903b16f6b50a5b6193c6(PR #1 there).Test plan
h-dv/ixtPR #173Merge order:
h-dv/ixt-public#1first, then this PR, thenh-dv/ixt#173.🤖 Generated with Claude Code