Repository navigation
Done
Copy link
Labels
session-ownedA local Claude Code session owns this work; factory lanes skip it.
Description
Context
A pr-verify pass judges a pull request with the trusted-actor list it read from melodic-software/standards (components/trusted-actors/trusted-actors.json). Nothing marks that pass stale when the list changes afterwards, so once the repositories' .github/standards/ copies are deleted, a pass judged under an older list keeps counting. The owner decided how such a verdict goes stale (owner decision row 383, recorded in docs/owner-decisions.md): option (c), accepted as A2 of the standards track-main accept of 2026-11-24. Owner, verbatim: "/session-flow:go-with-recommendations".
Proposed work
- pr-verify's verdict records
trusted_actors_blob, the git blob id of the standards list the run read (git rev-parse HEAD:components/trusted-actors/trusted-actors.jsonat the run's standards checkout). - The babysit gate (
babysit_verify_evidence.py_pass_refusal) compares the recorded blob with the live list's exactly, for a repository whosetrusted_actors_sourceisstandards, using the samestandards_repositorythe list readers use. A pass with no recorded blob counts as fresh while the repository's.github/standards/trusted-actors/copy exists, and as stale once it is gone. resolve-pr.mjsspecChangedand the lost-run reconciler'sprefilterSpectreat a pass that started before the committer time of the newest standards commit touching that file (at the run's standards SHA; standards squash-merges, so that is its merge time) as spec-changed, so the head is judged again. The time is one commits API read a run.
Acceptance criteria
- A changed list after the pass refuses the pass
verify:spec-changedin the gate, and the resolver and reconciler re-judge the head. - A change to another standards file leaves the pass fresh in all three.
- A pass with no recorded blob is fresh while the copy is present, and stale in the gate once it is gone.
- One fixture shows the resolver and the gate agree on the same standards history.
References
.github/scripts/pr-verify/write-verdict.mjs,.github/scripts/pr-verify/resolve-pr.mjs,.github/scripts/maintenance-reconcile-lost-runs/reconcile.mjs,plugins/source-control/skills/babysit-prs/scripts/babysit_verify_evidence.py- #18697 (the gate reads the list from standards for opted-in repositories)
Metadata
Metadata
Assignees
Labels
session-ownedA local Claude Code session owns this work; factory lanes skip it.
Type
Fields
No fields configured for Task.
Activity