A3S Docs
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

AreaCurrent capability
PrivacySensitivity levels, regex classification rules, match metadata, keyword matching, TEE thresholding, and redaction strategies.
Tool typesShared Tool and ToolResult structures for simple tool metadata and results.
Workspace pathsSafe read and write path resolution that rejects paths escaping the workspace.
TransportAsync 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, and resolve_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.

On this page