The outcome record at `refs/the-valley/integration-outcomes/<target>/<change>` holds the head, the target tip, the hash of the attestation refs and the decision, and nothing about why. On a stale, rejected or failed change, `valley status` says "The stored outcome has no detailed reason. Ask the instance operator for the integrator report." (`status/render.go:13`). The integrator knows the reason when it decides: a merge conflict and its paths (step 5), or the required checks whose evidence did not count and the rule each missed (step 7: unmoved tree, same inputs, the effectful window, an unknown or restricted signer, a result other than `passed`).
A reader who can push but cannot read the host's journal can't tell a conflict from missing evidence, or which checks to build. Example, 2026-10-27: a change approved with full evidence went stale after another change landed edits to files its checks read. The merge was clean. Working out that the web unit and prose checks' inputs had moved took reading the docs and the evidence refs by hand.
A fix:
- The outcome record carries a bounded reason: for a conflict, the conflicting paths; for missing evidence, each required check without counting evidence and the rule it missed. A capped list with a count of the rest keeps the record small.
- `valley status` prints it, and `--json` carries it.
Fixed when `valley status` on a stale change names its conflicting paths or its checks without transferable evidence, checked by `valley-status` and `integrator-e2e`.
Related: oc-e527f0b (the outcome records the policy and registry snapshot) changes the same record.
Comments
contributor2026-10-31 14:15 UTC
Another case, 2026-10-31. A change touching policy/project/policy.cue was approved, then went stale when an unrelated change landed first: the two share no path. The outcome said only stale. The cause was policy, not a conflict: the policy class carries exact, so its approval carries across no landing. The restacker recorded a clean new version, which needed a fresh approval. A reason naming the carry rule (here, exact for the policy class) would have told the operator that re-approving the clean restack is the whole fix.