This roadmap orders the work on the-valley, cosmo and klaus. cosmo is the operator's NixOS fleet configuration and the-valley's reference deployment. klaus is the agent runner. The order closes security holes before it gives agents more autonomy.
The roadmap gives no dates. Each step says what it unlocks. What runs today is in architecture.md, and the gates and their checks are in security.md. Purpose and principles are in purpose.md.
| Step | Milestone | Status |
|---|---|---|
| 1 | Close present-day holes | Done |
| 2 | M3: agent isolation | Done |
| 3 | M5: cosmo on the valley | Next. The design is in review |
| 4 | M1-C: signed releases and touch-gated approvals | Queued |
| 5 | M6: klaus on the valley | Queued |
| 6 | M7: throughput and research | Ongoing, after step 5 |
M2 (real builds, a binary cache, promotion and canaries) and the rest of M4 (the-valley's refocus) are under Further work below. The plan gives them no position in the sequence.
This step closes particular paths from an agent to a host:
sigverify checks OpenSSH signatures, including the hardware key's presence
bit. It is on main and not wired to anything yet.request grant.Unlocks: an agent's approval does not merge a change by itself, and a failed activation rolls
back or holds. A merge to cosmo's main on GitHub still deploys, and patflynn-agent can make one
(see security.md).
Per the cutover record of 2026-10-04 (plan Status), the coordinator and all agents run in the
klaus-env VM on classic-laddie, and the operator's Unix account runs no agents. On GitHub they act
as the patflynn-agent account. On the valley they push as the klaus-env principal, which holds a
push grant and no request grant.
Unlocks: the valley's server-side gates bind agents whether or not the agents follow the rules.
An agent cannot file an integration request, because its principal does not hold request.
cosmo is hosted on the valley, with GitHub as a mirror. The design is in review.
Unlocks: cosmo changes land only through the integrator, so patflynn-agent loses its path to
cosmo's main on GitHub. cosmo work continues while GitHub is unavailable.
The archive records two traps for a second project on the valley: ida-62a7a3b (GitHub bots left running on a mirror) and ida-a0e5d03 (GitHub refuses one deploy key on two repositories).
This step is rebuilt on sigverify. It has two halves.
main. Hosts never track main. The
same check covers the hosts on system.autoUpgrade and the work profiles, or those paths retire.request grant
moves to the operator's ssh:valley-approve YubiKey keys, so filing a request takes a touch. A Go
valley approve signs the repository, the change, the candidate commit, the target and the policy
snapshot, with batching. The integrator enforces approvals per path class. By default the
approval-required classes are governance, policy, identity and check definitions. docs/ is an
approval-required class by plan decision 10, and this rework is where that is enforced.Unlocks: landing on main and deploying to a host become separate acts, each signed by the
operator. Agents can then hold request for low-risk paths, while infrastructure changes still need
a touch.
valley request with Change-Id and
Klaus-Run trailers, and paused runs checkpoint to valley refs.Unlocks: human and agent work on cosmo and the-valley with no GitHub dependency, and a report of where agent wall-clock time goes.
Unlocks: more accepted changes per human touch, measured against unchanged acceptance criteria.
cosmo-promote runs in
the release environment. Rollouts go through role canaries and soak periods. /srv/git gets its
own ZFS dataset with snapshots.policy/project/policy.cue).valley request produces the evidence before human review.bin/valley, integrator/, identity/ and attest/ become one Go binary, and SSHSIG with
sigverify replaces the custom note format.stoned-flynn stops outliving
its registry expiry.main". Git and main stay the substrate.klaus-env is a declared NixOS VM.klaus-env memory size. The VM's memory is too small for a full nix flake check of
cosmo.