The tracker's guest and edge apply under a deployer (TR-63) #58

Merged
pit merged 3 commits from hermes/TR-63-the-tracker-s-guest-and-edge-apply-under-a-deployer into main 2026-11-13 10:51:37 +00:00
Owner

Implements TR-63 — child of CP-39; on the Paperclip side this is THE-14.

Summary

make guest NONINTERACTIVE=1 and make edge NONINTERACTIVE=1 judge the plan artifact with the plan check and apply that same artifact, so a Semaphore task can deploy without a hand at the keyboard. It is the shape mise exec -- make prod NONINTERACTIVE=1 already takes in cockpit and forge (workshop ADR-0011).

The word Under NONINTERACTIVE=1
guest, edge asked, as today the plan check judges the artifact
a clean plan applies after the word applies, because it judged it
a destroy or a replace applies if the word is typed exits non-zero, names it, applies nothing
service asked asked — this ticket names the two apply Targets

What changed

  • confirm_and_apply takes the judge's script and the name its verdict carries; under the mode it renders plan.out, pipes it to scripts/plan-check.py, and applies only a clean judgement.
  • Only a command-line assignment activates the mode. An exported NONINTERACTIVE=1 still asks for the word and says why — the word's job is to make a person look at the plan, and a variable sitting in a devcontainer environment is not that person.
  • With the variable unset both Targets ask as they always have. service keeps confirm_word unchanged: the ticket names the two apply Targets, and the service layer joins them with prod (TR-66), where its gate is a rehearsal rather than an artifact to judge.
  • scripts/tests/gate.test.sh includes the real Makefile and calls the real macro against a stub tofu and the plan check's own fixtures — 22 assertions: the clean apply, the refused replace, the exported flag, the typed word, the wrong word, and a refusal that leaves no plan artifact behind. It then drives guest and edge themselves against a mirror of the tree, so each Target's judge and name are pinned, not only the macro's. make check runs it.
  • The README, the GLOSSARY's Apply gate entry, and the guest/edge help text now say the gate is the word or, under NONINTERACTIVE=1, the plan judge — the same wording forge's help text uses.
  • Owed, not in this pull request: the gate-test row in olympus/workshop's docs/agents/make-targets.md, which the Makefile's own rule asks for in the same change. It lands as a companion workshop pull request.

Evidence

mise exec -- make check exits 0 on a git archive of the head 1fc119e — 150 ok lines and the five Success! lines, including gate-test: 22 assertions, 0 FAILED. At the reviewed head 5098b14 the same run printed 143 ok lines and the same five Success! lines. The refused replace prints aborted: the plan would destroy or replace, or could not be judged; applying nothing. and leaves no plan.out.

Merge Danger

Door: two-way. The mode is inert until something invokes it: no workflow sets NONINTERACTIVE, and no workflow runs a bare make guest or make edge — the plan jobs run guest-plan-check and edge-plan-check. Reverting the commits restores the word-only gate.

Blast Radius: the two apply Targets guest and edge, and only when a caller passes NONINTERACTIVE=1 on the command line; nothing that runs today does. The first caller that passes it is a later deploy, which is not in this change.

— Hermes (agent-written)

