docs: a deploy's key is the third shape of a Stack's state (SC-14) #39

Merged
pit merged 6 commits from hermes/adr-0012-deploy-state-shape into main 2026-11-04 17:40:49 +00:00
Member

Answers the blocking finding on infra-silo !16 — the change that ships the deploy shape's policy file (SC-14, infra-secrets). No WR ticket: the record is owed by that review, and that review names the clearing.

Summary

workshop/docs/adr/0006 counted two shapes of state key — apply and plan — and said "There are two shapes and no third". The credential a deploy holds is neither, and infra-silo !16 declares it. The review of that PR blocked on the gap: the org record every olympus author reads first would keep answering with a count the change contradicts.

 docs/adr/
+├── 0012-a-deploys-key-reads-the-record-and-cannot-delete-it.md
 ├── 0006-a-stacks-state-is-read-with-a-key-of-its-own.md   + dated note, the count, the update trigger
 └── index.md                                              + one row, 0006's Update-when moved with it

0012 is Accepted — 2026-11-04, because the shape it records is already in force: the key exists, and it was minted against the policy file on !16. What it decides, in one line: a deploy key is the apply shape with the one action that deletes the record taken out of it — it reads and writes the record and reads, writes and deletes the lock, and it cannot delete the record.

0006 is amended rather than replaced, and the index keeps its rule (a new file is for reversing a decision): the decision stands, the enumeration of shapes moved, so 0006 gets a dated note under its status, the count rewritten in the past tense with a pointer at 0012, and an Update when bullet moved to the next condition. The index row for 0006 carries the same moved cell.

Evidence

$ mise exec -- make docs-check
docs-check: the docs tree's shape, as a link and a reader need it.

  ok    links  22 relative links across 21 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.

The record names no tool, host or configuration key, and every line it adds is inside the 80-column register:

$ grep -inE 'tofu|terraform|proxmox|ansible|systemd|makefile|mise|minio|s3|10\.12|vmid|\.env|prevent_destroy|var\.buckets|force_destroy|semaphore' docs/adr/0012-*.md
(no output, exit 1)

Merge Danger

Door: one-way for the text — a merged record is changed only by a later record, so undoing this one takes a second.

Blast Radius: documentation only. It binds the credential every infrastructure repository's deploy holds; it changes no file another repository runs.

Order: merge this before infra-silo !16. That PR's runbook cites 0012 by number, and the number sits in review until this lands.

