Command line

mandala

CommandDoes
mandala serve [--data-dir DIR] [--listen HOST:PORT]Runs Mandala. The flags override ALMA_DATA_DIR and ALMA_LISTEN.
mandala versionPrints this build's version (the updater checks a staged binary with it)
mandala appThe Mac app (macOS builds with the desktop feature); opening Mandala.app does the same.
mandala sign-update --key FILE --generateCreates the Mac app's release key and prints its public half.
mandala sign-update --key FILE --app mac --version V --file ZIP [--notes TEXT]Signs a release for the update channel.

Internal subcommands, started by Mandala itself (one executable, no helpers):

CommandDoes
mandala workbench-checkRuns one Workbench trial (JSON on stdin) on a throwaway node
mandala code-turn DIRRuns one turn of a coding session
mandala code-permission DIRAnswers a coding agent's permission questions (MCP on stdio)

dhl-engine

CommandDoes
dhl-engine compile SOURCECompiles a contract, prints dataset guard notes and its artifact id, stores the artifact (DHARMA_DATA_ROOT, default .poc/dharma-agnostic)
dhl-engine describe SOURCE OUTPUTWrites openapi.json, schema.graphql, api.proto, and the contract description (description.json, .cbor, diagnostic.wasm), using <stem>.ui.md if present
dhl-engine api CONFIGServes the generated API from a configuration
dhl-engine cluster run CONFIGRuns a cluster voter (prototype)

Deploy scripts

ScriptDoes
mandala/deploy/ship.shInstalls the current build into ~/.mandala in the background, restarts, rolls back if it does not come up (Updates)
mandala/deploy/release.sh build|sign|publish …Builds, signs and publishes a release for self-update (Updates)
mandala/deploy/macos/install.sh DIRInstalls a Mac build as a launchd agent
applications/apple/scripts/*.shBuild, sign, notarize, release the Mac app; build the iPhone app