Documentation
¶
Overview ¶
Command mecated is the standalone mecatl server binary and a composition root: it parses the CLI/env configuration, builds the telemetry sink, delegates the engine + service assembly to internal/app (the SHARED composition layer also used by the embedded server in cmd/mecatui), and serves the resulting HarnessService over gRPC and HTTP/SSE concurrently, with graceful shutdown on SIGINT/SIGTERM.
The agent loop, tool catalog, permission policy, provider, store, MCP and skills wiring all live in internal/app so the TUI can host the same server in-process; mecated owns only the things specific to a network daemon: flag parsing, TLS/auth/rate-limit, the HTTP + metrics listeners, and offline operator subcommands such as `import` and `skills promote`.