Large end-to-end checks are slow and rarely catch a defect at the gate, yet today they gate every change that touches their triggers. Instead, a project can declare some checks as watches: they don't gate integration, and the host runs them on main after landings, coalescing a burst of landings into one run and triggered by events or declared state criteria rather than a clock.
Their results become project-level state: a single view of main's health that people and agents read, a failing watch says which landings it covers, and the project decides what a red watch means (a knot, a hold on further landings of the affected class, or a revert).
Done when a project can move a check from gating to watching, the host runs it on main as described, and main's health is visible in one place.
Comments
contributor2026-11-06 01:01 UTC
Decisions:
- Names: a class declares follows: beside requires:. Checks a change requires gate it; checks that follow run on main after it lands. Main is clear (every due follow check passed), clearing (some are due or running, none failed) or muddy (a follow check's latest run on main failed). Tao Te Ching 15: let muddy water be still, and it slowly clears; follow checks run when nothing waits on the worker.
- First slice, kept small: follows: in the schema, and derive leaves follow checks out of what a change requires (a floor's requirement stays mandatory); the worker runs due follow checks on main's tip only when no ready change waits on checks, with the existing attest run, so passes publish as ordinary attestations on main's tree and one run covers every landing since the last pass; main's state is computed on read from those attestations and worker telemetry, shown as one line in valley pending. No new refs, record types or failure publishing.
- Later, if the line proves useful: durable failure records in one replaceable state ref per project (passes stay attestations), then holding landings in the classes a muddy check follows unless the incoming change carries a passing run of it.
- Moving the-valley's own slow checks from requires to follows is a separate change, after hosts run a valley that reads follows:, so an older integrator never reads a policy field it doesn't know.
contributor2026-11-06 14:50 UTC
Slice 1 landed its policy half only: `follows?` on a class, `derive` leaves follow checks out of the required set and returns them as due, and `valley-checks/v1` lists them. The worker half stopped on the evidence layout.
Blocker: an attestation ref is `refs/the-valley/attestations/<tree-digest>/<key-hash>`, one per tree per signer, and create-only over SSH. A clean landing leaves main's tip at the tree the worker already attested at the gate, so the worker's ref for that tree exists, and a follow pass on main's tip has nowhere to go. The same limit hits any later evidence from one signer for one tree, such as a check a policy adds after the gate ran.
Options:
1. Append-only update of a signer's own ref: an update is accepted when the new tree keeps every existing note byte-for-byte and every added note verifies under the same key. Evidence still never changes or disappears. This mirrors the integrator's existing local write, which adds its notes to its own ref and keeps the rest.
2. A second worker key for follow runs: a new principal per host, in the registry and in policy.
3. A further ref per run, such as a check-set digest in the leaf: readers and the hook learn a second place to look.
Recommendation: 1. It keeps one place to look, adds no keys, and states the invariant that matters (published evidence is never altered or withdrawn) instead of the stronger create-only rule.
contributor2026-11-06 14:58 UTC
Decision: option 1, add-only. A push may add notes to an existing attestation ref and may never change or remove one; the invariant is that published evidence is never altered or withdrawn. Built in two changes: the evidence rule first (hook, publishing, readers, docs), then the worker's follow runs and main's clear/clearing/muddy line on top of it.
contributor2026-11-06 17:05 UTC
Change valley:the-valley/ooxtvqtxmynounutzwwsqvzvvtsllnok landed: v2 as 818bd30431ea3af78435cca36562ef2d689612b1.
klaus leaves the knot in-progress: not every change it links has landed: valley:the-valley/nplmuyuqnptpxpnsunlmqluxuzkprppp (ready).
contributor2026-11-06 21:07 UTC
Change valley:the-valley/nplmuyuqnptpxpnsunlmqluxuzkprppp landed: v2 as 42401ff8454f04eab4d3900ba5d0e4f5d7b53b91.
Every change the knot links has landed and it has no active children, so klaus set it done.
contributor2026-11-06 21:08 UTC
Reopened: nplm landed the add-only evidence rule, and the worker half remains: follow runs on main after landings, and main's clear/clearing/muddy line in valley pending. The outcome is done when those land.
contributor2026-11-08 21:32 UTC
Change valley:the-valley/orlxoopkuzsxyzmtotpnuskzutoqwvmw landed: v4 as af38e23853ba07567e0e69f5212b4b6e6f29f95b.
Every change the knot links has landed and it has no active children, so klaus set it done.