Interface Layer
June 5, 2026 · View on GitHub
中文 | English
Interface Layer
This layer owns Rust protocol or host-facing entrypoints that expose assembled
product behavior. UI apps and delivery hosts remain under src/apps,
src/web-ui, src/mobile-web, and BitFun-Installer with their nearest local
AGENTS.md.
Modules
| Crate | Responsibility | Local doc |
|---|---|---|
acp | Agent Client Protocol interface over the assembled product runtime | AGENTS.md |
Placement Rules
- Put protocol entrypoints here when they depend on
assembly/coreor an assembled product profile. - Keep transport/protocol adapters in
adapters. - Keep reusable OS, filesystem, terminal, MCP, remote, and git implementations
in
services.
Dependency Boundaries
- Interface crates may depend on
assembly/coreto expose a selected delivery profile. - Interface crates must not own product policy, reusable services, protocol transport internals, or execution primitives.