| 1 | # Architecture as deployed |
| 2 | |
| 3 | This document describes what the-valley runs today, read from the code. It makes three kinds of |
| 4 | statement. Behaviour is what the code does, cited to the files that do it. A deployment record |
| 5 | reports an observation of a host, and names the record and its date. A guarantee names the flake |
| 6 | check (`checks.x86_64-linux.<name>`) or test that demonstrates it; a statement with no named check |
| 7 | is unchecked. Security and rollouts are in [security.md](./security.md), planned work is in |
| 8 | [roadmap.md](./roadmap.md), and purpose and principles are in [purpose.md](./purpose.md). |
| 9 | |
| 10 | ## Overview |
| 11 | |
| 12 | A valley host keeps bare git repositories and accepts changes to them over ssh. Anyone with a key |
| 13 | may push a topic branch. A protected branch such as `main` accepts a push only from the principals |
| 14 | the project names as its writers. The integrator moves it by landing an integration request. The |
| 15 | integrator lands a request when every check the project's policy requires is covered by a signed |
| 16 | statement that the check passed. |
| 17 | |
| 18 | The parts are: |
| 19 | |
| 20 | - the host module, which installs everything below (`nix/valley-host.nix`); |
| 21 | - the push hook, which decides what a push may write (`valleyhook/`); |
| 22 | - the integrator, one controller per protected project (`integrator/`); |
| 23 | - `attest`, which runs checks and signs the evidence (`attest/`, `note/`); |
| 24 | - the identity compiler, which turns a registry into keys and grants (`identity/`); |
| 25 | - the `valley` command line tool (`bin/valley`); |
| 26 | - `sigverify`, a hardware-key signature verifier that nothing calls yet (`sigverify/`). |
| 27 | |
| 28 | ## The host module |
| 29 | |
| 30 | The NixOS module `services.valley` reads one CUE file, `services.valley.config`. The build vets it |
| 31 | against `schema/valley.cue` and fails on any error (`nix/valley-host.nix`). The file declares the |
| 32 | projects, their mirrors, their protection and the backup policy. Checked by `module-eval` and |
| 33 | `cue-vet`. |
| 34 | |
| 35 | ### Repositories and the git user |
| 36 | |
| 37 | Each project is a bare repository at `/srv/git/<name>.git`. All ssh git traffic logs in as one Unix |
| 38 | user, `git`. The git user's login shell runs `valleyhook shell` (`nix/valley-host.nix`, |
| 39 | `valleyhook/shell.go`). For each session, `valleyhook shell` does three things: |
| 40 | |
| 41 | 1. For a push only, it refuses the session when the hold file `/srv/git/.valley-hold` exists, or |
| 42 | when the converged record `/srv/git/.valley-converged` does not match the running configuration. |
| 43 | Fetches stay open. Both are checked when the session starts, so a push already past this check is |
| 44 | not stopped by a hold created later. |
| 45 | 2. It drops every `GIT_*` variable and any `VALLEY_PRINCIPAL` the client sent. It sets |
| 46 | `VALLEY_PRINCIPAL` from the tag on the authorized-keys entry of the key that logged in. An |
| 47 | untagged or ambiguous key gets no principal. |
| 48 | 3. It runs `git-shell` with the same arguments. `git-shell` limits the session to git's own |
| 49 | commands. |
| 50 | |
| 51 | The sshd `Match User git` block turns off TCP, agent and X11 forwarding and tunnels, and sets |
| 52 | `ExposeAuthInfo` so the shell can see which key logged in. It leaves stream-local (Unix socket) |
| 53 | forwarding on. cosmo adds its own block with `DisableForwarding yes` and `PermitTTY no` (cosmo |
| 54 | `hosts/classic-laddie/default.nix`). Build-time assertions refuse an sshd config that would let a |
| 55 | client set `VALLEY_PRINCIPAL` or `GIT_*` (`nix/valley-host.nix`). Checked by `ssh-e2e` (a real sshd |
| 56 | in a VM), `module-eval` and `valleyhook-unit`. |
| 57 | |
| 58 | ### valley-init and the push hold |
| 59 | |
| 60 | `valley-init` is a oneshot service that runs as git (`nix/valley-host.nix`). It first deletes the |
| 61 | converged record, so pushes are refused while it runs. It then creates any missing repository and |
| 62 | links each repository's hooks. A foreign `pre-receive` hook or any `core.hooksPath` setting is a |
| 63 | conflict. When there is no conflict, it writes the converged record. The record is the first 32 hex |
| 64 | characters of a SHA-256 of the init script. So pushes resume only when every repository's |
| 65 | `pre-receive` hook is this configuration's. A hand-written `post-receive` hook is left in place and |
| 66 | is not a conflict. Checked by `init-e2e` and `ssh-e2e`. |
| 67 | |
| 68 | The hold file belongs to the operator, who creates it to pause all pushes. `valley-init` never |
| 69 | touches it. |
| 70 | |
| 71 | ## What a push may write |
| 72 | |
| 73 | Every repository's `pre-receive` hook runs `valleyhook pre-receive` (`valleyhook/main.go`, |
| 74 | `valleyhook/policy.go`). The hook is default-deny. If any one ref update is refused, the whole push |
| 75 | is refused. Checked by `protect-e2e`, `ssh-e2e` and `valleyhook-unit`. |
| 76 | |
| 77 | | Ref namespace | Who may push | Rule | |
| 78 | | --------------------------------------------------- | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 79 | | `refs/heads/*` (topic branches) | Any key | Create, update and delete. | |
| 80 | | Protected refs (default `refs/heads/main`) | Principals in `protection.writers` (default empty) | The integrator moves them on disk. cosmo names `integrator` as a writer of both its projects. | |
| 81 | | `refs/the-valley/attestations/<tree>/<key-hash>` | Any key | Create only. The ref must name a tree of notes within size bounds, and each note must verify under a known signer and be about that tree (`valleyhook/attestation.go`). | |
| 82 | | `refs/the-valley/integration-requests/<target>/<c>` | Principals with the `request` grant | Create, update and delete. | |
| 83 | | Every other `refs/the-valley/*` | Nobody | This covers the integrator's outcome records. | |
| 84 | | `refs/replace/*`, `refs/notes/*` | Nobody | A replace ref would let git show other content under a watched name. | |
| 85 | | Symbolic refs | Nobody | | |
| 86 | | Tags and every other ref | Principals named in a project grant: `grants.<name>: {refs, writers}` (`schema/valley.cue`) | Grant patterns cannot name `heads`, `replace`, `notes` or `the-valley`. | |
| 87 | |
| 88 | The `request` grant comes from two places: the host's declared `services.valley.grants.request` and |
| 89 | the identity compiler's `grants` file. Why replace refs are closed is recorded in |
| 90 | [bd-75c8721](../archive/.the-valley/bugs/bd-75c8721-pushes-could-write-any-namespace.md). |
| 91 | |
| 92 | ## After a push: events and mirrors |
| 93 | |
| 94 | Each repository's `post-receive` hook runs every program in `hooks/post-receive.d/` |
| 95 | (`nix/valley-host.nix`). There are two: |
| 96 | |
| 97 | - **The bus publisher**, when the bus is on. It publishes one `ref-updated` event for every ref the |
| 98 | push updated, on the subject `valley.git.<repo>.ref-updated`. Checked by `bus-e2e`. |
| 99 | - **The mirror hook**, when the project declares mirrors. It does not push. It writes the push's ref |
| 100 | moves, one `<old> <new> <ref>` line each, as a file in the repository's publish queue, |
| 101 | `valley-publish-queue/`, and returns. A dead mirror therefore never slows or fails a push. |
| 102 | |
| 103 | The integrator moves refs with `git update-ref`, which runs no `post-receive` hook. So it does both |
| 104 | jobs itself for each landing (`integrator/bus.go`). It writes the move to the same publish queue. It |
| 105 | also publishes the `ref-updated` event straight to the bus, with the same payload the bus publisher |
| 106 | would send. It publishes only after the landing is fully recorded: the queue entry written, the |
| 107 | evidence stored and the request consumed. Each publish is stopped after 10 seconds, so a bus that |
| 108 | hangs cannot hold up a landing. Checked by `integrator-e2e`. |
| 109 | |
| 110 | One unit pushes the mirrors: `valley-publish@<project>`, a service that runs as git. A systemd path |
| 111 | unit starts it whenever the project's queue is not empty. Mirrors are a list of URLs |
| 112 | (`schema/valley.cue`). The service lists the queued files and then runs `git push --prune` of `main` |
| 113 | and all tags to each URL. After that it deletes every other branch on the mirror. Tags are copied |
| 114 | whether or not `main` reaches them, refs outside `refs/heads/` and `refs/tags/` on the mirror are |
| 115 | left alone, and the branch deletion is best effort. The push uses the git user's own ssh identity, |
| 116 | which the host provides. Checked by `mirror-e2e`. |
| 117 | |
| 118 | The service deletes the files it listed only after every mirror push succeeds. When a push or a |
| 119 | deletion fails, the service fails and the files stay. systemd then runs the service again after a |
| 120 | delay that grows from 30 seconds to 15 minutes. A run that lasts 15 minutes is stopped with |
| 121 | everything it started. Checked by `publish-e2e`. Because the integrator publishes its events itself, |
| 122 | a mirror outage never delays an event on the bus. |
| 123 | |
| 124 | Having one publisher is what keeps a mirror from being rewound. git reads the local refs before it |
| 125 | contacts the mirror. So when two pushes run at once, one can read an old `main`, stall, and then |
| 126 | force-push that old `main` over a newer one the other pushed meanwhile. systemd never runs two |
| 127 | instances of one unit at the same time, and nothing else pushes the mirrors. A move queued while a |
| 128 | push runs stays in the queue, so the next run pushes the newer `main`. `mirror-e2e` stalls a push in |
| 129 | that window: two pushers at once rewind the mirror, and the service ends at the newer `main`. |
| 130 | |
| 131 | That cosmo's deployed hosts run a publish queue is a deployment record: cosmo #934 merged and laddie |
| 132 | healthy, in the handoff of 2026-10-04. At that point the service also published the integrator's |
| 133 | events, and a push ran its own mirror pusher. |
| 134 | |
| 135 | The bus is NATS with JetStream, listening on `127.0.0.1:4222`. `valley-bus-init` creates one stream, |
| 136 | `valley`, over the subjects `valley.>`, with file storage and NATS defaults. The events are defined |
| 137 | in `schema/events.cue`: `ref-updated`, `integration-succeeded` and `request-stale`. The bus has no |
| 138 | authentication, so nothing treats an event as authoritative |
| 139 | ([bd-d853d9c](../archive/.the-valley/bugs/bd-d853d9c-bus-unauthenticated.md)). The integrator reads |
| 140 | git directly. |
| 141 | |
| 142 | ## The integrator |
| 143 | |
| 144 | Each protected project has one controller, `valley-integrator@<project>`, running as the |
| 145 | `valley-integrator` user in group git (`nix/valley-host.nix`). It makes one pass over the open |
| 146 | requests in order, then sleeps 15 seconds and starts again (`integrator/main.go`, |
| 147 | `integrator/refs.go`). No bound on how long a request waits is checked. |
| 148 | |
| 149 | 1. **Find requests.** A request is a ref `refs/the-valley/integration-requests/<target>/<change>` |
| 150 | that points at the change's head commit. |
| 151 | 2. **Skip what is decided.** The outcome record |
| 152 | `refs/the-valley/integration-outcomes/<target>/<change>` holds the head, the target tip, a hash |
| 153 | of all attestation refs, and the outcome. If the first three still match, the request is skipped. |
| 154 | A `failed` outcome is retried after 10 minutes. |
| 155 | 3. **Build the candidate.** The base is `git merge-base` of the tip and the head. If the base is the |
| 156 | tip, the candidate is the head. Otherwise `git merge-tree --write-tree` builds the tree, and the |
| 157 | integrator commits it with the tip as the only parent. The commit keeps the head's author. Its |
| 158 | committer is the integrator at `integrator@the-valley.invalid`. A conflict makes the request |
| 159 | stale. |
| 160 | 4. **Derive the required checks** (see Policy below). |
| 161 | 5. **Judge the evidence** (see Evidence below). The outcome is `land`, `stale` or `reject`. A stale |
| 162 | request publishes `request-stale`. |
| 163 | 6. **Land.** The integrator signs a transfer statement that records the policy digest and the checks |
| 164 | it relied on. Then it moves the target with compare-and-swap |
| 165 | (`git update-ref <target> <new> <tip>`). That is the commit point. Then it queues the landing for |
| 166 | the publisher, stores its countersigned evidence, deletes the request with compare-and-swap, |
| 167 | publishes `integration-succeeded`, and writes the outcome record. |
| 168 | |
| 169 | Each step is a separate `git update-ref` call. A crash between steps can leave a landing without its |
| 170 | evidence or outcome record. Checked by `integrator-e2e` (scenarios for fast-forward, merge, |
| 171 | conflict, stale evidence, tampered notes, retries and a moved target) and `integrator-unit`. |
| 172 | |
| 173 | ## Policy |
| 174 | |
| 175 | A project's required checks come from three CUE layers, unified as |
| 176 | `floor & templates[type] & project` (`schema/verification.cue`): |
| 177 | |
| 178 | - **The schema**, `schema/verification.cue`, ships inside the `valley` and integrator packages |
| 179 | (`nix/packages.nix`). |
| 180 | - **The floor and templates** come from the owning valley's instance repository, at |
| 181 | `policy/instance/*.cue` on its `main`. `policy/valley` names that repository. A value the floor |
| 182 | writes as `true` is mandatory. A template value written `bool | *true` is a default a project may |
| 183 | turn off. |
| 184 | - **The project layer** is `policy/project/*.cue`, read at the tip of the target branch. |
| 185 | |
| 186 | Both layers are read from integrated tips, never from the change being judged |
| 187 | (`integrator/policy.go`). A path class maps path globs to checks. A change owes the union of the |
| 188 | checks of every class one of its paths matches. A path no class matches owes the `unclassified` |
| 189 | checks. The integrator gets this answer by running `valley checks`, which diffs with renames counted |
| 190 | on both sides. Checked by `policy-deriver` and `cue-vet`. |
| 191 | |
| 192 | The derivation fails closed. A failed read of the diff, the target, a policy layer or the composed |
| 193 | policy makes `valley checks` exit non-zero and print no report. Without that, the failure would read |
| 194 | as an empty list, and an empty list derives a change that owes nothing. The integrator also refuses |
| 195 | output that is not a whole report: no header, no required-checks section, or a required-checks |
| 196 | heading with no checks under it. It believes a report of no changed paths only when git agrees that |
| 197 | the two trees are the same. Checked by `policy-deriver`, `valley-request` and `integrator-unit`. |
| 198 | |
| 199 | A check also declares a `cost`, `quick` by default. A `slow` check takes minutes, or needs special |
| 200 | hardware such as KVM. `valley checks` reads the cost from the composition it derives from. After the |
| 201 | report it prints two lines, `quick:` and `slow:`, each listing the owed checks of that cost. |
| 202 | `valley checks --names` prints the owed check names alone, one per line, and `--cost quick` or |
| 203 | `--cost slow` keeps one set. The integration gate does not read the cost. `[a]sk` runs every owed |
| 204 | check, and the integrator requires evidence for every owed check, whatever its cost. The cost |
| 205 | changes neither which checks a change owes nor what the integrator accepts. Checked by |
| 206 | `policy-deriver` and `integrator-unit`. |
| 207 | |
| 208 | The reasons for CUE here, and for the mandatory-versus-default encoding, are in |
| 209 | [dcr-0f5d9b1](../archive/.the-valley/decisions/dcr-0f5d9b1-cue-config-host-module.md) and |
| 210 | [dcr-f41f718](../archive/.the-valley/decisions/dcr-f41f718-declared-verification-policy.md). |
| 211 | |
| 212 | ## Evidence: attest and notes |
| 213 | |
| 214 | `attest run` runs checks against a commit exported with `git archive` (`attest/run.go`, |
| 215 | `attest/check.go`). A `nix` check builds the flake check's derivation. A `command` check runs a |
| 216 | shell command in the exported tree. If every check passes, `attest` writes a statement per check, |
| 217 | signs it, and stores it under `refs/the-valley/attestations/<tree>/<key-hash>`. |
| 218 | |
| 219 | A statement is line-based text that opens with `the-valley/attestation/v1` (`attest/text.go`, |
| 220 | `schema/attestation.cue`). Its subject is the tree digest. A pure statement records the derivation, |
| 221 | its inputs digest and the output. An effectful statement records the environment and the time of the |
| 222 | observation. The envelope is a signed note: the `sumdb/note` format with Ed25519, implemented in |
| 223 | `note/note.go`. Checked by `attest-e2e`, `attest-conformance`, `attest-schema` and `note-unit`. |
| 224 | |
| 225 | The integrator reads evidence at the head's tree and verifies each note with `attest verify` |
| 226 | (`integrator/evidence.go`). It does not run the checks itself. A required check is met when its note |
| 227 | is signed by a known signer, says the check `passed`, and one of these holds |
| 228 | (`integrator/verdict/verdict.go`): |
| 229 | |
| 230 | - **A pure check, unmoved tree.** The landed tree is the attested tree. No inputs are compared. |
| 231 | - **A pure check, same inputs.** `attest inputs` on the candidate gives the same inputs digest and |
| 232 | derivation hash. `attest inputs` evaluates the derivation and does not build it; evaluation can |
| 233 | still build anything the flake imports from a derivation. |
| 234 | - **An effectful check.** No class that requires it changed between the base and the tip, and the |
| 235 | evidence is younger than the check's `validity` window. |
| 236 | |
| 237 | Checked by `integrator-unit` (the verdict tests) and `integrator-e2e`. |
| 238 | |
| 239 | Check definitions come from the change being judged. `attest` builds the flake checks of the |
| 240 | exported tree, so a change can edit the check it is judged by |
| 241 | ([bd-eaefe82](../archive/.the-valley/bugs/bd-eaefe82-check-definitions-come-from-the-branch.md), |
| 242 | [ida-a9e274c](../archive/.the-valley/ideas/ida-a9e274c-mandated-checks-come-from-the-instance.md)). |
| 243 | the-valley's project layer declares no class for its Go, Nix and CUE paths. Whether the instance |
| 244 | floor adds one depends on qinling's private policy. |
| 245 | |
| 246 | ## Identity |
| 247 | |
| 248 | The identity registry is CUE under `identity/` in the instance repository, read at its `main` |
| 249 | (`identity/registry.go`, `schema/identity.cue`). It declares principals and boundaries. |
| 250 | |
| 251 | - A principal has a kind (`human`, `machine` or `service`), one or more `ssh-ed25519` keys, and |
| 252 | grants. A key may also sign attestations, under a name it declares. |
| 253 | - A grant names a boundary. A boundary has a kind: `git-push`, `registry` or `request`. |
| 254 | - A machine, service or external principal must declare `expires`. From that day on, a successful |
| 255 | compile leaves the principal out of every file. A compile that is refused keeps the previous |
| 256 | files, expired entries included. Keys the host declares statically are outside the registry and do |
| 257 | not expire. |
| 258 | |
| 259 | `valley-identity` compiles the registry every 5 minutes, as git (`nix/valley-host.nix`, |
| 260 | `identity/compile.go`, `identity/render.go`). It writes three files under |
| 261 | `/var/lib/valley-identity/`: |
| 262 | |
| 263 | - `authorized_keys.git`: one line per key of a principal with a `git-push` grant, tagged |
| 264 | `environment="VALLEY_PRINCIPAL=<principal>"`. sshd reads it after the host's declared keys. |
| 265 | - `known-signers`: the keys that may sign attestations, for the hook and the integrator. |
| 266 | - `grants`: one `request <principal>` line per holder of the `request` grant. |
| 267 | |
| 268 | The compiler refuses a registry where no principal holds a registry grant, where one key pushes for |
| 269 | two principals, or where a pushing key matches a host-declared key under a different tag or none. |
| 270 | Keys that only sign are not checked for collisions. It computes everything before it writes |
| 271 | anything, so a refused registry leaves the last good files in place. Checked by `identity-e2e` and |
| 272 | `identity-schema`, and by the Go tests in `identity/identity_test.go`. Why identity is a governed |
| 273 | registry, and why machine keys expire, is in |
| 274 | [dcr-b87f6e8](../archive/.the-valley/decisions/dcr-b87f6e8-identity-is-a-governed-registry.md) and |
| 275 | [bd-8a591dc](../archive/.the-valley/bugs/bd-8a591dc-machine-credentials-never-expire.md). |
| 276 | |
| 277 | ## sigverify |
| 278 | |
| 279 | `sigverify` verifies OpenSSH SSHSIG signatures and signed git tags against an `allowed_signers` file |
| 280 | (`sigverify/`). It exists because `ssh-keygen -Y verify` and `git verify-tag` never check the |
| 281 | hardware key's flags. A key file edited with `ssh-keygen -p -O no-touch-required` signs without a |
| 282 | touch, and those tools accept the signature. |
| 283 | |
| 284 | - The default class, `fido-sk`, takes only security-key signatures. It requires the user-presence |
| 285 | bit. It also requires user verification under `--require-uv` or a `verify-required` signer line. |
| 286 | - The `tkey-signer` class takes an `ssh-ed25519` key marked as a TKey key in `allowed_signers`. The |
| 287 | verifier cannot tell a TKey key from any other ed25519 key, so the mark is trusted at enrollment. |
| 288 | - Plain software keys pass only with `--allow-non-sk` or `--allow-class software`. |
| 289 | |
| 290 | Checked by `sigverify-unit` and `sigverify-e2e`, including a touchless-signature negative test. |
| 291 | Nothing in the-valley or cosmo calls `sigverify` yet. |
| 292 | |
| 293 | ## The valley command |
| 294 | |
| 295 | `bin/valley` is a shell script, also packaged with its schema (`nix/packages.nix`). |
| 296 | |
| 297 | | Command | What it does | |
| 298 | | --------------------- | ------------------------------------------------------------------------------------------------- | |
| 299 | | `valley pending` | Lists branches not merged into `main`, each with its head commit's subject. | |
| 300 | | `valley review <b>` | Shows a branch and offers `[a]sk`, `[r]eject` and `[s]kip`, plus `[b]ase` when it needs a rebase. | |
| 301 | | `valley checks` | Reports the checks a change owes, grouped by declared cost. It runs nothing. | |
| 302 | | `valley status <b>` | Reads the request and outcome record for a branch. | |
| 303 | | `valley tail [subj]` | Subscribes to bus events. | |
| 304 | | `valley replay [dir]` | Publishes one `ref-updated` event per current ref. | |
| 305 | |
| 306 | `[a]sk` runs the owed checks with `attest` in a worktree of the branch head. Then one atomic push |
| 307 | carries the evidence refs and the request ref, with a lease on the request. When the request already |
| 308 | names this head, the push leaves the request ref out. When nothing is owed as well, there is no |
| 309 | push. `[b]ase` rebases the branch in a temporary worktree and pushes it with a lease. `[r]eject` |
| 310 | deletes the remote branch after a prompt. Checked by `valley-cli`, `valley-request`, `valley-status` |
| 311 | and `review-notes`. |
| 312 | |
| 313 | ## The life of a change |
| 314 | |
| 315 | 1. An author pushes a topic branch. The hook accepts it, the bus gets `ref-updated`, and the mirrors |
| 316 | prune it. |
| 317 | 2. The operator runs `valley review <branch>` and chooses `[a]sk`. The owed checks run, and one push |
| 318 | files the evidence and the request. The hook verifies each note and the `request` grant. |
| 319 | 3. On its next pass the integrator builds the candidate, derives the policy, judges the evidence, |
| 320 | and lands or refuses. |
| 321 | 4. On a landing, the publisher sends `ref-updated` to the bus and pushes `main` and tags to the |
| 322 | mirrors. `valley status <branch>` shows the outcome. |
| 323 | |
| 324 | ## How cosmo deploys it |
| 325 | |
| 326 | cosmo's `hosts/classic-laddie/default.nix` imports `the-valley.nixosModules.valley-host` and points |
| 327 | `services.valley.config` at `hosts/classic-laddie/valley.cue`. It turns on the bus, the integrator |
| 328 | and the identity compiler, with the private repository `qinling` as the instance project. The host |
| 329 | declares a small set of static keys beside the compiled registry keys. |
| 330 | |
| 331 | `valley.cue` declares two projects, `the-valley` and `qinling`. Both protect `main`. `the-valley` |
| 332 | mirrors to GitHub at `gunk-dev/the-valley`, and `qinling` has no mirror. The mirror push uses the |
| 333 | git user's ssh key, from an agenix secret. Backups are a nightly restic run of `/srv/git` to an |
| 334 | offsite Storage Box over sftp, kept 7 daily, 4 weekly and 6 monthly. The backup target still needs |
| 335 | provisioning, so the run logs a failure until it is set up. |
| 336 | |
| 337 | ## Not deployed or not wired yet |
| 338 | |
| 339 | | What | State | |
| 340 | | ------------------------------------------- | -------------------------------------------------------------------------------- | |
| 341 | | `sigverify` | On `main` and tested. Nothing calls it. | |
| 342 | | Hardware-backed keys in the registry | `schema/identity.cue` accepts `ssh-ed25519` keys only. | |
| 343 | | SSHSIG evidence | Attestations use the signed-note format. | |
| 344 | | Approvals | The integrator checks evidence only. No approval is required for any path class. | |
| 345 | | A crash-safe landing ledger | Landing is several separate ref updates. | |
| 346 | | Policy and registry snapshot in the outcome | The outcome record holds the head, the tip and an evidence hash. | |
| 347 | | Registry compile on a qinling landing | The compiler runs on its 5-minute timer only. | |
| 348 | | Bus authentication | The bus listens on localhost with no authentication. | |
| 349 | | Other projects on the valley | cosmo and klaus are not hosted on the valley. | |