Expand description
Open Context & Token Lifecycle Architecture (OCLA) public OSS contract.
Traits and types are defined in the standalone lean-ctx-ocla crate and
re-exported here so that engine-internal code continues using
crate::core::ocla::* without import changes.
Re-exports§
pub use catalogue::CatalogueEntry;pub use catalogue::ModelEntry;pub use catalogue::ProviderEntry;pub use catalogue::TechnicalCatalogue;pub use registry::OclaRegistry;pub use traits::*;pub use types::*;
Modules§
- adapters
- Native capability adapters and their versioned registry.
- budget
- In-memory hierarchical budget enforcement for OCLA request admission.
- builtin
- Built-in OCLA trait implementations (P4 — Strangler Fig adoption).
- cache_
coordinator - Coordinator for the L1-to-L3 generalized delivery cache lookup chain.
- cache_
delivery - Shared adapter helpers for generalized cross-agent delivery caching.
- cache_
tiers - Process, daemon, and disk cache tiers for generalized delivery entries.
- cache_
types - Versioned identities and metadata for generalized delivery caching.
- capability_
fabric - Canonical manifest normalization shared by OCLA discovery sources.
- capsule
- catalogue
- Public technical metadata used by the shadow scheduler.
- compose_
cache - Section-aware cache for
ctx_composeresults. - content_
port - CompressionContentPort — resolves content refs to bounded byte slices and persists compressed results as content-addressed BLAKE3 refs.
- health
- Aggregated health reporting for the OCLA wire surface.
- invocation
- Common invocation and measurement envelopes for OCLA capability adapters.
- registry
- OclaRegistry — singleton that wires all 15 builtin trait implementations.
- response_
cache - Bounded in-memory cache for identical model responses.
- traits
- Compatibility reexports for the canonical OCLA traits.
- types
- Compatibility reexports for the canonical OCLA types.
- unified_
ledger - wire
- Stable JSON projection for the public OCLA contract.
- wire_
api - Axum REST projection for the public OCLA wire contract.