assay_runner_spike/lib.rs
1//! Internal contracts for the Assay-Runner Phase 1 spike — legacy alias.
2//!
3//! This crate is deliberately publish-disabled. It is a thin compatibility
4//! wrapper after the Phase 2D extraction work:
5//!
6//! - Phase 2D Slice 1 moved the data-structure half of the v0 schemas to
7//! [`assay_runner_schema`].
8//! - Phase 2D Slice 2 moved orchestration, archive assembly, and layer
9//! normalizers to [`assay_runner_core`].
10//! - Phase 2D Slice 6B redirected the last in-workspace consumer
11//! (`assay-cli`) to depend on `assay-runner-schema` and
12//! `assay-runner-core` directly. As of Slice 6B no production code
13//! depends on this crate any more; it is kept only as a legacy
14//! navigational alias for readers of pre-Slice-6B history.
15//!
16//! `scripts/ci/assay_runner_lane_check.py`'s `--self-test` enforces that
17//! `assay-cli` does not re-introduce a dependency on this wrapper; any
18//! such regression fails the lane-check helper. See
19//! `docs/reference/runner/assay-consumes-runner-external.md` for the
20//! Slice 6 design decisions.
21//!
22//! The `pub use` re-exports below are retained for the same legacy-alias
23//! reason. Any future PR that wishes to delete this crate entirely should
24//! first confirm zero `pub use assay_runner_spike::` or
25//! `assay_runner_spike::Type` references anywhere in the workspace
26//! (including off-tree consumers if any exist), update the boundary-map
27//! ownership row, and remove the workspace member and dependency entries.
28
29pub use assay_runner_schema::{
30 ArchiveFile, ArchiveManifest, BindingWindow, CapabilitySurface, CapabilitySurfaceError,
31 CgroupCorrelationStatus, CorrelationBinding, CorrelationReport, CorrelationReportError,
32 CorrelationStatus, KernelLayerStatus, ObservationHealth, PolicyLayerStatus, SdkLayerEvent,
33 SdkLayerStatus, ARCHIVE_MANIFEST_SCHEMA, CAPABILITY_SURFACE_PATH, CAPABILITY_SURFACE_SCHEMA,
34 CORRELATION_REPORT_PATH, CORRELATION_REPORT_SCHEMA, EVENTS_PATH, KERNEL_LAYER_PATH,
35 MANIFEST_PATH, OBSERVATION_HEALTH_PATH, OBSERVATION_HEALTH_SCHEMA, POLICY_LAYER_PATH,
36 SDK_EVENT_SCHEMA, SDK_LAYER_PATH,
37};
38
39pub use assay_runner_core::{
40 KernelLayerBuilder, KernelLayerCapture, KernelLayerError, PolicyLayerCapture, PolicyLayerError,
41 PolicyLayerEvent, RunExecutionError, RunOutcome, RunSpec, RunSpecError, RunnerSpikeArchive,
42 RunnerSpikeArchiveError, SdkLayerCapture, SdkLayerError, KERNEL_EVENT_SCHEMA,
43 POLICY_EVENT_SCHEMA, RUN_EVENT_SCHEMA,
44};