gunk-dev/the-valley
the-valley:oc-82e321boutcomedone

The integrator accepts evidence for the tree that would land, so an approval lands when the newest version's checks pass

State
done
Created
2026-11-02 by contributor
Changes
  • valley:the-valley/ovrmolsxponozxpryormkzuvznypvvqz

Body

An approval is an integration request at one head, X. The integrator lands X's delta onto whatever main is when it judges the request (integrator/refs.go, materialize). So an approval carries across any clean rebase. Carry modes are parsed but not enforced: integrator/policy.go "reads the mode and does not act on it".

But the integrator reads evidence only for X's own tree: collectEvidence(wt, r.head, attested). On a moved landing it reuses X's evidence only when the checks' input closures are unchanged. The restacker's newest version Y is X's delta rebased onto the same main, so Y's tree is the tree that would land. The host's worker builds Y. The integrator never reads evidence for the landing tree, so an approval of X whose check inputs moved waits forever.

The operator, 2026-11-02: "I see my approval of a change and checks passing as orthogonal", and approval should carry over a rebase unless it conflicts.

Outcome, the smallest change under M8: on a moved landing, the integrator also collects evidence for the tree that would land, and accepts it directly for each required check. That tree is exactly what lands, so this needs no transfer. X's own evidence still transfers as today when closures match. Both sources must verify under the same signer rules. `valley changes --json` exposes a stale outcome's reason ("conflict" or "evidence"), so clients can show a request that is waiting for evidence as waiting, not failed. Together with valley approve filing at once (oc-b0c09f2), an approval lands within seconds of the newest version's evidence completing.

Comments

  1. contributor2026-11-03 17:45 UTC
    Change valley:the-valley/ovrmolsxponozxpryormkzuvznypvvqz landed: v8 as ebf24df4d772668e5d0d50f7909f6a8fa4b818e4.
    
    Every change the knot links has landed and it has no active children, so klaus set it done.