English
The alta command
Install it, then run alta help. Every command below prints alta help with --json too, for an agent or a script.
| Command | What it does |
|---|---|
alta chart | creates a chart from a skeleton (kinds: agent, team, module, skill, quest-pack, universe), reads one without installing it, or pins a release at its version |
alta lint | validates every chart and content file (a chart folder, a .json with a "schema", a universe folder); exit 1 on a problem |
alta package | lints, then writes a deterministic archive; prints its sha256 and the tree digest (source.sha256) |
alta template | what installing the chart does on a machine: its values, the charts it requires, its sign-ins, parts and proofs (read only) |
alta install | installs a chart through the machine's server: prints the plan; with --yes, runs each change in order and shows its proofs |
alta upgrade | a new revision of an installed release: the chart's current version, its values kept unless --values changes them; parts already there are kept, an agent whose files change is written again. Skipped when pinned; a lower version is refused (that is a rollback); stops when its agent files were edited by hand |
alta rollback | goes back to an earlier revision of a release (the one before by default): a new revision with its version, values and files, kept on this machine when it was installed; prints the plan, runs it with --yes |
alta uninstall | runs each part's undo in reverse order, then moves the release record to the archive (nothing is deleted) |
alta status | the releases of this machine: version, revision, state and pin; --history: each revision of one release (read only) |
alta repo | where this machine installs charts from: its folders and the repositories you add; update fetches their indexes (the only network use, with pull) |
alta search | the charts of this machine's folders and of the repositories added, from their cached indexes; reads nothing from the network |
alta pull | downloads a chart from a repository added here, checks its sha256 and its tree digest against the index, lints it and keeps it for alta install |
alta verify | recomputes the tree digest, checks it is the one an attestation signed and who signed it (offline); prints the chart's risk level; exit 1 if not verified |
alta attest | for publishers and reviewers: signs a statement that names the chart's id, version and tree digest; writes <id>-<version>.<type>.intoto.json |
alta repairs | the repairs you allow to run without asking when a release's proof fails; every one is asked until you allow it |
alta new | creates content from a skeleton; genres: chart, quest-pack, onboarding, cinematics, universe, mission, signin (alta new chart is alta chart new) |
alta dev | plays the game in demo with this content, in a temporary copy, read only |
alta publish | dry run: checks the folder is committed and pushed, prints the source block; sends nothing |
alta schemas | writes the JSON Schemas (default docs/standards/schemas/) |
alta mcp | The author MCP server: MCP setup. |
Exit codes: 0 ok · 1 problems found · 2 bad usage · 3 not in this version
Standards it reads
| Kind | Current | Accepted |
|---|---|---|
| game | alta.game/0.3 | alta.game/0.1, alta.game/0.2, alta.game/0.3 |
| quests | alta.quests/0.3 | alta.quests/0.2, alta.quests/0.3 |
| onboarding | alta.onboarding/0.2 | alta.onboarding/0.1, alta.onboarding/0.2 |
| cinematics | alta.cinematics/0.1 | alta.cinematics/0.1 |
| universe | alta.universe/0.1 | alta.universe/0.1 |
| chart | alta.chart/0.1 | alta.chart/0.1 |
| catalog | alta.catalog/0.2 | alta.catalog/0.2 |
| license | alta.license/0.2 | alta.license/0.2 |
| index | alta.index/0.1 | alta.index/0.1 |
| repos | alta.repos/0.1 | alta.repos/0.1 |