Skip to main content

Module projection

Module projection 

Source
Expand description

Read-only projections over execution-ledger events.

Structs§

CanonicalReceiptProjectionV1
Verified ledger link to a canonical receipt artifact.
ExecutionProjection
Read-only projection facade for callers that want to keep the store explicit.
LegacyReceiptProjectionV1
Non-authoritative compatibility projection derived from legacy ReceiptSigned.
TaskCostSummary
Token and model-call totals for one task.

Functions§

canonical_receipt_for_task_from_store
Compatibility projection that maps unavailable ledger state to no receipt.
canonical_receipt_for_task_verified_from_store
Projects authoritative receipt metadata from a verified, available snapshot.
legacy_receipt_for_task
Builds a non-authoritative compatibility receipt from legacy observed events.
legacy_receipt_for_task_from_store
Builds a non-authoritative compatibility receipt from an explicit store.
task_cost_summary
Projects the default execution ledger for task_id.
task_cost_summary_from_store
Projects an explicitly selected execution ledger for task_id.