Four operational areas
The repository is organized around the API, authenticated web app, agent runtimes, and deployment system. Product routes live under /api/v1, while runtime telemetry enters through a separately served /ingest/v1 application.
- 01.1
API: authorization, orchestration, persistence, and runtime control.
- 01.2
Web app: organization-scoped product experiences and Platform View.
- 01.3
Runtimes: Hermes and OpenClaw execute rendered agent configuration.
- 01.4
Deployment:
Helm,Helmfile, workflows, databases, LiteLLM, and monitoring.
The Agent is the orchestration boundary
An Agent ties together one Organization, an exact Template version, explicit Skills, encrypted credentials, a chat Platform, a Runtime, Kubernetes resources, Telemetry, and LiteLLM cost identity. Cross-domain workflows belong in services rather than routes or repositories.
Keep event types separate
Runtime Telemetry Events become Conversation Messages and Tool Calls. Internal Domain Events record typed business facts through the transactional outbox. Costs come from LiteLLM reports. These streams have different authentication, persistence, and retention rules and must not be conflated.
Choose the right source before editing
Use feature guides for current product behavior, architecture guides for system boundaries, ADRs for consequential rationale, and changelogs for multi-ticket delivery history. The issue tracker and the platform-management plan describe work that is not necessarily shipped.