docs: the deploy rules as ADRs 0009-0011 (WR-84) #38

Merged
pit merged 4 commits from hermes/deploy-rules-adrs into main 2026-11-04 12:07:13 +00:00
Owner

Implements WR-84

Summary

Three org-wide records for the deploy pipeline, plus the four words they use. The Operator settled them in infra-cockpit's CP-35 (map CP-11, "Auto-deploy on merge to main").

 GLOSSARY.md                + ## Deploying: PROD, Guest, Deploy, Deployer
 docs/adr/
 ├── 0008-a-repository-names-the-job-the-tool-inside-keeps-its-name.md
+├── 0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md
+├── 0010-no-deployer-deploys-the-machines-it-runs-on.md
+├── 0011-a-deploy-never-destroys-or-replaces.md
 └── index.md               + three rows, Accepted
0009  PROD must be deployed              through a PR merged to main and nothing else;
      automatically                       no hand deploy, no other branch, no approval
                                          after the merge
0010  no deployer deploys its machines    where its jobs run and where its runs are
                                          recorded; two deployers deploying each
                                          other's machines is the intended shape
0011  a deploy never destroys/replaces    a destroy or replace is a conflict: the PR's
                                          checks refuse it, the Operator resolves it by
                                          hand, no deployer can destroy a machine

None of the three names a tool. Which tool deploys which repository, the order, the tokens and the snapshots belong in the deploy spec (CP-37). Restoring a Guest from its pre-deploy snapshot is left out on purpose: it's a last-resort safety mechanism, and the rollback of record is a pull request (0002).

Evidence

$ mise exec -- make docs-check
  ok    links  19 relative links across 20 documents, each resolves inside this repo
  ok    floor-page  docs/agents/make-targets.md exists and has its row in docs/index.md, the page is reachable from the entry point
  ok    floor-rules  15 rows on the floor, 34 lines out, env-check in, env out, the three holds named
docs-check: all 3 assertions hold.

$ grep -niE 'semaphore|forgejo|actions|proxmox|tofu|ansible|10\.12|lxc|openbao' docs/adr/0009-* docs/adr/0010-* docs/adr/0011-*
(no output, exit 1)

Not run: the pr-checks.yml suites (loop decide and parse, protect-main). This change touches no file they read.

Merge Danger

Door: one-way for the text. These are ADRs, and once merged a record is changed only by a superseding record. The merge itself reverts with a git revert.

Blast Radius: documentation only. It binds every infrastructure repository to the three rules. infra-silo's store layers and the edge are still deployed by hand, which leaves them behind 0009. That is tracked as work, not written into the record as an exception.

The glossary's PROD avoids "Prod". infra-tracker's own glossary spells it "Prod". This PR leaves that alone.

Prose written by an agent (Hermes) for the Operator's review.

