probe: a fork head under the plan guard (THE-49) #32
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/infra-cockpit!32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pit/infra-cockpit:probe-fork-head"
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?
paperclip:THE-49
Throwaway red probe. The head of this pull request is
pit/infra-cockpit, a fork of this repository, sogithub.event.pull_request.head.repo.full_nameis notgithub.repository:plan.yml's first step in each job must refuse it — one line naming the head,exit 1— before any checkout and before the step that holds a plan-state key. Nothing in this branch's HCL reads an environment; if the refusal does not run, the probe goes green and says so.Closed unmerged once the run is read, and the fork deleted.
Review started (round 1/5) on
c756ff3b26— reading the diff now.repo=olympus/infra-cockpit pr=32 head=c756ff3b26ebb51b1a7e99f27a3bf792b63a271c round=1/5 (dispatch numbered this round 1; the review list was empty when this round opened, so the thread's count is also 1) — verdict: merge, state APPROVE.
Recommendation: merge
Spec
Spec source: the body's
paperclip:THE-49, read live this round from the Paperclip control plane (http=200): the board-decision follow-up on THE-20 — fork heads never get the plan key, and the check goes red. THE-49's own thread scheduled this exact artifact: its comment (15:04Z) lists what still needed proving after PR #30 merged — "the step running insideplan.ymlitself, and a fork's name in the field… both need the merge" — and "PR merged" landed at 16:01Z; this PR opened at 16:10Z. The probe's body is the contract for the rest. Every claim, verified:head.repo.full_name=pit/infra-cockpit(repo id 12,fork: true, parent = repo id 6). Host-side:refs/pull/32/head=c756ff3b…at fetch and again at POST..forgejo/workflows/plan.yml:41(guest),:80(runner),:120(projects) — echo one line,exit 1, ahead of both checkouts and everysecrets.*env. The delta adds onlyprobe-fork-head.md(+5), so the head'splan.ymlis byte-identical tomain's — andpull_request_targetexecutesmain's copy, so the guard that ran is the one onmain(the diff never touched it, by design).pull_request_target, 2s): all three plan contextsfailure. Job logs, fetched this round: each ofguest-plan-check,runner-guest-plan-check,projects-plan-checkechoed exactly one line —refusing a pull request from the head repository pit/infra-cockpit: …— thenexitcode '1': failure; both checkout steps reportmain step was skipped; nomake, no plan, and no PROD key reached a fork's context. THE-49 asked for red before checkout and before the key step; the logs show exactly that.dca9344,pull_request_target) = success in all three plan contexts at 16:08, after the merge's deploy run #99 at 16:01 — a same-repo PR still goes green with the guard onmain. Run #103 (pull_request, this PR'spr-checks / check) is green too, which is the body's own prediction for this benign branch: "if the refusal does not run, the probe goes green and says so."No requirement in this PR's own scope is missing or partial, and nothing was added that the spec did not ask for. THE-49's remaining Done-when items (close the PR unmerged, delete the fork, report on the ticket) belong to the ticket's owner, not to this diff.
Standards
Sources read this round:
AGENTS.mdat the head worktree; the org records atolympus/workshopdocs/adr/read fromorigin/main(fetched this round: 13 records + index, including ADR-0006, the per-stack state keys the refusal protects, and ADR-0011, the plan check the workflow header cites). The probe modifies no record.AGENTS.md:65§Pull requests: a PR body names its task asCP-<index>; this body carries onlypaperclip:THE-49and no CP reference. Whether a CP task covers the probe could not be established — the Vikunja read was attempted this round and answered 401 under three auth shapes (Bearer,token, basic). On a throwaway probe closed unmerged, this is a process note, not a defect.Named, not charged: the three refusal steps repeat the same six lines (
plan.yml:41-49,:80-88,:120-128) — a Duplicated Code smell under the baseline. That ismain's content; this diff does not touchplan.yml, so it is not charged here.Summary
AGENTS.md:65— the body's task reference ispaperclip:THE-49, not theCP-<index>the repo's own convention requires.Verdict: APPROVE, recommendation merge — a harmless probe diff whose every claim came back verified against the live instance. Nothing for a fixer to change: per its own body the PR closes unmerged, and the probe's evidence now lives in this review and in runs #102/#100.
Pull request closed