probe: a fork head under the plan guard (THE-49) #32

Closed
pit wants to merge 1 commit from pit/infra-cockpit:probe-fork-head into main
Owner

paperclip:THE-49

Throwaway red probe. The head of this pull request is pit/infra-cockpit, a fork of this repository, so github.event.pull_request.head.repo.full_name is not github.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.

paperclip:THE-49 Throwaway red probe. The head of this pull request is `pit/infra-cockpit`, a fork of this repository, so `github.event.pull_request.head.repo.full_name` is not `github.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.
probe: a fork head under the plan guard (THE-49)
Some checks failed
plan / guest-plan-check (pull_request_target) Failing after 2s
plan / runner-guest-plan-check (pull_request_target) Failing after 2s
plan / projects-plan-check (pull_request_target) Failing after 2s
pr-checks / check (pull_request) Successful in 44s
c756ff3b26
Co-Authored-By: Paperclip <noreply@paperclip.ing>
Member

Review started (round 1/5) on c756ff3b26 — reading the diff now.

**Review started** (round 1/5) on c756ff3b26ebb51b1a7e99f27a3bf792b63a271c — reading the diff now.
bot-minos approved these changes 2026-11-11 16:15:17 +00:00
bot-minos left a comment

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 inside plan.yml itself, 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:

  • The head is the fork. PR object 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.
  • The refusal is each job's first step, red not a skip, before checkout and before the key-bearing steps. .forgejo/workflows/plan.yml:41 (guest), :80 (runner), :120 (projects) — echo one line, exit 1, ahead of both checkouts and every secrets.* env. The delta adds only probe-fork-head.md (+5), so the head's plan.yml is byte-identical to main's — and pull_request_target executes main's copy, so the guard that ran is the one on main (the diff never touched it, by design).
  • The run went red for the right reason. Run #102 (pull_request_target, 2s): all three plan contexts failure. Job logs, fetched this round: each of guest-plan-check, runner-guest-plan-check, projects-plan-check echoed exactly one line — refusing a pull request from the head repository pit/infra-cockpit: … — then exitcode '1': failure; both checkout steps report main step was skipped; no make, 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.
  • The green half of THE-49's Done-when also holds. Run #100 (PR #31, same-repo head 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 on main. Run #103 (pull_request, this PR's pr-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."
  • "Nothing in this branch's HCL reads an environment": confirmed — the delta is one markdown file; no HCL, no workflow byte, and no literal secret in the diff, the body, or the fetched logs.

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.md at the head worktree; the org records at olympus/workshop docs/adr/ read from origin/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.

  • ADVISORY AGENTS.md:65 §Pull requests: a PR body names its task as CP-<index>; this body carries only paperclip:THE-49 and 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 is main's content; this diff does not touch plan.yml, so it is not charged here.

Summary

  • Spec: 0 blockers, 0 advisories. Worst: none — every claim the body and THE-49 make about this probe is reproduced from the live runs and logs.
  • Standards: 0 blockers, 1 advisory. Worst: AGENTS.md:65 — the body's task reference is paperclip:THE-49, not the CP-<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.

<!-- minos review-loop: repo=olympus/infra-cockpit pr=32 head=c756ff3b26ebb51b1a7e99f27a3bf792b63a271c round=1/5 verdict=merge axes=standards,spec --> 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 inside `plan.yml` itself, 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: - **The head is the fork.** PR object `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. - **The refusal is each job's first step, red not a skip, before checkout and before the key-bearing steps.** `.forgejo/workflows/plan.yml:41` (guest), `:80` (runner), `:120` (projects) — echo one line, `exit 1`, ahead of both checkouts and every `secrets.*` env. The delta adds only `probe-fork-head.md` (+5), so the head's `plan.yml` is byte-identical to `main`'s — and `pull_request_target` executes `main`'s copy, so the guard that ran is the one on `main` (the diff never touched it, by design). - **The run went red for the right reason.** Run #102 (`pull_request_target`, 2s): all three plan contexts `failure`. Job logs, fetched this round: each of `guest-plan-check`, `runner-guest-plan-check`, `projects-plan-check` echoed exactly one line — `refusing a pull request from the head repository pit/infra-cockpit: …` — then `exitcode '1': failure`; both checkout steps report `main step was skipped`; no `make`, 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. - **The green half of THE-49's Done-when also holds.** Run #100 (PR #31, same-repo head `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 on `main`. Run #103 (`pull_request`, this PR's `pr-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." - **"Nothing in this branch's HCL reads an environment":** confirmed — the delta is one markdown file; no HCL, no workflow byte, and no literal secret in the diff, the body, or the fetched logs. 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.md` at the head worktree; the org records at `olympus/workshop` `docs/adr/` read from `origin/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. - ADVISORY `AGENTS.md:65` §Pull requests: a PR body names its task as `CP-<index>`; this body carries only `paperclip:THE-49` and 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 is `main`'s content; this diff does not touch `plan.yml`, so it is not charged here. ## Summary - **Spec:** 0 blockers, 0 advisories. Worst: none — every claim the body and THE-49 make about this probe is reproduced from the live runs and logs. - **Standards:** 0 blockers, 1 advisory. Worst: `AGENTS.md:65` — the body's task reference is `paperclip:THE-49`, not the `CP-<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.
pit closed this pull request 2026-11-11 16:19:21 +00:00
Some checks failed
plan / guest-plan-check (pull_request_target) Failing after 2s
Required
Details
plan / runner-guest-plan-check (pull_request_target) Failing after 2s
Required
Details
plan / projects-plan-check (pull_request_target) Failing after 2s
pr-checks / check (pull_request) Successful in 44s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-cockpit!32
No description provided.