Expand description
Transport-neutral caller context and the branded identifiers every Factory crate shares. Nothing here knows about HTTP, gRPC, Postgres or a product.
Re-exports§
pub use ids::ActionIntentId;pub use ids::AssetId;pub use ids::CommandId;pub use ids::EmptyId;pub use ids::InputId;pub use ids::InstanceId;pub use ids::InteractionId;pub use ids::InviteId;pub use ids::NodeId;pub use ids::ProfileRevisionId;pub use ids::ReleaseId;pub use ids::RequestId;pub use ids::RevisionId;pub use ids::RunId;pub use ids::SessionId;pub use ids::SpaceId;pub use ids::SubjectId;pub use ids::TenantId;pub use ids::ToolCallId;
Modules§
- ids
- Branded identifiers shared by every Factory crate.
- testing
- Test doubles for the context ports: a provider that resolves one fixed identity for every request.
Structs§
- Request
Context - Caller identity and ambient product policy resolved from transport metadata. It is deliberately absent from Agent and Docs request bodies.
- Request
Metadata - Transport metadata passed to a product context adapter.
Enums§
- Context
Error - Why a request context could not be resolved or accepted.
Traits§
- Platform
Context Provider - Resolves transport metadata (headers, bearer tokens) into a verified
RequestContext. Hosts own this seam; the platform never trusts caller-supplied identity claims. - Scheduled
Context Provider - Re-resolves the identity persisted with scheduled work before it runs, so revoked principals cannot resume.