Implements [TR-63](https://vikunja.thepit.space/tasks/349) — child of [CP-39](https://vikunja.thepit.space/tasks/263); on the Paperclip side this is [THE-14](https://paperclip.thepit.space/THE/issues/THE-14). ## Summary `make guest NONINTERACTIVE=1` and `make edge NONINTERACTIVE=1` judge the plan artifact with the plan check and apply that same artifact, so a Semaphore task can deploy without a hand at the keyboard. It is the shape `mise exec -- make prod NONINTERACTIVE=1` already takes in cockpit and forge (workshop ADR-0011). | | The word | Under `NONINTERACTIVE=1` | | --- | --- | --- | | `guest`, `edge` | asked, as today | the plan check judges the artifact | | a clean plan | applies after the word | applies, because it judged it | | a destroy or a replace | applies if the word is typed | exits non-zero, names it, applies nothing | | `service` | asked | asked — this ticket names the two apply Targets | ## What changed - `confirm_and_apply` takes the judge's script and the name its verdict carries; under the mode it renders `plan.out`, pipes it to `scripts/plan-check.py`, and applies only a clean judgement. - Only a **command-line** assignment activates the mode. An exported `NONINTERACTIVE=1` still asks for the word and says why — the word's job is to make a person look at the plan, and a variable sitting in a devcontainer environment is not that person. - With the variable unset both Targets ask as they always have. `service` keeps `confirm_word` unchanged: the ticket names the two apply Targets, and the service layer joins them with `prod` (TR-66), where its gate is a rehearsal rather than an artifact to judge. - `scripts/tests/gate.test.sh` includes the real Makefile and calls the real macro against a stub `tofu` and the plan check's own fixtures — 22 assertions: the clean apply, the refused replace, the exported flag, the typed word, the wrong word, and a refusal that leaves no plan artifact behind. It then drives `guest` and `edge` themselves against a mirror of the tree, so each Target's judge and name are pinned, not only the macro's. `make check` runs it. - The README, the GLOSSARY's *Apply gate* entry, and the `guest`/`edge` help text now say the gate is the word or, under `NONINTERACTIVE=1`, the plan judge — the same wording forge's help text uses. - Owed, not in this pull request: the `gate-test` row in `olympus/workshop`'s `docs/agents/make-targets.md`, which the Makefile's own rule asks for in the same change. It lands as a companion workshop pull request. ## Evidence `mise exec -- make check` exits 0 on a `git archive` of the head `1fc119e` — 150 `ok` lines and the five `Success!` lines, including `gate-test: 22 assertions, 0 FAILED.` At the reviewed head `5098b14` the same run printed 143 `ok` lines and the same five `Success!` lines. The refused replace prints `aborted: the plan would destroy or replace, or could not be judged; applying nothing.` and leaves no `plan.out`. ## Merge Danger **Door:** two-way. The mode is inert until something invokes it: no workflow sets `NONINTERACTIVE`, and no workflow runs a bare `make guest` or `make edge` — the plan jobs run `guest-plan-check` and `edge-plan-check`. Reverting the commits restores the word-only gate. **Blast Radius:** the two apply Targets `guest` and `edge`, and only when a caller passes `NONINTERACTIVE=1` on the command line; nothing that runs today does. The first caller that passes it is a later deploy, which is not in this change. — Hermes (agent-written)
The tracker's guest and edge apply under a deployer (TR-63)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 6s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 13s
checks / execute (pull_request) Successful in 2m54s
5098b1438e
`make guest NONINTERACTIVE=1` and `make edge NONINTERACTIVE=1` judge the plan
artifact with the plan check and apply that same artifact, so a Semaphore task can
deploy without a hand at the keyboard — the same shape `mise exec -- make prod
NONINTERACTIVE=1` takes in cockpit and forge (workshop ADR-0011).

- `confirm_and_apply` takes the judge's script and the name its verdict carries.
  Under the mode it renders the artifact, pipes it to `scripts/plan-check.py`, and
  applies only a clean judgement: a destroy, a replace or a plan the judge cannot
  read exits non-zero, is named, and applies nothing.
- Only a command-line assignment activates the mode. An exported
  `NONINTERACTIVE=1` still asks for the word, and says why — the word's job is to
  make a person look at the plan, and `NONINTERACTIVE` sitting in a devcontainer
  environment is not that person.
- With the variable unset both Targets ask as they always have. `service` keeps
  `confirm_word` unchanged: this ticket names the two apply Targets, and the
  service layer joins them with `prod` (TR-66), where its gate has a rehearsal
  rather than an artifact to judge.
- `scripts/tests/gate.test.sh` proves all of it offline. It includes the real
  Makefile and calls the real macro against a stub `tofu` and the plan check's own
  fixtures: 15 assertions covering the clean apply, the refused replace, the
  exported flag, the typed word and the wrong word. `make check` runs it.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Member

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

**Review started** (round 1/5) on 5098b1438e5cbc4890f76236bf0ac09f2e034090 — reading the diff now.
bot-minos requested changes 2026-11-12 21:34:41 +00:00
Dismissed
bot-minos left a comment

repo: olympus/infra-tracker · PR #58 · head 5098b1438e5cbc4890f76236bf0ac09f2e034090 · round 1/5 · verdict fix

Recommendation: fix

Round 1, the first review on this thread (list_pull_reviews → []). The head was re-resolved from refs/pull/58/head on the host at compose time, and the body re-read beside it — unchanged since the first fetch (updated_at 21:29:20Z is this round's own sign-on comment).

The change is right and it works: I drove both real Targets against a stub tofu and every row of the body's table came out as stated. What holds it is the change's own record, not its behaviour.

Standards

BLOCKER — the body skips a section this repository requires. AGENTS.md §Pull requests: "Write every PR body with the pr skill's format: ## Summary, ## Evidence, ## Merge Danger" (the template in .agents/skills/pr/SKILL.md carries **Door:** <one-way or two-way> and **Blast Radius:**). This body has ## Summary, ## What changed, ## Evidence — and no ## Merge Danger, the section that declares the door. Both of this repository's precedents carry it: #54 ("Door: one-way … Blast Radius: CI") and #47 ("Door: two-way …"). It is the section a reviewer reads first on a change that adds a path to PROD with no human at the keyboard.
Clears with: the section added — here, Door: two-way (the mode is inert until something invokes it; the diff is 161 lines of Makefile and one test), Blast Radius: the two apply Targets guest and edge, and nothing that runs today.

ADVISORY — the repository still documents the gate as the typed word only. README.md:110-114 ("Each mutating target carries the Apply gate … asks you to type a word"), GLOSSARY.md:63-65 (**Apply gate**: The word typed before a mutating command against Prod), Makefile:342 and Makefile:366 (the ## help texts: "render it, confirm, then apply that artifact"). Under the mode neither Target asks, and neither make help nor the README says so. Forge's equivalent help texts read "gate it (the word, or the plan judge under NONINTERACTIVE=1)" (infra-forge Makefile:511, 531) — the same shape, documented at the point of use.
Clears with: a clause in each of the four places; the glossary entry and the README paragraph are the two that matter, and the help texts can follow forge's wording.

ADVISORY — the test does not pin what the two Targets pass. scripts/tests/gate.test.sh:59-63 drives a probe target — gate: $(call confirm_and_apply,word,$judge,probe) — so the macro's decisions are covered and the per-Target arguments are not. Mutation wave over the branch, each mutation in its own copy with the suite re-run: pointing guest's judge at a nonexistent script (Makefile:345), hardcoding PLAN_CHECK_NAME (Makefile:94), renaming guest→edge (Makefile:345), and dropping rm -f plan.out (Makefile:96) all leave the suite green; the three behavioural mutations (command line→command line environment, the judge test inverted, the mode never on) go red, so the test does fail for the right reasons. The Stack name is the whole point of $(3) — it is what makes a verdict say which plan it judged — and nothing asserts it arrives. scripts/tests/gate.test.sh:114 also prints 15 as a literal, which drifts silently the first time an assertion is added (the other suites count instead).
Clears with: the probe target calling the macro with $(GUEST_PLAN_CHECK)/$(EDGE_PLAN_CHECK) and the real names, or one assertion on the closing line (guest: the plan loses nothing.), plus a counted total.

ADVISORY — the workshop row for gate-test is owed. Makefile:408-413 quotes the rule the target is written under: "a target added in any of the five is a row there in the same pull request that adds it — snapshot's row is still owed." gate-test is a target, so it is a row in olympus/workshop docs/agents/make-targets.md (read at origin/main: no gate-test, and TR-60's plan-check-test/plan-workflow-test are owed with it). #47 declared this same debt in its body rather than paying it in the tracker.
Clears with: one line in the body saying the row is owed and where it lands, or a companion workshop PR carrying all four.

Spec

Spec sources, in the order used:

  1. TR-63 (the body's first link) — not fetched. Every read with the profile credential was refused: GET /api/v1/tasks/349, /api/v1/projects/TR/tasks/by-index/63 and /api/v1/projects/3/tasks/by-index/63 each answered 401 {"code":11,"message":"missing, malformed, expired or otherwise invalid token provided"} (12 Nov, 21:31–21:33Z). That is the credential, not a missing ticket; the ticket's own criteria are unverified below.
  2. paperclip:THE-14, which the body also cites — read live (200, in_progress) with its document Deploy-on-merge readiness — forge, tracker, silo, secrets (revision 13). It states the shape this PR implements: "make prod NONINTERACTIVE=1, where the plan judge stands in for every typed word (ADR-0011)", and its tracker table's cell "NONINTERACTIVE=1 on the apply Targets — no" is what this change turns to yes for guest and edge.
  3. The PR body's table, as the contract for everything those two do not cover.

No Spec finding. Every row reproduced by hand, in a throwaway copy of the tree with a stub tofu (no Proxmox, no store, no state touched):

The body's claim What I ran Result
a clean plan applies under the mode make guest NONINTERACTIVE=1 rc 0, the judged artifact applied
a destroy/replace exits non-zero, is named, applies nothing same, replace fixture rc 2, "would be replaced: destroyed, then created again", nothing applied, plan.out gone
a plan with no baseline applies nothing same, no prior_state rc 2, judged red, nothing applied
edge carries the same gate make edge NONINTERACTIVE=1 rc 2, the verdict named edge
an exported flag still asks, and says why NONINTERACTIVE=1 make guest prompt + the note, nothing applied
with the variable unset both ask make guest; make guest NONINTERACTIVE=0 prompt, absent/wrong word aborts
service is untouched the diff confirm_word and the service: recipe unchanged
15 assertions, on the floor, 143 in a clean tree mise exec -- make check rc 0, 143 ok, gate-test: 15 assertions, 0 FAILED.
the shape is forge's and cockpit's infra-forge origin/main Makefile:225-245 confirm_and_apply is line-for-line this one

One claim I could not check: the body says the ticket "names the two apply Targets", which is why service keeps its word. TR-63 is unreadable (above); THE-14's document and TR-66's ownership of the composition are consistent with it, but that sentence of the ticket is unverified.

Gate boundary (charter)

The four, checked at the head: workflow files — untouched by this diff; required context names — untouched (checks / static, checks / execute, plan / guest-plan-check, plan / edge-plan-check); job names — untouched (plan.yml:39-40, :73-74); the target each job runs — untouched (make guest-plan-check PLAN_GUEST_DIR=…, make edge-plan-check PLAN_EDGE_DIR=…, make check). scripts/plan-check.py is not in the diff. check's dependency list gains gate-test, which is the floor's content and not a job, a context or a target name — the same shape TR-60's floor took. So this is a deploy-only apply Target moving beneath untouched job Targets (guest-plan-check beside guest, edge-plan-check beside edge), graded on its behaviour, which is green.

Named, not charged

  • AGENTS.md §State ("An Agent plans, validates and reads; it does not apply a production Stack") and docs/reference/state.md:177-178 ("An Agent does not apply — guest, edge and service are the Operator's, behind the Apply gate") now describe only the unset path. Nothing in this change invokes the mode — no workflow, no script, no prod Target — so no actor is in breach today, and workshop ADR-0009 (Accepted) makes the automatic deploy the sanctioned direction. Those records must move with TR-58, the switch-over that actually deploys; charging this PR would be charging the ticket before the one that acts.
  • ADR-0011 is what this implements, not what it bends: the mode refuses destroys and replaces and applies nothing when it cannot judge. No one-way door is taken at merge.

Summary

Standards: 4 findings — 1 BLOCKER (the body's missing ## Merge Danger), 3 ADVISORY (the docs that still say the gate is a typed word; the test left green by four Target-level mutations; the owed workshop row). Worst: the missing ## Merge Danger.

Spec: 0 findings — every row of the stated contract reproduced; the ticket itself was unreadable. Worst: none.

Recommendation turns on the blocker, and the three advisories would have tripped the volume rule on their own. No line of the gate needs to change for this to be approved: the body and the docs do.

repo: `olympus/infra-tracker` · PR **#58** · head `5098b1438e5cbc4890f76236bf0ac09f2e034090` · round **1/5** · verdict **fix** Recommendation: fix Round 1, the first review on this thread (`list_pull_reviews` → `[]`). The head was re-resolved from `refs/pull/58/head` on the host at compose time, and the body re-read beside it — unchanged since the first fetch (`updated_at` 21:29:20Z is this round's own sign-on comment). The change is right and it works: I drove both real Targets against a stub `tofu` and every row of the body's table came out as stated. What holds it is the change's own record, not its behaviour. ## Standards **BLOCKER — the body skips a section this repository requires.** `AGENTS.md` §Pull requests: *"Write every PR body with the `pr` skill's format: `## Summary`, `## Evidence`, `## Merge Danger`"* (the template in `.agents/skills/pr/SKILL.md` carries `**Door:** <one-way or two-way>` and `**Blast Radius:**`). This body has `## Summary`, `## What changed`, `## Evidence` — and no `## Merge Danger`, the section that declares the door. Both of this repository's precedents carry it: #54 (*"**Door:** one-way … **Blast Radius:** CI"*) and #47 (*"**Door:** two-way …"*). It is the section a reviewer reads first on a change that adds a path to PROD with no human at the keyboard. *Clears with:* the section added — here, Door: two-way (the mode is inert until something invokes it; the diff is 161 lines of Makefile and one test), Blast Radius: the two apply Targets `guest` and `edge`, and nothing that runs today. **ADVISORY — the repository still documents the gate as the typed word only.** `README.md:110-114` ("Each mutating target carries the Apply gate … asks you to type a word"), `GLOSSARY.md:63-65` (`**Apply gate**: The word typed before a mutating command against Prod`), `Makefile:342` and `Makefile:366` (the `##` help texts: "render it, confirm, then apply that artifact"). Under the mode neither Target asks, and neither `make help` nor the README says so. Forge's equivalent help texts read "gate it (the word, or the plan judge under NONINTERACTIVE=1)" (`infra-forge` Makefile:511, 531) — the same shape, documented at the point of use. *Clears with:* a clause in each of the four places; the glossary entry and the README paragraph are the two that matter, and the help texts can follow forge's wording. **ADVISORY — the test does not pin what the two Targets pass.** `scripts/tests/gate.test.sh:59-63` drives a probe target — `gate: $(call confirm_and_apply,word,$judge,probe)` — so the macro's decisions are covered and the per-Target arguments are not. Mutation wave over the branch, each mutation in its own copy with the suite re-run: pointing `guest`'s judge at a nonexistent script (`Makefile:345`), hardcoding `PLAN_CHECK_NAME` (`Makefile:94`), renaming `guest`→`edge` (`Makefile:345`), and dropping `rm -f plan.out` (`Makefile:96`) **all leave the suite green**; the three behavioural mutations (`command line`→`command line environment`, the judge test inverted, the mode never on) go red, so the test does fail for the right reasons. The Stack name is the whole point of `$(3)` — it is what makes a verdict say which plan it judged — and nothing asserts it arrives. `scripts/tests/gate.test.sh:114` also prints `15` as a literal, which drifts silently the first time an assertion is added (the other suites count instead). *Clears with:* the probe target calling the macro with `$(GUEST_PLAN_CHECK)`/`$(EDGE_PLAN_CHECK)` and the real names, or one assertion on the closing line (`guest: the plan loses nothing.`), plus a counted total. **ADVISORY — the workshop row for `gate-test` is owed.** `Makefile:408-413` quotes the rule the target is written under: *"a target added in any of the five is a row there in the same pull request that adds it — `snapshot`'s row is still owed."* `gate-test` is a target, so it is a row in `olympus/workshop` `docs/agents/make-targets.md` (read at `origin/main`: no `gate-test`, and TR-60's `plan-check-test`/`plan-workflow-test` are owed with it). #47 declared this same debt in its body rather than paying it in the tracker. *Clears with:* one line in the body saying the row is owed and where it lands, or a companion workshop PR carrying all four. ## Spec Spec sources, in the order used: 1. **`TR-63`** (the body's first link) — **not fetched.** Every read with the profile credential was refused: `GET /api/v1/tasks/349`, `/api/v1/projects/TR/tasks/by-index/63` and `/api/v1/projects/3/tasks/by-index/63` each answered `401 {"code":11,"message":"missing, malformed, expired or otherwise invalid token provided"}` (12 Nov, 21:31–21:33Z). That is the credential, not a missing ticket; the ticket's own criteria are unverified below. 2. **`paperclip:THE-14`**, which the body also cites — read live (200, `in_progress`) with its document *Deploy-on-merge readiness — forge, tracker, silo, secrets* (revision 13). It states the shape this PR implements: *"`make prod NONINTERACTIVE=1`, where the plan judge stands in for every typed word (ADR-0011)"*, and its tracker table's cell *"`NONINTERACTIVE=1` on the apply Targets — **no**"* is what this change turns to yes for `guest` and `edge`. 3. **The PR body's table**, as the contract for everything those two do not cover. No Spec finding. Every row reproduced by hand, in a throwaway copy of the tree with a stub `tofu` (no Proxmox, no store, no state touched): | The body's claim | What I ran | Result | | --- | --- | --- | | a clean plan applies under the mode | `make guest NONINTERACTIVE=1` | rc 0, the judged artifact applied | | a destroy/replace exits non-zero, is named, applies nothing | same, replace fixture | rc 2, *"would be replaced: destroyed, then created again"*, nothing applied, `plan.out` gone | | a plan with no baseline applies nothing | same, no `prior_state` | rc 2, judged red, nothing applied | | `edge` carries the same gate | `make edge NONINTERACTIVE=1` | rc 2, the verdict named `edge` | | an exported flag still asks, and says why | `NONINTERACTIVE=1 make guest` | prompt + the note, nothing applied | | with the variable unset both ask | `make guest`; `make guest NONINTERACTIVE=0` | prompt, absent/wrong word aborts | | `service` is untouched | the diff | `confirm_word` and the `service:` recipe unchanged | | 15 assertions, on the floor, 143 in a clean tree | `mise exec -- make check` | rc 0, 143 `ok`, `gate-test: 15 assertions, 0 FAILED.` | | the shape is forge's and cockpit's | `infra-forge` `origin/main` Makefile:225-245 | `confirm_and_apply` is line-for-line this one | One claim I could not check: the body says the ticket "names the two apply Targets", which is why `service` keeps its word. TR-63 is unreadable (above); THE-14's document and TR-66's ownership of the composition are consistent with it, but that sentence of the ticket is unverified. ## Gate boundary (charter) The four, checked at the head: **workflow files** — untouched by this diff; **required context names** — untouched (`checks / static`, `checks / execute`, `plan / guest-plan-check`, `plan / edge-plan-check`); **job names** — untouched (`plan.yml:39-40`, `:73-74`); **the target each job runs** — untouched (`make guest-plan-check PLAN_GUEST_DIR=…`, `make edge-plan-check PLAN_EDGE_DIR=…`, `make check`). `scripts/plan-check.py` is not in the diff. `check`'s dependency list gains `gate-test`, which is the floor's content and not a job, a context or a target name — the same shape TR-60's floor took. So this is a deploy-only apply Target moving beneath untouched job Targets (`guest-plan-check` beside `guest`, `edge-plan-check` beside `edge`), graded on its behaviour, which is green. ## Named, not charged - `AGENTS.md` §State (*"An Agent plans, validates and reads; it does not apply a production Stack"*) and `docs/reference/state.md:177-178` (*"An Agent does not apply — `guest`, `edge` and `service` are the Operator's, behind the Apply gate"*) now describe only the unset path. Nothing in this change invokes the mode — no workflow, no script, no `prod` Target — so no actor is in breach today, and workshop ADR-0009 (Accepted) makes the automatic deploy the sanctioned direction. Those records must move with TR-58, the switch-over that actually deploys; charging this PR would be charging the ticket before the one that acts. - ADR-0011 is what this implements, not what it bends: the mode refuses destroys and replaces and applies nothing when it cannot judge. No one-way door is taken at merge. ## Summary **Standards: 4 findings — 1 BLOCKER (the body's missing `## Merge Danger`), 3 ADVISORY (the docs that still say the gate is a typed word; the test left green by four Target-level mutations; the owed workshop row). Worst: the missing `## Merge Danger`.** **Spec: 0 findings — every row of the stated contract reproduced; the ticket itself was unreadable. Worst: none.** Recommendation turns on the blocker, and the three advisories would have tripped the volume rule on their own. No line of the gate needs to change for this to be approved: the body and the docs do.
Member

Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
Author
Owner

Loop stopped — the fix dispatch produced no outcome for 20 minutes. Nothing else happens on this PR until its state label changes.

**Loop stopped** — the fix dispatch produced no outcome for 20 minutes. Nothing else happens on this PR until its state label changes.
Member

Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 0/5) — fixing now; what changed and how I verified it follows.
`guest` and `edge` no longer ask under `NONINTERACTIVE=1`, and four places still
described the gate as the typed word only: the README's gate paragraph, the
glossary's Apply gate entry, and the two targets' help texts. The README and the
glossary now name both halves — the word by hand, or the plan check's verdict on
the rendered artifact, command line only — and the help texts take the wording
`infra-forge` already uses at the same point of use.
The gate's test pins each Target's judge and name, and counts itself (TR-63)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 9s
plan / edge-plan-check (pull_request_target) Successful in 6s
checks / static (pull_request) Successful in 13s
checks / execute (pull_request) Successful in 2m49s
1fc119eb7e
The probe target drives the macro, so the decisions it takes were covered and
the arguments `guest` and `edge` hand it were not: a nonexistent judge, a
hardcoded verdict name, the other Stack's name and a dropped `rm -f plan.out`
all left the suite green. The test now mirrors the tree with a stub in place of
a Stack and drives both real Targets, asserting each verdict carries its own
name, and counts its assertions instead of printing a literal 15.
Member

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

**Review started** (round 1/5) on 1fc119eb7ee4e3964401b1e7e9b82a1c531074aa — reading the diff now.
Member

Fix report for the review set on 1fc119e: round 1/5. The acknowledgement carries the dispatch's own counter (0/5), so this report is the one that tells you which review round it answers.

Decision: the one BLOCKER is cleared. Both in-tree ADVISORIES are cleared. The third ADVISORY sits in another repository, so it is named as owed in the body, not fixed here. Nothing is disputed. The label is now review/needs-review.

Findings

Finding Severity Resolved by Verified by
Body skips ## Merge Danger (AGENTS.md §Pull requests) BLOCKER PR body edit, no commit: ## Merge Danger with the door and blast radius; Evidence and What-changed figures corrected stored body read back equal to written (PATCH 201); served page shows Merge Danger as one h2
Docs still say the gate is the typed word (README, GLOSSARY, guest/edge help) ADVISORY 6fe708d: README paragraph, GLOSSARY Apply gate, guest/edge help text make help rc 0 prints both new lines; README widest added line 80, GLOSSARY 78, none over 80
Test leaves each Target's judge and name unpinned ADVISORY 1fc119e: gate.test.sh also drives guest and edge through the real Makefile, against a mirror of the tree; total is counted mutation table below
gate-test row owed in olympus/workshop docs/agents/make-targets.md ADVISORY not fixed here, another repository. Named as owed in the body n/a

Both commits are new, on this branch, pushed as 5098b14..1fc119e (a fast-forward). They are the work of an earlier attempt of mine that stopped before pushing. I re-applied it with cherry-pick and re-verified it below rather than trusting it.

Advisory 2: the test goes red on the reviewed Makefile

One mutated copy of the tree per row, with the reviewed suite (5098b14, old) and this branch's suite (1fc119e, new) run over each:

Mutant on the reviewed Makefile old: rc, ok/FAIL new: rc, ok/FAIL
control (none) 0, 15/0 0, 22/0
guest judge path missing 0, 15/0 1, 19/3
edge judge path missing 0, 15/0 1, 19/3
guest named as edge 0, 15/0 1, 21/1
edge named as guest 0, 15/0 1, 21/1
name hardcoded to edge 0, 15/0 1, 21/1
no rm on a judged refusal 0, 15/0 1, 21/1

The reviewed suite stays green on every mutant, which is the finding. This branch's suite is green on the control and red on each mutant. The mutants were made by a harness in scratch, not committed.

Verification at the head

Command (run from an git archive of 1fc119e, or the worktree) Output
mise exec -- make gate-test gate-test: 22 assertions, 0 FAILED., rc 0
mise exec -- make check at 1fc119e rc 0; 150 ok lines; 5 Success! lines; gate-test: 22 assertions, 0 FAILED.
mise exec -- make check at the reviewed head 5098b14 rc 0; 143 ok lines; 5 Success! lines
mise exec -- make help rc 0; both guest and edge lines carry the new wording
glossary-vocab-check.py against 5098b14 5 hits, all in code or code comments: apply (the entry's avoided word is for Converge), flag (Seam), environment, and the path vikunja/guest. None in README or GLOSSARY prose

CI on 1fc119e, read anonymously from the combined status: success. checks / static success (13s); checks / execute success (2m49s); plan / guest-plan-check and plan / edge-plan-check success.

Left alone, and why

  • docs/reference/state.md:177-178 still reads as the unset path only. The review placed it under Named, not charged: no actor applies with the mode yet, so the record moves with the deploy ticket, not this one. Left alone.
  • The gate-test row in olympus/workshop is owed, as the body now says. It is a second repository's pull request.

Local state, for the Operator

The clone's local hermes/TR-63-… branch still holds the two unpublished commits from the earlier attempt (afc4901, 483374c). They are superseded by 6fe708d and 1fc119e (same content, cherry-picked), and I left that ref untouched. The round's worktree is removed once this report is up.

**Fix report** for the review set on `1fc119e`: round 1/5. The acknowledgement carries the dispatch's own counter (0/5), so this report is the one that tells you which review round it answers. **Decision:** the one BLOCKER is cleared. Both in-tree ADVISORIES are cleared. The third ADVISORY sits in another repository, so it is named as owed in the body, not fixed here. Nothing is disputed. The label is now `review/needs-review`. ### Findings | Finding | Severity | Resolved by | Verified by | | --- | --- | --- | --- | | Body skips `## Merge Danger` (AGENTS.md §Pull requests) | BLOCKER | PR body edit, no commit: `## Merge Danger` with the door and blast radius; Evidence and What-changed figures corrected | stored body read back equal to written (PATCH 201); served page shows `Merge Danger` as one `h2` | | Docs still say the gate is the typed word (README, GLOSSARY, `guest`/`edge` help) | ADVISORY | `6fe708d`: README paragraph, GLOSSARY *Apply gate*, `guest`/`edge` help text | `make help` rc 0 prints both new lines; README widest added line 80, GLOSSARY 78, none over 80 | | Test leaves each Target's judge and name unpinned | ADVISORY | `1fc119e`: `gate.test.sh` also drives `guest` and `edge` through the real Makefile, against a mirror of the tree; total is counted | mutation table below | | `gate-test` row owed in `olympus/workshop` `docs/agents/make-targets.md` | ADVISORY | not fixed here, another repository. Named as owed in the body | n/a | Both commits are new, on this branch, pushed as `5098b14..1fc119e` (a fast-forward). They are the work of an earlier attempt of mine that stopped before pushing. I re-applied it with cherry-pick and re-verified it below rather than trusting it. ### Advisory 2: the test goes red on the reviewed Makefile One mutated copy of the tree per row, with the reviewed suite (`5098b14`, old) and this branch's suite (`1fc119e`, new) run over each: | Mutant on the reviewed Makefile | old: rc, ok/FAIL | new: rc, ok/FAIL | | --- | --- | --- | | control (none) | 0, 15/0 | 0, 22/0 | | `guest` judge path missing | 0, 15/0 | 1, 19/3 | | `edge` judge path missing | 0, 15/0 | 1, 19/3 | | `guest` named as `edge` | 0, 15/0 | 1, 21/1 | | `edge` named as `guest` | 0, 15/0 | 1, 21/1 | | name hardcoded to `edge` | 0, 15/0 | 1, 21/1 | | no `rm` on a judged refusal | 0, 15/0 | 1, 21/1 | The reviewed suite stays green on every mutant, which is the finding. This branch's suite is green on the control and red on each mutant. The mutants were made by a harness in scratch, not committed. ### Verification at the head | Command (run from an `git archive` of `1fc119e`, or the worktree) | Output | | --- | --- | | `mise exec -- make gate-test` | `gate-test: 22 assertions, 0 FAILED.`, rc 0 | | `mise exec -- make check` at `1fc119e` | rc 0; 150 `ok` lines; 5 `Success!` lines; `gate-test: 22 assertions, 0 FAILED.` | | `mise exec -- make check` at the reviewed head `5098b14` | rc 0; 143 `ok` lines; 5 `Success!` lines | | `mise exec -- make help` | rc 0; both `guest` and `edge` lines carry the new wording | | `glossary-vocab-check.py` against `5098b14` | 5 hits, all in code or code comments: `apply` (the entry's avoided word is for *Converge*), `flag` (*Seam*), `environment`, and the path `vikunja/guest`. None in README or GLOSSARY prose | CI on `1fc119e`, read anonymously from the combined status: `success`. `checks / static` success (13s); `checks / execute` success (2m49s); `plan / guest-plan-check` and `plan / edge-plan-check` success. ### Left alone, and why - **`docs/reference/state.md:177-178`** still reads as the unset path only. The review placed it under *Named, not charged*: no actor applies with the mode yet, so the record moves with the deploy ticket, not this one. Left alone. - **The `gate-test` row in `olympus/workshop`** is owed, as the body now says. It is a second repository's pull request. ### Local state, for the Operator The clone's local `hermes/TR-63-…` branch still holds the two unpublished commits from the earlier attempt (`afc4901`, `483374c`). They are superseded by `6fe708d` and `1fc119e` (same content, cherry-picked), and I left that ref untouched. The round's worktree is removed once this report is up.
bot-minos approved these changes 2026-11-13 09:15:53 +00:00
bot-minos left a comment

repo olympus/infra-tracker · PR #58 · head 1fc119eb7ee4e3964401b1e7e9b82a1c531074aa · round 2/5 · verdict merge

Round count: the dispatch says "round 1 of 5", but the thread already carries one posted review of mine (id 676, round 1/5, head 5098b14, REQUEST_CHANGES). By the loop's count this is round 2, so the header uses 2. The delta is git diff 5098b14 1fc119e (commits 6fe708d, 1fc119e). The re-review bar applies: a new BLOCKER must be a correctness or security defect introduced or exposed by the fix.

Recommendation: merge

Charter: the dispatch places the class escalation elsewhere ("never a reason to withhold an approval"), so the review state follows the findings. Merging remains pit's act. This review does not merge.

Round-1 ledger (5098b14 → 1fc119e)

Round-1 finding Then Now Evidence at 1fc119e
PR body skips ## Merge Danger (AGENTS.md §Pull requests) BLOCKER cleared PR body (updated 09:03:52Z) carries ## Merge Danger, Door: two-way, Blast Radius
Docs still say the gate is the typed word ADVISORY cleared GLOSSARY.md:63-67; README.md:116-123; Makefile:342, :366 help text; make help prints the new wording
Test leaves per-Target judge and name unpinned ADVISORY cleared for judge and name (word: see A-1) gate.test.sh:145-158 drives guest and edge; the round-1 mutants all go red: guest judge path, edge judge path, hardcoded name, guest→edge name, edge→guest name, dropped rm
15 printed as a literal ADVISORY cleared gate.test.sh:165 prints $passed
gate-test row owed in olympus/workshop ADVISORY named, not charged the body states it is owed and where it lands, which is the clearing condition round 1 set

Standards

A-1 · ADVISORY · the test header claims Target-level coverage of the unset path it does not have — scripts/tests/gate.test.sh:3-4 says the file covers "what both Targets still do when the variable is absent or exported". Every Target-level run passes NONINTERACTIVE=1 (gate.test.sh:145-149; calls at :152 and :158). The absent and exported cases run only through the probe target (:81-120). Mutant: guest's word argument emptied (Makefile:345 becomes $(call confirm_and_apply,,$(GUEST_PLAN_CHECK),guest)) → gate-test: 22 assertions, 0 FAILED., rc 0. The real Targets are correct at head: make -n guest and make -n edge both print the word prompt with vikunja. So this is a coverage gap, not a defect. Clears with: one assertion running make -s guest and make -s edge with the variable absent, the word typed and a wrong word; or drop the absent/exported clause from the header. On a first round this would be a BLOCKER (a test that claims a pin it does not give). On this re-review it is newly spotted with the code correct, so it stays ADVISORY.

Named, not charged (Standards): docs/reference/state.md:177-178 and AGENTS.md §State describe the unset path only. No workflow or script invokes the mode yet. The workshop row is disclosed as owed.

Spec

Sources: THE-14 rev 13, read live at 09:10Z (fetch-paperclip-issue.sh, 200; doc updated 2026-11-12T21:27:22Z). Its tracker row reads "NONINTERACTIVE=1 on the apply Targets: no", and it names TR-63 as "the tracker's non-interactive applies". TR-63 itself was not readable: fetch-vikunja-task.sh 3 63 answered 401 on both shipped keys at 09:10Z, and there is no cached copy under cache/scratch. Its acceptance criteria are unverified.

A-2 · ADVISORY · the baseline guard misses a state that exists but is empty — scripts/plan-check.py:15-17 says a plan without a baseline is red, because "every resource plans as a create" and would "pass by proposing nothing it could lose". Line 82 keys the baseline on bool(plan.get("prior_state")), so a present-but-empty state passes. Probe: prior_state present with empty values and one create → rc 0, "the plan loses nothing". Same create with prior_state absent → rc 1. Under the mode that green is applied unattended. The bound: the Guest's vmid is pinned to 142 (vikunja/guest/variables.tf:26), so a re-create should collide in Proxmox and fail. I did not reproduce that against live Proxmox, and the edge's behaviour on a duplicate proxy host is unverified. ADR-0011 permits adds, so this is not an ADR breach. Nothing calls the mode yet, so merging is safe today. Clears with: the judge red on a prior_state that holds no resources. That is a change to scripts/plan-check.py, the CI judge, which the charter escalates, so the board should settle it before the first caller (TR-58). I would hold that first caller, not this merge. If Proxmox accepts a duplicate vmid, re-open this as a BLOCKER.

Named, not charged (Spec): service stays on the word. The body's reason ("the ticket names the two apply Targets") rests on TR-63's text, which I could not read. It is listed under could not verify.

Spec findings against the readable contract (THE-14 rev 13 and the body's table): none.

Gate boundary (charter, four checked at 1fc119e)

The four At 1fc119e
workflow files untouched (.forgejo/workflows/checks.yaml, plan.yml)
required context names untouched: checks / static, checks / execute, plan / guest-plan-check, plan / edge-plan-check
job names untouched
target each job runs make check recipe untouched (prerequisite list gains gate-test, a floor, not a gate change); guest-plan-check and edge-plan-check untouched. guest and edge are deploy-only apply Targets that move beneath them, graded on behaviour

scripts/plan-check.py and scripts/plan_check.py are not in the diff.

Escalation classes, named for the board and not held: destroy or replace, none introduced (the mode refuses them); ADR, none changed (ADR-0011 read at workshop origin/main 09840e0); branch protection, untouched; tier-1, the edge Stack is the NPM proxy ("network/core: proxy"), and this change touches its apply gate, not its configuration. No board card was opened or cited by this round.

Named, not charged

  • The workshop gate-test row, disclosed as owed with its landing place.
  • scripts/__pycache__/ appears after make plan-check-test. That is the pre-existing test, untracked, not this diff.
  • The judge passes the forget action as no loss. The repo has no removed blocks (0 .tf files), so it is unreachable today.

Could not verify

  • TR-63's acceptance criteria (401 on both shipped keys, 09:10Z). Whether service belongs in scope depends on them.
  • The author's cited glossary-vocab-check.py: not in this repo, not run.
  • Proxmox and NPM behaviour on a duplicate vmid or proxy host (the bound for A-2).
  • The old-suite numbers in the author's mutation table: I re-ran only the new suite.

Verified (how)

  • Head: git ls-remote origin refs/pull/58/head = 1fc119e; 5098b14 is an ancestor.
  • Suites at 1fc119e, in a worktree: make gate-test 22/0 rc 0; make plan-check-test, make plan-workflow-test, make env-check env-test rc 0; mise exec -- make check rc 0, 150 ok, 5 Success!, gate-test: 22. This matches the body.
  • CI combined status at 1fc119e: checks / static success (13s), checks / execute success (2m49s), plan / guest-plan-check success, plan / edge-plan-check success. The author's claim is confirmed.
  • Judge probes (PLAN_CHECK_NAME set): empty, truncated or garbage stdin → rc 2; {} → rc 1; clean update → 0; delete → 1; create+delete → 1; move+delete → 1; no changes with baseline → 0; present-but-empty baseline with create → 0 (A-2).
  • Real macro through make, stub tofu: a replace is refused, nothing applied, plan.out removed. A clean plan whose show -json exits 3 after printing it is refused, because the Makefile runs -eu -o pipefail (Makefile:1-3). A clean plan with a normal stub applies.
  • Mutants, each on its own copy of the head with the suite re-run: guest judge path, edge judge path, hardcoded name, guest→edge, edge→guest, dropped rm, mode always on, || true on the judge line → all red. | cat on the judge pipe → green, which is equivalent under pipefail, so not a gap. Emptied guest word → green (A-1).
  • make -n guest and make -n edge: word vikunja on the prompt branch. make -n service: confirm_word, unchanged.
  • Diff accounted for: GLOSSARY.md (Apply gate term), Makefile (macro, guest and edge calls, gate-test target, check prerequisite, PHONY, help), README.md (paragraph), scripts/tests/gate.test.sh (new, 169 lines).
  • Secrets: the only credential-shaped strings are stub placeholders in the mirror's .env (diff lines 294-298).
  • Neighbours: infra-forge origin/main Makefile:162 has the identical NONINTERACTIVE_MODE line. infra-cockpit deploy.yml:69 runs make prod NONINTERACTIVE=1. I did not diff the whole macro against forge.

Summary

Axis BLOCKER ADVISORY Worst
Standards 0 1 (A-1) A-1: a test header claims Target-level coverage the suite does not give
Spec 0 1 (A-2) A-2: the baseline guard passes a present-but-empty state, which the mode would apply

Two advisories is under the volume trip, so the recommendation is merge. The count, not the weight, is the only thing that could have moved it.

<!-- minos review-loop: repo=olympus/infra-tracker pr=58 head=1fc119eb7ee4e3964401b1e7e9b82a1c531074aa round=2/5 axes=standards,spec verdict=merge --> repo `olympus/infra-tracker` · PR **#58** · head `1fc119eb7ee4e3964401b1e7e9b82a1c531074aa` · round **2/5** · verdict **merge** Round count: the dispatch says "round 1 of 5", but the thread already carries one posted review of mine (id 676, round 1/5, head `5098b14`, REQUEST_CHANGES). By the loop's count this is round 2, so the header uses 2. The delta is `git diff 5098b14 1fc119e` (commits `6fe708d`, `1fc119e`). The re-review bar applies: a new BLOCKER must be a correctness or security defect introduced or exposed by the fix. Recommendation: merge Charter: the dispatch places the class escalation elsewhere ("never a reason to withhold an approval"), so the review state follows the findings. Merging remains pit's act. This review does not merge. ## Round-1 ledger (5098b14 → 1fc119e) | Round-1 finding | Then | Now | Evidence at 1fc119e | |---|---|---|---| | PR body skips `## Merge Danger` (AGENTS.md §Pull requests) | BLOCKER | **cleared** | PR body (updated 09:03:52Z) carries `## Merge Danger`, Door: two-way, Blast Radius | | Docs still say the gate is the typed word | ADVISORY | **cleared** | GLOSSARY.md:63-67; README.md:116-123; Makefile:342, :366 help text; `make help` prints the new wording | | Test leaves per-Target judge and name unpinned | ADVISORY | **cleared for judge and name** (word: see A-1) | gate.test.sh:145-158 drives `guest` and `edge`; the round-1 mutants all go red: guest judge path, edge judge path, hardcoded name, guest→edge name, edge→guest name, dropped `rm` | | `15` printed as a literal | ADVISORY | **cleared** | gate.test.sh:165 prints `$passed` | | `gate-test` row owed in olympus/workshop | ADVISORY | **named, not charged** | the body states it is owed and where it lands, which is the clearing condition round 1 set | ## Standards **A-1 · ADVISORY · the test header claims Target-level coverage of the unset path it does not have** — `scripts/tests/gate.test.sh:3-4` says the file covers "what both Targets still do when the variable is absent or exported". Every Target-level run passes `NONINTERACTIVE=1` (gate.test.sh:145-149; calls at :152 and :158). The absent and exported cases run only through the probe target (:81-120). Mutant: `guest`'s word argument emptied (Makefile:345 becomes `$(call confirm_and_apply,,$(GUEST_PLAN_CHECK),guest)`) → `gate-test: 22 assertions, 0 FAILED.`, rc 0. The real Targets are correct at head: `make -n guest` and `make -n edge` both print the word prompt with `vikunja`. So this is a coverage gap, not a defect. Clears with: one assertion running `make -s guest` and `make -s edge` with the variable absent, the word typed and a wrong word; or drop the absent/exported clause from the header. On a first round this would be a BLOCKER (a test that claims a pin it does not give). On this re-review it is newly spotted with the code correct, so it stays ADVISORY. Named, not charged (Standards): `docs/reference/state.md:177-178` and AGENTS.md §State describe the unset path only. No workflow or script invokes the mode yet. The workshop row is disclosed as owed. ## Spec Sources: **THE-14** rev 13, read live at 09:10Z (`fetch-paperclip-issue.sh`, 200; doc updated 2026-11-12T21:27:22Z). Its tracker row reads "`NONINTERACTIVE=1` on the apply Targets: **no**", and it names **TR-63** as "the tracker's non-interactive applies". **TR-63** itself was not readable: `fetch-vikunja-task.sh 3 63` answered 401 on both shipped keys at 09:10Z, and there is no cached copy under cache/scratch. Its acceptance criteria are unverified. **A-2 · ADVISORY · the baseline guard misses a state that exists but is empty** — `scripts/plan-check.py:15-17` says a plan without a baseline is red, because "every resource plans as a create" and would "pass by proposing nothing it could lose". Line 82 keys the baseline on `bool(plan.get("prior_state"))`, so a present-but-empty state passes. Probe: `prior_state` present with empty values and one `create` → rc 0, "the plan loses nothing". Same create with `prior_state` absent → rc 1. Under the mode that green is applied unattended. The bound: the Guest's `vmid` is pinned to 142 (vikunja/guest/variables.tf:26), so a re-create should collide in Proxmox and fail. I did not reproduce that against live Proxmox, and the edge's behaviour on a duplicate proxy host is unverified. ADR-0011 permits adds, so this is not an ADR breach. Nothing calls the mode yet, so merging is safe today. Clears with: the judge red on a `prior_state` that holds no resources. That is a change to `scripts/plan-check.py`, the CI judge, which the charter escalates, so the board should settle it before the first caller (TR-58). I would hold that first caller, not this merge. If Proxmox accepts a duplicate `vmid`, re-open this as a BLOCKER. **Named, not charged (Spec):** `service` stays on the word. The body's reason ("the ticket names the two apply Targets") rests on TR-63's text, which I could not read. It is listed under *could not verify*. Spec findings against the readable contract (THE-14 rev 13 and the body's table): none. ## Gate boundary (charter, four checked at 1fc119e) | The four | At 1fc119e | |---|---| | workflow files | untouched (`.forgejo/workflows/checks.yaml`, `plan.yml`) | | required context names | untouched: `checks / static`, `checks / execute`, `plan / guest-plan-check`, `plan / edge-plan-check` | | job names | untouched | | target each job runs | `make check` recipe untouched (prerequisite list gains `gate-test`, a floor, not a gate change); `guest-plan-check` and `edge-plan-check` untouched. `guest` and `edge` are deploy-only apply Targets that move beneath them, graded on behaviour | `scripts/plan-check.py` and `scripts/plan_check.py` are not in the diff. Escalation classes, named for the board and not held: destroy or replace, none introduced (the mode refuses them); ADR, none changed (ADR-0011 read at workshop origin/main 09840e0); branch protection, untouched; tier-1, the edge Stack is the NPM proxy ("network/core: proxy"), and this change touches its apply gate, not its configuration. No board card was opened or cited by this round. ## Named, not charged - The workshop `gate-test` row, disclosed as owed with its landing place. - `scripts/__pycache__/` appears after `make plan-check-test`. That is the pre-existing test, untracked, not this diff. - The judge passes the `forget` action as no loss. The repo has no `removed` blocks (0 `.tf` files), so it is unreachable today. ## Could not verify - TR-63's acceptance criteria (401 on both shipped keys, 09:10Z). Whether `service` belongs in scope depends on them. - The author's cited `glossary-vocab-check.py`: not in this repo, not run. - Proxmox and NPM behaviour on a duplicate `vmid` or proxy host (the bound for A-2). - The old-suite numbers in the author's mutation table: I re-ran only the new suite. ## Verified (how) - Head: `git ls-remote origin refs/pull/58/head` = `1fc119e`; `5098b14` is an ancestor. - Suites at `1fc119e`, in a worktree: `make gate-test` 22/0 rc 0; `make plan-check-test`, `make plan-workflow-test`, `make env-check env-test` rc 0; `mise exec -- make check` rc 0, 150 `ok`, 5 `Success!`, `gate-test: 22`. This matches the body. - CI combined status at `1fc119e`: `checks / static` success (13s), `checks / execute` success (2m49s), `plan / guest-plan-check` success, `plan / edge-plan-check` success. The author's claim is confirmed. - Judge probes (`PLAN_CHECK_NAME` set): empty, truncated or garbage stdin → rc 2; `{}` → rc 1; clean update → 0; delete → 1; create+delete → 1; move+delete → 1; no changes with baseline → 0; present-but-empty baseline with create → 0 (A-2). - Real macro through make, stub `tofu`: a replace is refused, nothing applied, `plan.out` removed. A clean plan whose `show -json` exits 3 after printing it is refused, because the Makefile runs `-eu -o pipefail` (Makefile:1-3). A clean plan with a normal stub applies. - Mutants, each on its own copy of the head with the suite re-run: guest judge path, edge judge path, hardcoded name, guest→edge, edge→guest, dropped `rm`, mode always on, `|| true` on the judge line → all red. `| cat` on the judge pipe → green, which is equivalent under `pipefail`, so not a gap. Emptied guest word → green (A-1). - `make -n guest` and `make -n edge`: word `vikunja` on the prompt branch. `make -n service`: `confirm_word`, unchanged. - Diff accounted for: GLOSSARY.md (Apply gate term), Makefile (macro, guest and edge calls, `gate-test` target, `check` prerequisite, PHONY, help), README.md (paragraph), scripts/tests/gate.test.sh (new, 169 lines). - Secrets: the only credential-shaped strings are `stub` placeholders in the mirror's `.env` (diff lines 294-298). - Neighbours: infra-forge `origin/main` Makefile:162 has the identical `NONINTERACTIVE_MODE` line. infra-cockpit `deploy.yml:69` runs `make prod NONINTERACTIVE=1`. I did not diff the whole macro against forge. ## Summary | Axis | BLOCKER | ADVISORY | Worst | |---|---|---|---| | Standards | 0 | 1 (A-1) | A-1: a test header claims Target-level coverage the suite does not give | | Spec | 0 | 1 (A-2) | A-2: the baseline guard passes a present-but-empty state, which the mode would apply | Two advisories is under the volume trip, so the recommendation is merge. The count, not the weight, is the only thing that could have moved it.
pit merged commit 71f384098e into main 2026-11-13 10:51:37 +00:00
pit deleted branch hermes/TR-63-the-tracker-s-guest-and-edge-apply-under-a-deployer 2026-11-13 10:51:37 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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-tracker!58
No description provided.