Skip to content

alta.chart/0.1: the Agent Chart ​

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

Code: core/charts/ (chart.ts types and checkChart, values.ts, semver.ts, quests.ts (how the game renders a chart), conditions.ts, repairs.ts, services.ts, external.ts (locality and online services)), engine/lib/alta_chart.py (the engine's reader), server/charts/ (admission, release records, guard loop). Tests: tests/charts*.test.ts, engine/tests/test_charts.py.

An Agent Chart is a versioned folder that packages something a person installs and configures on their own machine: an agent, a team of agents, a module, a tool, a skill, a quest pack, a universe. It says what it is, where it runs, what it needs, what the owner chooses, which accounts it connects, what it does step by step, how it is proven, and what may be repaired without asking again.

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.

A chart is data. It names executors, checks, sign-in tools and repair kinds from closed lists that live in code. Nothing in a chart is run as code, there is no templating language, and nothing is written to the machine before the owner agrees to a plan card.

It replaces, with no compatibility layer, the earlier store item format and the engine's own module, agent, index and owner overlay files. See What a chart is not for what stays separate.

1. Words ​

WordMeaning
chartthe folder and its chart.json
valuesomething the owner chooses at install; never a secret
sign-inan account or a device the chart connects, proven by a read-only check
partone unit of work with plan, apply and check
proofa read-only check, with a role: installed, ready or alive
repaira named fix from a closed list of kinds, tied to an alive proof
grantthe owner's standing yes for one repair of one chart
releasethe record of an installed chart on a machine: version, values, conditions
conditionthe single state word of a part, a proof or a release

2. Layout on disk ​

<id>/
  chart.json              required: the only file the validators read first
  README.md               for people; never parsed
  agents/<agent id>/      SOUL.md, IDENTITY.md, AGENTS.md, runbooks/ (text given to the agent, never run)
  skills/<slug>/SKILL.md  skills shipped with the chart
  automations/<key>.json  schedule and target of each automation, with <key>.message.md
  quests/*.json           optional alta.quests/0.3 fragments that replace generated texts
  universe/               kind universe: the pack of alta.universe/0.1
  scripts/, tests/        only when origin is "alta" (section 10)
  values.example.json     an example of chosen values, used by `alta install --values`
  • The file is JSON (UTF-8, no comments). Every object may carry a "$comment" string; it is ignored and never shown. Reason for JSON: every content file of the game is JSON, the game has no runtime dependency, and the engine is Python standard library only. Both read JSON natively; neither reads YAML.
  • The folder name equals id. Paths inside the chart are relative, with /, never .., never absolute, never a symlink that leaves the folder (chart.path).
  • Size limits: chart.json 256 KB, a text file 256 KB, the whole chart 20 MB (chart.size).

3. Top level ​

Chart {
  schema: "alta.chart/0.1"
  id, version, kind, status?
  title, summary, why?, author, license, price
  origin, verified?, source?
  privacy?, locality?, external?
  publisher?, homepage?, keywords?, categories?, icon?, changes?
  support, resources?
  requires?
  capabilities
  needs?
  values?
  signins?
  agents?, skills?, automations?, services?, hooks?
  package?
  parts
  proofs
  repairs?
  spawn?, branch?, universe?, scene?
  review?
}
FieldTypeRequiredRule
schema"alta.chart/0.1"yeschart.schema
idstring ^[a-z][a-z0-9-]{1,40}$yeschart.id; tests, docs, index are reserved
versionsemver MAJOR.MINOR.PATCH[-pre][+build]yeschart.version
kindclosed list, belowyeschart.kind
status"ready" | "draft" (default ready)noa draft is listed, checked, and refused at install (chart.status)
title, summaryText (en and fr)yeschart.texts
whyTextno
author, licensestringyeschart.author, chart.license
price"free" | "paid"yesthe amount lives in the catalog, never here (chart.price)
origin"alta" | "community"yeschart.origin
verifiedbooleannoset by Alta's review only; refused on a community chart that sets it itself (chart.community-verified)
privacy"personal" | "shareable" (default personal)noagent, team, module, package and skill only (chart.privacy); section 8
locality"local" | "local-first" | "cloud"community or shareable: yes; else a warningwhat the chart needs of the network at run time; never on a data chart (section 8, chart.locality*)
external{ services: Service[] }when it reaches the networkthe online services it talks to, each with its hosts, phase, account and the data that leaves the machine (section 8, external.*)
publisher{ id, name, url? }nowho publishes it: id ^[a-z0-9][a-z0-9-]{1,38}$, name 1 to 60 characters, url https; never an e-mail (chart.publisher)
homepagehttps URLnono credentials in the address (chart.homepage)
keywordsstring[]no8 at most, each ^[a-z0-9][a-z0-9-]{1,23}$, no duplicate (chart.keywords)
categoriesCategory[]no3 at most, from the closed list below (chart.categories)
iconpathnoa .png or .webp file of the chart, 256 KB at most; never SVG, it can carry script (chart.icon)
changesTextnowhat changed in this version, in plain words (chart.changes)
source{ git, ref?, commit, sha256 }community: yeshttps, full 40-hex commit, 64-hex digest of the chart tree (chart.source, chart.community-source)
supportSupport of platformyessupport.* rules, unchanged
resourcesResources of resourcesnosection 6
needs{ <id>: Need | true }noa mind, a channel: what the chart needs, bound by the player to a provider (section 4a, chart.need-*)

Marketplace metadata ​

publisher, homepage, keywords, categories, icon and changes help a person find a chart and judge it before installing. All are optional; a chart without them stays valid.

  • Categories (closed, CHART_CATEGORIES in core/charts/chart.ts): assistant, writing, research, media, home, work, developer, system, game.
  • author stays a string. license should be an SPDX identifier or expression (MIT, Apache-2.0, MIT OR Apache-2.0, LicenseRef-<name> for your own terms); anything else is a warning (chart.license-spdx).
  • The price stays free or paid here; an amount never appears in a chart.
  • A signature is never in chart.json: a file cannot sign the folder it is part of. Signatures travel next to the chart.

Kinds (closed) ​

kindWhat it installsMust haveMust not have
agentone agentagents with exactly one entry, proofs.ready
teamseveral agents that work togetheragents with two entries or more, proofs.ready
modulea capability around the agents: skills, commands, automationsparts, proofs.ready
packagea standalone tool a module uses (a command, an MCP server)package, proofs.installedagents, automations
skillone skill or a fewskillsagents, services
systema layer of Alta System OS itself (the chart alta-os and its six parts)origin alta
quest-packquests onlybranchanything that writes outside the game's folder
universea universeuniversesame
cosmeticart onlysame

The last three are data charts: their only parts run the executor item.data, they need no capability and show no plan card that writes (chart.data-only).

4. Values ​

What the owner chooses. Values are asked once, at install, kept in the release record, and can be changed later by an upgrade (a change is a new plan, never a silent edit).

values: { <id>: Value }          id: ^[a-z][a-z0-9-]{0,31}$
Value {
  kind: "text" | "choice" | "email" | "path" | "number" | "boolean"
  label: Text, hint?: Text
  required?: boolean (default true)
  default?: string | number | boolean
  from?: "answers.<key>" | "owner.<key>"       prefilled from the owner's answers or profile
  text:    min?, max?, pattern? (anchored, 200 characters at most)
  number:  min?, max?
  choice:  choices: Choice[]
  secret?: never
}
Choice { id, label: Text, hint?: Text, recommended?: boolean, resources?: Resources, host?: HostCond,
         off?: { host, why: Text } }

Rules:

  • The kinds are those of INPUT_KINDS (core/runs/inputs.ts) without secret. A value is never a secret, and a default that looks like one (looksSecret) is refused (chart.value-secret).
  • from only names keys of the engine's answers file (slug, language, timezone, display_name, channel, embeddings, default_model) or of the owner profile, which also holds owner.mind and owner.channel (the player's default provider of each kind, section 4a) (chart.value-from).
  • A value never picks a provider: that is a need (section 4a). A choice of two providers, or a value read from answers.default_model or answers.channel, is a warning (chart.need-instead).
  • A choice follows the choice rules of alta-game-0.3: at most one recommended per host, at least one choice that can be picked on every reference host and on the smallest machine (choice.recommended, choice.none-on-host).
  • A choice with resources is greyed where the machine is too small, with the sentence of shortText().

References ​

A value is used elsewhere by writing "$<id>" as the whole string of a field. There is no interpolation inside a string, no expression, no default operator, no loop.

  • Allowed places: parts[].args.*, signins.*.args.*, automations[].schedule.*, agents[].model.from, parameters of a proof.
  • A need is named the same way with "need:<id>" as the whole string, in the places of section 4a.
  • The value's kind must fit the place: checked against the executor's ParamSpec by paramProblems (chart.ref-kind). An unknown id is chart.ref-unknown.
  • Any {{, ${ or <% in chart.json is refused (chart.no-template).

Conditions on a value ​

when: { value: "<id>", is: [ "<choice id>" | true | false, … ] } on a sign-in, a part, an agent, an automation, a service or a proof. Absent: always. One value, one list: no and, no or, no not. If a chart needs more logic, an executor is missing.

when: { need: "<id>", is: [ "<provider id>", … ] } holds when that need is bound to one of these providers (section 4a); an unknown need or provider is chart.when.

4a. Needs ​

A chart says what it needs ("a mind", "a channel") instead of naming Claude or Telegram. The player binds each kind once to a provider (their onboarding choices), and every chart reuses that binding unless it says otherwise. The agents, parts and proofs name the need ("need:mind"); the engine binds it. Code: core/charts/needs.ts (the table and bind, pure) and core/charts/bindings.ts (what a binding adds to the chart, pure).

needs: { <id>: Need | true }        id: ^[a-z][a-z0-9-]{0,31}$, the same shape as a value id
Need {
  kind?: "mind" | "channel"         only for a free id: the kind comes from the id
  why?: Text                        the sentence of the consent step; default: one per kind
  accept?: string[]                 the providers allowed; absent: every provider of the kind
  model?: "provider/model"          a mind pinned to one model; excludes accept
  features?: string[]               what the provider must offer, closed list per kind
  prefer?: string[]                 the recommendation order when the player must choose
  reuse?: "ask"                     ask each time, even when the player has a default ("owner" is the default)
  optional?: true                   the chart works without it
}

The kind comes from the id. mind and channel are their own kind; mind-deep or channel-alerts (<kind>-<anything>) take the kind of their prefix. kind is written only for a free id ("notify": { "kind": "channel" }); a kind that repeats what the id says is a warning, one that contradicts it an error (chart.need-kind). Several needs of one kind are allowed (mind-fast, mind-deep).

Three levels. Broad: {} or true, any provider of the kind, and the player's own choice is reused. Constrained: accept, features ({ "features": ["push"] }: a channel that can write first). Pinned: model (a mind on one model, such as "anthropic/claude-sonnet-4-6"). Defaults stay out of the chart: never "reuse": "owner", never "optional": false (chart.need-default, a warning).

Features (closed, NEED_FEATURES): a mind tools, vision, long-context, json; a channel push, reply, files, voice, buttons. Default why: a mind "It needs a mind to think with." / « Il a besoin d'un esprit pour penser. »; a channel "It needs a way to write to you." / « Il a besoin d'un moyen de t'écrire. »

References ​

One form everywhere, the whole string "need:<id>":

WhereMeans
agents[].modelthe agent thinks with the mind bound to that need
agents[].channelthe agent writes on the channel bound to that need
agents[].permissions.channels[]the channel it may write to
parts[].requires[]the part waits for the need's connection (its generated sign-ins)
parts[].args.*the engine's word for the bound provider (claude, codex, local, telegram, none), when the executor's closed list holds every candidate's word (chart.ref-kind)
a proof { "type": "need", "id": "<id>" }the provider's own proof (below)
when: { "need": "<id>", "is": ["<provider>"] }only when that need is bound to one of these providers

A reference to an unknown need is chart.ref-unknown; one of the wrong kind (agents[].model: "need:channel") is chart.need-kind. A pinned agent (model: { "id": … }, channel: { "kind": "telegram" }) stays valid: it is the pinned form, with its own sign-ins and services written by hand. A choice value stays for what is the chart's own, never to pick a provider: a value whose choices are two providers, or that reads answers.default_model or answers.channel, is a warning (chart.need-instead).

Providers (closed, PROVIDERS) ​

A provider is a row of the engine, like a sign-in tool. Its service, sign-ins, proof and repairs come from its row, never from a chart.

ProviderKindLocalFeaturesService (hosts, account, data)Sign-insProofRepairs
claudemindnotools, vision, long-context, jsonClaude (claude.ai, api.anthropic.com), paid, promptssignin.cli claude, link-codesignin { tool: claude }signin.again
codexmindnotools, vision, long-context, jsonChatGPT (auth.openai.com, chatgpt.com, api.openai.com), paid, promptssignin.cli codex, device-codesignin { tool: codex }signin.again
localmindyestools, jsonnone; needs 16 GB of memory and 6 GB of disknonemodel { mind: local }none
telegramchannelnopush, reply, files, voice, buttonsTelegram (api.telegram.org), free, messageschannel.connect, then channel.pair-approvechannel { id: telegram, state: paired }channel.reconnect, channel.pair
worldchannelyesreply, files, buttonsnone: the game's own inboxnonenone (always met)none

The row order is the engine's recommendation order. A pinned model names its provider by its prefix (anthropic/… is claude, openai/… and openai-codex/… are codex, ollama/… is local).

Binding: bind(chart, world, machine) ​

Pure (core/charts/needs.ts). world is what the player has: their default per kind (owner, from the engine's answers default_model and channel), the providers already connected (from the release records), the preset "100% local" (localOnly) and their own pick per need (picked, the "change" of the consent step). For each need, the first rule that applies:

  1. Candidates: providers of the kind, inside accept, with every features, the one of a pinned model, that this machine can carry (resources, hosted) and, with "100% local", local ones only. The player's own pick, when it is a candidate, is bound before rule 3 (rule 0).
  2. None: the chart is greyed with its reason, never hidden ("Asks for a mind with vision; none can."): condition Blocked, reason NeedUnmet (§14). An optional need is left out instead.
  3. One candidate (pinned): bound when connected, else a connection step.
  4. The player's choice: the player's default of that kind is a candidate (and the need does not say reuse: "ask"): bound, no question.
  5. Another candidate already connected: proposed, preselected, one question.
  6. Nothing connected: a choice, recommended first by prefer then by the table's order, then the connection.

Guardrails:

  • Reuse is never invisible. The consent step always says the binding, one line per need: "Morning brief will think with your Claude subscription · change" / « Point du matin pensera avec ton abonnement Claude · changer ». "change" is there when the need has more than one candidate.
  • A need bound by rule 4 follows the player's default.
  • A new version that adds a need, widens accept or pins another provider is a widening (§8): the consent again, never a repair or a background update.
  • Presets: "my install" (the engine's answers are the default binding per kind), "100% local" (--local-only: local providers only, such as local and world), "customise" (one pick per need: --bind need=provider,…).

What a binding adds ​

expandChart(chart, bindings) (core/charts/bindings.ts, pure) writes into the chart what the bound provider brings, before the install plan is drawn. The chart on disk never holds it.

  • Sign-ins: the provider's sign-ins (need-claude; need-telegram then need-telegram-pair) when it is not connected yet. A part's "need:<id>" requirement becomes the last of them.
  • Services: one service need-<id> of external.services, with the provider's hosts, account and the data of the kind (prompts for a mind, messages for a channel), phase run, required: false when the need is optional. A local provider adds none.
  • Proofs: { "type": "need", "id" } becomes the provider's proof; with no proof (world), it is met.
  • Agents: "need:<id>" becomes the engine's model or channel of the bound provider.
  • Alive proofs and repairs of providers are carried once per world by the chart alta-os (it needs a mind and a channel): need-<provider>, every hour, with the provider's repairs. Another chart does not repeat them.

The release record keeps the bindings (bindings: { <need id>: <provider id> }, §14); an upgrade, a rollback and the guard read them back.

Before and after ​

The morning brief, before (a value to pick the mind, three sign-ins, two services, a proof and two repairs to keep the sign-in alive):

json
"values": { "mind": { "kind": "choice", "label": { "en": "Which mind?", "fr": "Quel esprit ?" },
  "choices": [{ "id": "claude", "label": { "en": "My Claude subscription", "fr": "Mon abonnement Claude" } },
              { "id": "local", "label": { "en": "A model on this machine", "fr": "Un modèle sur cette machine" } }] } },
"signins": { "claude": { "use": "signin.cli", "args": { "tool": "claude", "flow": "link-code", "hosts": "claude.ai" }, … },
             "telegram": { "use": "channel.connect", … }, "telegram-pairing": { "use": "channel.pair-approve", … } },
"external": { "services": [{ "id": "claude", … }, { "id": "telegram", … }] },
"agents": [{ "id": "brief", "model": { "from": "$mind" }, "channel": { "kind": "telegram" },
             "permissions": { …, "channels": ["telegram"] } }],
"parts": [{ "id": "agent", "requires": ["signin:claude", "signin:telegram"], … }]

After:

json
"needs": { "mind": {}, "channel": { "features": ["push"] } },
"agents": [{ "id": "brief", "model": "need:mind", "channel": "need:channel",
             "permissions": { …, "channels": ["need:channel"] } }],
"parts": [{ "id": "agent", "requires": ["need:mind", "need:channel"], … }],
"proofs": { "ready": [{ "type": "need", "id": "channel" }, …] }

The chart no longer says Claude or Telegram. A player whose world thinks with a model on the machine installs it with no sign-in; one who chose Claude sees "will think with your Claude subscription · change".

Reserved ​

Two more kinds of interface are planned after launch and have no field yet: an agent that drives a live interface (AG-UI) and an agent that sends interface parts to draw (A2UI). The names stay free for them; a chart that uses them today is refused (chart.need-kind, chart.unknown-key).

5. Sign-ins ​

The accounts and devices the chart connects. A sign-in is shown on the consent screen ("this chart asks for"), becomes one step of the install plan, and is proven by a check, never by "I am done".

The sign-ins of a mind or a channel are not written here: they come from the provider's row once a need is bound (section 4a), named need-<provider>. signins stays for the accounts that are the chart's own (a calendar, a repository).

signins: { <id>: Signin }
Signin {
  use: "signin.cli" | "setup.other-signin" | "channel.connect" | "channel.pair-approve"
     | "connector.connect" | "tablet.pair"
  args: { … }                    the executor's non-secret arguments
  proof: Check                   read-only
  why: Text                      one sentence the consent screen shows
  optional?: boolean
  when?: When
  requires?: [ "signin:<id>" ]   another sign-in first (pair after connect)
}

use is the closed list of connection executors (SIGNIN_EXECUTORS in core/charts/chart.ts: the executors of core/runs/executors.ts that declare secret and connect an account or a device).

With signin.cli, the arguments are those of the sign-in standard (core/runs/signin.ts):

ArgumentValues
toola tool of the closed table SIGNIN_TOOLS (today: claude, codex, gh, practice)
flowlink-code, device-code, email-link, secret, tool-browser; default: the tool's first link flow
hostsrequired for the three link flows: a comma list of hosts, each one a host of the tool's own row
FlowWhat the owner doesWhere the secret goesWorks without a screen
link-codeopens the link in their own browser, pastes the code in the pagepage → the owner's server → the program's stdinyes
device-codetypes a short code on the provider's pagenothing passes through the gameyes
email-linkclicks the link they receivenothing passes through the gameyes
secretpastes a key in a password fieldpage → the owner's server → the program's stdinyes
tool-browserfollows the tool's own flow in a Terminal windowstays in the toolno (terminal, gui)

Rules:

  • The sign-in rules apply unchanged: signin.tool, signin.flow, signin.hosts, signin.token, signin.proof.
  • A chart never gives a secret argument (token, key, code, password): the generated step adds the secret input itself (chart.signin-secret).
  • The proof of a signin.cli sign-in is { "type": "signin", "tool": "<same tool>" } (signin.proof).
  • A chart whose support.hosted is ok must be installable there: every required sign-in has a flow or an executor that is hosted and needs no terminal or gui (chart.signin-hosted).
  • A sign-in never widens later: a new scope or a new tool is a new chart version and a new consent.

6. Support and resources ​

support is the Support of platform, unchanged. resources is the block of resources, written like Kubernetes requests:

json
"resources": { "cpu": 2, "memory": "4Gi", "disk": "2Gi", "gpu": true, "arch": ["arm64"] }
  • cpu: cores (4, "4", "500m"). memory, disk: quantities ("16Gi", "512Mi", "20G"). gpu: true only. arch: arm64, x64. Rules resources.field, .cpu, .memory, .disk, .gpu, .arch, unchanged.
  • Where it may be written: on the chart (the minimum to install it at all), on a Choice, on a part. The need of a part is the largest, key by key, of its own block, its executor's block and the chosen choices' blocks (mergeResources).
  • Requests only. There are no limits: the game does not isolate processes.
  • The server measures the machine read only (Host.machine: cores, memory, free disk, GPU). missing() compares; a resource that was not measured is never refused. A chart too big for the machine is shown greyed with the reason ("Needs 16 GB of memory (this machine: 8 GB)."), never hidden.
  • The chart's own block must fit the smallest machine of at least one reference host it supports, or every platform is unreachable (chart.resources-unreachable, a warning).

7. Requires ​

requires: {
  alta?: Range                         the Alta System OS version
  openclaw?: Range
  charts?: [ { id, version: Range, optional?: boolean } ]
  skills?: string[]                    skills the player has earned in the game (quest-pack charts), as in alta.game
}

Range: one comparator or several separated by a space, all of which must hold. Comparators: >=, >, <=, <, =, and the shorthands ^1.2.3 (same major) and ~1.2.3 (same minor). No ||, no *, no x (chart.range). Pre-release versions only match a range that names a pre-release of the same MAJOR.MINOR.PATCH.

Resolution (resolve(chart, installed, catalog), pure):

  1. One version of a chart id is installed at a time. No side by side.
  2. An installed version that satisfies the range is kept. Otherwise the highest version of the catalog that satisfies it is proposed, as its own install, first.
  3. A cycle is refused (chart.requires-cycle). A chart that requires itself is refused.
  4. A range no version satisfies gives the condition Blocked, reason RequiresMissing, naming the chart.
  5. Removing a chart another installed chart requires is refused until that one is removed.

8. Capabilities and permissions ​

Two different things, both shown on the consent screen before any step.

capabilities: what the server must be allowed to do, from CAP_NAMES (ask, setup, install; forge and pay are refused in a chart). The list must equal the set of capabilities of the executors the chart names in parts, signins and repairs: nothing missing, nothing extra (chart.capabilities). The sign-ins a need may generate do not count: setup may be listed for them, it is not required. A machine started without one of them shows the chart as Blocked, reason CapabilityOff.

permissions: what each agent may do, on its entry in agents:

permissions: {
  tools: { allow: string[], deny: string[] }       deny always wins
  exec?: { mode: "deny" | "allowlist", allow?: [ { bin: string } ] }
  channels?: string[]                               channels it may write to: a channel kind, or "need:<id>"
}
  • exec.mode defaults to deny. allowlist is only for origin alta; each bin is a file of the chart's own agents/<id>/ folder, resolved by the engine, with ask: off and askFallback: deny (the approvals floor of agents/EXEC-APPROVALS-FLOOR.md). A community chart never allowlists a program (chart.exec-alta).
  • The tools secrets, gateway, openclaw, sessions_spawn, terminal, computer can never be in allow of a community chart (chart.tools-floor).
  • A new version that adds a capability, a tool, an exec entry, a channel, a sign-in or a repair kind is a widening (so is a new online service, below, and a new need, an accept that grows or a model pinned to another provider: need <id>, need <id>:<provider>). A widening always needs the consent screen again and can never be applied by a repair or an update in the background (widens(old, new) in core/charts/chart.ts).

Risk level ​

A chart's risk level is computed, never declared: riskOf(chart, tables, bindings?) in core/charts/risk.ts (pure) returns low, medium or high and every reason, each in English and French. It is deterministic because capabilities equals the capabilities of the executors the chart names and the permissions are closed lists. A when is ignored: what a chart may do with some values, it may do. The consent step shows the level and its reasons before any change (§15); the index of a repository carries the level (risk, written by alta repo index); alta verify prints it. With needs, the catalogue (no binding) reads the worst case among the providers each need may take; the consent step reads the providers bound. A need's sign-ins, its channel and its service count as if the chart had written them.

RuleLevelWhen
risk.exechighan agent's permissions.exec.mode is allowlist (origin alta only)
risk.tools-floorhighan agent allows a tool of the floor (secrets, gateway, openclaw, sessions_spawn, terminal, computer; origin alta only)
risk.setuphigha part whose executor needs the capability setup (it changes the machine's settings); or setup that no sign-in and no repair explains
risk.repair-granthigha repair of a kind the owner may allow to run without being asked (§13: service.restart, model.pull, gateway.recover)
risk.cloud-modelhighan automation that spends: "model", a cloud locality (declared, or the worst of localityRange), and a run-time service whose data goes beyond prompts
risk.installmediumthe capability install
risk.signinmediuma sign-in that is not optional
risk.channelmediuman agent with a channel other than none, permissions.channels, or a channel sign-in
risk.net-toolmediuman agent allows a tool that reaches the network where it chooses (browser, web_search, web_fetch, message)
risk.run-servicemediuma service of external with the phase run

high if any high rule holds, else medium if any rule holds, else low. A data chart (quest-pack, universe, cosmetic) is always low. A sign-in needs the capability setup too, but alone it is risk.signin (medium), not risk.setup. The words on the consent step: low "Risk: low. It asks for nothing beyond its own files." / « Risque : faible. Il ne demande rien d'autre que ses propres fichiers. »; medium "Risk: medium. Read why below before you agree." / « Risque : moyen. Lis pourquoi ci-dessous avant d'accepter. »; high "Risk: high. It can change your machine or act on its own. Read why below." / « Risque : élevé. Il peut changer ta machine ou agir seul. Lis pourquoi ci-dessous. » The level is never the word "safe": a low chart still runs an agent.

Privacy ​

privacy says who may see the chart. personal (the default, also when the field is absent) is the owner's own: kept in a private repo, its automations redacted on export, never packaged for a public repository. shareable may be published, so nothing private may be in it. Only agent, team, module, package and skill may say it; Alta's layers and the data charts may not (chart.privacy). alta chart new writes "privacy": "personal" for an agent and a team.

A shareable chart is read whole: every string of chart.json (except source, whose commit and digest are hex) and every text file of its folder (agent files, automations). Each finding is its own rule, and the problem names the file and the field, never the text it found:

RuleRefuses
chart.privacy-secreta value that looks like a secret (the same test as chart.value-secret)
chart.privacy-tokena token-shaped string: 32 characters or more of letters, digits, - and _, mixing capitals, small letters and digits
chart.privacy-home-pathan absolute path in a person's home (/Users/<name>, /home/<name>, C:\Users\<name>); ~/… and /Users/Shared are fine
chart.privacy-emailan e-mail address; the example domains (example.com, .org, .net, and .invalid, .example, .test) are fine
chart.privacy-keyworda word of the owner's private keyword list

The private keyword list is a local file, one extended regular expression per line (case ignored, # starts a comment): $ALTA_PRIVACY_KEYWORDS, else ~/.config/alta/privacy-keywords.txt. alta lint reads it and passes the expressions to checkChart (env.privacyKeywords); core/ reads no disk. No file: no keyword rule. The engine's commit and push guards read the same file for a custom agent repo whose chart is shareable, export its automations as they are, and let its hosted repo be public; a personal one stays private and redacted.

alta package <dir> --public (an archive for a public repository) refuses a personal chart, exit 1, and says to set "privacy": "shareable".

External services and locality ​

Two top-level keys say what a chart needs outside the machine: locality, one word a person can filter on, and external, the list of online services behind it. They are separate from requires (versions and charts), support.needs (a terminal, a screen) and resources (CPU, memory).

locality?: "local" | "local-first" | "cloud"

external?: {
  services: [ {                                   at most 24
    id:        ^[a-z][a-z0-9-]{1,31}$             unique in the chart
    name:      string, 1 to 60 characters         the brand name, not translated
    purpose:   Text                               why the chart talks to it, one sentence, en and fr
    homepage?: https URL, no credentials
    hosts:     string[], 1 to 16                  lower-case host names; one leading "*." allowed;
                                                  no IP, no port, no path; https is implied
    phase:     ("install" | "run")[]              not empty
    required?: boolean (default true)
    account?:  "none" | "free" | "paid"           default "none": does the owner need an account there
    signin?:   "<sign-in id>"                     the chart's own sign-in that connects this account
    data?:     DataKind[]                         what leaves the machine at run time
    when?:     When                               only when a value is one of a list
  } ]
}

DataKind (closed): "none" | "prompts" | "files" | "messages" | "contacts" | "calendar" | "audio" | "images"
                 | "location" | "identifiers" | "usage"

The three levels describe run time. Installing may still download something: that is a service with phase: ["install"].

localityPromiseIn terms of external
localonce installed, it works with the network off, and it never needs the networkno service whose phase contains run
local-firsteverything it must do works with the network off; some extras use the networkevery run service has required: false, and there is at least one (or an agent may use a network tool)
cloudit does not work without the services listedat least one run service with required: true: the list is the list of required services
  • Absent locality: the chart is "not declared". It is shown that way and never matches a locality filter. It is an error on a community or shareable chart, a warning otherwise (chart.locality-required).
  • Data charts (quest-pack, universe, cosmetic) are local by construction and say neither key (chart.locality).
  • Secrets stay out of the chart: external names an account, never a key. A credential reaches the machine through a sign-in (signin links the service to it) or through the tool's own login.
  • A service with a when counts only when its value holds. The declared locality holds for the chart's default values; a value nobody has chosen yet counts as "could be any choice". The level of one release, from the values its owner chose, is localityOf(chart, values); localityRange(chart) gives the best and the worst level over every choice, so a chart whose mind can be a local model or Claude can show "can run 100% local".
  • Needs. external.services lists only the chart's fixed services. The service of a need is generated from the provider bound (section 4a), and the level is computed: the declared locality covers the fixed services; with the bindings, localityOf(chart, { "need:<id>": provider }) adds each bound provider (a remote one: cloud, or local-first when the need is optional). Before any binding, the catalogue lists the worst case among the providers each need may take, and the best case says "can run 100% local" when every need has a local candidate and no fixed service is required at run time. A need's network use is covered by its generated service: lint never asks for it.

What lint can prove: the floor ​

Lint cannot see everything: a skill's text may tell an agent to call any web page. It computes a floor from what the chart names in the closed lists (localityFloor, core/charts/external.ts), refuses a chart that says it is more local than the floor (chart.locality-floor, which lists the reasons), and asks every network use it can see to be covered by a service with the same phase and hosts (external.undeclared, external.signin).

What the chart namesWhere the truth isEffect on the floorMust be covered by a service
a part or a repair whose executor reaches the networknet and hosts of the executor (core/runs/executors.ts), refined by its arguments (NET_BY_ARG in core/charts/external.ts: which module, which backup place, which channel)run: cloud for a part, local-first for a repair; install: noneyes, same phase, every host
a sign-in whose tool or executor has hoststhe sign-in table (core/runs/signin.ts), the executorcloud if required, local-first if optionalyes, phase run
an agent's model, or a value that picks it, whose provider is not localLOCAL_PROVIDERS (ollama) and MODEL_WORDS (claude, codex, local)cloud; a fallback model: local-firstyes, phase run
a need, all of whose candidates are remotePROVIDERS (section 4a)cloud; optional: local-firstno: its service is generated
an agent's channel.kind other than noneCHANNEL_HOSTScloudyes, phase run
a tool of permissions.tools.allow that reaches the networkNET_TOOLS: browser, web_search, web_fetch, messageat least local-firstno: the agent chooses the hosts, so the chart cannot be local
package.type: "openclaw-skill"noneyes, phase install

A model named by an engine decision ({ "decision": … }) is not known to lint: the author declares it. A use whose hosts the code does not know is covered by any service of the same phase. A skill or an automation run by an agent of another chart (the main agent of alta-os) thinks with that agent's mind: its network use belongs to that chart, and a chart's locality covers what it names itself. A chart with a mind need runs automation.run (a rerun) with that mind: the executor's own network use is the need's.

What is checked, and what is not ​

WhereWhat
writing (alta lint) and admission (the server runs the same checkChart)the rules below, against what the chart names
a release on a machinelocalityOf(chart, values), from the owner's values and the bindings of its needs
run timenothing enforces it. OpenClaw's own sandbox and tool policy are the boundary. locality is a declaration checked against what the chart names, not a firewall. An alive proof may not use the network (chart.alive-cost), so a change in what a chart reaches at run time is not observed.

Widening ​

A new service, a new host on a service, a new kind of data on a service, a service that goes from optional to required, and a locality that moves towards cloud are widenings: the consent screen again, never applied by a repair or a background update.

Versioning ​

These keys are additive in alta.chart/0.1: a chart without them stays valid. A reader refuses keys it does not know (chart.unknown-key), so a reader accepts charts written for its own version or an older one, and an author who uses a newer field sets requires.alta to the first version that reads it.

Example ​

A fixed service the chart talks to whatever the player binds (here a weather service), next to its needs:

json
"locality": "cloud",
"needs": { "mind": {} },
"external": {
  "services": [
    { "id": "weather", "name": "Open weather", "purpose": { "en": "Reads the forecast for your town.", "fr": "Lit la météo de ta ville." },
      "hosts": ["api.weather.example.org"], "phase": ["run"], "account": "none", "data": ["location"] }
  ]
}

The mind's service (Claude, ChatGPT, or none for a model on the machine) is not written: it comes from the binding.

9. Agents, skills, automations, services, hooks ​

agents: [ {
  id, name: Text, emoji?, role?: AgentRole, domain?
  files: string[]                       under agents/<id>/: text given to the agent
  model: "need:<id>" | { from: "$<value>" } | { decision: string } | { id: "provider/model" }, fallbacks?: string[]
  channel?: "need:<id>" | { kind: "telegram" | "whatsapp" | "none", session?: string }
  permissions: Permissions
  wake?: string[]                       keys of `automations`
  watch?: { function, controller, mother, watches: string[] }     origin alta: the five-function wiring
  instance?: string[]                   paths that are the owner's data, never shipped
  when?: When
} ]

skills: [ { slug, path: "skills/<slug>" } | { ref: "@scope/name", version, sha256 } ]

automations: [ {
  key: ^[a-z0-9][a-z0-9._-]{0,63}$, title: Text, agent: <agent id> | "main"
  schedule: { cron: string, tz: "owner" | IANA } | { daily: "HH:MM" | "$<value>" } | { every: Duration }
          | { trigger: "automations/<key>.trigger.js" }
  message: "automations/<key>.message.md"
  spends: "none" | "model"              "model": a run may cost a model call
  when?: When
} ]

services: [ {
  id: ^[a-z][a-z0-9-]{1,31}$
  label: PerOS<string>                  the launchd label or the systemd unit
  port?: number                         on 127.0.0.1
  health?: Check                        default: service { id }
} ]
uses?: [ "service:<id>" ]               a service another chart owns

hooks: { <id>: { kind: "value" | "section" | "record" | "addendum" | "extend", contract: 1, doc: string,
                 args?, pattern?, default?, target?, field?, maxLines?, timeoutS? } }

Rules:

  • model: "need:<id>" names a mind need, channel: "need:<id>" a channel need (section 4a): the agent never names its provider. The object forms are the pinned forms; they stay valid. For a core agent of origin alta, the engine maps a mind need to the agent's own decision <agent id>-model and a channel need to its channel answer.
  • Agent text files may hold {{name}} marks from the closed list of render names (owner_slug, owner_display, language, timezone, home, agents, engine, os_repo, model_primary, template_ref, telegram_group, telegram_topic). The engine replaces them when it renders the workspace. They are plain replacement in text files, never in chart.json, never with logic (chart.render-name).
  • An automation is always created off. Only a part that runs automation.enable turns it on, with a plan card (chart.automation-enabled).
  • A trigger file is code OpenClaw runs: only for origin alta (chart.trigger-alta).
  • One owner per service. A chart that lists a service owns it. Two installed charts may not own the same id, the same label or the same port; a chart that only needs it writes uses (service.owner). The registry is ~/.local/state/alta/services/<id>.json ({ id, owner, label, port, since }). A part whose executor would start a service another owner holds answers Blocked, reason ServiceOwned, naming the owner. Only the owner chart may declare a repair that restarts it.
  • hooks are the points where the owner plugs their own commands or text (the former [hooks.*] and [params] hook points). A chart declares them; only the owner fills them, in overlays/<chart id>/hooks.json of their own core repository ({ schema: 1, tool, contract_checked: { point: n }, hooks: { point: { command } } }; a core agent's fillers are agents/<id>/hooks.json, with agent in place of tool). The values the owner chooses for a chart's values sit next to it, in overlays/<chart id>/values.json ({ "<value id>": "..." }). A filler never removes chart text, never re-allows a denied tool (chart.hook).

10. Package ​

Where the chart's files come from when they are not in the chart folder.

package:
  | { type: "chart" }                                                  everything is in the folder (default)
  | { type: "alta-module", scripts: PerOS<{ install, check, checkArgs?, selftest? }> }
  | { type: "openclaw-skill", slug, version, sha256 }
  | { type: "data" }
  • alta-module is how Alta's own modules keep their install and check scripts (scripts/install.sh, scripts/check.sh). It is only accepted when origin is alta and the chart lives in the Alta System OS checkout the engine was pinned to (chart.scripts-alta). The scripts keep the engine's contract: install is idempotent and archives instead of deleting; check is read only and offline.
  • A community chart never ships a script that is run. It composes executors over its data (agent files, skills, automations). This is stricter than the store format it replaces, on purpose.
  • A data chart has { "type": "data" }.

11. Parts ​

A part is one unit of work. Every part has the same three modes; this is the contract the engine's six parts already have (engine/STEPS.md), now for every chart.

ModeDoesWrites
planreads the live state, returns the plan card: what apply would do, what it writes, how it is undonenothing
applydoes it, after the owner's yes on that cardyes
checkruns the part's proofs; a difference after a successful apply is driftnothing
parts: [ {
  id: ^[a-z][a-z0-9-]{0,31}$
  title?: Text
  do: <executor id>                     closed list, core/runs/executors.ts
  args?: { <name>: literal | "$<value>" }
  requires?: [ "<part id>" | "signin:<id>" | "need:<id>" ]
  when?: When
  resources?: Resources
  undo?: "auto" | "command" | "archive" | "none"
  proof: Check[]                        what `check` reads; role installed
} ]

Rules:

  • do is in the closed list and runs on every system of support.platforms (chart.part-executor, chart.part-os); in a hosted world the executor must be hosted if support.hosted is ok.
  • args pass paramProblems for that executor. A secret argument is never written (chart.part-secret).
  • requires names parts, sign-ins and needs of this chart; the graph has no cycle (chart.part-cycle). A requirement on a sign-in or a part whose when does not hold is satisfied. "need:<id>" waits for the need's connection: the last sign-in its provider generates, or nothing when the provider needs none.
  • A part whose executor writes has at least one proof (chart.part-proof). The run alone never proves it.
  • undo may not promise more than the executor's own undo. archive moves what the part created into ~/.local/share/archive/<date>/<chart id>/; nothing is ever deleted (chart.part-undo).
  • A part of a data chart may only run item.data.
  • Order: requires first, then the order of the list. One apply at a time on a machine (the engine's lock): a second one answers busy.

Jobs ​

An executor whose work goes on after its run has answered declares job: true in the executor table (with progress: true). The contract:

  • The run's result names the job by a random id. Never a path, a pid or an argument.
  • States: running, done, failed, unknown.
  • The state is kept on disk in ~/.local/state/alta/jobs/<id>.json: { id, executor, chart?, part?, state, startedAt, endedAt?, error? }. Never an argument, never a value.
  • A job the server finds still running after a restart, with no process to follow, becomes unknown: the part shows Unknown and its proof decides. It is never reported as done.
  • A late failure sets the part to Failed with the program's last FAIL line. A part is green only by its proof.

12. Proofs ​

proofs: {
  installed?: Check[]
  ready: Check[]
  alive?: [ { id, check: Check, every?: Duration, grace?: number, when?: When, repair?: [ "<repair id>" ] } ]
}
RoleQuestionWhen it is readWhat a failure means
installedare the files and programs there?after each apply, and by checkthe install is not finished
readydoes it work once, end to end?at the end of the installthe install is not finished
alivedoes it still work?by the guard loop, on a periodafter grace failures in a row: Drifted

Rules:

  • Every check is a check of the closed list (server/checks/index.mjs), read only, and returns no secret, e-mail, account or model name.
  • ready is required and not empty for the kinds agent, team, module (chart.proof-ready).
  • every is a Duration ("5m", "1h", "26h"): at least 5m, default 15m. grace defaults to 2 (chart.alive-every).
  • An alive check costs nothing: no model call, no network beyond 127.0.0.1 and the tools' own status commands (chart.alive-cost; the check table marks each type cheap).
  • A proof may name the repairs that can be tried for it (section 13). A proof without one asks the owner.
  • { "type": "need", "id": "<need id>" } (optional chart: a need of another chart) is the proof of the provider bound to that need (section 4a): signin { tool: claude } for Claude, channel { id: telegram, state: paired } for Telegram, model { mind: local } for a local model; a provider with no proof (world) meets it. A chart need not write an alive proof for its providers: alta-os carries them once per world.

13. Repairs and standing grants ​

A chart may say how some failures can be fixed. The owner may allow some of those fixes to run without being asked each time. The default is always to ask.

repairs: [ {
  id: ^[a-z][a-z0-9-]{0,31}$
  kind: <repair kind>                   closed list below
  args?: { … }                          literals only; no value reference
  title?: Text
  suggest?: boolean                     the author suggests allowing it; the box stays unticked
} ]

The repairs of a need's provider (signing in again to Claude, reconnecting Telegram) are not written in a chart: they come from the provider's row (section 4a) and are carried once per world by the chart alta-os, on its alive proofs need-<provider>. Like every signin.again and channel.pair, they are always asked.

Repair kinds (closed, in code: REPAIR_KINDS in core/charts/repairs.ts) ​

KindDoesExecutorMay be granted
service.restartrestarts a service this chart owns (launchd kickstart, systemctl --user restart)service.restart { id }yes
model.pulldownloads again a local model this chart declared, when it is missing or damagedmodel.pull { model }yes; needs the free disk of the chart's resources
signin.refreshasks the tool to renew its session with what it already holds; no secret typed, same account, same scopessignin.refresh { tool }not yet: always asked
gateway.recoverthe dead-lock recovery of the Gateway (pulse.py gateway-recover, with all its checks)gateway.recoveryes; chart alta-os only
automation.rerunruns once an automation of this chart that missed its timeautomation.run { key }never: always asked
channel.reconnectreconnects a channel with the account already there; no new device, no new senderchannel.reconnect { channel }not yet: always asked
part.reapplyapplies one part again when its check says driftthe part's executornever: always a plan card
signin.againsigns in again (a code or a key must be typed)the sign-in's executornever
channel.pairpairs a new device or approves a new senderchannel.pair-approvenever

What can never run under a grant, whatever a chart says (executorTableProblems enforces it on the executor's repair: "auto" flag):

  • anything that needs a secret typed, a code, a password or sudo;
  • anything that widens: a new capability, tool, exec entry, channel, scope, device or sender;
  • anything that removes, archives or disables;
  • anything that pays (pay) or sends the owner's data somewhere new;
  • installing, updating or downgrading a chart, or changing a value;
  • touching a service, an automation or a model another chart owns.

Chart rules: repair.kind (unknown kind), repair.target (the service, model, automation, tool or channel is not declared by this chart), repair.owner (restart of a service the chart only uses), repair.args (a value reference or a secret), repair.proof (an alive proof names an unknown repair).

Grants (alta.grants/0.1) ​

The standing yes. One grant allows one repair id of one chart.

File: ~/.config/alta/grants.json, mode 600, written only by the server after the owner's click, atomically.

json
{
  "schema": "alta.grants/0.1",
  "paused": false,
  "grants": [
    {
      "id": "g_4k2p9x",
      "chart": "alta-os",
      "repair": "restart-ollama",
      "kind": "service.restart",
      "digest": "sha256 of the repair declaration and of its target's declaration",
      "grantedAt": "2026-12-06T09:12:00Z",
      "expiresAt": null
    }
  ]
}

A grant never expires: expiresAt is always null (any other value fails the file's check). A file that fails its check (checkGrants) is never used: every repair is asked, and the server refuses to write over it (409) until the owner repairs or removes it.

Rules of the grant:

  • Explicit. Each grant is one unticked box the owner ticks, on the consent screen at install ("Repairs I allow": POST /api/charts/template lists repairs, POST /api/charts/install takes grants: [<repair id>]), or later with alta repairs grant. Every box is unticked, Alta's own charts included. A chart cannot tick it, suggest only adds the words "suggested by the author". There is no "allow all".
  • Scoped. Chart id, repair id, kind and the digest of the declaration. A new chart version whose declaration of that repair or of its target changed makes the grant void: the box is unticked again and the owner is told.
  • Visible. Every grant is listed by alta repairs list (and GET /api/repairs) with the date it was given, and the Guardian reports them (guardian-act repairs). The game has no panel for them yet.
  • Revocable. alta repairs revoke <chart> <repair>. paused: true stops every automatic repair at once (alta repairs pause, alta repairs resume).
  • Logged. Every use and every refusal is one line of the Guardian's ledger (~/.local/share/lifecycle/guardian/actions.jsonl): { ts, ts_s, verb: "repair", marker, at, chart, repair, kind, proof, attempt, result, ms, grant }, result one of ran, failed, fixed, asked (with a reason), gave-up, paused. An ask is written once per incident. No value, no argument beyond the declared ones, no output of the program.
  • Machine switch. The server capability repair (--allow-repair) must be on. Without it the guard loop only reads, and every repair is asked. The job below passes it only when the owner wrote allow_repair = true in ~/.config/alta/system.toml; the installer never writes it.
  • A removed chart loses its grants. A grant never moves to another machine.

The decision (decideRepair, pure, core/charts/repairs.ts) ​

An incident opens when an alive proof has failed grace times in a row, and closes when it passes.

decideRepair(incident, chart, grants, history, state, now) →
  | { do: "run", repair }        a granted repair, due now
  | { do: "wait", until }        backoff, settle time, or the machine is busy
  | { do: "ask", repairs }       nothing granted, or nothing left to try
  | { do: "give-up", reason }    attempts used up
RuleValue
Orderthe proof's repair list, in order; each granted repair is tried before the next
Settleafter a run, wait the kind's settle time (30 s; model.pull: until its job ends), then read the proof again
Backoffthe three attempts of a repair: at once, 1 minute later, 5 minutes after that
Attempts3 per repair and per incident, then the next repair, then give-up
Daily cap6 runs per repair id per 24 h; automation.rerun: 1
Flapping3 incidents of the same proof in 24 h: automatic repair of that proof stops until the owner looks
Circuit breaker10 automatic runs on the machine in 24 h: paused is set, the owner is told
Gracean incident opens after 2 failures in a row
Never whilean apply holds the engine's lock (~/.local/state/alta/bootstrap/lock), a job runs (~/.local/state/alta/jobs), or paused: wait 60 s. A run the owner has open in the game is not seen by the separate guard process
Successonly the proof passing again; the run's own exit code proves nothing
Give upgave-up in the ledger, reason RepairGaveUp; the owner is asked; no further automatic attempt in that incident. The release's condition is not written yet: the ledger is the record

Who does what ​

RoleWhatWhere
The guard loopreads the alive proofs (each every 15 minutes unless it says every), decides with decideRepair, runs a granted repair's executor with the actor guard, writes the ledger. Deterministic, no model, works when the Gateway is down. Its state: ~/.local/state/alta/guard/state.jsonserver/charts/guard.mjs; node server/server.mjs --guard-once (one round, one line per proof, then exit), run every 5 minutes by alta-guard from the job ai.altasystem.guard (launchd, or a systemd --user timer) that the map part installs. alta-guard finds the game in system.toml world; without it the round is skipped (one SKIP line in ~/.local/share/lifecycle/guard.log)
The Guardian (core agent)tells the owner what was repaired, asks for what is not granted, warns about flapping, may suggest a grant. It reads with guardian-act repairs --json (the last 24 h of the ledger and the grants). It cannot give a grant, change one, or run a repair.agents/guardian/
The Operator (core agent)does the repairs the owner agreed to one by one (its runbooks)agents/operator/
The Reviewer (core agent)reads the ledger every day, as it already doesagents/reviewer/
The ownergives, sees and takes back every grantalta repairs, or a renderer (the game)

Routes ​

All behind the server's token and exact Host and Origin checks. None needs a capability: a grant does nothing until --allow-repair is on.

RouteDoes
GET /api/repairs{ capOn, paused, broken?, charts: [{ chart, repairs: [{ repair, kind, title, suggested, grantable, granted, void?, grantedAt? }] }], ledger }
POST /api/repairs/grant { chart, repair }one grant; 404 for a chart not installed or a repair it does not declare, 409 for a kind that cannot be granted or a file that fails its check
POST /api/repairs/revoke { chart, repair }takes it back
POST /api/repairs/pause, POST /api/repairs/resumesets paused

14. Conditions ​

One vocabulary for a part, a sign-in, a proof and a release.

Condition { state, reason?: Reason, since: ISO date, detail?: string }
StateMeaningShown as
Unknownnot read yet, or a job lost at restartgrey
Unsupportedthis machine is not listed, or too smallgreyed with the reason
Blockedsomething else must come firstlocked, names what
NeedsInputa value, a sign-in or an answer is missingasks
Planneda plan exists and waits for the owner's yesplan card
Runningan apply or a job runsprogress line, never a failure sentence
Readyits proofs passgreen
Driftedit was Ready and a proof fails nowamber, what to repair
Repairinga granted repair runs or waits for its proofamber, "fixing"
Failedthe last apply or job failedred, the FAIL line

Reasons (closed, each with English and French words in content/copy, rule condition.reason): OsNotListed, ArchNotListed, HostedNo, NeedsMissing, ResourcesShort, RequiresMissing, PartFirst, SigninFirst, CapabilityOff, ServiceOwned, ValueMissing, SigninMissing, AnswerMissing, Busy, JobLost, ProofFails, RepairGaveUp, RepairFlapping, RepairsPaused, ApplyFailed, JobFailed, EngineSilent, Draft, NeedUnmet (Blocked: no provider fits a need of the chart on this machine or with the player's preset; the reason sentence of bind says which).

Mapping (toCondition, core/charts/conditions.ts):

SourceValueCondition
alta.step/1 statusok (check)Ready
ok (apply)Unknown until the proof is read
diffPlanned
driftDrifted / ProofFails
needNeedsInput / AnswerMissing
blockedBlocked / PartFirst
unsupportedUnsupported
failFailed / ApplyFailed
busyBlocked / Busy
engine, usageFailed / EngineSilent
run stateplanned / running / done / failedPlanned / Running / Unknown / Failed
job staterunning / done / failed / unknownRunning / Unknown / Failed (JobFailed) / Unknown (JobLost)
check resultpass / fail / unverifiableReady / Drifted or the previous state / Unknown

The release's condition is the worst of its parts and proofs, in the order Failed, Drifted, Repairing, Blocked, NeedsInput, Planned, Running, Unknown, Ready. The release record is ~/.local/state/alta/charts/<id>/release.json: { chart, version, revision, digest, values, valuesDigest, installedAt, conditions, reason, replaced?, from?, kept, pinned?, pinReason?, bindings? }, mode 600, never a secret. bindings maps each need to the provider bound ({ "mind": "claude" }); the providers of every record are the world's connected providers. It is the current revision; revision starts at 1 and grows with each upgrade or rollback; the previous record goes to the archive.

Release history ​

Each revision also has its own record, ~/.local/state/alta/charts/<id>/releases/<revision>.json (mode 600, never rewritten): { chart, revision, version, digest, valuesDigest, values, date, reason, from?, kept }. reason is install, upgrade or rollback (from: the revision gone back to). valuesDigest is the sha256 of the values as canonical JSON (sorted keys). A release installed before the history existed is read from its release.json and the archived records (migrated by reading, never rewritten). Uninstalling moves the history to the archive with the release; a new install starts again at revision 1. alta status --history <chart> prints it.

kept is a copy of the chart folder the revision was installed from: ~/.local/share/alta/charts/.versions/<id>/<version>/, written at install and upgrade, checked against digest. A copy of the same version with other files goes to the archive first. A rollback installs only from a kept copy whose digest still matches.

A new revision is refused, before anything is written, when:

RefusalWhenWhat to do
Pinnedthe release is pinned (alta chart pin <chart> --reason …): no upgrade and no rollback, even asked, with its reasonalta chart unpin <chart>
Downgradethe chart's version is lower than the installed one, outside a rollbackalta rollback <chart> [revision]
FilesEditeda text file an agent of the release got at install is not what was written (changed or missing in ~/.openclaw/workspace-<agent>/), compared with its kept copy and the release's render valueskeep a copy of the changes, then --replace-edited: the workspace goes to the archive, the new files are written

The same version again is allowed (new values, or the files written again). When the agent files differ between the installed revision and the new one, that agent's agent.create part runs again even though its proof holds.

15. The install plan, and how a renderer shows it ​

Installing a chart is a plan of steps, in this order, each with the owner's yes (alta install, or a renderer such as the game, a dashboard, a phone):

In the chartIn the install plan
support and resources against Hostthe chart is installable, greyed with its reason, or refused
consent: capabilities, each agent's permissions, signins, services, repairsthe owner's yes to "what this asks for", with the "Repairs I allow" boxes
each need, bound (section 4a)on the consent step, one line per need: "Morning brief will think with your Claude subscription · change", "Morning brief will write to you on Telegram"; an unmet need greys the chart with its reason
each missing entry of requires.chartsthat chart is installed first
each valueasked once, at install (--values, or the renderer's form), kept in the release
each sign-in whose when holdsruns use, with its why; its secret or one-time code is asked at that step, never as a value; proven by proof
each provider bound and not connected yetits sign-ins, generated from its row (signin-need-claude, signin-need-telegram, signin-need-telegram-pair), as above
each partits plan card, then "Yes" runs apply; the part's proof says it is done; requires gives the order and Blocked
the risk level, computed (§8, "Risk level")on the consent step, first: one line for the level, then one line per reason
locality, and each service of external whose when holdson the consent step: one line for the level, then one row per service (name, why, account or not, what leaves the machine, "only to install")
proofs.readythe last step
proofs.aliveread by the guard loop; when the release is Drifted: what is wrong, the repairs to try (each a plan card), and the boxes to allow them next time

Uninstall runs each part's undo in reverse order; a part with undo: "none" says so before the yes. An upgrade shows the difference between the two plans and, when widens() is true, the consent again. A rollback is the install plan of the revision gone back to, from its kept copy and with its values, with its own consent step; the refusals of §14 apply to an upgrade and a rollback alike.

How the game renders a chart ​

The game is one renderer among others; a chart knows nothing of it. core/charts/quests.ts (chartToQuests, a pure function of the chart, the machine and the release) returns an alta.quests/0.3 fragment that the game plays like any other, and GAME_RENDERING lists the words:

ChartGame
installthe quest <branch>.<chart id>.install
uninstallthe quest <branch>.<chart id>.remove
rollbackthe quest <branch>.<chart id>.rollback: its consent, then the parts and proofs of the revision gone back to
part, sign-ina quest step (kind action)
needa line of the consent step; its provider's sign-ins are quest steps
proofan achievement: a check step that turns green
requiresthe talent tree: what unlocks what
capabilitya skill
risk level (computed)a line and its reasons on the consent step
locality, externala line and a list on the consent step

The consent step says the level in one line: local "Runs on your machine only." / « Tourne seulement sur ta machine. »; local-first "Works with the network off. Some extras use online services." / « Marche sans réseau. Quelques extras passent par des services en ligne. »; cloud "Needs online services to work." / « A besoin de services en ligne pour marcher. »; absent "Its author did not say whether it uses the network." / « Son auteur n'a pas dit s'il utilise le réseau. » Then one row per service that applies to the chosen values: its name, its purpose, "account needed" or not, what leaves the machine, and "only to install" when its phase is install alone. alta template prints the same block, with a needs: section; --bind mind=local,channel=world sets the player's picks, --local-only the preset "100% local". alta install takes the same two options; the server's routes /api/charts/template and /api/charts/install take bindings and localOnly.

  • An author may replace any generated text with a fragment in quests/ that uses the same step ids. They cannot remove a step, a plan card, a proof or the consent step (chart.quest-override).
  • Narrative quest packs (story, dialogue, scenes) stay display content: they reference a chart's proofs, they never repeat its actions.

16. Catalog and right of use ​

alta.catalog/0.2: { schema, generatedAt, charts: [ { id, version, kind, price, amount?, currency?, sha256, path, default?, origin?, source? } ], signature? }. path is the chart folder; sha256 is the digest of the chart tree (file paths and contents, sorted). A remote catalog is signed; a community chart is never default. The folder modules/ of Alta System OS is read as a local catalog. The kept copies of installed versions (§14, under ~/.local/share/alta/charts/.versions/) are not a catalog: only a rollback reads them.

alta chart inspect <id | folder> reads a chart without installing it, from a folder, the folders this machine installs from, the charts alta pull kept, or a cached index (alta.index/0.1): its fields, its computed risk level and reasons (§8), its files and their sha256 (--files), one text file (--file), and its versions (--versions: the index's, the kept copies, the installed revision). Read only, no network.

A repository index (alta.index/0.1) lists each version's needs (needs: [{ id, kind, accept?, model?, features?, optional? }]) and its locality at the worst case, with localityRange; a store shows "can run 100% local" when the range's best is local or local-first, and may filter on it.

alta.license/0.2: { schema, chart, version, holder, issuedAt, signature }. Same checks as before, the field item is now chart.

17. What a chart is not ​

These stay their own standards. A chart may carry or name them, it does not replace them.

StandardWhy it is not a chart
alta.game, alta.questswhat the player does in the game. A quest-pack chart carries a fragment; chartToQuests produces one.
alta.onboarding, alta.cinematicsthe first session and its scenes: content of the game or of a universe.
alta.universe, alta.arthow the world looks and what things are called. A universe chart carries a pack.
missionsa message sent to an agent, not something installed.
platform, resources, the sign-in table, executors, checksthe closed lists a chart is written with.
alta.step/1the answer of an engine command; mapped to conditions in section 14.
alta.install/0.1the base installer. It installs what reads charts, so it cannot be one.
alta.control/0.1the cloud control plane.
system.toml, alta.lock, lifecycle.json, the owner MANIFESTthe owner's machine and repository settings; not packages.

18. Validator ​

checkChart(chart, env) returns problems; empty means valid. env: { executors, checks, signinTools, repairKinds, questUids, game?, installed?, files?, privacyKeywords? } (files: the paths of the chart folder, given by the caller; core/ reads no disk). The same function runs in alta lint (writing) and in the server before an install (admission): a chart the server refuses is one alta lint refuses.

A wrong schema returns only chart.schema. An unknown key is a problem (chart.unknown-key), with the keys the object accepts.

Rules ​

IdSays
chart.schemaschema must be alta.chart/0.1
chart.unknown-keya key the object does not have
chart.idmalformed or reserved id, or different from the folder name
chart.versionnot a semver
chart.kindunknown kind, or a section the kind must or must not have
chart.statusnot ready or draft
chart.textstitle or summary without English and French
chart.author, chart.license, chart.pricemissing, or an amount in the chart
chart.originnot alta or community
chart.community-sourcea community chart without a pinned source
chart.community-verifieda community chart that says it is verified
chart.sourcenot https, credentials in the address, short commit, bad digest
chart.privacynot personal or shareable, or on a kind that may not say it
chart.privacy-secret, chart.privacy-token, chart.privacy-home-path, chart.privacy-email, chart.privacy-keyworda shareable chart holds a secret, a token, a home path, an e-mail address or a private keyword (section 8)
chart.localitynot local, local-first or cloud, or said by a data chart
chart.locality-requiredno locality: an error on a community or shareable chart, a warning otherwise
chart.locality-floorthe declared level is more local than what the chart names allows; the reasons are listed
chart.locality-locallocal with a service in phase run
chart.locality-firstlocal-first with a required run service, or with nothing that uses the network at run time
chart.locality-cloud(warning) cloud with no required run service
external.servicea malformed service (id, name, purpose in English and French, phase, account), an id used twice, more than 24
external.hostsa host that is not a lower-case name, or has a port, a path, an IP, a second wildcard, a wildcard on a public suffix
external.homepagenot https, or credentials in the address
external.signinsignin names no sign-in of the chart, or a sign-in reaches hosts no service covers
external.undeclareda part, a repair, a model, a channel or a package that reaches the network has no service covering its phase and hosts
external.dataa run service without data, none next to another kind, an unknown kind
external.whenwhen names an unknown value or choice
chart.publisher, chart.homepage, chart.keywords, chart.categories, chart.icon, chart.changesthe marketplace metadata of section 3 is malformed
chart.license-spdx(warning) license is not an SPDX identifier or expression
chart.patha path that is absolute, has .., or leaves the folder
chart.sizea file or the chart is too large
chart.no-template{{, ${ or <% in chart.json
chart.render-namea {{name}} in an agent file that is not a render name
chart.need-kinda need that is not an object or true, an id whose kind is not known and no kind, a kind that contradicts the id (a warning when it repeats it), a "need:<id>" of the wrong kind
chart.need-acceptaccept or prefer names a provider that is not of the need's kind
chart.need-featurea feature that is not in the closed list of the need's kind
chart.need-pinmodel on a channel, a model of a provider the game does not know, or model with accept
chart.need-unreachableno provider has all the need asks for; (warning) no reference machine the chart supports can carry one
chart.need-instead(warning) a value that picks a provider: declare a need
chart.need-default(warning) reuse: "owner" or optional: false, the defaults
chart.value-kindunknown value kind, or secret
chart.value-secreta default that looks like a secret
chart.value-fromfrom names an unknown key
chart.value-defaulta default that does not fit its own kind, pattern or bounds
chart.ref-unknown$name is not a value, or need:<id> is not a need
chart.ref-kindthe value's kind does not fit the argument
chart.whenwhen names an unknown value or need, or a choice or provider it does not have
chart.rangea version range that is not in the grammar
chart.requires-cyclecharts that require each other
chart.capabilitiesthe list differs from what the named executors need, or holds forge or pay
chart.tools-floora community agent allowed a tool of the floor list
chart.exec-altaan exec allowlist outside origin alta, or a bin outside the agent's folder
chart.signin-useuse is not a connection executor
chart.signin-secreta secret argument written in a sign-in
chart.signin-hosteda required sign-in cannot be done in a hosted world the chart says it supports
chart.agentan agent without files, model or permissions; a file that is missing
chart.automationbad key, schedule, or an agent that is not in the chart
chart.automation-enabledan automation that asks to be created on
chart.trigger-altaa trigger file outside origin alta
service.ownera service, label or port owned twice; uses of a service nothing owns
chart.hooka hook point with an unknown kind or without doc
chart.scripts-altaalta-module scripts outside origin alta
chart.data-onlya data chart with a part other than item.data, or with a capability
chart.part-idmissing or used twice
chart.part-executordo is not in the closed list
chart.part-osthe executor does not run on a listed system, or is not hosted where the chart says ok
chart.part-argsarguments the executor refuses
chart.part-secreta secret argument written in a part
chart.part-requiresnames an unknown part, sign-in or need
chart.part-cycleparts that require each other
chart.part-proofa writing part without a proof
chart.part-undopromises more than the executor can undo
chart.proof-readyready missing or empty for an agent, a team or a module
chart.proof-checka proof that is not a check of the closed list
chart.alive-everya period under 5 minutes, or a bad duration
chart.alive-costan alive check of a type that is not cheap
repair.kindunknown repair kind
repair.targetthe repair's target is not declared by this chart
repair.ownerrestarting a service the chart does not own
repair.argsa value reference or a secret in a repair
repair.proofan alive proof names an unknown repair
chart.quest-overridea fragment in quests/ removes or adds a step
chart.resources-unreachable(warning) the chart fits no reference machine
condition.reasona reason without English and French words
grants.schema, grants.grant, grants.digestthe grants file: schema, a grant for an unknown chart or repair, a digest that no longer matches
catalog.*, license.*as before, on the 0.2 shapes

The rules support.*, resources.*, signin.*, choice.*, check.* apply inside a chart unchanged.

19. What this standard adds to the closed lists ​

Added in code with the standard, each documented on its own page, with a fake in tests/fakes:

ListAddition
executorsagent.create { agent }, agent.archive { agent }, service.restart { id }, model.pull { model }, signin.refresh { tool }, channel.reconnect { channel }, gateway.recover
executor fieldsjob?: boolean, repair?: "auto" (may run under a grant; refused with secret, sudo, pay, forge)
checksagent { id }, chart { id, version? }, service { id } (by the registry, next to service { url }), automation { key, ranWithinHours? }, a cheap flag per type
capabilitiesrepair
sign-in tablerefresh?: { argv } on a tool's row
executor fieldsnet?: "install" | "run", hosts?: string[]: whether and where it reaches the network (section 8)
needsNEED_KINDS (mind, channel), NEED_FEATURES per kind, PROVIDERS (claude, codex, local, telegram, world), in core/charts/needs.ts (section 4a)
checksneed { id, chart? }: the proof of the provider bound to a need
condition reasonsNeedUnmet

20. Command line ​

The words are the ones package managers use (Helm's among them): a chart, its values, a release and its revision, a repository.

alta chart new <dir> [--kind agent|team|module|skill|quest-pack|universe]
alta lint [path…]                         the same rules as the server (alias: check)
alta package <dir> [--public]             the archive, and the tree digest for `source` and the catalog (alias: pack);
                                          --public: for a public repository, refused for a personal chart
alta template <dir> [--values FILE] [--bind NEED=PROVIDER,…] [--local-only] [--host local|hosted-free|hosted-paid] [--renderer game]
alta chart inspect <id|dir> [--files] [--file PATH] [--versions] [--json]   read a chart without installing it
alta install <chart> [--values FILE] [--bind NEED=PROVIDER,…] [--local-only] [--yes]
alta upgrade <chart> [--values FILE] [--yes] [--replace-edited]
alta rollback <chart> [<revision>] [--yes] [--replace-edited]   back to an earlier revision (default: the one before)
alta chart pin <chart> --reason TEXT | unpin <chart>             keep a release at its version
alta uninstall <chart> [--yes]
alta status [<chart>] [--history <chart>] version, revision, condition and pin of the releases; or one's revisions
alta repo list | search [<words>]
alta verify <dir|archive> [--key FILE | --repo NAME]   who signed these exact files, and the risk level (offline)
alta attest <dir> --key FILE [--type publish|review]   for publishers: sign what you publish
alta repairs list [<chart>] | grant <chart> <repair> | revoke <chart> <repair> | pause | resume | log

install, upgrade, rollback, uninstall, chart pin and chart unpin go through the machine's server (its capabilities, plan cards and run journal); without --yes the first four print the plan and change nothing. They never read a secret from an argument: the server's token comes from WORLD_TOKEN, and a sign-in that needs a secret or a code stops the command and says where to give it.

21. Examples ​

A minimal agent chart ​

morning-brief/chart.json

json
{
  "schema": "alta.chart/0.1",
  "id": "morning-brief",
  "version": "0.3.0",
  "kind": "agent",
  "title": { "en": "Morning brief", "fr": "Point du matin" },
  "summary": { "en": "An agent that writes to you every morning.", "fr": "Un agent qui t'écrit chaque matin." },
  "author": "someone",
  "license": "MIT",
  "price": "free",
  "origin": "community",
  "source": {
    "git": "https://git.example.org/someone/morning-brief",
    "commit": "0123456789abcdef0123456789abcdef01234567",
    "sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
  },
  "locality": "cloud",
  "support": { "platforms": [{ "os": "macos" }, { "os": "linux" }], "hosted": "ok" },
  "resources": { "cpu": 1, "memory": "2Gi", "disk": "1Gi" },
  "requires": { "charts": [{ "id": "alta-os", "version": ">=0.1.0 <1.0.0" }] },
  "capabilities": ["ask", "install"],
  "needs": { "mind": {}, "channel": { "features": ["push"] } },
  "values": {
    "hour": {
      "kind": "text",
      "label": { "en": "At what time?", "fr": "À quelle heure ?" },
      "default": "07:30",
      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
    }
  },
  "agents": [
    {
      "id": "brief",
      "name": { "en": "Brief", "fr": "Brief" },
      "files": ["SOUL.md", "IDENTITY.md", "AGENTS.md"],
      "model": "need:mind",
      "channel": "need:channel",
      "permissions": {
        "tools": { "allow": ["message", "gbrain__recall"], "deny": ["write", "edit", "exec", "browser"] },
        "channels": ["need:channel"]
      },
      "wake": ["morning-brief"]
    }
  ],
  "automations": [
    {
      "key": "morning-brief",
      "title": { "en": "Morning brief", "fr": "Point du matin" },
      "agent": "brief",
      "schedule": { "daily": "$hour" },
      "message": "automations/morning-brief.message.md",
      "spends": "model"
    }
  ],
  "parts": [
    {
      "id": "agent",
      "do": "agent.create",
      "args": { "agent": "brief" },
      "requires": ["need:mind", "need:channel"],
      "undo": "archive",
      "proof": [{ "type": "agent", "id": "brief" }]
    },
    {
      "id": "schedule",
      "do": "automation.enable",
      "args": { "key": "morning-brief" },
      "requires": ["agent"],
      "undo": "auto",
      "proof": [{ "type": "automation", "key": "morning-brief", "enabled": true }]
    }
  ],
  "proofs": {
    "installed": [{ "type": "agent", "id": "brief" }],
    "ready": [{ "type": "need", "id": "channel" }, { "type": "automation", "key": "morning-brief", "enabled": true }],
    "alive": [
      { "id": "ran", "check": { "type": "automation", "key": "morning-brief", "ranWithinHours": 26 }, "every": "1h", "repair": ["rerun"] }
    ]
  },
  "repairs": [
    { "id": "rerun", "kind": "automation.rerun", "args": { "key": "morning-brief" } }
  ]
}

What the owner sees: one consent step (one agent that may only send messages and read memory, one repair that will always ask, and two lines: "Morning brief will think with your Claude subscription · change", "Morning brief will write to you on Telegram"), then the sign-ins of the providers not connected yet, two plan cards, a green proof. On a world that already thinks with a local model and has Telegram paired, there is no sign-in step at all. Its locality is cloud because a channel that can write first (push) is Telegram today; its mind can be local.

A module chart (Alta's own, with scripts) ​

modules/sunrise/chart.json, converted from the engine's former module file:

json
{
  "schema": "alta.chart/0.1",
  "id": "sunrise",
  "version": "0.1.0",
  "kind": "module",
  "title": { "en": "Sunrise", "fr": "Lever du soleil" },
  "summary": {
    "en": "Sunrise and sunset for your next wake-up, where you are.",
    "fr": "Le lever et le coucher du soleil pour ton prochain réveil, là où tu es."
  },
  "author": "Alta",
  "license": "MIT",
  "price": "free",
  "origin": "alta",
  "support": {
    "platforms": [{ "os": "macos" }],
    "notes": { "linux": { "en": "Candidate (standard Python), never run there.", "fr": "Candidat (Python standard), jamais lancé là." } }
  },
  "requires": { "charts": [{ "id": "alta-os", "version": ">=0.1.0" }] },
  "capabilities": ["install"],
  "values": {
    "node": {
      "kind": "text",
      "label": { "en": "The phone that shares its place", "fr": "Le téléphone qui partage sa position" },
      "required": false,
      "default": "",
      "pattern": "^$|^[0-9A-Za-z_.:-]{1,128}$"
    }
  },
  "package": {
    "type": "alta-module",
    "scripts": { "macos": { "install": "scripts/install.sh", "check": "scripts/check.sh", "checkArgs": ["--install-only"], "selftest": "tests/selftest.sh" } }
  },
  "parts": [
    {
      "id": "install",
      "do": "workflow.install",
      "args": { "id": "sunrise" },
      "undo": "command",
      "proof": [{ "type": "module", "id": "sunrise" }]
    }
  ],
  "proofs": {
    "installed": [{ "type": "bin", "name": "sunrise.py" }],
    "ready": [{ "type": "module", "id": "sunrise" }]
  }
}

A team chart ​

studio/chart.json (shortened to what differs):

json
{
  "schema": "alta.chart/0.1",
  "id": "studio",
  "version": "0.1.0",
  "kind": "team",
  "title": { "en": "Studio", "fr": "Studio" },
  "summary": { "en": "A writer and an editor who work on your drafts.", "fr": "Un rédacteur et un relecteur pour tes brouillons." },
  "author": "Alta", "license": "LicenseRef-Proprietary", "price": "paid", "origin": "alta",
  "support": { "platforms": [{ "os": "macos", "arch": ["arm64"] }, { "os": "linux" }], "hosted": "ok" },
  "resources": { "cpu": 2, "memory": "4Gi", "disk": "2Gi" },
  "requires": { "charts": [{ "id": "alta-os", "version": "^0.1.0" }, { "id": "google", "version": ">=0.2.1", "optional": true }] },
  "capabilities": ["install"],
  "needs": { "mind": {} },
  "values": {
    "folder": { "kind": "path", "label": { "en": "Where are your drafts?", "fr": "Où sont tes brouillons ?" } }
  },
  "agents": [
    {
      "id": "writer", "name": { "en": "Writer", "fr": "Rédacteur" }, "role": "operator",
      "files": ["SOUL.md", "AGENTS.md"], "model": "need:mind",
      "permissions": { "tools": { "allow": ["read", "write", "sessions_send"], "deny": ["exec", "browser", "secrets"] } }
    },
    {
      "id": "editor", "name": { "en": "Editor", "fr": "Relecteur" }, "role": "reviewer",
      "files": ["SOUL.md", "AGENTS.md"], "model": "need:mind",
      "permissions": { "tools": { "allow": ["read", "sessions_send", "message"], "deny": ["write", "exec", "browser", "secrets"] } },
      "wake": ["studio-review"]
    }
  ],
  "automations": [
    { "key": "studio-review", "title": { "en": "Evening review", "fr": "Relecture du soir" }, "agent": "editor",
      "schedule": { "cron": "0 18 * * 1-5", "tz": "owner" }, "message": "automations/studio-review.message.md", "spends": "model" }
  ],
  "parts": [
    { "id": "writer", "do": "agent.create", "args": { "agent": "writer" }, "undo": "archive", "proof": [{ "type": "agent", "id": "writer" }] },
    { "id": "editor", "do": "agent.create", "args": { "agent": "editor" }, "requires": ["writer"], "undo": "archive", "proof": [{ "type": "agent", "id": "editor" }] },
    { "id": "review", "do": "automation.enable", "args": { "key": "studio-review" }, "requires": ["editor"], "undo": "auto",
      "proof": [{ "type": "automation", "key": "studio-review", "enabled": true }] }
  ],
  "proofs": {
    "ready": [{ "type": "agent", "id": "writer" }, { "type": "agent", "id": "editor" }],
    "alive": [{ "id": "reviewed", "check": { "type": "automation", "key": "studio-review", "ranWithinHours": 80 }, "every": "6h" }]
  }
}

A service owner with repairs (from the chart alta-os) ​

json
{
  "services": [
    { "id": "ollama", "label": { "macos": "ai.altasystem.ollama", "linux": "ollama.service" }, "port": 11434 }
  ],
  "proofs": {
    "ready": [{ "type": "part", "id": "memory" }],
    "alive": [
      { "id": "ollama-up", "check": { "type": "service", "id": "ollama" }, "every": "5m", "repair": ["restart-ollama"] },
      { "id": "embeddings-model", "check": { "type": "model", "mind": "local" }, "every": "1h", "repair": ["pull-embeddings"] },
      { "id": "gateway", "check": { "type": "service", "id": "gateway" }, "every": "5m", "repair": ["recover-gateway"] }
    ]
  },
  "repairs": [
    { "id": "restart-ollama", "kind": "service.restart", "args": { "id": "ollama" }, "suggest": true },
    { "id": "pull-embeddings", "kind": "model.pull", "args": { "model": "qwen3-embedding:0.6b" }, "suggest": true },
    { "id": "recover-gateway", "kind": "gateway.recover", "suggest": true }
  ]
}

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