Expand description
Provider-neutral execution facts and auxiliary evaluation primitives.
This module is an evaluation substrate, not a product reviewer. It records bounded execution facts, reads a consistent evidence window, and runs an isolated host-supplied evaluator. Rubrics, thresholds, findings, and business audit policy stay outside Code Core.
Re-exports§
pub use crate::execution_identity::ExecutionIdentityV1;pub use crate::execution_identity::ExecutionResultOutcomeV1;pub use crate::execution_identity::ExecutionResultReceiptV1;pub use crate::execution_identity::EXECUTION_RESULT_MAX_BYTES;pub use crate::execution_identity::EXECUTION_RESULT_RECEIPT_SCHEMA_V1;
Structs§
- Auxiliary
Capability Profile V1 - Explicit capability profile for an auxiliary run. The service never grants capabilities implicitly; a host can additionally provide a parent ceiling and the requested profile must be a subset of it.
- Auxiliary
RunContext V1 - Auxiliary
RunHandle - A cloneable capability to observe or cancel exactly one auxiliary run.
- Auxiliary
RunOutput V1 - Auxiliary
RunSnapshot V1 - Auxiliary
RunSpec V1 - Evaluation
Dispatch - Evaluation
Plan V1 - Evaluation
Record V1 - Evaluation
Result V1 - A host-defined outcome token. Core validates shape and provenance only; it deliberately does not enumerate reviewer/business dispositions.
- Evaluation
Supervisor - Connects an append-only fact journal to a host policy, evidence reader, and auxiliary-run service. The policy is the only component that decides when an evaluation is useful; Core only enforces identity, bounds, and cleanup.
- Evaluation
Wire Envelope V1 - A strict, versioned envelope carrying one evaluation substrate value.
- Evaluation
Wire Kind Descriptor V1 - One source-of-truth descriptor used by SDK artifact generation and parity tests. The payload type is documentation metadata; Rust validation still uses the concrete type in the match below.
- Evaluation
Wire Type V1 - Canonical string constants for the version-one wire catalog.
- Evaluation
Write Outcome V1 - Event
Cursor V1 - Cursor for a run-local append-only event/fact stream.
- Evidence
Artifact V1 - Evidence
Event V1 - Evidence
Limits V1 - Evidence
Read Request V1 - Evidence
RunState V1 - Evidence
Snapshot V1 - Execution
Fact Input V1 - Input accepted by the journal. Payload bytes are counted and represented by a digest; raw model/tool content belongs in an explicitly authorized artifact store or evidence reader.
- Execution
Fact Page V1 - Execution
Fact Recorder - Small adapter for runtimes that already receive
RunEventRecordvalues. It makes the frame binding explicit at construction and keeps event ingestion out of product-specific evaluator code. - Execution
Fact Snapshot V1 - Execution
Fact V1 - Execution
Frame V1 - Runtime frame that records parentage without taking ownership of Cloud checkpoint/fork lineage. A child evaluation may point at its parent run; hosts remain responsible for business lineage and authorization.
- Execution
Target V1 - Session/run identity used by all evaluation records.
- Fact
Append Outcome V1 - File
Evaluation Dispatch Ledger - File
Evaluation Result Store - A durable implementation of
EvaluationResultSink. - InMemory
Auxiliary RunService - InMemory
Evaluation Dispatch Ledger - InMemory
Evaluation Result Store - In-memory CAS result sink. A durable host can implement the same trait with an append-only object store and an external retention policy.
- InMemory
Execution Fact Journal - Bounded in-memory implementation used by the native harness and tests.
Hosts may implement
ExecutionFactJournalover a durable append log. - Memory
Evaluation Dispatch Ledger - RunEvidence
Reader - Reader over the native in-memory run journal and optional artifact/fact stores. It captures state and the event window from one RunStore observation generation.
- Structured
Auxiliary Executor - Adapter for the provider-neutral structured-output engine. The request factory is host-owned so Core does not prescribe a rubric, prompt, or result vocabulary.
Enums§
- Auxiliary
Mode V1 - Auxiliary
RunError - Auxiliary
RunState V1 - Evaluation
Boundary V1 - Evaluation
Dispatch Claim Outcome - Evaluation
Dispatch Ledger Error - Evaluation
Dispatch Outcome - Evaluation
Protocol Error - Errors produced while decoding or validating an evaluation wire message.
- Evaluation
Store Error - Evaluation
Wire Kind V1 - Closed top-level payload kinds in evaluation wire version 1.
- Evidence
Content Mode V1 - Evidence
Error - Execution
Fact Kind V1 - Identity
Error - Journal
Error - Supervisor
Error
Constants§
- AUXILIARY_
MAX_ OUTPUT_ BYTES - AUXILIARY_
MAX_ STEPS - AUXILIARY_
OUTPUT_ SCHEMA_ V1 - AUXILIARY_
RUN_ SCHEMA_ V1 - AUXILIARY_
SNAPSHOT_ SCHEMA_ V1 - EVALUATION_
DISPATCH_ LEASE_ GRACE_ MS - EVALUATION_
DISPATCH_ LEDGER_ DEFAULT_ MAX_ RECORDS - EVALUATION_
DISPATCH_ LEDGER_ MAX_ BYTES - EVALUATION_
DISPATCH_ LEDGER_ SCHEMA_ V1 - EVALUATION_
DISPATCH_ MIN_ LEASE_ MS - EVALUATION_
MAX_ COOLDOWN_ MS - EVALUATION_
MAX_ ID_ BYTES - EVALUATION_
MAX_ PENDING - EVALUATION_
PLAN_ SCHEMA_ V1 - EVALUATION_
PROTOCOL_ MAX_ MESSAGE_ BYTES - Maximum encoded envelope size accepted at a process boundary.
- EVALUATION_
PROTOCOL_ SCHEMA_ V1 - Stable schema identifier for the cross-process evaluation envelope.
- EVALUATION_
PROTOCOL_ VERSION_ V1 - Version carried by the evaluation wire envelope.
- EVALUATION_
RECORD_ SCHEMA_ V1 - EVALUATION_
RESULT_ SCHEMA_ V1 - EVALUATION_
RESULT_ STORE_ DEFAULT_ MAX_ RECORDS - EVALUATION_
RESULT_ STORE_ MAX_ BYTES - EVALUATION_
RESULT_ STORE_ SCHEMA_ V1 - EVALUATION_
WIRE_ KIND_ DESCRIPTORS_ V1 - Ordered catalog known by evaluation wire version 1.
- EVIDENCE_
MAX_ ARTIFACTS - EVIDENCE_
MAX_ ARTIFACT_ BYTES - EVIDENCE_
MAX_ EVENTS - EVIDENCE_
MAX_ EVENT_ BYTES - EVIDENCE_
MAX_ PROMPT_ BYTES - EVIDENCE_
MAX_ RESULT_ BYTES - EVIDENCE_
SNAPSHOT_ SCHEMA_ V1 - EXECUTION_
FACT_ SCHEMA_ V1 - EXECUTION_
FRAME_ SCHEMA_ V1 - EXECUTION_
TARGET_ SCHEMA_ V1
Traits§
- Auxiliary
Executor - Auxiliary
RunService - Evaluation
Dispatch Ledger - Evaluation
Policy - Evaluation
Result Sink - Evidence
Reader - Execution
Fact Journal