Building from Source

Prerequisites

For the full stack (server, UI, docs):

Build the CLI

task build:cli       # builds build/aileron
task build:sh        # builds build/aileron-sh

Both binaries must be available together. The CLI looks for aileron-sh next to itself, then on PATH.

Build everything

task build

Individual components

task build:server    # Go server binary
task build:mcp       # MCP server binary
task build:enclave   # TEE enclave binary
task build:ui        # SvelteKit UI
task build:docs      # Documentation site
task build:docker    # Docker containers