| 1 | --- |
| 2 | type: outcome |
| 3 | id: oc-87deec8 |
| 4 | status: open |
| 5 | title: "Host cosmo with its verification, automation, and deployment needs met" |
| 6 | created: 2026-07-31 |
| 7 | blocked_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 | |
| 12 | Cosmo can move its canonical origin to the valley when required checks still gate its changes, its |
| 13 | automation continues to work, its machines can deploy without reading GitHub, and its durability is |
| 14 | established. |
| 15 | |
| 16 | Cosmo configures five machines, including the host serving the valley. Its migration therefore |
| 17 | requires 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 | |
| 41 | The existing attestation and integrator implementations supply part of the verification path. |
| 42 | [[dcr-f41f718]](../decisions/dcr-f41f718-declared-verification-policy.md) defines policy |
| 43 | composition, and [[bd-eaefe82]](../bugs/bd-eaefe82-check-definitions-come-from-the-branch.md) |
| 44 | identifies the remaining check-definition boundary. |
| 45 | |
| 46 | The 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 | |
| 51 | The [roadmap](../../design/roadmap.md) places attestations and integration in Phases 2 and 3, and |
| 52 | effectful automation in Phase 5. The migration needs the relevant capabilities, even if the minimum |
| 53 | implementation is smaller than those phases' full scope. |
| 54 | |
| 55 | Some work may remain entirely in cosmo. Repointing fetches is a configuration change if deployment |
| 56 | control stays there. Building a general valley deployment controller is a separate scope choice. |
| 57 | |
| 58 | A deliberate interval with weaker checks would need an explicit decision. The consequence is |
| 59 | especially significant for cosmo because integration can be followed by automatic deployment to |
| 60 | several machines. |
| 61 | |
| 62 | ## Recovery |
| 63 | |
| 64 | Cosmo can change the host that serves its own repository. A bad SSH, networking, or host |
| 65 | configuration change could prevent normal access needed to submit a repair. |
| 66 | |
| 67 | Recovery therefore needs to remain possible from a clone, the independent backup, and the machine's |
| 68 | console or other recovery access. [[oc-9949561]](oc-9949561-push-replication.md) records the initial |
| 69 | backup and restore exercise. |
| 70 | |
| 71 | ## Relationship to S1 |
| 72 | |
| 73 | This outcome depends on [[oc-f3bcfd0]](oc-f3bcfd0-s1-holds.md), which establishes the initial |
| 74 | hosting and durability workflow. S1 requires a repeatable migration and restore runbook; it does not |
| 75 | require cosmo to have migrated already. |
| 76 | |
| 77 | The dependency remains in this direction so the initial durability outcome does not wait on cosmo's |
| 78 | additional automation requirements. |