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

CrateResponsibilityLocal doc
acpAgent Client Protocol interface over the assembled product runtimeAGENTS.md

Placement Rules

  • Put protocol entrypoints here when they depend on assembly/core or 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/core to expose a selected delivery profile.
  • Interface crates must not own product policy, reusable services, protocol transport internals, or execution primitives.