Crate boundaries and library clients
Research snapshot of November 23, 2026. Code and issue observations refer to the cited revisions and collection times.
For a real embedding client, use the registered-versus-public distinction and the release and rollback acceptance cases in From an app directory to a reproducible guest release.
This view reads the root and all 16 member manifests under pkgs/id/crates/. The consumer column counts direct, normal dependencies inside these 17 packages. Feature-gated and target-specific edges are included, and dev-only edges are listed separately in the edge ledger. A Cargo dependency says nothing by itself about a stable public API.
| Package | Component | Direct normal consumers inside ID |
|---|---|---|
| id | A peer-to-peer file sharing CLI built with Iroh | id-hw-shell, id-native-shell |
| id-caps | Capability catalog, execution limits and world manifest of the id crate | id, id-cli, id-directory, id-web, id-worlds |
| id-cli | id | |
| id-config | Versioned configuration schema and hard invariants of the id crate | None in this survey |
| id-core | Foundation leaf modules of the id crate | id, id-caps, id-cli, id-directory, id-events, id-groups, id-store, id-sync, id-web, id-worlds |
| id-currency-registry | Currency control-plane registry | id |
| id-directory | Directory layer of the id crate: home-server directory, views, auth, mail, invites and seitan admission | id, id-cli, id-web, id-worlds |
| id-events | Events layer of the id crate: event store, group projection, writer sets and sync gating | id, id-cli, id-directory, id-groups, id-sync, id-web, id-worlds |
| id-groups | Groups layer of the id crate: group actions and log, local warnings, blob gate and group encryption | id, id-cli, id-web, id-worlds |
| id-hw-shell | ESP32-class hardware shell spike for id | None in this survey |
| id-import-notion | Notion importer manifest and inventory primitives | None in this survey |
| id-native-shell | Native reference shell for id | None in this survey |
| id-render | Rendering pipeline compiler core for the id programme: parse and vocabulary validation of semantic markup | None in this survey |
| id-store | Store layer of the id crate: store traits, blob store, event headers, documents, tags and search | id, id-cli, id-events, id-groups, id-sync, id-web, id-worlds |
| id-sync | Sync layer of the id crate: log sync, the meta protocol, file operations and the meta client wire half | id, id-cli, id-directory, id-web, id-worlds |
| id-web | Web layer of the id crate: HTTP/WS server, routes, templates and markdown | id, id-cli |
| id-worlds | Worlds layer of the id crate: the world runtime, sessions, sandbox and cross-world authority | id, id-cli, id-web |
The architecture document identifies the root id crate as the public entry point. Its re-exports expose selected parts of the internal crates. For embedders, introduce compatibility promises at an explicit boundary with a minimal consumer fixture. Start with a headless, authorized read of a graph snapshot and a renderer consuming only the projection. Record feature sets, default dependencies, serialization versions, and refusal semantics. Treat the CLI, TUI and hosted routes as clients of that interface. Public entry point · Architecture
Currency registry. The root depends on id-currency-registry and uses it from the currency gateway and reconciliation code. Retain the library. Document the seam where the portable registry feeds the root, then check the same fixture through both callers. The architecture table already lists the root consumer. Gateway · Reconciliation
Rendering. id-render contains a compiler for semantic markup. It validates assertions, composes a target-neutral representation and lowers it to web, native and custom GUI outputs. Its own fixtures exercise those lowerers. Keep it as the renderer library with an explicitly recorded integration gap. Proposed first consumer is a fixture-based preview through the existing developer tooling. Compare native and web action identities, accessibility roles and defaults against independently named expectations before adding a public re-export. Renderer · Conformance fixtures
Importer and shells. id-import-notion defines an injectable acquisition boundary plus durable inventory and resume primitives. Record it as an importer awaiting a production caller. The native and hardware shells are execution endpoints. Having no crate above them is expected for their role. Importer · Native shell · Hardware shell