Skip to content

Agent Chart ​

An Agent Chart is what a person adds to their world, from their own folder or from a charts repository: an agent, a team, a module, a skill, a quest pack or a universe. A chart is a folder: chart.json and the files it names. It says what it is and who made it, where it runs, the parts it adds (each one an executor from a closed list, run after the player agrees, with the read-only check that proves it), how each part is undone, and how the game sees that it is alive. It never holds code that runs.

Standardalta.chart/0.1 (a repository's index: alta.index/0.1; the list a machine installs from: alta.catalog/0.2; the right to use a paid chart: alta.license/0.2)
Filechart.json, in a folder named after the chart's id
Create italta chart new my-chart --kind quest-pack
Check italta lint my-chart
Share italta package my-chart (an archive and its digest) · alta publish my-chart (the source block, from git)
JSON Schemaalta.chart.schema.json
Full specificationalta.chart/0.1

Minimal example ​

The smallest chart that passes alta lint: a quest pack, data only, that adds one quest to the core branch and installs nothing on the machine.

my-chart/chart.json
json
{
  "schema": "alta.chart/0.1",
  "id": "my-chart",
  "version": "0.1.0",
  "kind": "quest-pack",
  "title": { "en": "My first chart", "fr": "Ma première chart" },
  "summary": {
    "en": "One quest that adds to the core branch: the smallest chart that passes alta lint.",
    "fr": "Une quête qui s'ajoute à la branche core : la plus petite chart qui passe alta lint."
  },
  "author": "you",
  "license": "MIT",
  "price": "free",
  "origin": "alta",
  "support": {
    "platforms": [
      { "os": "macos" },
      { "os": "linux" },
      { "os": "windows" }
    ],
    "hosted": "ok"
  },
  "capabilities": [],
  "package": { "type": "data" },
  "parts": [{ "id": "add", "do": "item.data", "proof": [] }],
  "proofs": { "ready": [{ "type": "chart", "id": "my-chart" }] },
  "branch": {
    "schema": "alta.quests/0.3",
    "branch": "core",
    "quests": [
      {
        "id": "my-chart-welcome",
        "uid": "core.my-chart.welcome",
        "act": 1,
        "giver": "daemon",
        "main": false,
        "title": {
          "en": "My first chart: first steps",
          "fr": "Ma première chart : premiers pas"
        },
        "summary": {
          "en": "Read what this chart adds, then say it is done.",
          "fr": "Lis ce que cette chart ajoute, puis dis que c'est fait."
        },
        "reward": { "xp": 30 },
        "steps": [
          {
            "id": "read",
            "kind": "manual",
            "human": "judge",
            "title": {
              "en": "Read what this pack is about",
              "fr": "Lire de quoi parle ce pack"
            }
          }
        ]
      }
    ]
  }
}

examples/minimal/my-chart/chart.json

Fields ​

Chart ​

kind and package go together: a quest-pack or a universe is data only (package.type: "data", parts of item.data only, no capability); an agent, a team, a module or a skill adds things to the machine through its parts. An origin: "community" chart comes from any git repository, needs its source, and is never verified.

$commentstringoptional

A note for people; ignored and never shown.

schema"alta.chart/0.1"required

The standard: alta.chart/0.1.

idstringrequired

The chart id, also the folder's name.

matches ^[a-z][a-z0-9-]{1,40}$

versionstringrequired

Its version, semver.

matches ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$

kindenumrequired

What it installs: agent, team, module, package, skill, system, quest-pack, universe, cosmetic.

Valuesagentteammodulepackageskillsystemquest-packuniversecosmetic

statusenumoptional

ready (default) or draft (refused at install).

Valuesreadydraft

titletext2required

Its name, in English and French: { "en": …, "fr": … }.

summarytext2required

What it does, in a sentence, in English and French: { "en": …, "fr": … }.

whytext2optional

Why someone would install it, in English and French: { "en": …, "fr": … }.

authorstringrequired

Who made it.

licensestringrequired

Its license, e.g. MIT.

priceenumrequired

free or paid; the amount lives in the catalog.

Valuesfreepaid

originenumrequired

alta (made by Alta) or community (from any git repository).

Valuesaltacommunity

verifiedbooleanoptional

Set by Alta's review only; never on a community chart.

privacyenumoptional

personal (default: the owner's own, kept private, never published) or shareable (may be published: no secret, token, home path, e-mail or private keyword in it). Agent, team, module, package and skill charts only.

Valuespersonalshareable

sourcechartSourceoptional

Where a community chart comes from. Required on a community chart.

localityenumoptional

What it needs of the network at run time: local, local-first, cloud. local: works with the network off; local-first: works offline, some extras go online; cloud: needs the services listed. Absent: not declared. Never on a data chart.

Valueslocallocal-firstcloud

externalobjectoptional

The online services it talks to, each with its hosts, phase, account and the data that leaves the machine.

external.$commentstringoptional

A note for people; ignored and never shown.

external.servicesobject[]required

The services, 24 at most.

at most 24 items

external.services.$commentstringoptional

A note for people; ignored and never shown.

external.services.idstringrequired

The service id, unique in the chart.

matches ^[a-z][a-z0-9-]{1,31}$

external.services.namestringrequired

Its name, the brand (not translated), 1 to 60 characters.

at most 60 characters

external.services.purposetext2required

Why the chart talks to it, one sentence, in English and French: { "en": …, "fr": … }.

external.services.homepagestringoptional

Its web page, an https:// address without credentials.

matches ^https://

external.services.hostsstring[]required

The host names it reaches, lower case; one leading "*." allowed; no IP, port or path (https is implied). 1 to 16.

1 to 16 items

external.services.phaseenum[]required

When it is reached: install, run (install: a download once; run: while the chart works).

Valuesinstallrun

at least 1 items

external.services.requiredbooleanoptional

False: an optional extra; the chart works without it. Default true.

external.services.accountenumoptional

Does the owner need an account there: none, free, paid (default none).

Valuesnonefreepaid

external.services.signinstringoptional

The sign-in of this chart that connects this account.

matches ^[a-z][a-z0-9-]{0,31}$

external.services.dataenum[]optional

What leaves the machine at run time: none, prompts, files, messages, contacts, calendar, audio, images, location, identifiers, usage.

Valuesnonepromptsfilesmessagescontactscalendaraudioimageslocationidentifiersusage

external.services.whenwhenoptional

Only when a value is one of a list.

publisherobjectoptional

Who publishes the chart; never an e-mail.

publisher.$commentstringoptional

A note for people; ignored and never shown.

publisher.idstringrequired

The publisher id.

matches ^[a-z0-9][a-z0-9-]{1,38}$

publisher.namestringrequired

Its name, 1 to 60 characters.

at most 60 characters

publisher.urlstringoptional

Its web page, an https:// address.

matches ^https://

homepagestringoptional

Its web page, an https:// address without credentials.

matches ^https://

keywordsstring[]optional

Words to find it, 8 at most.

at most 8 items

categoriesenum[]optional

Where it is listed, 1 to 3 of: assistant, writing, research, media, home, work, developer, system, game.

Valuesassistantwritingresearchmediahomeworkdevelopersystemgame

1 to 3 items

iconstringoptional

A .png or .webp file of the chart, 256 KB at most (never SVG).

matches ^[^/].*\.(png|webp)$

changestext2optional

What changed in this version, in plain words, in English and French: { "en": …, "fr": … }.

supportsupportrequired

Where it runs: systems, hosted, needs.

resourcesresourcesoptional

What it needs of the machine, like Kubernetes requests.

requiresobjectoptional

What must be there first.

requires.$commentstringoptional

A note for people; ignored and never shown.

requires.altastringoptional

The Alta OS version range.

requires.openclawstringoptional

The OpenClaw version range.

requires.chartsobject[]optional

Other charts, each with a version range.

requires.charts.$commentstringoptional

A note for people; ignored and never shown.

requires.charts.idstringrequired

The chart id.

matches ^[a-z][a-z0-9-]{1,40}$

requires.charts.versionstringrequired

A range: >=, >, <=, <, =, ^, ~.

requires.charts.optionalbooleanoptional

True: installed only when the owner wants it.

requires.skillsstring[]optional

Quest skills of the game the player must have.

capabilitiesenum[]required

What the server must be allowed to do: exactly those of the executors the chart names.

Valuesasksetupinstall

needsmap of needoptional

What it needs (a mind, a channel), by id; the kind comes from the id (mind, channel, <kind>-<name>).

valuesmap of valueoptional

What the owner chooses at install, by id.

signinsmap of signinoptional

The accounts and devices the chart connects, by id.

agentsagent[]optional

The agents it creates.

skillsobject[]optional

Skills shipped with the chart ({ slug, path }) or pinned ({ ref, version, sha256 }).

automationsautomation[]optional

Its automations, all created off.

servicesservice[]optional

Services it owns.

usesstring[]optional

Services another chart owns, as "service:<id>".

modelsstring[]optional

Local models it pulls (the targets of its model.pull repairs).

hooksmap of hookoptional

The points where the owner plugs their own commands or text, by id.

packageobjectoptional

Where its files come from: chart (default), alta-module (Alta's own scripts), openclaw-skill, or data.

package.typeenumrequired

The package type.

Valueschartalta-moduleopenclaw-skilldata

partspart[]required

Its units of work, each with plan, apply and check.

proofsobjectrequired

How it is proven: installed, ready, alive.

proofs.$commentstringoptional

A note for people; ignored and never shown.

proofs.installedcheck[]optional

The checks that say its files and programs are there.

proofs.readycheck[]required

The checks that say it works once, end to end.

proofs.alivealive[]optional

The checks that say it still works, read by the guard loop.

repairsrepair[]optional

How some failures can be fixed; each may be allowed by the owner.

spawnobjectoptional

What appears on the map once it is installed.

branchobjectoptional

Quests it brings (a quest-pack chart).

universeobjectoptional

The universe pack it carries (a universe chart).

sceneobjectoptional

The scene played when it is installed.

reviewobjectoptional

Alta's review notes.

Online services ​

What the chart needs outside the machine, in two keys: locality, one word people filter on (local, local-first or cloud), and external.services, the online services behind it: why the chart talks to each one, its hosts, when (install, run), whether an account is needed, and what leaves the machine. alta lint computes the floor from what the chart names and refuses a chart that says it is more local than that, or a network use no service covers. Data charts (quest-pack, universe, cosmetic) say neither key.

json
{
  "id": "telegram",
  "name": "Telegram",
  "purpose": {
    "en": "The agent writes to you on Telegram.",
    "fr": "L'agent t'écrit sur Telegram."
  },
  "hosts": [
    "api.telegram.org"
  ],
  "phase": [
    "run"
  ],
  "account": "free",
  "data": [
    "messages"
  ]
}

The levels, the floor and what is not checked: Locality and online services. Step by step: Say what your chart needs online.

Publisher ​

Who publishes the chart, as a charts repository lists it: publisher.id (lower-case letters, digits and dashes), a name and an https url, never an e-mail address. The index gives each publisher a tier (official, verified, community), which becomes the chart's badge; a chart never declares its own tier. Without publisher, the index uses author. homepage, keywords, categories (a closed list), icon and changes help people find a chart and judge a new version; all are optional.

chart.json: publisher
json
{
  "id": "example-author",
  "name": "Example Author",
  "url": "https://example.com"
}

examples/chart-agent/morning-brief/chart.json#/publisher

Source ​

$commentstringoptional

A note for people; ignored and never shown.

gitstringrequired

The repository, an https:// address without credentials.

matches ^https://[a-zA-Z0-9.-]+(:\d+)?/\S+$

refstringoptional

The branch or tag it was read from.

matches ^[A-Za-z0-9._/-]{1,100}$

commitstringrequired

The full commit (40 hexadecimal characters).

matches ^[0-9a-f]{40}$

sha256stringrequired

The digest of the chart tree, printed by alta package (64 hexadecimal characters).

matches ^[0-9a-f]{64}$

Part ​

$commentstringoptional

A note for people; ignored and never shown.

idstringrequired

The part id, unique in the chart.

matches ^[a-z][a-z0-9-]{0,31}$

titletext2optional

Its title on the plan card, in English and French: { "en": …, "fr": … }.

doenumrequired

The executor, from the closed list.

Valuesagent.messageitem.dataworkflow.installautomation.enableautomation.disableskill.installsetup.basesetup.brewsetup.alta-ossetup.machinesetup.claude-signinsetup.openai-signinsetup.other-signinsetup.daemon-namesetup.alta-plansetup.alta-applysetup.alta-checkllm.signinsignin.clipkg.installopenclaw.config-setmac.open-paneapp.openchannel.connectchannel.pair-approveconnector.connectautomation.runprefs.setbackup.initbackup.runbackup.restore-testtablet.pairvoice.hearvoice.makevoice.saymemory.importagent.createagent.archiveservice.restartmodel.pullsignin.refreshchannel.reconnectgateway.recoveropenclaw.read

argsmap of string | number | booleanoptional

Its arguments: literals, or "$<value>".

requiresstring[]optional

Parts, sign-ins ("signin:<id>") and needs ("need:<id>": its provider connected) that come first.

whenwhenoptional

Only when a value is one of a list.

resourcesresourcesoptional

What it needs of the machine.

undoenumoptional

How it is undone: auto, command, archive or none.

Valuesautocommandarchivenone

proofcheck[]required

The read-only checks that prove it.

Agent ​

$commentstringoptional

A note for people; ignored and never shown.

idstringrequired

The agent's id, unique in the chart.

matches ^[a-z][a-z0-9-]{0,31}$

nametext2required

Its name, in English and French: { "en": …, "fr": … }.

emojistringoptional

Its emoji.

at most 8 characters

roleenumoptional

Its role: daemon, architect, operator, reviewer, guardian.

Valuesdaemonarchitectoperatorreviewerguardian

domainstringoptional

What it takes care of, in a few words.

at most 120 characters

filesstring[]required

The text files given to the agent, under agents/<id>/ (SOUL.md, AGENTS.md…); never run.

at least 1 items

modelstring | objectrequired

Its mind: "need:<id>" (a mind need), or pinned: { "from": "$<value>" }, { "decision": "<id>" } or { "id": "provider/model" }.

matches ^need:[a-z][a-z0-9-]{0,31}$

model.fromstringoptional

A value reference.

model.decisionstringoptional

A decision of the engine.

model.idstringoptional

A model id, provider/model.

fallbacksstring[]optional

Models tried when the first one fails, provider/model.

channelstring | objectoptional

Where it talks to the owner: "need:<id>" (a channel need), or pinned.

matches ^need:[a-z][a-z0-9-]{0,31}$

channel.$commentstringoptional

A note for people; ignored and never shown.

channel.kindenumrequired

telegram, whatsapp or none.

Valuestelegramwhatsappnone

channel.sessionstringoptional

The session it uses on that channel.

permissionsobjectrequired

What it may do: tools allowed and denied (deny wins), programs, channels.

permissions.$commentstringoptional

A note for people; ignored and never shown.

permissions.toolsobjectrequired

Tools it may and may not use.

permissions.tools.$commentstringoptional

A note for people; ignored and never shown.

permissions.tools.allowstring[]required

Allowed tools.

permissions.tools.denystring[]required

Denied tools; deny always wins.

permissions.execobjectoptional

Programs it may run: deny (default), or an allowlist of files of its own folder (Alta's charts only).

permissions.exec.$commentstringoptional

A note for people; ignored and never shown.

permissions.exec.modeenumrequired

deny or allowlist.

Valuesdenyallowlist

permissions.exec.allowobject[]optional

The programs, each a file of the agent's folder.

permissions.exec.allow.$commentstringoptional

A note for people; ignored and never shown.

permissions.exec.allow.binstringrequired

The program's path in the agent's folder.

permissions.channelsenum | string[]optional

Channels it may write to: "need:<id>" (a channel need), or pinned (telegram, whatsapp).

wakestring[]optional

Keys of the chart's automations that wake it.

watchobjectoptional

Alta's five-function wiring (Alta's charts only).

instancestring[]optional

Paths that are the owner's data, never shipped.

whenwhenoptional

Only when a value is one of a list.

Value ​

A value the owner gives when the chart is installed (a choice, a text, a number), used by the parts as $name.

$commentstringoptional

A note for people; ignored and never shown.

kindenumrequired

The kind of the value: text, choice, email, path, number, boolean.

Valuestextchoiceemailpathnumberboolean

labeltext2required

The question the owner sees, in English and French: { "en": …, "fr": … }.

hinttext2optional

One sentence under the question, in English and French: { "en": …, "fr": … }.

requiredbooleanoptional

False: the owner may leave it empty. Default true.

defaultstring | number | booleanoptional

The value when the owner changes nothing.

fromstringoptional

Prefilled from the owner's answers or profile: answers.<key> or owner.<key> (owner.mind, owner.channel: the player's default provider).

matches ^(answers|owner)\.[a-z_]+$

minnumberoptional

Text: shortest length; number: lowest value.

maxnumberoptional

Text: longest length; number: highest value.

patternstringoptional

Text: an anchored pattern (^…$), 200 characters at most.

at most 200 characters, matches ^\^.*\$$

choicesobject[]optional

A choice value: its choices, the shape of a choice step's.

at least 1 items

choices.idstringrequired

The choice id.

Need ​

Something the chart needs, a mind or a channel, bound by the owner to a provider; named elsewhere as "need:<id>". The kind comes from the id (mind, channel, <kind>-<name>); {} or true takes any provider and the owner's own choice. See Needs.

$commentstringoptional

A note for people; ignored and never shown.

kindenumoptional

The kind (mind, channel). Only when the id does not say it: "mind", "channel" and "<kind>-<name>" do.

Valuesmindchannel

whytext2optional

Why it needs it, shown on the consent screen (absent: the default sentence of its kind), in English and French: { "en": …, "fr": … }.

acceptenum[]optional

The providers allowed (absent: all of its kind): claude, codex, local, telegram, world.

Valuesclaudecodexlocaltelegramworld

at least 1 items

modelstringoptional

An exact model, provider/model (a mind only); excludes accept.

matches ^[a-z0-9][a-z0-9-]*/[A-Za-z0-9._:-]+$

featuresenum[]optional

What the provider must offer: a mind tools, vision, long-context, json; a channel push, reply, files, voice, buttons.

Valuestoolsvisionlong-contextjsonpushreplyfilesvoicebuttons

preferenum[]optional

The recommendation order when the player must choose.

Valuesclaudecodexlocaltelegramworld

at least 1 items

reuseenumoptional

ask: always ask the player. Absent: reuse the player's own choice.

Valuesownerask

optionalbooleanoptional

True: the chart works without it.

Sign-in ​

A sign-in the chart needs, done through a connection executor; never a secret in the chart.

$commentstringoptional

A note for people; ignored and never shown.

useenumrequired

The connection executor: signin.cli, setup.other-signin, channel.connect, channel.pair-approve, connector.connect, tablet.pair.

Valuessignin.clisetup.other-signinchannel.connectchannel.pair-approveconnector.connecttablet.pair

argsmap of string | number | booleanoptional

The executor's arguments, never a secret; a value is used as "$<id>".

proofcheckrequired

The read-only check that proves it; signin.cli is proven by { "type": "signin", "tool": … }.

whytext2required

One sentence the consent screen shows, in English and French: { "en": …, "fr": … }.

optionalbooleanoptional

True: the owner may skip it.

whenwhenoptional

Only when a value is one of a list.

requiresstring[]optional

Another sign-in first, as "signin:<id>".

Automation ​

What wakes an agent of the chart: a schedule and a message from a file of the chart.

$commentstringoptional

A note for people; ignored and never shown.

keystringrequired

Its key, unique on the machine.

matches ^[a-z0-9][a-z0-9._-]{0,63}$

titletext2required

Its name, in English and French: { "en": …, "fr": … }.

agentstringrequired

The agent it wakes: an agent of the chart, or main.

scheduleobjectrequired

When: { cron, tz }, { daily: "HH:MM" }, { every: "1h" } or { trigger } (Alta's charts only).

schedule.cronstringoptional

Five cron fields.

schedule.tzstringoptional

owner, or an IANA time zone.

schedule.dailystringoptional

HH:MM, or a value reference.

schedule.everystringoptional

A duration of 5m or more.

matches ^\d{1,4}(s|m|h|d)$

schedule.triggerstringoptional

The file automations/<key>.trigger.js.

messagestringrequired

The message file: automations/<key>.message.md.

spendsenumrequired

none, or model: a run may cost a model call.

Valuesnonemodel

whenwhenoptional

Only when a value is one of a list.

Service ​

A long-running program of the chart, and how the game sees it run.

$commentstringoptional

A note for people; ignored and never shown.

idstringrequired

The service id.

matches ^[a-z][a-z0-9-]{1,31}$

labelstring | map of stringrequired

The launchd label or the systemd unit, or one per system.

portintegeroptional

Its port on 127.0.0.1.

1 to 65535

healthcheckoptional

How it is proven up; default { "type": "service", "id": … }.

whenwhenoptional

Only when a value is one of a list.

Hook ​

A point where another chart or the owner can add to this one.

$commentstringoptional

A note for people; ignored and never shown.

kindenumrequired

Its kind: value, section, record, addendum, extend.

Valuesvaluesectionrecordaddendumextend

contract1required

The contract version: 1.

docstringrequired

What the owner may put there.

argsobjectoptional

Its arguments.

patternstringoptional

A pattern the filler matches.

defaultobjectoptional

Its default.

targetstringoptional

What it fills.

fieldstringoptional

The field it fills.

maxLinesintegeroptional

At most this many lines.

timeoutSintegeroptional

A command's time limit, in seconds.

Alive proof ​

A cheap check, repeated, that says the chart still works.

$commentstringoptional

A note for people; ignored and never shown.

idstringrequired

The proof id.

matches ^[a-z][a-z0-9-]{0,31}$

checkcheckrequired

A cheap read-only check.

everystringoptional

Its period, 5m at least (default 15m).

matches ^\d{1,4}(s|m|h|d)$

graceintegeroptional

Failures in a row before it counts (default 2).

1 to 20

whenwhenoptional

Only when a value is one of a list.

repairstring[]optional

The repairs that may be tried, in order.

Repair ​

A fix from a closed list that the game may offer when an alive proof fails.

$commentstringoptional

A note for people; ignored and never shown.

idstringrequired

The repair id.

matches ^[a-z][a-z0-9-]{0,31}$

kindenumrequired

Its kind: service.restart, model.pull, gateway.recover, signin.refresh, channel.reconnect, automation.rerun, part.reapply, signin.again, channel.pair.

Valuesservice.restartmodel.pullgateway.recoversignin.refreshchannel.reconnectautomation.rerunpart.reapplysignin.againchannel.pair

argsmap of string | number | booleanoptional

Its arguments: literals only.

titletext2optional

Its title, in English and French: { "en": …, "fr": … }.

suggestbooleanoptional

The author suggests allowing it; the box stays unticked.

Check ​

A read-only check of the closed list, used by proofs.

typestringrequired

The check type.

Condition ​

When a part, a sign-in or a value applies, from the owner's answers.

$commentstringoptional

A note for people; ignored and never shown.

valuestringrequired

The id of a choice or boolean value.

matches ^[a-z][a-z0-9-]{0,31}$

isstring | boolean[] | enum[]required

The choice ids (or true, false) for which it holds.

Valuesclaudecodexlocaltelegramworld

at least 1 items

needstringrequired

The id of a need of the chart.

matches ^[a-z][a-z0-9-]{0,31}$

Text ​

A text in English and French.

enstringrequired

The English text.

frstringrequired

The French text.

Catalog ​

The list of charts the store offers, as the game reads it. Prices live here, never in the chart.

schema"alta.catalog/0.2"required

The standard: alta.catalog/0.2.

generatedAtstringrequired

When it was made, as an ISO date and time.

matches ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:\d{2})$

signaturestringoptional

Its signature. Required on a catalog read from the network.

chartsobject[]required

The charts.

charts.idstringrequired

The chart's id.

matches ^[a-z][a-z0-9-]{1,40}$

charts.versionstringrequired

Its version.

matches ^\d+\.\d+\.\d+([-+][0-9a-zA-Z.-]+)?$

charts.kindenumrequired

Its kind.

Valuesagentteammodulepackageskillsystemquest-packuniversecosmetic

charts.priceenumrequired

free or paid.

Valuesfreepaid

charts.amountnumberoptional

The price of a paid chart.

more than 0

charts.currencystringoptional

Its currency, three capital letters, e.g. EUR.

matches ^[A-Z]{3}$

charts.sha256stringrequired

The digest of the chart folder (alta package).

matches ^[0-9a-f]{64}$

charts.pathstringrequired

Where the chart folder is, relative to the catalog.

matches ^[a-z0-9][a-z0-9/._-]*$

charts.defaultbooleanoptional

true: added to every new world. Never on a community chart.

charts.originenumoptional

alta or community.

Valuesaltacommunity

charts.sourceobjectoptional

Where a community chart comes from: its git repository, pinned on a full commit, with the digest of the chart folder.

charts.source.gitstringrequired

The repository, an https:// address without credentials.

matches ^https://[a-zA-Z0-9.-]+(:d+)?/S+$

charts.source.refstringoptional

The tag or branch it was taken from.

matches ^[A-Za-z0-9._/-]{1,100}$

charts.source.commitstringrequired

The full commit (40 hexadecimal characters).

matches ^[0-9a-f]{40}$

charts.source.sha256stringrequired

The digest of the chart folder at that commit.

matches ^[0-9a-f]{64}$

License ​

schema"alta.license/0.2"required

The standard: alta.license/0.2.

chartstringrequired

The chart, by id.

matches ^[a-z][a-z0-9-]{1,40}$

versionstringrequired

The chart's version.

holderstringrequired

Who holds it (an opaque id).

matches ^[A-Za-z0-9_-]{8,128}$

issuedAtstringrequired

When it was issued, as an ISO date and time.

matches ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:\d{2})$

signaturestringrequired

Its signature.

matches ^[A-Za-z0-9_-]{40,200}={0,2}$

The quests a chart brings follow the quest standard; its universe, the universe standard; its scene, the cinematics standard. The rules behind each of them are in the full specification.

Rules and errors ​

Each rule alta lint applies to charts, with its section on the errors page.

  • chart.schemaAn Agent Chart must say alta.chart/0.1.
  • chart.unknown-keyA key the object does not have (a typo is never ignored).
  • chart.idThe chart id is malformed, reserved, or differs from the folder name.
  • chart.versionThe version is not semver.
  • chart.kindThe kind is unknown, or the chart lacks a section its kind must have (or has one it must not).
  • chart.statusstatus is not ready or draft.
  • chart.textsA text is missing its English or its French.
  • chart.authorThe chart needs an author.
  • chart.licenseThe chart needs a license.
  • chart.priceThe price is malformed, or the chart carries its amount.
  • chart.originThe origin is unknown.
  • chart.community-sourceA community chart needs a pinned source.
  • chart.community-verifiedA community chart cannot say it is verified.
  • chart.sourceThe source is malformed.
  • chart.source-placeholderThe source still holds placeholders (zeros).
  • chart.privacyprivacy is not personal or shareable, or this kind of chart has no privacy.
  • chart.privacy-secretA shareable chart holds something that looks like a secret (a key, a password, a token).
  • chart.privacy-tokenA shareable chart holds a long token-shaped string (letters and digits mixed, 32 characters or more).
  • chart.privacy-home-pathA shareable chart holds an absolute path in someone's home folder (/Users/<name>, /home/<name>).
  • chart.privacy-emailA shareable chart holds an e-mail address.
  • chart.privacy-keywordA shareable chart holds a word of your private keyword list (~/.config/alta/privacy-keywords.txt).
  • chart.localitylocality is not local, local-first or cloud, or a data chart says it (or lists online services).
  • chart.locality-requiredThe chart does not say what it needs of the network (an error on a community or shareable chart, a warning otherwise).
  • chart.locality-floorThe chart says it is more local than what it names allows: an executor, a sign-in, a model or a channel reaches the network.
  • chart.locality-locallocal, but a service is used at run time.
  • chart.locality-firstlocal-first, but a service is required at run time, or nothing uses the network at run time.
  • chart.locality-cloudcloud, but no service is required at run time (a warning).
  • external.serviceAn online service is malformed: its id, name, purpose (English and French), phase or account; an id used twice; more than 24 services.
  • external.hostsA host of a service is not a lower-case host name, or has a port, a path, an IP address, a second wildcard, or a wildcard on a public suffix.
  • external.homepageA service's homepage is not an https address, or carries credentials.
  • external.signinA service names no sign-in of this chart, or a sign-in reaches hosts no service covers.
  • external.undeclaredSomething the chart names reaches the network (a part, a repair, a model, a channel, a skill download) and no service covers its phase and hosts.
  • external.dataA run-time service does not say what leaves the machine, or data is malformed.
  • external.whenA service's when names an unknown value or a choice that value does not have.
  • chart.publisherpublisher is malformed, or holds an e-mail address.
  • chart.homepagehomepage is not an https address, or carries credentials.
  • chart.keywordskeywords has more than 8 words, a malformed word, or a word twice.
  • chart.categoriescategories is empty, has more than 3, a duplicate, or a word outside the list.
  • chart.iconicon is not a .png or .webp file of the chart, or is larger than 256 KB.
  • chart.changeschanges is missing its English or its French.
  • chart.license-spdxlicense is not an SPDX identifier or expression (a warning).
  • chart.pathA path is absolute, has .., leaves the folder, or names a file the folder does not have.
  • chart.sizeA file or the whole chart is too large.
  • chart.no-templatechart.json holds a template mark (double braces, a dollar brace or an angle percent): a chart has no templating.
  • chart.render-nameAn agent file holds a render mark (a name between double braces) that is not a render name.
  • chart.value-kindA value has an unknown kind, is a secret, or is malformed.
  • chart.value-secretA value's default looks like a secret.
  • chart.value-fromfrom names an unknown key.
  • chart.need-kindA need has no kind the game knows, a kind that contradicts its id, or a reference names a need of another kind; a warning when kind repeats what the id already says.
  • chart.need-acceptaccept or prefer names a provider that is not of the need's kind.
  • chart.need-featurefeatures names something no provider of that kind can offer.
  • chart.need-pinmodel is on a channel, is not provider/model of a known provider, or comes with accept.
  • chart.need-unreachableNo provider has everything the need asks (an error); or none fits a reference machine the chart supports (a warning).
  • chart.need-instead(warning) A choice value picks a provider (claude, codex, local; telegram, none), or is prefilled from answers.default_model or answers.channel: it replays a need by hand.
  • chart.need-default(warning) A need writes a default: reuse: "owner" or optional: false.
  • chart.value-defaultA default does not fit its own kind, pattern or bounds.
  • chart.ref-unknown$name is not a value of the chart, or need:<id> is not one of its needs.
  • chart.ref-kindThe value's kind does not fit the argument it feeds.
  • chart.whenwhen names an unknown value or a choice it does not have, or a need and a provider not of its kind.
  • chart.rangeA version range is not in the grammar.
  • chart.requires-cycleCharts require each other, or a chart requires itself.
  • chart.capabilitiescapabilities differs from what the named executors need, or holds forge or pay.
  • chart.tools-floorA community agent is allowed a tool of the floor list.
  • chart.exec-altaAn exec allowlist outside Alta's own charts, or a program outside the agent's folder.
  • chart.signin-useA sign-in does not use a connection executor.
  • chart.signin-secretA sign-in writes a secret argument.
  • chart.signin-hostedA required sign-in cannot be done hosted, though the chart says it works hosted.
  • chart.agentAn agent lacks files, a model or permissions, or names a missing file.
  • chart.automationAn automation has a bad key, schedule or message, or names an agent the chart does not have.
  • chart.automation-enabledAn automation asks to be created on.
  • chart.trigger-altaA trigger file outside Alta's own charts.
  • service.ownerA service, label or port is owned twice, or uses names a service nothing owns.
  • chart.hookA hook point has an unknown kind, or no doc.
  • chart.scripts-altaScripts that are run, outside Alta's own charts.
  • chart.data-onlyA data chart runs something other than item.data, or asks for a capability.
  • chart.part-idA part id is missing or used twice.
  • chart.part-executorA part runs an executor that is not in the closed list.
  • chart.part-osThe executor does not run on a listed system, or not hosted where the chart says ok.
  • chart.part-argsArguments the executor refuses.
  • chart.part-secretA part writes a secret argument.
  • chart.part-requiresrequires names an unknown part or sign-in.
  • chart.part-cycleParts require each other.
  • chart.part-proofA part that writes has no proof.
  • chart.part-undoundo promises more than the executor can undo.
  • chart.proof-readyproofs.ready is missing or empty for an agent, a team or a module.
  • chart.proof-checkA proof is not a check of the closed list, or a check that reads the game instead of the machine.
  • chart.alive-everyAn alive period under 5 minutes, a bad duration, or a bad grace.
  • chart.alive-costAn alive check of a type that is not cheap.
  • chart.quest-uidA quest of the chart does not carry the chart id in its uid, or is already in the game.
  • chart.quest-overrideThe chart's quests do not fit the game, or a fragment removes or adds a step.
  • chart.spawnThe entity the chart adds to the world is malformed.
  • chart.resources-unreachableNo reference machine the chart supports can meet its resources.
  • repair.kindUnknown repair kind, or a malformed repair.
  • repair.targetThe repair's target is not declared by this chart.
  • repair.ownerA restart of a service the chart only uses.
  • repair.argsA repair holds a value reference, a secret, or an argument its kind does not take.
  • repair.proofAn alive proof names a repair the chart does not have.
  • catalog.schemaA catalog must say alta.catalog/0.2.
  • catalog.dategeneratedAt is malformed.
  • catalog.chartsThe catalog needs a charts list.
  • catalog.signatureA remote catalog must be signed.
  • catalog.entry-idAn entry id is malformed or listed twice.
  • catalog.entry-versionAn entry version is not semver.
  • catalog.entry-kindAn entry kind is unknown.
  • catalog.entry-sha256An entry digest is malformed.
  • catalog.entry-pathAn entry path is not the relative path of a chart folder.
  • catalog.entry-amountA paid entry needs an amount and a currency; a free one has none.
  • catalog.entry-priceAn entry price is malformed.
  • catalog.entry-defaultdefault is malformed, or a community chart is installed by default.
  • catalog.entry-sourceA community entry has no pinned source, or its source is malformed.
  • catalog.entry-shapeAn entry is malformed.
  • license.schemaA license must say alta.license/0.2.
  • license.chartThe license names no chart, or a malformed one.
  • license.versionThe license version is malformed.
  • license.holderThe license has no holder.
  • license.issuedAtThe issue date is malformed.
  • license.signatureThe license is not signed.
  • license.matchThe license is for another chart or another major version.
  • index.schemaAn index must say alta.index/0.1.
  • index.dategeneratedAt is not an ISO date.
  • index.repoThe repo block is missing or malformed: id, title in English and French, https url and report address, tier official or community.
  • index.publisherA publisher is malformed: its id, name, url or tier (an official publisher only in an official repository).
  • index.publisher-keyA publisher key is not { id, alg: "ed25519", public: base64 }, or its revoked date is malformed.
  • index.chartsThe index has no charts object.
  • index.chartA chart entry is malformed: its id, kind, title and summary in English and French, its lists of words, replacedBy, or it has no versions.
  • index.chart-publisherA chart names a publisher the index does not list.
  • index.versionA version is not semver, is listed twice, is out of order (newest first), has no created date, or a later version has no changes in English and French.
  • index.digestA version's digest is not a 64-character sha256.
  • index.archiveA version's archive is malformed: its https url, its 64-character sha256, its size in bytes.
  • index.sourceA version's source is missing or malformed: https git address, full 40-character commit, ref, relative path.
  • index.priceThe price is malformed, or a community repository lists a paid chart (paid charts are not open yet).
  • index.localitylocality, localityRange or localityCheck has a value outside its closed list.
  • index.servicesA service of a version is malformed: id and name, host names, phase install or run, required true or false, account none, free or paid.
  • index.riskrisk is not low, medium or high.
  • index.auditA version's audit.status is outside its closed list, or audit.at is not an ISO date.
  • index.attestationsAn attestation is not { type: publish, review or provenance, url: https }.
  • index.withdrawnwithdrawn is not { at: ISO date, reason: en and fr }.
  • index.version-shapeA version is malformed: its license, capabilities or support (copied from the chart).
  • repos.schemaA repositories file must say alta.repos/0.1.
  • repos.listThe repositories file has no repos list.
  • repos.entryA repository is malformed: its name (reserved, taken, malformed), its added date, unsigned, or a key it does not take.
  • repos.urlA repository address is not https, or carries a user name or password.
  • repos.keyA repository key is not { alg: "ed25519", public: the 32-byte key in base64 }.
  • attest.envelopeThe attestation is not a DSSE envelope: its payloadType, payload or signatures are missing or malformed.
  • attest.statementThe payload is not an in-toto Statement v1 with a subject, a known predicateType and a predicate.
  • attest.subjectThe attestation is about another chart, another version or of another type.
  • attest.digestThe files' tree digest is not the one the attestation signed: a file changed, or was added or removed.
  • attest.keyThere is no key to check the signature against.
  • attest.signatureNo trusted key verifies the signature.
  • attest.revokedThe signature was made by a key its publisher revoked.

Full example ​

A community chart from a git repository, pinned to a commit
reading-log/chart.json
json
{
  "schema": "alta.chart/0.1",
  "id": "reading-log",
  "version": "0.2.0",
  "kind": "quest-pack",
  "title": { "en": "Reading log", "fr": "Carnet de lecture" },
  "summary": {
    "en": "Note one book a week; your assistant keeps the list.",
    "fr": "Note un livre par semaine ; ton assistant tient la liste."
  },
  "author": "someone",
  "license": "MIT",
  "price": "free",
  "origin": "community",
  "source": {
    "git": "https://git.example.org/someone/alta-reading-log",
    "ref": "v0.2.0",
    "commit": "3f2c9a1e8b7d6c5f4e3d2c1b0a9f8e7d6c5b4a39",
    "sha256": "9c1e2a7f0b3d4e5f60718293a4b5c6d7e8f90112233445566778899aabbccdd0"
  },
  "support": { "platforms": [{ "os": "macos" }, { "os": "linux" }] },
  "capabilities": [],
  "package": { "type": "data" },
  "parts": [{ "id": "add", "do": "item.data", "undo": "none", "proof": [] }],
  "proofs": { "ready": [] },
  "branch": {
    "schema": "alta.quests/0.2",
    "branch": "core",
    "quests": [
      {
        "id": "reading-log-week",
        "uid": "core.reading-log.week",
        "act": 2,
        "giver": "daemon",
        "type": "daily",
        "reset": {
          "every": "week",
          "at": "10:00",
          "weekday": 7
        },
        "title": {
          "en": "This week's book",
          "fr": "Le livre de la semaine"
        },
        "reward": { "xp": 20 },
        "steps": [
          {
            "id": "note",
            "kind": "check",
            "title": {
              "en": "Add a line to your reading log",
              "fr": "Ajoute une ligne à ton carnet de lecture"
            },
            "check": {
              "type": "file",
              "path": "~/Documents/reading-log.md"
            }
          }
        ]
      }
    ]
  }
}

examples/chart-community/reading-log/chart.json

Versions ​

VersionWhat it addsRead by the game
alta.chart/0.1, alta.catalog/0.2, alta.license/0.2Charts as folders, provenance (origin, source), parts with their proof and undo, values, sign-ins, repairs; the catalog by chart folder and the right of use. Added since, optional: locality, external, publisher, homepage, keywords, categories, icon, changescurrent

Guides that use it ​

Alta OS is open source (MIT).