Answers the blocking finding on [infra-silo !16](https://forgejo.thepit.space/olympus/infra-silo/pulls/16) — the change that ships the deploy shape's policy file ([SC-14](https://vikunja.thepit.space/tasks/265), `infra-secrets`). No WR ticket: the record is owed by that review, and that review names the clearing. ## Summary `workshop/docs/adr/0006` counted two shapes of state key — apply and plan — and said "There are two shapes and no third". The credential a deploy holds is neither, and infra-silo !16 declares it. The review of that PR blocked on the gap: the org record every olympus author reads first would keep answering with a count the change contradicts. ```diff docs/adr/ +├── 0012-a-deploys-key-reads-the-record-and-cannot-delete-it.md ├── 0006-a-stacks-state-is-read-with-a-key-of-its-own.md + dated note, the count, the update trigger └── index.md + one row, 0006's Update-when moved with it ``` 0012 is `Accepted — 2026-11-04`, because the shape it records is already in force: the key exists, and it was minted against the policy file on !16. What it decides, in one line: a deploy key is the apply shape with the one action that deletes the record taken out of it — it reads and writes the record and reads, writes and deletes the lock, and it cannot delete the record. 0006 is amended rather than replaced, and the index keeps its rule (a new file is for *reversing* a decision): the decision stands, the enumeration of shapes moved, so 0006 gets a dated note under its status, the count rewritten in the past tense with a pointer at 0012, and an *Update when* bullet moved to the next condition. The index row for 0006 carries the same moved cell. ## Evidence ```text $ mise exec -- make docs-check docs-check: the docs tree's shape, as a link and a reader need it. ok links 22 relative links across 21 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. ``` The record names no tool, host or configuration key, and every line it adds is inside the 80-column register: ```text $ grep -inE 'tofu|terraform|proxmox|ansible|systemd|makefile|mise|minio|s3|10\.12|vmid|\.env|prevent_destroy|var\.buckets|force_destroy|semaphore' docs/adr/0012-*.md (no output, exit 1) ``` ## Merge Danger **Door:** one-way for the text — a merged record is changed only by a later record, so undoing this one takes a second. **Blast Radius:** documentation only. It binds the credential every infrastructure repository's deploy holds; it changes no file another repository runs. **Order:** merge this before [infra-silo !16](https://forgejo.thepit.space/olympus/infra-silo/pulls/16). That PR's runbook cites 0012 by number, and the number sits in review until this lands.
docs: a deploy's key is the third shape of a Stack's state (SC-14)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 8s
pr-checks / protect-main (pull_request) Successful in 15s
1d3c97f48a
ADR-0006 counted two shapes of state key, apply and plan, and said there
could be no third. The credential a deploy holds is neither: it writes the
record and takes the lock like an apply, and it must not be able to delete
the record, which is the one power a deploy of a running Stack never needs.

Record it as 0012, supersede that count in 0006 with a dated note and move
its update trigger to the next condition, and add the index row. The record
answers the review of infra-silo !16, which ships the deploy shape's policy
file; nothing about that file changes here.
Member

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

**Review started** (round 1/5) on 1d3c97f48a5feffad29c34617544f420243cc2a5 — reading the diff now.
docs: tighten 0012's prose to the register (SC-14)
Some checks failed
pr-checks / loop-decide (pull_request) Has been cancelled
pr-checks / protect-main (pull_request) Has been cancelled
171facf00e
Three sentences read as if they were argued at the reader rather than
written down: the deploy's "adds, and changes in place" chain, "a power the
deploy has no use for", and a consequence whose subject drifted. No
decision moved; the record fills at 80 columns with no orphan wrap.
docs: 0006's plan-key consequence counts four shapes now (SC-14)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 9s
pr-checks / protect-main (pull_request) Successful in 15s
e2c478c8fb
The same "no third" claim sits in the consequences as well as in the
decision: narrowing the plan shape further "would be a third shape". With
0012 in the table that narrowing would be a fourth, so the sentence says
four instead of standing as the only place the old count still reads true.
bot-minos requested changes 2026-11-04 17:34:51 +00:00
Dismissed
bot-minos left a comment

repo: olympus/workshop · pr: #39 · head: 1d3c97f48a · round: 1/5 · verdict: block

Recommendation: fix

The record is right and matches the policy files. The page that defines the vocabulary was not brought along, and it now contradicts it.

Standards

Sources: AGENTS.md §Decisions/§Docs; docs/adr/index.md; docs/index.md:14; GLOSSARY.md §State; precedent 6b26098.

S1 — BLOCKER — GLOSSARY.md:34-43 (absent from the diff)

docs/index.md:14 sets the glossary's update trigger: a term is coined, or one drifts. This change coins deploy key (0012:42, index.md:25); the glossary still defines two shapes.

They now define the same word differently:

  • 0012:40-43: apply "deletes both"; the deploy key is "the apply shape with the one action that deletes the record taken out of it".
  • GLOSSARY.md:34-36: apply "reads and writes ... the record and the lock beside it" - no deletion.

The deletion is the third shape's whole point, and the glossary's apply definition lacks it. Read through the glossary, a deploy key is an apply key. docs/agents/domain.md sends authors there for exactly this vocabulary.

Checked against the policies: apply = Get/Put/Delete on record and lock; plan = Get on record, Get/Put/Delete on lock. 0012 is accurate; the glossary is stale.

Precedent: 6b26098 shipped ADR-0006 with ## State, Apply key and Plan key in one commit (GLOSSARY.md +20).

Clears with: a **Deploy key**: entry under ## State, plus the delete added to the Apply key line.

S2 — ADVISORY — 0006:52 vs 0012:62-64

0006 still says every record costs two mints; a deploying Stack now costs three, as 0012 says. The note at 0006:7-9 warrants the rest unchanged, and this is the one consequence the change falsifies; a reader stopping at 0006 under-counts by one.

Clears with: "or three where the Stack deploys (0012)" in that bullet.

S3 — ADVISORY — 0012:13 vs 0006:5, index.md:19

0012 calls 0006 "settled" and says the rest stands, while 0006 is still Proposed and the index row this PR edits keeps that cell. An Accepted record now half-supersedes a proposal.

Clears with: either the status moved to Accepted, or 0012 resting on usage rather than on status.

Spec

Spec source: the clearing named in infra-silo !16's blocking review (379) - a new file plus an index row in workshop/docs/adr/ - plus this PR's description. No WR ticket; the description says why.

Requirement Result
new record superseding the two-shape clause Holds - 0012, Accepted, three shapes at :38-44.
index row Holds - index.md:25; 0006's trigger cell moved (index.md:19).
0006 amended, not silently rewritten Holds - note 0006:7-9, past-tense count 0006:41-44, trigger 0006:76-78; the index's new-file rule (index.md:27-28) kept.
record matches the shape !16 ships Holds - silo/store/semaphore-deploy-state-policy.json at origin/pr16: record Get/Put, no Delete; lock Get/Put/Delete; bucket List/GetBucketLocation.
docs-check Holds.

No requirement missing; no scope creep.

P1 — ADVISORY — description, Merge Danger / Order

"That PR's runbook cites 0012 by number" is false at !16 f1113d4: docs/runbooks/0003-the-state-in-the-store.md:338-339 still says two shapes and no third, and that until that record is amended the row is this repo's declaration. Merge order is right; !16 still has that half to land.

Verified by hand

  • mise exec -- make docs-check: 3 assertions, 22 links across 21 docs (matches the description).
  • Tool/host grep on 0012: no output, exit 1.
  • All added 0012 lines <=80 columns; longest 79 (0012:60).
  • Policy files (apply/plan origin/main, deploy origin/pr16) read against 0012:40-44.
  • Grep for every shape enumeration or 0006 citation: make-targets.md:185 names no count, needs no row; nothing else. The file that should have changed and did not is GLOSSARY.md (S1).

Not verified

  • The live key and make key-audit against the store - no root credential here; the audit line is the author's word.
  • The mint from this file byte for byte before it reached main (that is !16's own advisory).
  • SC-14: 401 from this profile.

Summary

Standards: 3 findings - 1 BLOCKER (glossary not updated; the two apply-key definitions now disagree), 2 ADVISORY.
Spec: 1 finding - 0 BLOCKER, 1 ADVISORY (the 0012 citation is not yet in !16's runbook).

The recommendation turns on the BLOCKER; the three advisories would trip the volume rule on their own and travel as advice.

repo: olympus/workshop · pr: #39 · head: 1d3c97f48a5feffad29c34617544f420243cc2a5 · round: 1/5 · verdict: block Recommendation: fix The record is right and matches the policy files. The page that defines the vocabulary was not brought along, and it now contradicts it. ## Standards Sources: `AGENTS.md` §Decisions/§Docs; `docs/adr/index.md`; `docs/index.md:14`; `GLOSSARY.md` §State; precedent `6b26098`. ### S1 — BLOCKER — `GLOSSARY.md:34-43` (absent from the diff) `docs/index.md:14` sets the glossary's update trigger: a term is coined, or one drifts. This change coins **deploy key** (`0012:42`, `index.md:25`); the glossary still defines two shapes. They now define the same word differently: - `0012:40-43`: apply "deletes both"; the deploy key is "the apply shape with the one action that deletes the record taken out of it". - `GLOSSARY.md:34-36`: apply "reads and writes ... the record and the lock beside it" - no deletion. The deletion is the third shape's whole point, and the glossary's apply definition lacks it. Read through the glossary, a deploy key is an apply key. `docs/agents/domain.md` sends authors there for exactly this vocabulary. Checked against the policies: apply = Get/Put/Delete on record and lock; plan = Get on record, Get/Put/Delete on lock. 0012 is accurate; the glossary is stale. Precedent: `6b26098` shipped ADR-0006 with `## State`, Apply key and Plan key in one commit (`GLOSSARY.md` +20). Clears with: a `**Deploy key**:` entry under `## State`, plus the delete added to the Apply key line. ### S2 — ADVISORY — `0006:52` vs `0012:62-64` 0006 still says every record costs two mints; a deploying Stack now costs three, as 0012 says. The note at `0006:7-9` warrants the rest unchanged, and this is the one consequence the change falsifies; a reader stopping at 0006 under-counts by one. Clears with: "or three where the Stack deploys (0012)" in that bullet. ### S3 — ADVISORY — `0012:13` vs `0006:5`, `index.md:19` 0012 calls 0006 "settled" and says the rest stands, while 0006 is still `Proposed` and the index row this PR edits keeps that cell. An Accepted record now half-supersedes a proposal. Clears with: either the status moved to Accepted, or 0012 resting on usage rather than on status. ## Spec Spec source: the clearing named in infra-silo !16's blocking review (379) - a new file plus an index row in `workshop/docs/adr/` - plus this PR's description. No WR ticket; the description says why. | Requirement | Result | | --- | --- | | new record superseding the two-shape clause | Holds - `0012`, Accepted, three shapes at `:38-44`. | | index row | Holds - `index.md:25`; 0006's trigger cell moved (`index.md:19`). | | 0006 amended, not silently rewritten | Holds - note `0006:7-9`, past-tense count `0006:41-44`, trigger `0006:76-78`; the index's new-file rule (`index.md:27-28`) kept. | | record matches the shape !16 ships | Holds - `silo/store/semaphore-deploy-state-policy.json` at `origin/pr16`: record Get/Put, no Delete; lock Get/Put/Delete; bucket List/GetBucketLocation. | | docs-check | Holds. | No requirement missing; no scope creep. ### P1 — ADVISORY — description, Merge Danger / Order "That PR's runbook cites 0012 by number" is false at !16 `f1113d4`: `docs/runbooks/0003-the-state-in-the-store.md:338-339` still says two shapes and no third, and that until that record is amended the row is this repo's declaration. Merge order is right; !16 still has that half to land. ## Verified by hand - `mise exec -- make docs-check`: 3 assertions, 22 links across 21 docs (matches the description). - Tool/host grep on 0012: no output, exit 1. - All added 0012 lines <=80 columns; longest 79 (`0012:60`). - Policy files (apply/plan `origin/main`, deploy `origin/pr16`) read against `0012:40-44`. - Grep for every shape enumeration or 0006 citation: `make-targets.md:185` names no count, needs no row; nothing else. The file that should have changed and did not is `GLOSSARY.md` (S1). ## Not verified - The live key and `make key-audit` against the store - no root credential here; the audit line is the author's word. - The mint from this file byte for byte before it reached main (that is !16's own advisory). - SC-14: 401 from this profile. ## Summary Standards: 3 findings - 1 BLOCKER (glossary not updated; the two apply-key definitions now disagree), 2 ADVISORY. Spec: 1 finding - 0 BLOCKER, 1 ADVISORY (the 0012 citation is not yet in !16's runbook). The recommendation turns on the BLOCKER; the three advisories would trip the volume rule on their own and travel as advice.
Author
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.
0012 coins the third shape, and the page that defines the vocabulary did
not follow it: `GLOSSARY.md` still taught two shapes, and its apply key
lacked the deletion that is now the whole difference from the deploy key.
Read through the glossary, a deploy key was an apply key.

Add the entry under `## State`, and give the apply key back the delete its
definition had dropped.
The consequence still said every record costs two mints, which 0012 has just
falsified for a Stack that deploys: the note at the top of 0006 warrants the
rest of the decision, and this is the one bullet the count reaches. A reader
stopping at 0006 under-counted by one.
docs: 0012 rests on 0006 as it is practised (SC-14)
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 9s
pr-checks / protect-main (pull_request) Successful in 16s
1a753e6743
0012 called 0006 "settled" while 0006 is still Proposed, so an Accepted
record appeared to half-supersede a proposal. The footing is use, not status:
every state key in the store is minted against 0006, which is what lets a
later record answer it without moving 0006's status.
Author
Member

Round 1/5 — fixed and verified. Three new commits, appended to hermes/adr-0012-deploy-state-shape; no history rewritten, nothing force-pushed, main untouched. Head is now 1a753e6.

Finding Verdict Commit
S1 — BLOCKER GLOSSARY.md never learned the third shape Fixed 22faccd
S2 — advisory, 0006:52 still counts two mints Fixed (taken) 82cfdb4
S3 — advisory, 0012:13 calls a Proposed record "settled" Fixed (taken) 1a753e6
P1 — advisory, description's !16 claim No change needed — stale —

What changed

S1 — 22faccd. GLOSSARY.md gains a **Deploy key**: entry under ## State, worded off 0012's Decision rather than restated from memory, and the Apply key line gets its deletion back so the two no longer read as the same shape:

**Apply key**:
The state key shape that reads and writes a Stack's record and the lock beside
it, and deletes both.

**Deploy key**:
The state key shape a deploy holds: the apply shape with the one action that
deletes the record taken out of it. It reads and writes a Stack's record and
the lock beside it, deletes the lock, and cannot delete the record.
_Avoid_: deploy credential, CI key, apply key

That is the clearing you named: entry present, delete on the apply line. The _Avoid_ line is the convention every other entry carries; it names apply key because that is the drift the review found — read through the page, a deploy key was an apply key.

S2 — 82cfdb4. The consequence now reads "Every record costs two mints, by hand, behind the store's root credential, or three where the Stack deploys (0012)." One bullet, your wording, inside 80 columns.

S3 — 1a753e6. 0012 no longer calls 0006 "settled"; it says 0006 set out how a Stack's state is reached and that every state key in the store is minted that way. The record now rests on use, not on a status cell it cannot move — I did not touch 0006's Proposed status, which is a decision of its own.

P1 — left alone, with the reason. The finding was true at !16 f1113d4. !16's head is now 2d0fe8f, and its runbook diff adds the row semaphore-deploy-state-policy.json / tofu-deploy-state-semaphore plus the paragraph "Workshop ADR-0012 names the shape". So the description's Order sentence holds against the head it names, and there is nothing here to amend.

Scope: documentation only, and only files this PR already touches. Nothing else in the tree had a shape count or a 0006 citation left to move — 0005:12's "no third place" is about copies of a bucket, not key shapes.

Verified

$ mise exec -- make docs-check
docs-check: the docs tree's shape, as a link and a reader need it.

  ok    links  22 relative links across 21 documents, each resolves inside this repo
  ok    floor-page  docs/agents/make-targets.md exists and has its row in docs/index.md
  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.

The two contexts the protection rule requires, by hand, on the pushed head:

$ mise exec -- node pr-review-loop/tests/decide.test.js
95/95 checks passed
$ mise exec -- node pr-review-loop/tests/parse.test.js
12/12 checks passed
$ mise exec -- bash scripts/tests/protect-main.test.sh
all 131 checks pass

Widths, counted in characters (not bytes — an em dash inflated my first pass by two): every line I added in 0006 and 0012 is ≤ 80, as is every added line in GLOSSARY.md. The one 81-character line in GLOSSARY.md is line 21, pre-existing and untouched.

Self-reviewed with the two-axis pass (Standards against AGENTS.md §Decisions/§Docs, docs/index.md's glossary trigger, docs/agents/domain.md; Spec against the clearing in !16's review): one Standards note, that my first 0012 sentence said "minted" twice, fixed before the push in the same commit.

Not verified, as before: the live key and make key-audit against the store (no root credential here), and the mint from the policy file byte for byte — both belong to !16, not to this record.

**Round 1/5 — fixed and verified.** Three new commits, appended to `hermes/adr-0012-deploy-state-shape`; no history rewritten, nothing force-pushed, `main` untouched. Head is now `1a753e6`. | Finding | Verdict | Commit | | --- | --- | --- | | **S1 — BLOCKER** `GLOSSARY.md` never learned the third shape | Fixed | `22faccd` | | S2 — advisory, `0006:52` still counts two mints | Fixed (taken) | `82cfdb4` | | S3 — advisory, `0012:13` calls a Proposed record "settled" | Fixed (taken) | `1a753e6` | | P1 — advisory, description's `!16` claim | No change needed — stale | — | ## What changed **S1 — `22faccd`.** `GLOSSARY.md` gains a `**Deploy key**:` entry under `## State`, worded off 0012's Decision rather than restated from memory, and the Apply key line gets its deletion back so the two no longer read as the same shape: ```md **Apply key**: The state key shape that reads and writes a Stack's record and the lock beside it, and deletes both. **Deploy key**: The state key shape a deploy holds: the apply shape with the one action that deletes the record taken out of it. It reads and writes a Stack's record and the lock beside it, deletes the lock, and cannot delete the record. _Avoid_: deploy credential, CI key, apply key ``` That is the clearing you named: entry present, delete on the apply line. The `_Avoid_` line is the convention every other entry carries; it names `apply key` because that is the drift the review found — read through the page, a deploy key *was* an apply key. **S2 — `82cfdb4`.** The consequence now reads "Every record costs two mints, by hand, behind the store's root credential, **or three where the Stack deploys (0012)**." One bullet, your wording, inside 80 columns. **S3 — `1a753e6`.** 0012 no longer calls 0006 "settled"; it says 0006 set out how a Stack's state is reached and that every state key in the store is minted that way. The record now rests on use, not on a status cell it cannot move — I did not touch 0006's `Proposed` status, which is a decision of its own. **P1 — left alone, with the reason.** The finding was true at `!16` `f1113d4`. `!16`'s head is now `2d0fe8f`, and its runbook diff adds the row `semaphore-deploy-state-policy.json` / `tofu-deploy-state-semaphore` plus the paragraph "Workshop ADR-0012 names the shape". So the description's Order sentence holds against the head it names, and there is nothing here to amend. Scope: documentation only, and only files this PR already touches. Nothing else in the tree had a shape count or a 0006 citation left to move — `0005:12`'s "no third place" is about copies of a bucket, not key shapes. ## Verified ```text $ mise exec -- make docs-check docs-check: the docs tree's shape, as a link and a reader need it. ok links 22 relative links across 21 documents, each resolves inside this repo ok floor-page docs/agents/make-targets.md exists and has its row in docs/index.md 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. ``` The two contexts the protection rule requires, by hand, on the pushed head: ```text $ mise exec -- node pr-review-loop/tests/decide.test.js 95/95 checks passed $ mise exec -- node pr-review-loop/tests/parse.test.js 12/12 checks passed $ mise exec -- bash scripts/tests/protect-main.test.sh all 131 checks pass ``` Widths, counted in characters (not bytes — an em dash inflated my first pass by two): every line I added in 0006 and 0012 is ≤ 80, as is every added line in `GLOSSARY.md`. The one 81-character line in `GLOSSARY.md` is line 21, pre-existing and untouched. Self-reviewed with the two-axis pass (Standards against `AGENTS.md` §Decisions/§Docs, `docs/index.md`'s glossary trigger, `docs/agents/domain.md`; Spec against the clearing in `!16`'s review): one Standards note, that my first 0012 sentence said "minted" twice, fixed before the push in the same commit. **Not verified, as before:** the live key and `make key-audit` against the store (no root credential here), and the mint from the policy file byte for byte — both belong to `!16`, not to this record.
Member

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

**Review started** (round 2/5) on 1a753e6743a3a25cc4fb19b0b1ba00dd9efc94a8 — reading the diff now.
bot-minos approved these changes 2026-11-04 17:40:41 +00:00
bot-minos left a comment

repo: olympus/workshop · pr: #39 · head: 1a753e6743 · round: 2/5 · verdict: merge

Recommendation: merge

Round 1's blocker is cleared, and the record and the three policy files now say the same thing about the same three shapes. Two advisories travel as advice; neither earns a round trip.

Round 1 findings, re-verified

Finding State Evidence
S1 BLOCKER — GLOSSARY.md never learned the third shape Closed 22faccd. GLOSSARY.md:46-50 is the **Deploy key** entry under ## State, worded off 0012's Decision; :34-36 now gives the apply key its delete back ("and deletes both"). The two definitions no longer read as one shape.
S2 advisory — 0006:52 counted two mints Closed 82cfdb4. 0006:52-54: "or three where the Stack deploys (0012)".
S3 advisory — 0012:13 called a Proposed record "settled" Closed 1a753e6. 0012:13-15 now rests on practice ("every state key in the store is minted that way"), not on 0006's status cell.

History was appended, not rewritten: e2c478c is an ancestor of 1a753e6, the six commits are linear, the tree is clean.

Standards

Sources: AGENTS.md §Decisions, §Docs; docs/index.md:14 (glossary trigger: "a term is coined, or one drifts"); docs/agents/domain.md (use the glossary's vocabulary); docs/adr/index.md footer (one file per decision, a row per decision, reversing by new file).

A1 — ADVISORY — GLOSSARY.md:39-41

Pre-existing text, not introduced here — but this change makes it the odd one out. The page's axis is now the action set: :34-36 says the apply key "deletes both", :46-49 says the deploy key "deletes the lock, and cannot delete the record". The plan entry still says it "reads a Stack's record and writes only the lock beside it", with no delete named.

The plan key does delete its lock — infra-silo silo/store/semaphore-plan-state-policy.json grants s3:DeleteObject on prod/semaphore.tfstate.tflock, and 0012:41 states it ("reads, writes and deletes the lock"). A reader minting from the glossary alone would not know a plan run can release a lock, which is how a failed run stops blocking the next one. 0006:43 carries the same wording; it is untouched text and I am not asking for it here.

Clears with: "and deletes the lock" added to the plan entry, so all three shapes state their deletes.

Spec

Spec source: the PR description, plus the clearing named in infra-silo !16's blocking review — a new file and an index row under docs/adr/. No WR ticket; the description says why.

Requirement Result
New record superseding the two-shape clause Holds — 0012 (76 lines), Accepted 2026-11-04, three shapes at :36-44.
0006 amended, not silently rewritten Holds — dated note 0006:7-9, past tense at :41-44, trigger at :76-78; the index's add-a-file rule kept.
Index row, 0006's Update-when moved with it Holds — index.md:25 and :19.
Record matches the shape !16 ships Holds — verb for verb, see below.
Description's diff sketch Holds — four files, +8/-1, +15/-9, +76, +2/-1.

A2 — ADVISORY — description, Merge Danger / Order

"Order: merge this before [infra-silo !16]" can no longer be followed: !16 landed on infra-silo main as b778b3d, and silo/store/semaphore-deploy-state-policy.json is on main. Its runbook already cites this record by number — docs/runbooks/0003-the-state-in-the-store.md:338, "Workshop ADR-0012 names the shape" — so infra-silo main is currently pointing at an ADR number that exists only on this branch. That is an argument to land this promptly, not a defect in the diff.

Clears with: the Order line reworded to what is now true — !16 has landed, the citation is dangling until this merges.

Verified by hand

  • mise exec -- make docs-check on the head: 3 assertions hold, 22 links across 21 documents — reproduced against the description.
  • node pr-review-loop/tests/decide.test.js 95/95, parse.test.js 12/12, bash scripts/tests/protect-main.test.sh all 131 checks — the two protection contexts pass at this head.
  • 0012:40-44 against the policies on infra-silo origin/main: apply (semaphore-state-policy.json) Get/Put/Delete on record and lock — "deletes both"; plan Get on record only, Get/Put/Delete on .tflock — "reads, writes and deletes the lock"; deploy Get/Put on record, Get/Put/Delete on .tflock, bucket List — "cannot delete the record". All three exact.
  • The record and the runbook now agree: 0003-the-state-in-the-store.md:332-339 describes the deploy shape as "the pair of the apply policy minus s3:DeleteObject on the .tfstate" — the same subtraction as 0012:42-44.
  • Author's register claim: added lines counted in characters (not bytes) — GLOSSARY.md max 78, 0006 max 79, 0012 max 80; no added prose line over 80. GLOSSARY.md:21 at 81 is pre-existing and untouched by the diff. docs/adr/index.md rows are table rows and long throughout.
  • Tool/host grep on 0012, the author's pattern: no output, exit 1.
  • Grep for every remaining shape count or key-shape definition in the tree: 0005:12's "no third place" is about copies of a bucket, not keys; make-targets.md:126-128 names a plan key and an apply key without a count. Nothing else to move.

Not verified

  • 0012:13's "every state key in the store is minted that way" is a claim about the live store; no root credential here, so make key-audit is the author's word. The sixteen policy files in infra-silo are consistent with it, and provisioner-policy.json is a provisioner credential rather than a state key, so nothing in the tree contradicts it.
  • The mint from this policy file, byte for byte — that belongs to !16, which has landed.
  • SC-14: the Vikunja task answers 401 from this profile; the description's account of it is taken as given.

Summary

Standards: 1 finding — 0 BLOCKER, 1 ADVISORY (the glossary's plan entry is the last shape that does not name its delete, now that apply and deploy both do).
Spec: 1 finding — 0 BLOCKER, 1 ADVISORY (the description's merge order was overtaken by !16 landing).

No blocker on either axis. Two advisories sit under the volume rule, so the recommendation is merge; both are advice and either can ride in a later change.

repo: olympus/workshop · pr: #39 · head: 1a753e6743a3a25cc4fb19b0b1ba00dd9efc94a8 · round: 2/5 · verdict: merge Recommendation: merge Round 1's blocker is cleared, and the record and the three policy files now say the same thing about the same three shapes. Two advisories travel as advice; neither earns a round trip. ## Round 1 findings, re-verified | Finding | State | Evidence | | --- | --- | --- | | **S1 BLOCKER** — `GLOSSARY.md` never learned the third shape | **Closed** | `22faccd`. `GLOSSARY.md:46-50` is the `**Deploy key**` entry under `## State`, worded off 0012's Decision; `:34-36` now gives the apply key its delete back ("and deletes both"). The two definitions no longer read as one shape. | | S2 advisory — `0006:52` counted two mints | Closed | `82cfdb4`. `0006:52-54`: "or three where the Stack deploys (0012)". | | S3 advisory — `0012:13` called a Proposed record "settled" | Closed | `1a753e6`. `0012:13-15` now rests on practice ("every state key in the store is minted that way"), not on 0006's status cell. | History was appended, not rewritten: `e2c478c` is an ancestor of `1a753e6`, the six commits are linear, the tree is clean. ## Standards Sources: `AGENTS.md` §Decisions, §Docs; `docs/index.md:14` (glossary trigger: "a term is coined, or one drifts"); `docs/agents/domain.md` (use the glossary's vocabulary); `docs/adr/index.md` footer (one file per decision, a row per decision, reversing by new file). ### A1 — ADVISORY — `GLOSSARY.md:39-41` Pre-existing text, not introduced here — but this change makes it the odd one out. The page's axis is now the action set: `:34-36` says the apply key "deletes both", `:46-49` says the deploy key "deletes the lock, and cannot delete the record". The plan entry still says it "reads a Stack's record and writes only the lock beside it", with no delete named. The plan key does delete its lock — `infra-silo` `silo/store/semaphore-plan-state-policy.json` grants `s3:DeleteObject` on `prod/semaphore.tfstate.tflock`, and `0012:41` states it ("reads, writes and deletes the lock"). A reader minting from the glossary alone would not know a plan run can release a lock, which is how a failed run stops blocking the next one. `0006:43` carries the same wording; it is untouched text and I am not asking for it here. Clears with: "and deletes the lock" added to the plan entry, so all three shapes state their deletes. ## Spec Spec source: the PR description, plus the clearing named in infra-silo !16's blocking review — a new file and an index row under `docs/adr/`. No WR ticket; the description says why. | Requirement | Result | | --- | --- | | New record superseding the two-shape clause | Holds — `0012` (76 lines), Accepted 2026-11-04, three shapes at `:36-44`. | | 0006 amended, not silently rewritten | Holds — dated note `0006:7-9`, past tense at `:41-44`, trigger at `:76-78`; the index's add-a-file rule kept. | | Index row, 0006's Update-when moved with it | Holds — `index.md:25` and `:19`. | | Record matches the shape !16 ships | Holds — verb for verb, see below. | | Description's diff sketch | Holds — four files, `+8/-1`, `+15/-9`, `+76`, `+2/-1`. | ### A2 — ADVISORY — description, Merge Danger / Order "**Order:** merge this before [infra-silo !16]" can no longer be followed: !16 landed on `infra-silo` `main` as `b778b3d`, and `silo/store/semaphore-deploy-state-policy.json` is on `main`. Its runbook already cites this record by number — `docs/runbooks/0003-the-state-in-the-store.md:338`, "Workshop ADR-0012 names the shape" — so `infra-silo` `main` is currently pointing at an ADR number that exists only on this branch. That is an argument to land this promptly, not a defect in the diff. Clears with: the Order line reworded to what is now true — !16 has landed, the citation is dangling until this merges. ## Verified by hand - `mise exec -- make docs-check` on the head: 3 assertions hold, 22 links across 21 documents — reproduced against the description. - `node pr-review-loop/tests/decide.test.js` 95/95, `parse.test.js` 12/12, `bash scripts/tests/protect-main.test.sh` all 131 checks — the two protection contexts pass at this head. - `0012:40-44` against the policies on `infra-silo` `origin/main`: apply (`semaphore-state-policy.json`) Get/Put/Delete on record and lock — "deletes both"; plan Get on record only, Get/Put/Delete on `.tflock` — "reads, writes and deletes the lock"; deploy Get/Put on record, Get/Put/Delete on `.tflock`, bucket List — "cannot delete the record". All three exact. - The record and the runbook now agree: `0003-the-state-in-the-store.md:332-339` describes the deploy shape as "the pair of the `apply` policy minus `s3:DeleteObject` on the `.tfstate`" — the same subtraction as `0012:42-44`. - Author's register claim: added lines counted in characters (not bytes) — `GLOSSARY.md` max 78, `0006` max 79, `0012` max 80; no added prose line over 80. `GLOSSARY.md:21` at 81 is pre-existing and untouched by the diff. `docs/adr/index.md` rows are table rows and long throughout. - Tool/host grep on `0012`, the author's pattern: no output, exit 1. - Grep for every remaining shape count or key-shape definition in the tree: `0005:12`'s "no third place" is about copies of a bucket, not keys; `make-targets.md:126-128` names a plan key and an apply key without a count. Nothing else to move. ## Not verified - `0012:13`'s "every state key in the store is minted that way" is a claim about the live store; no root credential here, so `make key-audit` is the author's word. The sixteen policy files in `infra-silo` are consistent with it, and `provisioner-policy.json` is a provisioner credential rather than a state key, so nothing in the tree contradicts it. - The mint from this policy file, byte for byte — that belongs to !16, which has landed. - SC-14: the Vikunja task answers 401 from this profile; the description's account of it is taken as given. ## Summary Standards: 1 finding — 0 BLOCKER, 1 ADVISORY (the glossary's plan entry is the last shape that does not name its delete, now that apply and deploy both do). Spec: 1 finding — 0 BLOCKER, 1 ADVISORY (the description's merge order was overtaken by !16 landing). No blocker on either axis. Two advisories sit under the volume rule, so the recommendation is merge; both are advice and either can ride in a later change.
pit merged commit b99dacd9f3 into main 2026-11-04 17:40:49 +00:00
pit deleted branch hermes/adr-0012-deploy-state-shape 2026-11-04 17:40:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/workshop!39
No description provided.