Skip to main content

Crate kapsel

Crate kapsel 

Source
Expand description

Pre-V1 Kapsel experiment for one authorized Kubernetes Deployment image change.

The Application composition root separates request-only AgentRequest from operator-owned authorization, Kubernetes authority, signing material, and paths. The private deep gateway owns the KAP-0038 request, exact authorization, durable lifecycle, Kubernetes interaction, recovery, and prototype receipt. This crate exposes no generic capability or provider contract.

This alpha has no stable Rust or receipt-format compatibility promise and makes no production- readiness, exactly-once, causation, Kubernetes-truth, complete-capture, or witnessing claim.

Structs§

Application
Compile-time composition root for the evaluator application.
AuthorizationTrust
Owner-controlled trust for the one fixed-purpose authorization-grant signer.
ExactAuthorization
Exact owner-controlled statement embedded in a signed authorization grant.
GrantProvisioning
Operator-only inputs for provisioning one exact authorization grant.
InspectionLimits
Caller-selected inspection ceilings, each bounded by the experiment maximum.
InspectionReport
Bounded offline inspection report; status is the single acceptance source of truth.
OperationReport
Application-level report shared by future local and MCP adapters.
OperatorConfiguration
Inputs controlled by the operator before an application instance opens durable state.
ReceiptReference
Immutable receipt reference stored after finalization.
ReceiptStatement
Read-only classifier inputs authenticated by a successfully parsed receipt.
ReceiptTrust
Separately supplied trust input for the prototype receipt inspector.
SetDeploymentImageRequest
The one bounded Kubernetes effect accepted by the experiment.

Enums§

ApplicationError
Bounded application composition or operation failure.
GatewayError
Failure before or during the experiment’s durable submission boundary.
InputField
Name of an input field rejected by the bounded experiment grammar.
InspectionStatus
Aggregate outcome of bounded offline inspection.
OperationResult
Receiver result vocabulary owned by the KAP-0038 experiment.
OperationState
Public durable states defined by the KAP-0038 experiment owner.
ReceiptError
Typed failure while constructing trust or processing hostile receipt bytes.
SubmissionResult
Outcome of submitting an exact authorized request.
TargetRejection
Bounded permanent target rejection recorded before any mutation attempt.

Functions§

inspect_receipt
Inspects bounded receipt bytes offline under separate trust and explicit evaluation time.
provision_exact_grant
Produces the canonical fixed-purpose grant supplied later through operator configuration.

Type Aliases§

AgentRequest
Request-only caller input for the sole supported operation.