Available on crate feature
std only.Expand description
Public product API (S2 + S3 hardening + adapter injection + config).
Structs§
- Closed
Loop Session - Stateful coordinator for running the kernel with internal or external telemetry.
- Control
Directive - Control decisions returned to an external closed-loop host.
- Kernel
- Product-facing kernel. Generic over world I/O and decision maker so callers can inject adapters.
- Kernel
Metrics Snapshot - Read-only, in-memory operational metrics for export to monitoring systems.
- Kernel
Status - Snapshot of the kernel’s current operational status and L0/L2 metrics.
- L2Prior
Payload - L2 policy and stability data supplied to the control plane.
- Loop
Matrix Benchmark Report - Report of loop matrix benchmark.
- Loop
Preset Benchmark Row - Data structure representing loop preset benchmark row.
- Param
Patch - Single named policy-parameter update.
- Rule
Patch Payload - Serialized payload describing a proposed rule update.
- RunReport
- Summary of the steps, accepted patches, and prediction-error change from a run.
- Step
Telemetry - External measurements supplied for one closed-loop step.
- Trajectory
Replay Row - One parsed trajectory row with the fields shown in replay summaries.
- Trajectory
Replay Summary - Offline summary of a
trajectory.jsonlfile (no world re-execution).
Enums§
- External
Outcome - Outcome reported for an externally executed step.
- Loop
Benchmark Scenario - Identifies a supported loop benchmark scenario.
Constants§
- DEFAULT_
MAX_ TRAJECTORY_ BYTES - Default maximum size for a trajectory JSONL file (64 MiB).
Traits§
- Closed
Loop Kernel - Interface for a kernel that accepts internal steps or external telemetry.
Functions§
- l2_
step_ damping - Compute a bounded
[0.25, 1.0]step-size damping factor from L2 stability metrics (lyapunov_potentialandalpha). Higher potential dampens multi-parameter L1 steps to prevent overshoot; returns1.0when L2 is off. - replay_
trajectory_ file - Read and summarize a trajectory.jsonl without running the kernel loop.
- resolve_
l1_ gate - Resolves the effective value from the supplied inputs.
- run_
closed_ loop_ matrix_ benchmark - Runs run closed loop matrix benchmark and returns its result.
Type Aliases§
- Bandit
Kernel - Kernel using standard UCB decision maker for bandit tasks.
- Default
Kernel - Default concrete kernel type (simulation observer + sandboxed executor).
- Event
Hook - In-process event callback (after audit append).