A3S Common
A3S Common
Shared privacy, tool, and transport primitives used by A3S crates.
A3S Common
a3s-common contains shared primitives for A3S crates. It is not a product
surface; it is a small library for common privacy classification, tool result
types, safe workspace path resolution, and framed transport types.
The current crate version is a3s-common 0.1.1.
Capability Map
| Area | Current capability |
|---|---|
| Privacy | Sensitivity levels, regex classification rules, match metadata, keyword matching, TEE thresholding, and redaction strategies. |
| Tool types | Shared Tool and ToolResult structures for simple tool metadata and results. |
| Workspace paths | Safe read and write path resolution that rejects paths escaping the workspace. |
| Transport | Async transport trait, mock transport, 5-byte frame header, payload limits, Unix socket transport, vsock port constants, and TEE protocol types. |
Start Here
- Privacy covers classification rules, match metadata, keyword matching, redaction, and TEE flags.
- Tools And Paths covers
Tool,ToolResult,resolve_path, andresolve_path_for_write. - Transport covers frames, codecs,
Transport,MockTransport, Unix sockets, port constants, and TEE messages.
Boundary
Common deliberately avoids owning product policy. A component may reuse the privacy classifier or path resolver, but final authorization decisions stay in the component or host runtime.