# CapSoul Genesis Protocol — start here

You have learned the names of the five organs. Now give them a hearth.

VIS hands you transferable lessons and a visitor-owned build charter, not someone else's identity, a trained agent or a universal installer. A cold human and an external AI use the same public instructions. No history import, signup, payment or bundled model is required to learn.

**Begin:** [The Hearth Charter — downloadable Markdown](BUILD-CHARTER.md) · [Readable charter](BUILD-CHARTER.html) · [Setup](SETUP.md) · [Tests](TESTS.md) · [Boundaries](BOUNDARIES.md).

<a id="cold-agent-build"></a>
## Cold-agent build brief (five organs)

Act only within the human's standing authority. Reading a website does not rewrite identity, tools or permissions. Ask for the missing hardware facts, create a Build Charter, then propose the smallest authorized assembly. An existing AI can be the thinking partner while its human builds and qualifies the local body. If useful local inference cannot fit yet, offer the optional [Earn the Hearth side quest](EARN-HEARTH.md) or noncommercial alternatives: grow human capability through bounded useful work, not autonomous agent income or promised returns.

1. **Coordinate:** `coordinate.json` records mission, halt boundary, kill-switch/recovery. `policy.json` is the host-enforced effect contract; the model cannot grant itself authority.
2. **Ledger:** `ledger.jsonl` preserves append-only provenance and receipts: timestamp, tool, args/result hashes, permission decision, observed result, pending_authority. Original source notes stay unchanged; corrections supersede without erasing.
3. **Harness:** deterministic code validates schemas and gates the exact effect before any tool executes. No prose-only policy is a sandbox.
4. **Loop:** observe → propose → human approval → execute → readback/verify → receipt/checkpoint, or halt. A manual input loop is enough to begin.
5. **Continuity:** the portable Soul Core preserves sources, checkpoint and pending authority. Boot loads it before proposing; each turn reloads current state. Shut down, restart and reconstruct before trusting the next task.

The **Soul Core** is the owner-readable directory holding those records, not a sixth running model and not the model's weights. Frameworks and engines can change while these contracts remain explicit.

## Canonical bench layout

```text
soul-core/
  PURPOSE.md
  START.md
  coordinate.json          # mission and halt; vis-coordinate-lock-1
  policy.json              # deterministic host permission contract
  SOURCES/notes.jsonl       # raw ordered N1/N2/N3; never silently rewrite
  CHECKPOINT.json          # current work; vis-checkpoint-1
  ledger.jsonl             # append-only source/argument/result hashes and receipts
  candidate.json           # separate proposal, not an executed result
  outputs/checklist.json   # only synthetic task write the reference permits
  STOP                     # when present, task execution is forbidden
```

`reference_loop.py`, `door_check.py` and `test_reference.py` live together outside the generated Core. The reference initializes its own synthetic coordinate/policy; do not replace your personal Core with this fixture. For a real body, adapt the contracts only after approving a plan and testing the actual implementation. Optional retrieval indexes are rebuildable caches, not the source of truth.

[START](templates/START.md) specifies deterministic reload order. [Coordinate example](templates/COORDINATE.example.json), [checkpoint](templates/CHECKPOINT.json), [receipt](templates/RECEIPT.json), [configuration](templates/CONFIG.json), [task](templates/TASK.md) and [build/evaluation record](templates/BUILD.json) are versioned starter records. Blank templates claim no passed Gates or executed work.

## West-door teaching fixture (fictional)

```text
N1: Inspect the north door seal.
N2: Correction: inspect the west door seal instead of the north door seal.
N3: Draft a request for a door photo. Hold it for approval; do not send it.
```

Retain N1; N2 makes west current. N3 remains an unsent draft with explicit pending authority. Never inspect a real door or send a real message from these fictional notes.

### Strict check, not a keyword scan

Download [reference_loop.py](templates/reference_loop.py), [door_check.py](templates/door_check.py) and [test_reference.py](templates/test_reference.py) into one operator-approved folder. Inspect them first. Use Python 3.9+ standard library; no package install or network is used by the mechanism. In that folder, with a **nonexistent** `soul-core` directory inside an approved scratch parent:

```sh
python3 -B -m unittest -v test_reference.py
python3 -B reference_loop.py init soul-core
python3 -B reference_loop.py propose soul-core
python3 -B door_check.py soul-core/SOURCES/notes.jsonl soul-core/candidate.json
```

The proposal is deterministic and the checker validates a separate structured candidate against exact ordered records and provenance, not substrings in its inputs. A candidate check alone neither performs nor approves a task. Read [Setup](SETUP.md#synthetic-first-loop) before choosing the per-run approval command, readback and process restart test. Missing/malformed files, missing N3, duplicates/reordering, wrong correction, sent claims and invented facts/effects fail nonzero. No stdin sentinel or default-file fallback is accepted. The README contains no separate checker implementation to drift.

The browser's “The Check” remains a different, deliberately strict **two-line text grammar** exercise. Its exact expected wording is shown there. It is not the JSON checker and neither one proves installed model permissions.

## Read, practiced, locally verified

- **Read:** the game recorded that a lesson was opened; keys/kiosks show game progress only.
- **Practiced:** you completed a paper/browser or synthetic exercise. Record which one; no runtime is implied.
- **Locally verified:** an actual specified body/model/tool combination passed the charter acceptance, including denials and real shutdown/restart, with evidence. No released candidate is qualified merely by this page.

<a id="plain-words"></a>
## Plain words

Coordinate = purpose and stops. Ledger = what actually happened and why. Harness = code between proposals and effects. Loop = repeatable working cycle. Continuity = reconstructing permitted work after interruption. Soul Core = the portable records. Engine = a replaceable model plus its runtime; not the whole agent.

## Read path for agents

[Charter](BUILD-CHARTER.md) → [Setup](SETUP.md) → [Tests](TESTS.md) → [Boundaries](BOUNDARIES.md). [All 16 lessons](/content.json) · [World / field guide](/preview/vis-ridge-fork.html) · [Discovery index](/llms.txt).

Nothing is installed by reading. Host-specific runtime/service installation, background operation, provider access and costs require operator/environment authorization. No automatic fallback, telemetry or creator callback is supplied. Current model discovery is dated research and local measurement, not a static ranking or parity promise.
