The bus publishes ref-updated and nothing subscribes. A valley host today has no place to put a
program that reacts to a project's events, and no place to put a program that runs on a schedule.
Automation a project depends on therefore has nowhere to land at migration, and — the sharper half
of this — the automation it leaves behind on the GitHub mirror does not merely stop working. It
silently destroys its own output.
cosmo carries three bots, and they are two different shapes:
update-klaus.yml and update-the-valley.yml fire on
repository_dispatch and bump exactly one flake input each. Their input is an upstream push. That
is precisely what ref-updated already carries (schema/events.cue) —
the event exists, the subscriber does not.update-flake-lock.yml runs nightly on cron, does a full nix flake update, opens
a pull request, and enables auto-merge on it. Its input is a clock. Nothing on the host owns a
clock that can start work inside a project.The reactive shape currently runs through GitHub even for a repo whose origin is already
sovereign. the-valley's mirror push triggers its own .github/workflows/notify-cosmo.yml, which
sends a repository_dispatch to cosmo, which opens the bump PR. Migrating cosmo moves the sink of
that chain onto the valley host while the relay in the middle is still a GitHub Action reacting to a
mirror push. The chain does not survive being cut in one place.
A publication mirror receives main and the tags and nothing else; every other head found there is
deleted on the next push ([[dcr-24d62f7]]
(dcr-24d62f7-publication-mirror-not-review-queue.md)).
Applied to a bot that writes to the mirror, that invariant has two consequences:
main is replicated with a forced refspec, so a bot pull request that does auto-merge on the
mirror is overwritten by the next push from the primary. The bump is reported as merged and then
is not there.Both failures are quiet. The bot's own run succeeds. Removing these workflows is therefore part of the migration itself, not cleanup that can follow it. The general form: a publication mirror is a strictly downstream surface, and anything that writes to one loses its work without being told.
Something on the host that holds credentials, acts, and records what it did — the actuator shape in
[[ida-f1b39e8]]
(ida-f1b39e8-outbound-effects-pass-through-an-actuator.md).
The effects these bots need are small and enumerable: edit flake.lock, and request integration of
the result. That is a good first vocabulary precisely because it is short.
This is roadmap Phase 5 territory — the first phase in which anything subscribes to an event and acts on it.