gunk-dev/the-valley

oc-87deec8-valley-can-host-cosmo.md

sourcea6cfba3ceaf9main's published tip history
4.4 KiB · Rendered
1---
2type: outcome
3id: oc-87deec8
4status: open
5title: "Host cosmo with its verification, automation, and deployment needs met"
6created: 2026-07-31
7blocked_by: [oc-f3bcfd0, ida-7638082, ida-62a7a3b, ida-b037dc9, ida-a0e5d03]
8---
9
10# Host cosmo with its verification, automation, and deployment needs met
11
12Cosmo can move its canonical origin to the valley when required checks still gate its changes, its
13automation continues to work, its machines can deploy without reading GitHub, and its durability is
14established.
15
16Cosmo configures five machines, including the host serving the valley. Its migration therefore
17requires more than creating a bare repository and changing a remote URL.
18
19## Completion criteria
20
21- [ ] Cosmo's canonical repository is hosted by the valley.
22- [ ] Its pre-integration checks are at least as strong as the existing gate, with the intended
23 build coverage made explicit.
24- [ ] Required check implementations cannot be weakened by the submitted branch.
25- [ ] Upstream-triggered and scheduled automation can submit work to the canonical repository.
26- [ ] Workflows that would write only to the publication mirror are retired or redirected.
27- [ ] Upgrade, convergence, and dependency reads use reachable sources that meet the migration's
28 GitHub-independence requirement.
29- [ ] Any retained GitHub mirror has a working credential arrangement.
30- [ ] The established backup and recovery process covers the migrated repository.
31
32## Dependencies
33
34| Area | Work to resolve |
35| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
36| Verification | Select and run the right checks, establish trusted definitions, and verify enforcement; [[ida-7638082]](../ideas/ida-7638082-host-has-no-check-runner.md) |
37| Automation | Replace reactive and scheduled jobs that currently author through GitHub; [[ida-62a7a3b]](../ideas/ida-62a7a3b-reactions-have-no-home.md) |
38| Consumer reads | Move deployment and dependency fetches, with reachability verified for every consumer; [[ida-b037dc9]](../ideas/ida-b037dc9-consumers-read-the-mirror.md) |
39| Mirror identity | Choose credentials for another mirrored repository; [[ida-a0e5d03]](../ideas/ida-a0e5d03-second-mirror-identity.md) |
40
41The existing attestation and integrator implementations supply part of the verification path.
42[[dcr-f41f718]](../decisions/dcr-f41f718-declared-verification-policy.md) defines policy
43composition, and [[bd-eaefe82]](../bugs/bd-eaefe82-check-definitions-come-from-the-branch.md)
44identifies the remaining check-definition boundary.
45
46The linked ideas remain blockers until their design is resolved under the lifecycle rules in
47[[dcr-593d3d1]](../decisions/dcr-593d3d1-ideas-are-transitional.md).
48
49## Sequencing
50
51The [roadmap](../../design/roadmap.md) places attestations and integration in Phases 2 and 3, and
52effectful automation in Phase 5. The migration needs the relevant capabilities, even if the minimum
53implementation is smaller than those phases' full scope.
54
55Some work may remain entirely in cosmo. Repointing fetches is a configuration change if deployment
56control stays there. Building a general valley deployment controller is a separate scope choice.
57
58A deliberate interval with weaker checks would need an explicit decision. The consequence is
59especially significant for cosmo because integration can be followed by automatic deployment to
60several machines.
61
62## Recovery
63
64Cosmo can change the host that serves its own repository. A bad SSH, networking, or host
65configuration change could prevent normal access needed to submit a repair.
66
67Recovery therefore needs to remain possible from a clone, the independent backup, and the machine's
68console or other recovery access. [[oc-9949561]](oc-9949561-push-replication.md) records the initial
69backup and restore exercise.
70
71## Relationship to S1
72
73This outcome depends on [[oc-f3bcfd0]](oc-f3bcfd0-s1-holds.md), which establishes the initial
74hosting and durability workflow. S1 requires a repeatable migration and restore runbook; it does not
75require cosmo to have migrated already.
76
77The dependency remains in this direction so the initial durability outcome does not wait on cosmo's
78additional automation requirements.