# How charts are reviewed

> What happens between your pull request and the first install: the automated checks, the review status each version carries, and why a pending review blocks every install.

Every version of a chart in a repository carries a review status. Until a review sets it, the version is listed but nobody can pull it. The review is a signal for people choosing a chart; the protection on their machine stays the same for every chart: closed lists of actions, a plan before any change, and their yes.

## From pull request to installable

1. **You open a pull request** that adds `sources/<chart id>.json` (or the chart's folder under `charts/`), as in [Publish a chart](https://docs.os.altasystem.ai/marketplace/publish).
2. **Automated checks run on it**, with no secret and no network beyond cloning your commit:
   - `alta lint --strict`: the schema, the closed lists, the rules of a shareable chart, and the [locality floor](https://docs.os.altasystem.ai/charts/concepts/locality#what-lint-can-prove);
   - the digest: your commit is cloned, the digest of the folder is recomputed and must equal the pointer's;
   - the files: text, JSON and images of the allowed types only; no executable, no archive, no binary;
   - the text: hidden or bidirectional characters, long encoded blobs, `curl … | sh`, instructions to ignore rules or send data away, addresses of hosts the chart does not declare as services;
   - for a chart that says `local` or `local-first`, an install against fake programs with the network off whose `ready` proofs must hold (written, not run yet).

   A finding names the file, the line and the rule, never the text. Only a file of the wrong type fails the pull request; a text finding sets the version to `pending` until a moderator decides.
3. **A moderator reads it and merges.** After the first merge, your later versions are reviewed by the same path.
4. **The index is rebuilt** from the default branch only, by the repository's own job, and signed. A pull request never edits `index.json`.

## The statuses

| Status | Installable | Means |
|---|---|---|
| `pass` | yes | the checks passed and a moderator agreed |
| `review` | yes, shown next to the version | passed, with something a person should read |
| `warn` | yes, shown next to the version | passed, with a warning the repository wants you to see |
| `pending` | **no** | the review is not finished |
| `error` | **no** | the review failed to run; it stays blocked until one passes |
| `malicious` | **no** | the review found it harmful |

`alta search` shows why a version cannot be installed, and `alta pull` refuses it with the same sentence. A version can also be **withdrawn** later, with a reason: it stays in the index so machines learn about it, and nobody can pull it.

## What a review does not do

- It is not what keeps a machine safe: a chart runs nothing. It names actions Alta OS already knows, and the owner sees each one first.
- It does not replace your own judgement: the badge, the services and the plan are in front of you before you say yes. See [Badges](https://docs.os.altasystem.ai/marketplace/badges).
- It does not watch a chart after install: what an agent does at run time is bounded by its permissions and OpenClaw's own sandbox.

## Where it stands

The checks above are how a charts repository reviews. The public charts repository is not open yet; a repository you [run yourself](https://docs.os.altasystem.ai/marketplace/run-a-repository) sets statuses in its `moderation.json`, and everything you list stays `pending` until it does.

**Next:**

- [Badges](https://docs.os.altasystem.ai/marketplace/badges)
- [Report a chart](https://docs.os.altasystem.ai/marketplace/report)
- [Run a charts repository](https://docs.os.altasystem.ai/marketplace/run-a-repository)
