Skip to content

alta.install/0.1: the single Alta System OS install script ​

Generated from docs/standards/alta-install-0.1.md · npm run docs:gen

Code: core/install/alta-os.ts (interface and output validator only). Tests: tests/cloud-contract.test.ts.

Status: alpha. This format can still change before its 1.0; a change follows the versioning rules of the project and is announced in the changelog.

One script for the Mac (native, no Docker) and the cloud image (its Dockerfile runs it). Decision P2: nothing chains by itself; each part is a separate, idempotent command, and the game's quests run them in order with the player's agreement.

install.sh <part> plan|apply|check --target macos|docker --json
parts: machine, mind, memory, agents, map, modules
env:   ALTA_HOME (default ~/.alta), ALTA_NONINTERACTIVE=1 (never prompts)
exit:  0 ok, 1 failed, 2 bad arguments, 3 unsupported target, 4 would prompt

Outputs (JSON on stdout, schema alta.install/0.1):

  • plan: { part, target, steps: [{ id, does, writes[] (under ~/ or $ALTA_HOME/ only), needs?, done? }] };
  • check: { part, target, ok, present[], missing[] }, ok exactly when nothing is missing;
  • apply: { part, target, ok, did[], skipped[], error? }, a failed apply says why.

Never a secret in argv, env or output (checkInstallOutput refuses anything that looks like one). Signing in to an LLM is the llm.signin executor, not this script. The game calls it through setup.alta-plan, setup.alta-apply, setup.alta-check (macOS and Linux); installArgs(part, verb, target) builds the argv. The script itself belongs to the engine (lot A); D1 and D2 call it on the Mac, H1 in the image.

The standard, the SDK and the CLI are Apache-2.0; Alta System OS and Alta World are FSL-1.1-ALv2.