Skip to main content

Crate jevia_core

Crate jevia_core 

Source
Expand description

Core types and routing logic for Jevia.

Structs§

CacheConfig
Local routing-decision cache controls.
Config
Project-level Jevia configuration.
ExecutionEvidence
Observable facts from a configured harness execution.
ExecutionRecording
A finished, application-owned execution. Reporting is optional and does not assert task correctness. One immutable snapshot per routed run permits retries.
FeedbackEvent
HarnessConfig
Process template and tier-to-model mapping for a coding-agent harness. Arguments are executed directly, never through a shell.
HarnessEvent
HarnessInvocation
A shell-free process invocation rendered from a harness template.
HarnessObservations
JevClient
Minimal Jev HTTP client. The API key is intentionally excluded from Debug, errors, and serialized values.
JevConfig
Connection settings for the Jev decision API.
ObservationTotals
Whole-session counters, independent of the bounded recent event sample.
OutcomeEvidence
PrivacyConfig
Persistence controls for every history backend.
RouteDecision
Inspectable result after model output and local safety policy are combined.
RouteRecord
Persisted record used by the outcome feedback loop.
RouterConfig
Deterministic policy applied after Jev responds.
RoutingCandidate
A bounded, routing-only representation. The original record is never changed.
RoutingHistory
Prepared history shared by cache-key construction, provider requests and diagnostics. Its two serialized windows are each capped at 64 KiB.
RunLifecycle
TierConfig
A stable capability lane. Model names are deliberately kept out of this layer so harness adapters can map tiers independently.
VerificationConfig
Optional process that verifies a successful harness run.
VerificationEvidence
Observable facts from a configured post-run verifier.
VerificationInvocation
A shell-free verification process rendered from a harness template.

Enums§

ConfigError
DecisionSource
Origin of a routing decision.
HarnessEventKind
JevError
ObservationMode
ObservationSource
ObservationStatus
Outcome
Result observed after a routed task runs.
OutcomeSource
RunState
Execution progress is separate from whether the task succeeded.
StorageConfig
Opt-in persistence. Credentials are only resolved by the CLI at runtime.

Constants§

MAX_HARNESS_EVENTS
MAX_OBSERVED_MODELS
RECORD_SCHEMA_VERSION
Current version of a persisted run record.

Functions§

route_cache_key
Hash every input that can change a routing decision without persisting task text in the cache index.
route_cache_key_with_history
The prepared-history equivalent of route_cache_key; request bytes match.
valid_identifier
Identifiers only: never free text, tool arguments, transcript paths, or output.