gunk-dev/the-valley

ida-7638082-host-has-no-check-runner.md

source06e50fc2f601main's published tip history
2.9 KiB · Rendered
1---
2type: idea
3id: ida-7638082
4status: raw
5title: "Preserve pre-integration verification when migrating a project"
6created: 2026-07-31
7source: cosmo readiness analysis, 2026-07-31
8---
9
10# Preserve pre-integration verification when migrating a project
11
12Moving a repository off GitHub must preserve the checks required before its protected branch
13changes. Hosting Git refs and running checks after a mirror push do not provide that guarantee.
14
15The-valley now has attestation and integration mechanisms. Each migrating project still needs the
16right policy, trusted check definitions, execution capacity, and verified enforcement.
17[[oc-87deec8]](../outcomes/oc-87deec8-valley-can-host-cosmo.md) tracks this work for cosmo.
18
19## Cosmo's existing checks
20
21Cosmo's GitHub CI runs formatting, `nix flake check`, dry-run evaluation of three NixOS
22configurations, and dry-run evaluation of four Home Manager configurations. A separate workflow runs
23zizmor against workflow definitions.
24
25The NixOS matrix covers classic-laddie, makers-nix, and johnny-walker. Weller and klaus-worker-0 are
26outside that matrix. A dry run establishes that derivations can be evaluated and dependencies
27resolved; it does not establish that the configurations build successfully.
28
29Migration planning must distinguish this existing gate from the stronger requirement to build all
30five machines.
31
32Cosmo also defines local pre-commit checks for formatting, private-key detection, and zizmor. Local
33execution is useful, but integration needs evidence that the required checks ran on the relevant
34tree.
35
36## Timing matters
37
38GitHub Actions may still run after the primary publishes to its mirror. Such checks see history that
39has already landed and may already be deployed by convergence.
40
41They can report a problem, but cannot prevent that landing. The migration must put the required
42checks before the protected-ref update.
43
44## Required integration path
45
46[[dcr-f41f718]](../decisions/dcr-f41f718-declared-verification-policy.md) defines how policy selects
47the required checks. [[dcr-0de694f]](../decisions/dcr-0de694f-phase2-attestation-shape.md) defines
48signed evidence of their execution. The integrator must validate that evidence and refuse the target
49update when it is missing or invalid.
50
51The receive boundary must also prevent another writer from bypassing the integrator. All parts are
52needed for the policy to hold in practice.
53
54[[ida-1ec03b1]](ida-1ec03b1-path-scoped-verification-policy.md) explains path-based selection, and
55[[bd-eaefe82]](../bugs/bd-eaefe82-check-definitions-come-from-the-branch.md) addresses which check
56definitions can be trusted.
57
58## Open question
59
60Can a particular project tolerate a deliberately ungated migration interval? That requires an
61explicit decision based on what its changes can affect. The answer for a small documentation project
62does not establish an acceptable answer for a repository that configures and deploys several
63machines.