packages/ holds eight independently buildable TypeScript packages. Architecture → Package Architecture covers their intended dependency graph and responsibilities. This section documents each package’s actual exported surface (from its src/index.ts) and — where it matters — which parts of that surface the running application (packages/api) actually calls.
shared
Canonical domain model, repository contracts, errors.
runtime
ExecutionTrustApplication, the execution pipeline, application services.storage
Repository implementations — in-memory and Supabase.
crypto
Canonical hashing, signing, receipt and verification crypto.
replay
A full deterministic replay engine — currently unused by the API.
verification
A full multi-stage verification pipeline — currently unused by the API.
policy
Policy loading, routing, and rule evaluation.
api
The Express server — the only package that’s actually a running application.
What’s actually wired into the server
@parmana/replay and @parmana/verification sit outside it entirely.
Related
Package Architecture
The intended dependency graph.
Runtime Architecture
How the pipeline above is assembled.
REST API Overview
The HTTP surface
packages/api exposes.Security Model
Cryptographic guarantees from
crypto.