feat(pr-review-loop): infra-media joins the loop #62
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/workshop!62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/pr-loop-infra-media"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
olympus/infra-mediais on the loop: a PR opened there bybot-efestoorpitis reviewed automatically, and the fixer may push to its branch.Config(allowed_repos,autofix_repos)d2aec23ereview/*labels are org-scoped andexclusivefor the repo;provision-labels.sh olympus/infra-mediareported all seven present and wrote nothingpull_request+pull_request_label) already covers the repo; no repo-level hook installedbot-minosandbot-efestowereread; both nowwrite, read back from/collaborators/<user>/permissionEvidence
decide.test.js133/133 andrecovery.test.js165/165 against this branch's export; the export parses as 49 nodes with no dangling connection targets.d2aec23e;get_workflow_detailsreadsversionId == activeVersionId == d2aec23eandactiveVersion.sameAsDraft: true.Decideolympus/infra-mediaopened bypitdispatch: review,prloop:olympus/infra-media#3@1796211818235olympus/infra-mediaopened by a non-engage authordispatch: none, "not one of bot-efesto, pit — not engaging"olympus/scope-probe-delete-meopened bypitdispatch: none, "is not on the allowlist"Deploy
The Config edit is live already; merging needs nothing else.
Merge danger
Door: two-way — the two Config lists are the whole change, and reverting is the same edit.
Blast radius: the loop's policy only; no other workflow reads this node.
Not in this change
The instance is one publish behind
!57's three nodes (Enrich notify body,Sweep: judge,Sweep: plan): that code is in the export onmain, not in the active version. This publish leaves that gap exactly as it was; deploying!57is a separate change.PR body written by the operator agent.
Review started (round 1/5) on
d065f70ef1— reading the diff now.Review loop —
olympus/workshop· PR #62 · headd065f70· round 1/5 · axes: standards, spec · verdict mergeRecommendation: merge
Spec
Spec source: the PR description. No ticket is cited in the title, body or commit, and
docs/agents/issue-tracker.mdfixes the form of a reference without requiring one, so the description is the contract:olympus/infra-mediais on the loop — both Config lists carry it, the live policy engages it, labels and delivery are in place, and the fixer may push.Every claim reproduces; no missing requirement and no unasked-for behaviour (the docs row is the Config's own mirror, which
docs/automations/pr-review-loop.md:151-152names as the one place to edit).docstooforgejo-pr-review-loop.json:421,427anddocs/automations/pr-review-loop.md:156-157(eight entries; "the same eight")decide.test.js133/133,recovery.test.js165/165mise exec -- noded2aec23e,versionId == activeVersionId,sameAsDraftget_workflow_details Q4z8k794Can1u3pO:d2aec23e-c456-45ff-9a68-8462a6ed94bcfor both,active: true,sameAsDraft: true{Enrich notify body, Sweep: judge, Sweep: plan}, andConfigis identical in both!57's three nodesdispatch: review,prloop:olympus/infra-media#3@1796211818235; 96589none, "not one of bot-efesto, pit — not engaging"; 96591none, "…is not on the allowlist" — all three read from the execution data, all after the 11:43:05 publishreview/*labels org-scoped and exclusive, seven presentexclusive: true, plusready-for-agent; the repo's merged label view exposes all seven, with no repo-scoped duplicatewebhookrun forolympus/infra-media#1(11:25:28) and 96583 for its merge (11:37:59) — the org hook delivers this repo, which is stronger than the hook object the body citesbot-minoswrite/collaborators/bot-minos/permission→writeStandards
ADVISORY — the new repo has no pin in the suite that exists to pin it (
pr-review-loop/tests/decide.test.js:89-96).Section 0 is exactly this case:
check('the cockpit is on the loop', …)andcheck('...and the fixer may push there', …)at:92-93,infra-semaphoreabsent at:94-95, under the comment "A repo left out of these lists is ignored entirely, so a stale name is a repo that gets no review at all". The commit that put the cockpit on the loop (44379d8) added those four checks — 8 lines in this file — alongside its Config and docs edit. This change adds the row and no case:grep -c infra-media pr-review-loop/tests/*.jsis 0 in all three suites, sopr-checks / loop-decidestays green if a later edit dropsolympus/infra-mediafrom either list.Clearing change: two checks mirroring
:92-93forolympus/infra-media, one per list.No other standards finding: the JSON and the table are consistent with each other and with the live policy, and no documented rule in
docs/,AGENTS.mdordocs/adr/is moved by this change (ADR-0002's direct-push and approval clauses are untouched; the Config edit is a policy value, not an ADR).Named, not charged
versionIdno longer names the version it carries. The file saysd928280e-…while the instance's active version isd2aec23e-…(the body's own figure).docs/automations/pr-review-loop.md:395-398already records this class ("the export is a copy nobody checks … the file drifts"), and a re-export would drag the three!57nodes backwards — so the split is the repository's own position, and no behaviour turns on the stamp.Sweep: plan'sPROJECTSmap has noinfra-mediakey (nodeSweep: plan, jsCode lines 20-21). A task about an infra-media PR lands in WR by the documented fallback atdocs/automations/pr-review-loop.md:257("anything else in WR"), exactly asolympus/infra-agentsalready does.d2aec23ewhile this PR is open;docs/automations/pr-review-loop.md:366-369makes the publish the deploy step and:395-398makes the file the copy, so the order is the repo's own practice, not a slipped host act.Could not verify
bot-efesto's write onolympus/infra-media./repos/…/collaborators/bot-efesto/permissionanswers 403 for this identity (it can read only its own),/teams/2/members/bot-efestoanswers 403, and the.env.mcpkey answers 401 on/user(stale).bot-minosreadswriteby the same route. That half of the Bots row rests on the author's read-back — and it is load-bearing forautofix_repos: if it is wrong, the fixer's push fails on this repo.olympus/infra-media(ADR-0002 binds any olympus repo'smain): 403. The PR does not claim it, andonboard-repo.sh --protect-mainis where the docs put it; named so no later round assumes it.Verified by this round
Head
refs/pull/62/head=d065f70…, re-read before posting.mainmoved under the review (7cb6aab0→2b96d9a,!61, touching onlydocs/agents/domain-repo-template.md);git merge-tree --write-tree 2b96d9a d065f70is clean with no file overlap, so the branch reverts nothing and applies as written. CI at head:pr-checks / loop-decidesuccess (12s) andpr-checks / protect-mainsuccess (17s), run 109.Summary
Standards: 1 finding — 1 advisory, the missing repo pin in
decide.test.js(worst, and only). Spec: 0 findings. No blockers; one advisory travels as advice.