vela-cli 0.940.4

The vela command-line tool: build, check, sign, replay, and publish scientific frontier state.
Documentation
<p align="center">
  <img src="assets/brand/vela-readme-hero.jpg" width="960" alt="Vela connects exact scientific evidence, verification, decisions, and standing through Git history.">
</p>

<h1 align="center">Vela</h1>

<p align="center">
  <strong>Version control for scientific state.</strong>
</p>

<p align="center">
  <a href="https://www.vela.space">Website</a> ·
  <a href="https://app.vela.space">Observatory</a> ·
  <a href="docs/QUICKSTART.md">Quickstart</a> ·
  <a href="docs/PROTOCOL.md">Protocol</a> ·
  <a href="docs/THREAT_MODEL.md">Security</a>
</p>

---

Research already has tools for code, papers, data, and computation. Vela
tracks the missing state between them: what is claimed, what evidence supports
it, what was independently verified, what was accepted, what was corrected,
and why the current result stands.

With Vela you can:

- inspect one scientific state from exact Git bytes and full roots;
- start bounded work without receiving authority;
- submit portable, authenticated evidence;
- retain verifier observations without treating them as acceptance;
- make one exact authorized Decision; and
- replay how every Claim reached its current Standing.

## How it works

```text
workbench
   │
   ├── Attempt ── Submission ─────────────┐
   │                                      │
verifier ── Verification Record ──────────┤
                                          ▼
                                 pending Proposal
                                          │
                                authorized Decision
                                          │
                                          ▼
                                    Event + Standing
                                          │
                                          ▼
                                 read-only Observatory
```

Vela keeps four boundaries explicit:

1. **Git preserves bytes and ancestry.**
2. **A Submission preserves producer intent and evidence.**
3. **A Verification Record reports one scoped check.**
4. **Only an authorized Decision changes Standing.**

A verifier pass is not scientific acceptance. Git publication is not
scientific acceptance. A signature proves control of a key over exact bytes;
it does not prove that a Claim is true.

## Quick start

Vela is currently a source candidate. Build the exact repository revision:

```bash
git clone https://github.com/vela-science/vela.git
cd vela
cargo build --release
./target/release/vela --help
```

Create and inspect a bounded Frontier:

```bash
./target/release/vela init ../my-frontier \
  --name "Bounded question" \
  --scope "Does X hold under Y?"

./target/release/vela status ../my-frontier --json
./target/release/vela doctor ../my-frontier --all
```

`init` creates a Profile v2 bootstrap, not scientific authority. `status` and
`doctor` report the uninitialized authority boundary without inventing an old
event log. A fresh Frontier administrator can establish the repository writer
with one dedicated Ed25519 identity already loaded in the normal OpenSSH
agent:

```bash
./target/release/vela authority init ../my-frontier \
  --reason "Establish the repository writer for this bounded Frontier." \
  --json
```

The resulting sequence-one authority-record root must be distributed through
an independent trusted channel.

## Typical workflow

```bash
vela status . --json
vela next . --limit 1 --json
vela start <target> --frontier . --as agent:<name> --json

# Produce the bounded artifact and run the declared verifier.

vela submit --frontier . \
  --attempt <vat_id> \
  --claim "<bounded result>" \
  --type computational \
  --replayability exact \
  --artifact <path>:<kind> \
  --caveat "<scope limit>" \
  --as agent:<name> \
  --json

vela verification import . verification.json \
  --as verifier:<name> \
  --json

vela review show . <vpr_id> --json
vela check . --strict --json
vela why . <claim_id> --json
```

`submit` registers authenticated producer input and a pending Proposal. It
does not create a Verification Record, Decision, Event, or accepted Standing.

## Command surface

The ordinary CLI is intentionally small:

```text
init status next start submit show why review check reproduce log doctor
```

Current advanced surfaces:

```text
claim id agents config verification authority target-index repository
```

Run `vela help advanced` for the grouped contract. `repository` is read-only:
it verifies the signed current origin and active repository.

## Repository model

A Frontier is an ordinary Git repository. Its canonical state is composed from
typed, content-addressed objects and an append-only repository-authority
history. Generated indexes, Web pages, databases, graphs, and materialized
views are disposable readers.

The portable interoperability boundary is the Submission, not a Vela-internal
Event. Workbenches can emit Submission bytes without importing the Vela
runtime. Verifiers can emit scoped Verification Records without receiving
review or repository authority.

## Security model

Repository authority is a service identity. It records the authenticated
principal, authorization decision, semantic action, exact read set, and
canonical write. It does not replace scientific judgment.

- Producer identities can authenticate bounded work only.
- Human semantic actions are direct `review accept` or `review reject`
  commands.
- Vela reads no human seed file and ships no custom signer.
- The OpenSSH agent signs the exact repository-authority record.
- Preflight or signing failure creates no committed transaction.
- Consumers pin the sequence-one authority-record root independently.

See [Authority and attribution](docs/SIGNING.md) and the
[threat model](docs/THREAT_MODEL.md).

## Development

Requires a current stable Rust toolchain.

```bash
cargo check -p vela-cli
cargo clippy -p vela-cli --all-targets -- -D warnings
python3 conformance/verify.py
```

Use focused tests for ordinary changes. The deterministic release union runs
once per actual release boundary.

## Documentation

- [Quickstart]docs/QUICKSTART.md
- [CLI contract]docs/CLI.md
- [Protocol]docs/PROTOCOL.md
- [Authority and attribution]docs/SIGNING.md
- [Verification Records]docs/VERIFICATION.md
- [Terminology]docs/TERMINOLOGY.md
- [Threat model]docs/THREAT_MODEL.md
- [Current repository epoch ADR]docs/adr/0022-current-repository-epoch-and-legacy-runtime-retirement.md
- [Native current repository genesis ADR]docs/adr/0023-native-current-repository-genesis.md

## Project status

Vela is pre-1.0. All controlled public Frontiers use the current repository
object model. Existing signed predecessor epochs remain exact read-only
origins; newly created Frontiers use native current genesis. Historical Git
revisions preserve earlier contracts, and the current binary exposes no
migration writer.

## License

Code is dual-licensed under Apache-2.0 OR MIT. The Vela name and marks are
trademark rights reserved; see [`assets/brand/LICENSE`](assets/brand/LICENSE).