Module Boundaries¶
This repository is a modular monolith. Each top-level domain directory is a
candidate for extraction into its own repository. Modules should only depend on
public APIs and shared utilities under packages/shared.
Domains¶
adapters: External integrations (Slack, Telegram, etc.)api: Gateway and API surface (FastAPI, webchat assets)cli: CLI entry points and orchestration commandscore: Shared core logic and shell librariescrypto: Cryptography services and key managementmetrics: Evidence, verification, and performance metricsui: TUI/UX applicationconfig: Configuration schemas and helperssecurity: Security-related tooling and docspackages/shared: Cross-domain utilities and shared helpers
Dependency Rules¶
Domains may depend on
packages/shared.Domains should not import internal paths from other domains.
All inter-module dependencies must go through public APIs or shared packages.
Extraction Order (Suggested)¶
packages/sharedcryptometricsadaptersapiuiclicoreconfigsecurity