Skip to main content

Crate lab_proxy_core

Crate lab_proxy_core 

Source
Expand description

Pure-logic core for the driver-lab driver: target-ceiling and session-allowlist policy evaluation and the bounded audit ring.

This crate deliberately has no Fuchsia dependencies so policy and audit behavior are testable on the build host without a component realm or an emulator.

Modulesยง

access_policy
Layered access validation for proxy operations.
audit_ring
Bounded target-side audit ring.
config
Structured configuration and runtime limit bounds (Spec Section 22).
digest
Resource-description digests.
executor
Read-path executor: policy check, hardware access, and audit for scalar reads and bounded snapshots.
hardware_backend
Hardware access abstraction for the executor.
interrupt
Core interrupt observation, sequence tracking, waiter notification, and acknowledgement.
protocol_resource_adapter
Protocol resource adapters for GPIO, I2C, and SPI.
provider
Provider-neutral bundle of acquired resources.
session
Session lifecycle: identity staleness, allowlist validation, and the exclusive mutation lease.
state_bank
Software state banks, runtime knobs, and diagnostic triggers for in-situ driver experimentation.
target_policy
Target ceiling policy manifest representation, canonicalization, and narrowing verification.