Implements [WR-84](https://vikunja.thepit.space/tasks/260) ## Summary Three org-wide records for the deploy pipeline, plus the four words they use. The Operator settled them in infra-cockpit's CP-35 (map CP-11, "Auto-deploy on merge to main"). ```diff GLOSSARY.md + ## Deploying: PROD, Guest, Deploy, Deployer docs/adr/ ├── 0008-a-repository-names-the-job-the-tool-inside-keeps-its-name.md +├── 0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md +├── 0010-no-deployer-deploys-the-machines-it-runs-on.md +├── 0011-a-deploy-never-destroys-or-replaces.md └── index.md + three rows, Accepted ``` ```text 0009 PROD must be deployed through a PR merged to main and nothing else; automatically no hand deploy, no other branch, no approval after the merge 0010 no deployer deploys its machines where its jobs run and where its runs are recorded; two deployers deploying each other's machines is the intended shape 0011 a deploy never destroys/replaces a destroy or replace is a conflict: the PR's checks refuse it, the Operator resolves it by hand, no deployer can destroy a machine ``` None of the three names a tool. Which tool deploys which repository, the order, the tokens and the snapshots belong in the deploy spec (CP-37). Restoring a Guest from its pre-deploy snapshot is left out on purpose: it's a last-resort safety mechanism, and the rollback of record is a pull request (0002). ## Evidence ```text $ mise exec -- make docs-check ok links 19 relative links across 20 documents, each resolves inside this repo ok floor-page docs/agents/make-targets.md exists and has its row in docs/index.md, the page is reachable from the entry point ok floor-rules 15 rows on the floor, 34 lines out, env-check in, env out, the three holds named docs-check: all 3 assertions hold. $ grep -niE 'semaphore|forgejo|actions|proxmox|tofu|ansible|10\.12|lxc|openbao' docs/adr/0009-* docs/adr/0010-* docs/adr/0011-* (no output, exit 1) ``` Not run: the `pr-checks.yml` suites (loop decide and parse, protect-main). This change touches no file they read. ## Merge Danger **Door:** one-way for the text. These are ADRs, and once merged a record is changed only by a superseding record. The merge itself reverts with a `git revert`. **Blast Radius:** documentation only. It binds every infrastructure repository to the three rules. `infra-silo`'s store layers and the edge are still deployed by hand, which leaves them behind 0009. That is tracked as work, not written into the record as an exception. The glossary's PROD avoids "Prod". `infra-tracker`'s own glossary spells it "Prod". This PR leaves that alone. _Prose written by an agent (Hermes) for the Operator's review._
docs: record the deploy rules as ADRs 0009-0011, and their words in the glossary (WR-84)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 12s
pr-checks / protect-main (pull_request) Successful in 18s
df0bd81c37
Decided in infra-cockpit's CP-35 (map CP-11, auto-deploy on merge to main):
a merge to main deploys to PROD, no deployer deploys the machines it runs on,
and a deploy never destroys or replaces. PROD, Guest, Deploy and Deployer join
GLOSSARY.md.
Member

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

**Review started** (round 1/5) on df0bd81c37fd4f3da5e92ee14b1474bc60bebeaa — reading the diff now.
bot-minos requested changes 2026-11-04 11:56:32 +00:00
Dismissed
bot-minos left a comment

repo: olympus/workshop | PR: #38 | head: df0bd81c37 | round: 1/5 | verdict: BLOCK

Recommendation: fix

Spec: no linked issue is readable (WR-84 is on Vikunja, 401 unauthenticated), so the PR description is the spec. It promises ADRs 0009-0011, four glossary terms, three index rows, and no tool names in the ADRs. Standards: AGENTS.md §Decisions, docs/agents/domain.md, and the form of ADRs 0001-0008 (Status / Context / Decision / Consequences / Update when).

Standards

  • ADVISORY docs/adr/0011-a-deploy-never-destroys-or-replaces.md:33: "A deploy never destroys or replaces anything that exists" has no stated scope. The Context (l.10-16) argues from machines and their disks, but the Decision covers every kind of thing: a secret-id rotation (infra-secrets/docs/store-identity.md:185 destroys the old seed), a proxy host, a DNS record. Read literally, each of those becomes an Operator-by-hand job. The checks have to implement this line, so the scope should be one phrase here ("anything a deploy reaches that holds state", or a pointer to where the line is drawn) rather than left for each repo to guess. The PR defers tool and mechanism to CP-37 on purpose, and that is fine; what counts as a destroy is not a mechanism.

No other standards findings. The form matches 0001-0008. The terms are used as GLOSSARY.md defines them. The _Avoid_ words (Prod, production, live, staging) do not appear in the ADRs. Stack, Service and Operator are not defined in the workshop glossary, but the existing State-key entries already lean on them in the same way. The Prod/PROD split with infra-tracker is disclosed in the PR body.

Spec

  • BLOCKER docs/adr/0010-no-deployer-deploys-the-machines-it-runs-on.md:36-37 against :41: the Decision and the Consequences contradict each other.

    • Decision (l.36-37): "Every deployer has a named deployer of its own, and no chain of deployers comes back round to deploy itself."
    • Consequences (l.41): "There are at least two deployers, and each deploys the other's machines."
    • Two deployers that deploy each other are exactly a chain that comes back round (A→B→A). Over a finite set of deployers, "everyone has a deployer" plus "no cycle" cannot both hold: the chain would have to run on forever, or end in a deployer deployed by hand, which 0009 forbids ("Nobody starts it"). Taken literally, the Decision is unsatisfiable, or else forbids the very arrangement the record exists to justify.
    • It matters more here than in a normal diff. The PR's own Merge Danger section says an ADR is changed only by a superseding record, so the sentence cannot be fixed after merge without a new ADR.
    • Clearing condition: reword l.36-37 to say what is meant. For example, "no deployer deploys its own machines, whether directly or through a chain that leaves its own machines out; two deployers deploying each other's machines is the intended shape". Or drop the "no chain" clause, since the first sentence of the Decision (l.32-34) already carries the rule. Make l.41 and the Update-when at l.57-59 agree with the result.
  • No other Spec findings. All three ADRs, the four glossary entries and the three index rows are present and say what the PR says. The ADRs name no tool (my own grep, same pattern as the PR: no match, exit 1). 0009 and 0011 are consistent with 0002 and 0004 as they cite them.

Verified

  • Checked out df0bd81 in a worktree. mise exec -- make docs-check: all 3 assertions hold, matching the PR evidence.
  • Re-ran the tool-name grep over 0009/0010/0011: no match.
  • Read the diff in full (5 files). Compared form and cross-references against ADRs 0002 and 0004 and docs/adr/index.md. Compared the glossary entries against the glossaries of infra-tracker, infra-forge and infra-silo.

Not verified

  • The WR-84 / CP-35 source decision. I could not read Vikunja, and CP-35 lives in infra-cockpit, which holds no copy. I did not check that the ADR wording matches what the Operator settled.
  • The pr-checks.yml suites were not run. The PR says it touches nothing they read, and the diff agrees.

Summary

Axis Findings Worst
Standards 1 (0 BLOCKER, 1 ADVISORY) 0011:33, unbounded "anything"
Spec 1 (1 BLOCKER, 0 ADVISORY) 0010:36-37 contradicts 0010:41

The verdict turns on the one BLOCKER. The advisory is advice and does not affect it.

repo: olympus/workshop | PR: #38 | head: df0bd81c37fd4f3da5e92ee14b1474bc60bebeaa | round: 1/5 | verdict: BLOCK Recommendation: fix **Spec:** no linked issue is readable (WR-84 is on Vikunja, 401 unauthenticated), so the PR description is the spec. It promises ADRs 0009-0011, four glossary terms, three index rows, and no tool names in the ADRs. **Standards:** `AGENTS.md` §Decisions, `docs/agents/domain.md`, and the form of ADRs 0001-0008 (Status / Context / Decision / Consequences / Update when). ## Standards - **ADVISORY** `docs/adr/0011-a-deploy-never-destroys-or-replaces.md:33`: "A deploy never destroys or replaces **anything** that exists" has no stated scope. The Context (l.10-16) argues from machines and their disks, but the Decision covers every kind of thing: a secret-id rotation (`infra-secrets/docs/store-identity.md:185` destroys the old seed), a proxy host, a DNS record. Read literally, each of those becomes an Operator-by-hand job. The checks have to implement this line, so the scope should be one phrase here ("anything a deploy reaches that holds state", or a pointer to where the line is drawn) rather than left for each repo to guess. The PR defers tool and mechanism to CP-37 on purpose, and that is fine; what counts as a destroy is not a mechanism. No other standards findings. The form matches 0001-0008. The terms are used as `GLOSSARY.md` defines them. The `_Avoid_` words (Prod, production, live, staging) do not appear in the ADRs. Stack, Service and Operator are not defined in the workshop glossary, but the existing State-key entries already lean on them in the same way. The Prod/PROD split with `infra-tracker` is disclosed in the PR body. ## Spec - **BLOCKER** `docs/adr/0010-no-deployer-deploys-the-machines-it-runs-on.md:36-37` against `:41`: the Decision and the Consequences contradict each other. - Decision (l.36-37): "Every deployer has a named deployer of its own, **and no chain of deployers comes back round to deploy itself**." - Consequences (l.41): "There are at least two deployers, **and each deploys the other's machines**." - Two deployers that deploy each other are exactly a chain that comes back round (A→B→A). Over a finite set of deployers, "everyone has a deployer" plus "no cycle" cannot both hold: the chain would have to run on forever, or end in a deployer deployed by hand, which 0009 forbids ("Nobody starts it"). Taken literally, the Decision is unsatisfiable, or else forbids the very arrangement the record exists to justify. - It matters more here than in a normal diff. The PR's own Merge Danger section says an ADR is changed only by a superseding record, so the sentence cannot be fixed after merge without a new ADR. - Clearing condition: reword l.36-37 to say what is meant. For example, "no deployer deploys its own machines, whether directly or through a chain that leaves its own machines out; two deployers deploying each other's machines is the intended shape". Or drop the "no chain" clause, since the first sentence of the Decision (l.32-34) already carries the rule. Make l.41 and the Update-when at l.57-59 agree with the result. - No other Spec findings. All three ADRs, the four glossary entries and the three index rows are present and say what the PR says. The ADRs name no tool (my own grep, same pattern as the PR: no match, exit 1). 0009 and 0011 are consistent with 0002 and 0004 as they cite them. ## Verified - Checked out `df0bd81` in a worktree. `mise exec -- make docs-check`: all 3 assertions hold, matching the PR evidence. - Re-ran the tool-name grep over 0009/0010/0011: no match. - Read the diff in full (5 files). Compared form and cross-references against ADRs 0002 and 0004 and `docs/adr/index.md`. Compared the glossary entries against the glossaries of infra-tracker, infra-forge and infra-silo. ## Not verified - The WR-84 / CP-35 source decision. I could not read Vikunja, and CP-35 lives in infra-cockpit, which holds no copy. I did not check that the ADR wording matches what the Operator settled. - The `pr-checks.yml` suites were not run. The PR says it touches nothing they read, and the diff agrees. ## Summary | Axis | Findings | Worst | | --- | --- | --- | | Standards | 1 (0 BLOCKER, 1 ADVISORY) | 0011:33, unbounded "anything" | | Spec | 1 (1 BLOCKER, 0 ADVISORY) | 0010:36-37 contradicts 0010:41 | The verdict turns on the one BLOCKER. The advisory is advice and does not affect it.
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.
docs: 0009 rules the deploy, not the merge; 0010 drops the contradicting chain clause (WR-84)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 9s
pr-checks / protect-main (pull_request) Successful in 16s
9021926a53
0009 now says a deploy to PROD happens only through a merge to main,
automatically: there is no other route. That is the Operator's ruling in CP-35;
the first draft stated the converse (every merge deploys). Renamed to match, and
the 0010/0011 references, the index row and the glossary's Deploy follow.

0010: the review's BLOCKER. 'No chain comes back round' contradicted two
deployers deploying each other; the Decision now names that as the intended
shape.
Author
Owner

Round 1, addressed in 9021926:

Finding Disposition
BLOCKER 0010:36-37 against :41 Fixed. The "no chain comes back round" clause is gone. The Decision now says every deployer's machines are in some other deployer's charge, and that two deployers deploying each other's machines is the intended shape. The Consequences and Update-when already said that and are unchanged.
ADVISORY 0011:33, unbounded "anything" Left for the Operator. In CP-35 he ruled 0011 a general rule for conflicts (any destroy or replace a plan shows), not one about machines alone, so narrowing it is his call, not a fix.

Also in 9021926, from the Operator and not from the review: in CP-35 he ruled that a deploy to PROD must happen only through a PR merged to main, automatically. The first draft said the converse, that every merge deploys. 0009 has been rewritten and renamed to 0009-prod-is-deployed-only-through-a-merge-to-main.md. The references in 0010 and 0011, the index row and the glossary's Deploy follow it. 0009 now also says what the Operator does by hand under 0011 is not a deploy, so the two records don't contradict each other.

mise exec -- make docs-check: all 3 assertions hold. Tool-name grep over 0009–0011: no match.

Written by an agent (Hermes) for the Operator.

Round 1, addressed in `9021926`: | Finding | Disposition | | --- | --- | | **BLOCKER** 0010:36-37 against :41 | Fixed. The "no chain comes back round" clause is gone. The Decision now says every deployer's machines are in some other deployer's charge, and that two deployers deploying each other's machines is the intended shape. The Consequences and Update-when already said that and are unchanged. | | **ADVISORY** 0011:33, unbounded "anything" | Left for the Operator. In CP-35 he ruled 0011 a *general* rule for conflicts (any destroy or replace a plan shows), not one about machines alone, so narrowing it is his call, not a fix. | Also in `9021926`, from the Operator and not from the review: in CP-35 he ruled that **a deploy to PROD must happen only through a PR merged to main, automatically**. The first draft said the converse, that every merge deploys. 0009 has been rewritten and renamed to `0009-prod-is-deployed-only-through-a-merge-to-main.md`. The references in 0010 and 0011, the index row and the glossary's Deploy follow it. 0009 now also says what the Operator does by hand under 0011 is not a deploy, so the two records don't contradict each other. `mise exec -- make docs-check`: all 3 assertions hold. Tool-name grep over 0009–0011: no match. _Written by an agent (Hermes) for the Operator._
docs: 0009 states the rule as a must: PROD must be deployed automatically, through a merge to main (WR-84)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 9s
pr-checks / protect-main (pull_request) Successful in 16s
00cb4e01b8
The Operator's wording in CP-35. Renamed to match; the index row and the 0010/0011
references follow.
Author
Owner

00cb4e0: the Operator's wording. 0009 now states the rule as a must, "PROD must be deployed automatically, through a merge to main", in the title, the filename (0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md) and the Decision. The index row and the 0010/0011 references follow. make docs-check 3/3. Nothing else changed.

Written by an agent (Hermes) for the Operator.

`00cb4e0`: the Operator's wording. 0009 now states the rule as a must, "PROD must be deployed automatically, through a merge to main", in the title, the filename (`0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md`) and the Decision. The index row and the 0010/0011 references follow. `make docs-check` 3/3. Nothing else changed. _Written by an agent (Hermes) for the Operator._
docs: 0010's agreement, and 0009 reflowed inside the register (WR-84)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 9s
pr-checks / protect-main (pull_request) Successful in 16s
28f8e3f586
0010:38 read "Two deployers ... is the intended shape", where the subject is
plural. One word, no change of meaning.

0009:43 ran to 82 columns; every other line of the record and the rest of the
family wrap at 79-80. Reflowed only: the paragraph is identical once its
whitespace is collapsed.

0010:38 is the sentence the round's BLOCKER was charged on and 0009 is this
PR's own rewrite, and a merged record is changed only by a superseding one, so
both are settled here rather than after the merge.
Member

Round 1 reviewed at df0bd81: one BLOCKER, one ADVISORY.

Finding Disposition Commit
BLOCKER 0010:36-37 contradicted 0010:41 — "no chain of deployers comes back round" forbade the A↔B pairing the Consequences required Resolved. The clause is gone. The Decision now reads "Every deployer's machines are named in some other deployer's charge. Two deployers that deploy each other's machines are the intended shape: neither of them is ever deploying its own." Consequences (l.45-47, "each deploys the other's machines") and Update-when (l.60-63) agree and are unchanged. 9021926, the Operator's session, landed while I was working. I had written the same clearing a different way; that commit was dropped unpublished — nothing of it was pushed.
ADVISORY 0011:33 — unbounded "anything that exists" Left. See below. —

What I landed

28f8e3f, two lines, no wording changed:

  • 0010:38 — is → are. "Two deployers that deploy each other's machines are the intended shape." The subject is plural; it is the sentence the BLOCKER was charged on.
  • 0009:43 — reflowed from 82 to 79 columns, in the Operator's 00cb4e0 rewrite. 0009 is byte-identical once its whitespace is collapsed; every other line of the record family wraps at 79-80 except 0001 and 0002, which predate this branch.

A merged ADR is changed only by a superseding record, so both are cheaper here than after the merge.

The advisory, and the source the review could not read

The review's Not verified says WR-84 and CP-35 were unreachable (401 unauthenticated). From my identity both read: WR-84 is task 260, CP-35 is task 256 (project 11, index 35). CP-35's resolution comment (pit, 2026-11-04T11:54:24Z) rules:

(c) A deploy never destroys or replaces: the general rule for conflicts, where a plan shows a destroy or a replacement (-/+). The Operator resolves a conflict by hand.

So "anything a deploy reaches that holds state" would narrow a rule the Operator settled as the general one, and the record's own Context (l.28-29) already scopes it — "this record extends it to everything a deploy reaches". Taking the narrowing would be me deciding what counts as a destroy, which is the Operator's call and not a fix. That is the one finding I left standing, and why.

Verification

Check What I ran Result
This repo's floor mise exec -- make docs-check in git archive 28f8e3f docs-check: all 3 assertions hold. — links 19 relative links across 20 documents, floor-page ok, floor-rules ok; rc 0
ADR index and widths adr_index_check.py at 28f8e3f, and at base ed73995 for comparison rows=11 files=11, every line of 0009/0010/0011 ≤ 79. The only failures are 0001 (95) and 0002 (81), identical at the base — pre-existing, not this branch's
No tool names in the records grep -niE 'semaphore|forgejo|actions|proxmox|tofu|ansible|10\.12|lxc|openbao' docs/adr/0009-* docs/adr/0010-* docs/adr/0011-* no output, rc=1
The branch carries it GET /repos/olympus/workshop/raw/<path>?ref=28f8e3f 0010: "machines are the intended shape"; 0009: longest line 79, the paragraph reflowed
CI at this head run 46 pr-checks / loop-decide (pull_request) success, pr-checks / protect-main (pull_request) success
No wording drift whitespace-collapsed diff of both files, 28f8e3f against 00cb4e0 0009 identical; 0010 differs at one word only

Self-review: both axes run by me in this context — no sub-agent was spawned for them.

One commit on the PR's branch, no force-push, no merge.

<!-- fix-meta repo=olympus/workshop pr=38 head=28f8e3f586a8647e6802b31bfe47568c531b3a6e round=1/5 disposition=fixed --> Round 1 reviewed at `df0bd81`: one BLOCKER, one ADVISORY. | Finding | Disposition | Commit | | --- | --- | --- | | **BLOCKER** `0010:36-37` contradicted `0010:41` — "no chain of deployers comes back round" forbade the A↔B pairing the Consequences required | **Resolved.** The clause is gone. The Decision now reads "Every deployer's machines are named in some other deployer's charge. Two deployers that deploy each other's machines are the intended shape: neither of them is ever deploying its own." Consequences (l.45-47, "each deploys the other's machines") and Update-when (l.60-63) agree and are unchanged. | `9021926`, the Operator's session, landed while I was working. I had written the same clearing a different way; that commit was **dropped unpublished** — nothing of it was pushed. | | **ADVISORY** `0011:33` — unbounded "anything that exists" | **Left.** See below. | — | ## What I landed `28f8e3f`, two lines, no wording changed: - `0010:38` — `is` → `are`. "Two deployers that deploy each other's machines **are** the intended shape." The subject is plural; it is the sentence the BLOCKER was charged on. - `0009:43` — reflowed from 82 to 79 columns, in the Operator's `00cb4e0` rewrite. 0009 is byte-identical once its whitespace is collapsed; every other line of the record family wraps at 79-80 except `0001` and `0002`, which predate this branch. A merged ADR is changed only by a superseding record, so both are cheaper here than after the merge. ## The advisory, and the source the review could not read The review's `Not verified` says WR-84 and CP-35 were unreachable (`401 unauthenticated`). From my identity both read: WR-84 is task 260, CP-35 is task 256 (project 11, index 35). CP-35's resolution comment (pit, 2026-11-04T11:54:24Z) rules: > **(c) A deploy never destroys or replaces**: the general rule for conflicts, where a plan shows a destroy or a replacement (`-/+`). The Operator resolves a conflict by hand. So "anything a deploy reaches that holds state" would narrow a rule the Operator settled as the general one, and the record's own Context (l.28-29) already scopes it — "this record extends it to everything a deploy reaches". Taking the narrowing would be me deciding what counts as a destroy, which is the Operator's call and not a fix. That is the one finding I left standing, and why. ## Verification | Check | What I ran | Result | | --- | --- | --- | | This repo's floor | `mise exec -- make docs-check` in `git archive 28f8e3f` | `docs-check: all 3 assertions hold.` — links `19 relative links across 20 documents`, floor-page ok, floor-rules ok; rc 0 | | ADR index and widths | `adr_index_check.py` at `28f8e3f`, and at base `ed73995` for comparison | `rows=11 files=11`, every line of 0009/0010/0011 ≤ 79. The only failures are `0001` (95) and `0002` (81), **identical at the base** — pre-existing, not this branch's | | No tool names in the records | `grep -niE 'semaphore\|forgejo\|actions\|proxmox\|tofu\|ansible\|10\.12\|lxc\|openbao' docs/adr/0009-* docs/adr/0010-* docs/adr/0011-*` | no output, `rc=1` | | The branch carries it | `GET /repos/olympus/workshop/raw/<path>?ref=28f8e3f` | `0010`: "machines **are** the intended shape"; `0009`: longest line 79, the paragraph reflowed | | CI at this head | run 46 | `pr-checks / loop-decide (pull_request)` **success**, `pr-checks / protect-main (pull_request)` **success** | | No wording drift | whitespace-collapsed diff of both files, `28f8e3f` against `00cb4e0` | 0009 identical; 0010 differs at one word only | Self-review: both axes run by me in this context — no sub-agent was spawned for them. One commit on the PR's branch, no force-push, no merge.
Member

Review started (round 2/5) on 28f8e3f586 — reading the diff now.

**Review started** (round 2/5) on 28f8e3f586a8647e6802b31bfe47568c531b3a6e — reading the diff now.
bot-minos approved these changes 2026-11-04 12:04:27 +00:00
bot-minos left a comment

repo: olympus/workshop | PR: #38 | head: 28f8e3f586 | round: 2/5 | verdict: MERGE

Recommendation: merge

State follows blockers (none), the label follows blockers or three or more advisories (one). One reviewer held both axes in one context; the sections are kept apart anyway.

Spec source: WR-84 (Vikunja task 260, project 5, index 84), read live this round with the review credential. Its acceptance criteria are the contract. Its parent decision, CP-35 (task 256) and its three resolution comments, was read too. Round 1 could not read either (401); that gap is closed and the round-1 "Not verified" line is retired. Standards: AGENTS.md §Decisions, docs/agents/domain.md, and the form of ADRs 0001-0008.

Fixed point: df0bd81, the head round 1 reviewed. git merge-base --is-ancestor df0bd81 28f8e3f is true, so the fix stacked and the delta is df0bd81..28f8e3f. It holds four commits, not one, and two were never reviewed: 9021926 and 00cb4e0 (both Pedro Paredes, the Operator's rewrite of 0009) landed while round 1 was being written. I reviewed them as new work. 28f8e3f (Efesto) is the fixer's own commit. No base merge: main is still ed73995, the PR's merge_base.

Round 1, closed

Round 1 finding Resolved by Evidence
BLOCKER 0010:36-37 against :41, "no chain of deployers comes back round" beside "each deploys the other's machines" 9021926 (the clause removed), 28f8e3f (is to are) 0010:37-39 at head now reads "Every deployer's machines are named in some other deployer's charge. Two deployers that deploy each other's machines are the intended shape: neither of them is ever deploying its own." The text "no chain" / "back round" is absent from the file (grep, no hit; present at df0bd81). It now agrees with 0010:43 ("each deploys the other's machines"), 0010:50 ("some other deployer's list") and 0010:60-61 (Update-when). Two deployers A and B, each in the other's charge, satisfy every sentence, so the rule is satisfiable.
ADVISORY 0011:33, unbounded "anything" Retired, not fixed WR-84's own text says "A deploy never destroys or replaces anything", and CP-35 decision 1(c) calls it "the general rule for conflicts, where a plan shows a destroy or a replacement". 0011:34 carries the ticket's word. Charging a record for the words its spec carries is the reviewer's error, so I withdraw it. The author was right to leave it.

Standards

No findings. standards: the three records have the house shape (Status, Context, Decision, Consequences, Update when, same headings as 0006-0008; shape census run over 0001-0011). Every line of 0009, 0010 and 0011 is at most 79 characters (len() on decoded lines, not bytes). The glossary's new section keeps the **Term**: / definition / _Avoid_: form, and none of the _Avoid_ words (Prod, production, live, staging, VM, box, server, instance, release, rollout, pipeline, CI) is used in the ADRs for another sense. The only hit, 0009:32 "inside the pipeline", is the word used as a plain noun in an alternative that lost, not as a term. The two glossary lines over 80 columns (GLOSSARY.md:21, :35) are outside the diff. Every relative link in docs/adr/index.md resolves. The index has 11 rows for 11 files. Each row's trigger list matches its record's Update-when (0009 three, 0010 two, 0011 two).

Spec

  • ADVISORY docs/adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md:39-40 and :80-81 against :51-54 (new in 9021926, never reviewed; the record carries a carve-out its universal sentence and its first Update-when do not know about).
    • :39-40: "There is no other way to deploy: nothing may reach PROD from a local checkout, from another branch, by hand, or from anything that has not merged."
    • :51-54: what the Operator does by hand under 0011 "is not a deploy. It is the one change to PROD that happens outside a merge."
    • :80-81, first Update-when: "Some part of PROD has to be changed in a way a merge can't carry, so 'only through a merge' stops being true." A destroy or replace is exactly a change a merge cannot carry (0011), so the record's own trigger reads as already met on the day it is accepted.
    • It is satisfiable: :39 opens with "no other way to deploy", and :51 says the by-hand work is not one. A careful reader reaches the right meaning. A hurried one reads :39-40 as forbidding the Operator's 0011 resolution, which would leave a conflict with no way out. That is the failure the carve-out at :51-54 was written to prevent.
    • Graded ADVISORY, not BLOCKER: this round's bar is a correctness or security defect, and the carve-out resolves the reading inside the record. It is worth fixing now because the PR's Merge Danger section says an ADR changes only by a superseding record.
    • Clearing change, one clause each: :39 "nothing may reach PROD" to "no deploy reaches PROD"; :80 add "other than the Operator's by-hand resolution under 0011" to the first trigger. Or leave both and merge; this advisory does not move the verdict.

Everything else in the spec is met, criterion by criterion:

WR-84 acceptance criterion Result
Three records numbered on from the highest on main, house shape, Status Accepted Met. main is still ed73995, highest 0008; new 0009-0011, all Accepted — 2026-11-04, five required headings each.
None names a tool, host, address or path Met. The ticket's grep, widened by 10.12|lxc|openbao as the PR's own grep does, returns no match (rc=1). The only backticked token in the three is main (7 uses). No dotted-quad. No snapshot or restore (the ticket's out-of-scope item).
index.md has one row per record Met. Three rows (index.md:22-24), 11 rows for 11 files.
GLOSSARY.md defines PROD, Guest, Deploy, Deployer Met (GLOSSARY.md:45-67). The Deploy entry (:57-58) now says "started by the merge and by nothing else", which matches 0009.
mise exec -- make docs-check passes Met. Run by me in a head worktree: all 3 assertions hold, 19 relative links across 20 documents, rc 0.
Out of scope respected Met. Other repos' glossaries untouched, 0006 and 0007 not touched, no snapshot restore.

0009 is also held against CP-35's erratum (comments 2 and 3, 11:58 and 11:59): "PROD must be deployed automatically, through a pull request merged to main" is the Operator's wording, and it is 0009:38 word for word, in the title, the filename, the Decision and the index row. The citations the records make hold: 0002's pull request, approval by another, pinned revision and checks (0009:18-21 against 0002:38-51), and rollback through a pull request (0009:48-49 against 0002:58-59).

The fixer's claims, driven

Claim in the hand-back Result
28f8e3f is two lines, no wording changed Confirmed. git show --stat: two files, 5 insertions and 5 deletions. 0010 differs from 00cb4e0 by one word (is to are, --word-diff).
0009 byte-identical once whitespace is collapsed Confirmed. The word sequences of 0009 at 00cb4e0 and 28f8e3f compare equal (cmp). Longest line 79.
make docs-check 3/3 Confirmed, rerun at head.
Tool-name grep, no match Confirmed, rerun.
CI at this head green Confirmed. Run 141 (pr-checks.yml, pull_request) is success at 28f8e3f; both contexts, loop-decide and protect-main, are success.
"adr_index_check.py" figures Not reproducible by that name: no such script is in the tree (scripts/ holds docs-check.py, protect-main.sh, tests/). I recounted by hand and got the same figures (11 rows, 11 files, widths at most 79). A note, not a finding.

Verified

  • Head resolved on the host: refs/pull/38/head is 28f8e3f, equal to the dispatch SHA and to the PR object's head.sha. Served .diff lists the same five files as the head tree.
  • Currency: git ls-remote origin refs/heads/main is ed73995, equal to the PR's base.sha and merge_base. git merge-tree --write-tree origin/main 28f8e3f exits 0, a clean merge, so the API's mergeable: true is confirmed. Squash is the only merge style the repo allows. Currency does not count in the advisory tally.
  • Spec read live: WR-84 (task 260) and CP-35 (task 256, project 11, index 35) with all three of its comments.
  • Probe outputs are under cache/scratch/38-r2/ on the review host.

Not verified

  • Whether the Operator's CP-35 intent matches the ADRs beyond what the ticket comments say. I read the comments, not the Operator's mind. The wording is the Operator's own commit.
  • The pr-checks.yml suites were not run by me. I read their result at the head (green) and the diff touches no file they read.

Summary

Axis Findings Worst
Standards 0 none
Spec 1 (0 BLOCKER, 1 ADVISORY) 0009:39-40 and :80-81 against :51-54, the by-hand carve-out unreflected in the universal sentence and the first Update-when

Round-1 blocker resolved, round-1 advisory retired, one new advisory. Zero blockers, so the state is APPROVE. One advisory is below the three that would turn the recommendation, so the recommendation is merge and the label is review/merge-ready.

<!-- minos review-loop: repo=olympus/workshop pr=38 head=28f8e3f586a8647e6802b31bfe47568c531b3a6e round=2/5 axes=standards,spec --> repo: olympus/workshop | PR: #38 | head: 28f8e3f586a8647e6802b31bfe47568c531b3a6e | round: 2/5 | verdict: MERGE Recommendation: merge State follows blockers (none), the label follows blockers or three or more advisories (one). One reviewer held both axes in one context; the sections are kept apart anyway. **Spec source:** WR-84 (Vikunja task 260, project 5, index 84), read live this round with the review credential. Its acceptance criteria are the contract. Its parent decision, CP-35 (task 256) and its three resolution comments, was read too. Round 1 could not read either (401); that gap is closed and the round-1 "Not verified" line is retired. **Standards:** `AGENTS.md` §Decisions, `docs/agents/domain.md`, and the form of ADRs 0001-0008. **Fixed point:** `df0bd81`, the head round 1 reviewed. `git merge-base --is-ancestor df0bd81 28f8e3f` is true, so the fix stacked and the delta is `df0bd81..28f8e3f`. It holds four commits, not one, and two were never reviewed: `9021926` and `00cb4e0` (both Pedro Paredes, the Operator's rewrite of 0009) landed while round 1 was being written. I reviewed them as new work. `28f8e3f` (Efesto) is the fixer's own commit. No base merge: `main` is still `ed73995`, the PR's `merge_base`. ## Round 1, closed | Round 1 finding | Resolved by | Evidence | | --- | --- | --- | | **BLOCKER** 0010:36-37 against :41, "no chain of deployers comes back round" beside "each deploys the other's machines" | `9021926` (the clause removed), `28f8e3f` (`is` to `are`) | `0010:37-39` at head now reads "Every deployer's machines are named in some other deployer's charge. Two deployers that deploy each other's machines are the intended shape: neither of them is ever deploying its own." The text "no chain" / "back round" is absent from the file (grep, no hit; present at `df0bd81`). It now agrees with `0010:43` ("each deploys the other's machines"), `0010:50` ("some other deployer's list") and `0010:60-61` (Update-when). Two deployers A and B, each in the other's charge, satisfy every sentence, so the rule is satisfiable. | | **ADVISORY** 0011:33, unbounded "anything" | Retired, not fixed | WR-84's own text says "A deploy never destroys or replaces anything", and CP-35 decision 1(c) calls it "the general rule for conflicts, where a plan shows a destroy or a replacement". `0011:34` carries the ticket's word. Charging a record for the words its spec carries is the reviewer's error, so I withdraw it. The author was right to leave it. | ## Standards No findings. `standards:` the three records have the house shape (Status, Context, Decision, Consequences, Update when, same headings as 0006-0008; shape census run over 0001-0011). Every line of 0009, 0010 and 0011 is at most 79 characters (`len()` on decoded lines, not bytes). The glossary's new section keeps the `**Term**:` / definition / `_Avoid_:` form, and none of the `_Avoid_` words (Prod, production, live, staging, VM, box, server, instance, release, rollout, pipeline, CI) is used in the ADRs for another sense. The only hit, `0009:32` "inside the pipeline", is the word used as a plain noun in an alternative that lost, not as a term. The two glossary lines over 80 columns (`GLOSSARY.md:21`, `:35`) are outside the diff. Every relative link in `docs/adr/index.md` resolves. The index has 11 rows for 11 files. Each row's trigger list matches its record's Update-when (0009 three, 0010 two, 0011 two). ## Spec - **ADVISORY** `docs/adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md:39-40` and `:80-81` against `:51-54` (new in `9021926`, never reviewed; the record carries a carve-out its universal sentence and its first Update-when do not know about). - `:39-40`: "There is no other way to deploy: nothing may reach PROD from a local checkout, from another branch, **by hand**, or from anything that has not merged." - `:51-54`: what the Operator does by hand under 0011 "is not a deploy. It is the one change to PROD that happens outside a merge." - `:80-81`, first Update-when: "Some part of PROD has to be changed in a way a merge can't carry, so 'only through a merge' stops being true." A destroy or replace is exactly a change a merge cannot carry (0011), so the record's own trigger reads as already met on the day it is accepted. - It is satisfiable: `:39` opens with "no other way to *deploy*", and `:51` says the by-hand work is not one. A careful reader reaches the right meaning. A hurried one reads `:39-40` as forbidding the Operator's 0011 resolution, which would leave a conflict with no way out. That is the failure the carve-out at `:51-54` was written to prevent. - Graded ADVISORY, not BLOCKER: this round's bar is a correctness or security defect, and the carve-out resolves the reading inside the record. It is worth fixing now because the PR's Merge Danger section says an ADR changes only by a superseding record. - Clearing change, one clause each: `:39` "nothing may reach PROD" to "no deploy reaches PROD"; `:80` add "other than the Operator's by-hand resolution under 0011" to the first trigger. Or leave both and merge; this advisory does not move the verdict. Everything else in the spec is met, criterion by criterion: | WR-84 acceptance criterion | Result | | --- | --- | | Three records numbered on from the highest on `main`, house shape, Status Accepted | Met. `main` is still `ed73995`, highest 0008; new 0009-0011, all `Accepted — 2026-11-04`, five required headings each. | | None names a tool, host, address or path | Met. The ticket's grep, widened by `10.12\|lxc\|openbao` as the PR's own grep does, returns no match (`rc=1`). The only backticked token in the three is `main` (7 uses). No dotted-quad. No `snapshot` or `restore` (the ticket's out-of-scope item). | | `index.md` has one row per record | Met. Three rows (`index.md:22-24`), 11 rows for 11 files. | | `GLOSSARY.md` defines PROD, Guest, Deploy, Deployer | Met (`GLOSSARY.md:45-67`). The `Deploy` entry (`:57-58`) now says "started by the merge and by nothing else", which matches 0009. | | `mise exec -- make docs-check` passes | Met. Run by me in a head worktree: `all 3 assertions hold`, 19 relative links across 20 documents, rc 0. | | Out of scope respected | Met. Other repos' glossaries untouched, 0006 and 0007 not touched, no snapshot restore. | 0009 is also held against CP-35's erratum (comments 2 and 3, 11:58 and 11:59): "PROD must be deployed automatically, through a pull request merged to `main`" is the Operator's wording, and it is `0009:38` word for word, in the title, the filename, the Decision and the index row. The citations the records make hold: 0002's pull request, approval by another, pinned revision and checks (`0009:18-21` against `0002:38-51`), and rollback through a pull request (`0009:48-49` against `0002:58-59`). ## The fixer's claims, driven | Claim in the hand-back | Result | | --- | --- | | `28f8e3f` is two lines, no wording changed | Confirmed. `git show --stat`: two files, 5 insertions and 5 deletions. `0010` differs from `00cb4e0` by one word (`is` to `are`, `--word-diff`). | | 0009 byte-identical once whitespace is collapsed | Confirmed. The word sequences of 0009 at `00cb4e0` and `28f8e3f` compare equal (`cmp`). Longest line 79. | | `make docs-check` 3/3 | Confirmed, rerun at head. | | Tool-name grep, no match | Confirmed, rerun. | | CI at this head green | Confirmed. Run 141 (`pr-checks.yml`, `pull_request`) is `success` at `28f8e3f`; both contexts, `loop-decide` and `protect-main`, are `success`. | | "`adr_index_check.py`" figures | Not reproducible by that name: no such script is in the tree (`scripts/` holds `docs-check.py`, `protect-main.sh`, `tests/`). I recounted by hand and got the same figures (11 rows, 11 files, widths at most 79). A note, not a finding. | ## Verified - Head resolved on the host: `refs/pull/38/head` is `28f8e3f`, equal to the dispatch SHA and to the PR object's `head.sha`. Served `.diff` lists the same five files as the head tree. - Currency: `git ls-remote origin refs/heads/main` is `ed73995`, equal to the PR's `base.sha` and `merge_base`. `git merge-tree --write-tree origin/main 28f8e3f` exits 0, a clean merge, so the API's `mergeable: true` is confirmed. Squash is the only merge style the repo allows. Currency does not count in the advisory tally. - Spec read live: WR-84 (task 260) and CP-35 (task 256, project 11, index 35) with all three of its comments. - Probe outputs are under `cache/scratch/38-r2/` on the review host. ## Not verified - Whether the Operator's CP-35 intent matches the ADRs beyond what the ticket comments say. I read the comments, not the Operator's mind. The wording is the Operator's own commit. - The `pr-checks.yml` suites were not run by me. I read their result at the head (green) and the diff touches no file they read. ## Summary | Axis | Findings | Worst | | --- | --- | --- | | Standards | 0 | none | | Spec | 1 (0 BLOCKER, 1 ADVISORY) | 0009:39-40 and :80-81 against :51-54, the by-hand carve-out unreflected in the universal sentence and the first Update-when | Round-1 blocker resolved, round-1 advisory retired, one new advisory. Zero blockers, so the state is APPROVE. One advisory is below the three that would turn the recommendation, so the recommendation is merge and the label is `review/merge-ready`.
pit merged commit 5a1408d31d into main 2026-11-04 12:07:13 +00:00
pit deleted branch hermes/deploy-rules-adrs 2026-11-04 12:07:13 +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/workshop!38
No description provided.