A merge to main deploys the store through Semaphore (SL-20) #39
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-silo!39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/20-deploy-on-merge"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task:
SL-20ininfra-silo(Vikunja project 7).What this does
A push to
maindeploys the silo Guest (150) with nobody at a terminal..forgejo/workflows/deploy.ymllogs into the store as thesiloJWT role (audienceopenbao, bound to this repo,refs/heads/main,push), fetches onlysecret/ci/silo/semaphore-apiinto.env, starts one Semaphore task fromSEMAPHORE_PROJECT_ID/SEMAPHORE_TEMPLATE_ID, follows it every 15 s, and removes.env. It applies nothing.scripts/semaphore-deploy.shis the deploy template's body: it fetches the environment as therunneractor, runsmake prod NONINTERACTIVE=1(which ends inmake verify), and removes.envin a trap.silo-deploy, and a second merge waits rather than cancelling the job following its task.This repository's difference from infra-secrets#59
silo owns the store that holds every Stack's state, its own included, and its service role restarts that store.
storeandverifynow wait for the store's health endpoint (24 reads, 5 s apart, the endpoint read frombackend.tf) before touching the state, andstore-wait.test.shcovers it: a store that answers at once, one that answers on the fourth read, one that never answers, and a real socket that refuses, answers 503, then 200 — with nothing read from the state before the first 200.Files
.forgejo/workflows/deploy.yml,scripts/semaphore-deploy.shMakefile: thewait_for_storemacro called fromstoreandverify, thessh_agent_from_envmacro called fromserviceandservice-check, the deploy tests wired intodeploy-testinsidemake checkenv.map,.env.example: the runner rowactors=runner secret/services/semaphore/deploy-ssh SEMAPHORE_SSH_KEYscripts/tests/deploy-workflow.sh,semaphore-deploy.test.sh,semaphore-stub.py,store-wait.test.sh,service-key.test.sh,env.test.shadditionsdocs/deploy.md, its row indocs/index.md, and the merge-deploys paragraph indocs/runbooks/0001-deploy-and-teardown.mdVerified locally, on this tree
mise exec -- make check(rc 0):env-check/env-testkey-audit-test/key-mint-testdeploy-testsemaphore-deploy.test.shdeploy-workflow.shstore-wait.test.shservice-key.test.shfmt-checkvalidateThe last two test suites run a real
ssh-agentwith a throwaway key (the playbook sees its fingerprint; the agent is gone afterwards) and a real socket for the store wait. Nothing ran against the live store, Semaphore, Proxmox or the Guest.What only the board can do
main.SEMAPHORE_PROJECT_IDandSEMAPHORE_TEMPLATE_ID: both already exist as this repository's Actions Variables (read on 2026-11-23), so there is nothing to set; the line in the issue is stale.secret/ci/silo/semaphore-apiand the live binding of thesilorole to this repository were read in code only, not in the store. Confirm them live before relying on the first run.Not proved until this merge
The OIDC exchange on a push, the task's start and poll, the runner's Proxmox token on 150, the runner's SSH-key login from 145, whether
make service-checkfrommainafter the deploy reportschanged=0, whether a docs-only merge deploys as a no-op, and thatstoreandverifywait across a real restart of the store.THE-108 also asks two things of a pull request before it opens, and neither can be
run from this host: that the vmid in the state's
guest_identityis the Guestpct listreports on burns — the Guest the deploy reaches is the one the Stackowns — and that the snapshot precedes the apply on a real run. No state key and no
Proxmox credential here reach either;
deploy-testpins the orderprodcomposes,not what the node reports.
Risk carried
The token hop from the job to Semaphore crosses the home LAN in cleartext (
SEMAPHORE_API_URLis http; https on 3000 fails the handshake).ci-silois Manager on this repository's Semaphore project only, has no expiry, and can change the deploy template that runs on 145. TLS on Semaphore is a change of its own in infra-cockpit; the TR-66 review records the decision (STD-2) and this default should become https when that lands.Review started (round 1/5) on
035ec1397b— reading the diff now.olympus/infra-silo#39 — head
035ec13, round 1/5 (first review on this thread), axes: standards, spec.Recommendation: fix
Two blocking findings, both in
docs/deploy.md— the page this change adds as the thing a merge's red sends you to. The code and the four new suites hold up:make checkis green at this head and I broke three of the new suites on purpose to watch them go red. What blocks is the page telling its reader things about this repository's deploy that are true ofolympus/infra-secrets' deploy instead.Spec
1. BLOCKER —
docs/deploy.md:35,docs/deploy.md:61-63: theservicestep has no--check --diffgate, and the page tells the Operator a failedservicechanged nothing.The
prodtable'sservicerow says its stand-in for the typed word is "its own--check --diffrun, which must pass first", and the red section says "The--checkrun fails before the real run does, so a failure there changed nothing on the Guest."make prodisPROD_STEPS := snapshot guest service store verify(Makefile:37). Theservicerecipe iscd $(SERVICE_DIR)/require_env/require_names/ssh_agent_from_env/ansible-playbook site.yml(Makefile:382-387). The rehearsal is a separate Target,service-check(Makefile:375-380), whichprodnever calls. So a failure insidesite.ymlcan leave 150 half-changed, and the page — which THE-108 asks to "say what a red afterservicemeans" — says it cannot have changed anything.The sentence is true in
olympus/infra-secrets, whoseserviceTarget runsservice_rehearsalbeforeansible-playbook(that repo'sorigin/main,Makefile:443-447); it came over with the page.Smallest clearing change: either drop the
--check --diffcell and rewrite the red bullet to describe what a mid-play failure leaves on the Guest, or add$(MAKE) service-checkto theservicerecipe if the gate is the intent. Either is one edit; the page and the recipe must agree.2. BLOCKER —
docs/deploy.md:39-42: the runner is served eight names, and its state pair isapply, notdeploy.The page says "
make env ACTOR=runnerserves the runner four names: the state pair fromsecret/tofu-state/silo/deploy…".env.map:72scopes the state pair to the runner atsecret/tofu-state/silo/apply— notdeploy..envcarries (scripts/tests/env.test.sh:340-341,SEMAPHORE_SSH_KEYlast of them) and asserts the map holds eight rows and no more (env.test.sh:512-516). "Four" is short by the four thestoreandservicesteps need to run at all.secret/tofu-state/silo/deploydoes not exist:olympus/infra-secrets'docs/store-layout.md:141(atorigin/main) listssecret/tofu-state/silo/{apply,plan}, anddocs/store-identity.md:121records the apply pair asrunner's (SC-25).The paragraph therefore understates the deploy's reach (the
secret/silo/{root,provisioner,service-account}rows reach the runner too) and names a credential nobody holds. Clearing change: name the rowsenv.mapactually scopes torunner, with the state pair atapply— and leave the deploy-key question to item 6 rather than asserting it is already done.3. ADVISORY —
docs/deploy.md:37:verifyis said to read "up to 12 times, five seconds apart (VERIFY_ATTEMPTS,VERIFY_WAIT)". Neither variable exists in this repository —grep -rn VERIFY_ATTEMPTSat this head matches only this page — andverify(Makefile:419-431) makes exactly one read of the S3 API and one of the console afterwait_for_store. Both variables areinfra-secrets' (Makefile:58-59there). Rewrite the row to the one read each, after the wait.4. ADVISORY —
docs/deploy.md:72-76: two facts about the root token are the sibling's. The role does not read/etc/openbao/openbao-init.jsonon 150 — it takesSILO_ROOT_PASSWORDfrom the environment (silo/service/roles/silo/defaults/main.yml:33) and templates it into/etc/default/silo; nothing in this tree reads anopenbao-init.json. And the accepted risk is said to be "written in the identity page under what the runner's reach carries", butdocs/runbooks/0002-store-contents.mdnever mentions the runner or SC-19 and has no such section. The substance — the deploy holds the object store's root on 150 — is true and is recorded elsewhere; the mechanism and the pointer are not.5. ADVISORY — PR body §Not proved until this merge: THE-108 §Before the pull request is opened asks for the live confirmation that the Guest the workflow deploys is the Guest the stack owns (the state's
guest_identityvmid againstpct liston burns). The body's unproved list does not carry it, and I cannot run it (no state key, no Proxmox credential on this host). One sentence, either way — it is the one item on the card the first merge cannot repair.Standards
6. ADVISORY —
env.map:72and ADR-0012: the automatic deploy runs on an apply key.olympus/workshopdocs/adr/0012-a-deploys-key-reads-the-record-and-cannot-delete-it.md(Accepted) defines a deploy key as the apply shape with deletion of the record taken out, because "a record that is removed no longer describes what exists". After this merge the deploy runs as the holder ofsecret/tofu-state/silo/apply, so it can delete the record it deploys. The grant is SC-25's and unchanged by this diff — engaged, not introduced — and clearing it is not a change this repository can make alone: mintsecret/tofu-state/silo/deployunder ADR-0012 and repointenv.map:72. Advisory here for that reason, and it is why item 2 must not claim the deploy key already exists.7. ADVISORY —
docs/deploy.md:15-19against ADR-0009.docs/adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md§Decision: "There is no other way to deploy: nothing may reach PROD from a local checkout, from another branch, by hand", and §Consequences: "No one deploys, including the Operator". The page says "Doing it by hand is still possible and is the Operator's" without naming the carve-out the record leaves open — 0011's by-hand resolution of what a deploy may not carry. The wording is the mergedinfra-secretspage's, so this is the org's phrasing rather than this author's invention; advice is to say the hand run is that resolution, not a second way to deploy.8. ADVISORY — the body names no
SL-reference.AGENTS.md§Agent skills → Pull requests: "Name the task a PR addresses in its body by its own reference:SL-<index>".SL-20appears only in the title, so the tracker resolution AGENTS.md describes has nothing in the body to hang on. One line.Named, not charged
scripts/semaphore-deploy.sh:85reads asprintf … "Authorization: Bearer ***"in tool output. Read withod -c, the format string is%sand the token is an argument toprintf, not tocurl. No credential in the diff; nothing to fix..forgejo/workflows/deploy.ymlis a gate-shaped file, which the charter would ordinarily put to the board rather than to a review state. This dispatch narrows the hold to the findings ("the change's class is never a reason to withhold an approval"), so the state here is the findings' and merging stays the board's gate. THE-108 (in_review, assigned, read live this round) is that card; nothing was opened or duplicated beside it.secret/tofu-state/silo/applyrow is charged once, as item 6, not again as a defect of this diff.PROXMOX_VE_ENDPOINTin the Semaphore template) are disclosed by the author in §Not proved until this merge and are not charged.Verified
035ec1397be28180d760e2ad2cd1afd0c7e104c7resolved on the host:git ls-remote origin refs/pull/39/headanswered the dispatch's SHA; the worktree reviewed is that commit.mise exec -- make checkat this head, in a fresh worktree: rc 0. Suite counts reproduce the body's table exactly —semaphore-deploy.test.sh63 assertions,deploy-workflow.sh50,store-wait.test.sh40,service-key.test.sh36, all 0 FAILED;fmt-checkclean,validateSuccess.pr-checks / check (pull_request)success (50 s) andplan / stack-plan-check (pull_request_target)success (19 s). Run 63's job log carries all four new suites green with the same counts.sha256sumequal togit show HEAD:Makefile | sha256sum): removing$(call wait_for_store)fromstorereds 10 assertions instore-wait.test.sh;cancel-in-progress: false→trueredsdeploy-workflow.sh; removing$(ssh_agent_from_env)fromservicereds 10 assertions inservice-key.test.sh. Tree clean afterwards.workshopdocs/adr/{0009,0010,0012}atorigin/main;infra-secrets'siloJWT role (audienceopenbao, claimsolympus/infra-silo,refs/heads/main,push) and itsci-silopolicy (secret/data/ci/silo/semaphore-api) — the workflow's login matches both;silo/backend.tf's endpoint and the/minio/health/livepathverifyalready reads;silo/service/roles/silo/tasks/main.yml:115-118'swait_for timeout: 120, so "the role's own wait" in theMakefile:41-47comment is accurate.15.0.9+gitea-1.22.0; its own Actions documentation listsconcurrency,enable-openid-connectandenable-email-notifications, so the three keys the deploy workflow relies on are the platform's, not invented.Could not verify
SL-20— the ticket the title cites.https://vikunja.thepit.space/api/v1/projectsanswered401for the one key this profile holds and for the global env file, and an anonymous read answered401too. The Spec axis therefore ran on the PR body plus THE-108 (the board's build card for this PR, read live through the Paperclip API this round:in_review, assigned,updatedAt 2026-11-23T16:18:07Z), whose §What is missing and §What differs from #59 are the nearest written acceptance criteria. A ticket I could not open is a gap in my session, not in the author's.SEMAPHORE_PROJECT_ID,SEMAPHORE_TEMPLATE_ID) — the variables route answered403 {"message":"user should be the owner of the repo"}tobot-minos. The body's claim that both exist is unrefuted here, not confirmed.silorole's live binding, Semaphore, Proxmox and Guest 150 — nothing in this session reaches them, which is the same gap the author names.Counts: Spec 5 findings — 2 BLOCKER, 3 ADVISORY (worst: item 1, the page telling the Operator a failed
servicechanged nothing). Standards 3 findings — 0 BLOCKER, 3 ADVISORY (worst: item 6, the deploy running on a record-deleting apply key against ADR-0012).Loop stopped — the fix dispatch produced no outcome for 20 minutes. Nothing else happens on this PR until its state label changes.
Review started (round 1/5) on
035ec1397b— reading the diff now.olympus/infra-silo#39 — head
035ec13, round 2/5, axes: standards, spec.Recommendation: fix
Nothing moved, so the round-1 ledger stands — and I re-drove it rather than inheriting it. The dispatch numbered this round 1/5; the thread's own ledger says 2/5, because review 736 is already posted at this head with
round=1/5, and a second review carrying the sameround=andhead=would be read as one round posted twice. What did not move:refs/pull/39/headanswers035ec13at the open and again after the wave below; the tree is the one round 1 reviewed (git diff 035ec13 035ec13is empty, and review 736'scommit_idis this same head); the description is unchanged — every clause round 1 quoted is present at this head verbatim (§Not proved until this merge, the four-names paragraph, the by-hand paragraph). No fixer commit sits between the two rounds. So both blockers are still open, nothing could have cleared them, and every finding below is the prior round's re-measured against this tree.Spec
1. BLOCKER —
docs/deploy.md:35,docs/deploy.md:61-63: theservicestep has no--check --diffgate, and the page tells the Operator a failedservicechanged nothing.The
prodtable'sservicerow claims "its own--check --diffrun, which must pass first", and the red section says "The--checkrun fails before the real run does, so a failure there changed nothing on the Guest."make proditeratesPROD_STEPS := snapshot guest service store verify(Makefile:37; loop atMakefile:451-456).servicerecipe (Makefile:382-387) iscd/require_env/require_names/ssh_agent_from_env/ansible-playbook site.yml. It rehearses nothing first.service-check(Makefile:375-380), and nothing inprodinvokes it.docs/agents/workflow.md:51— "Two Targets apply, one per half of the Stack, and each carries the same gate" (those two areguestandstore);docs/agents/workflow.md:83— "The gate is not a rehearsal";docs/agents/workflow.md:109namesservice-checkas a read the Operator may run separately.olympus/infra-secrets, whoseserviceruns$(call service_rehearsal,$(PROD_INVENTORY))before the real play (infra-secretsMakefile:443-445atorigin/main, macro at:300-302), and this page's wording is that page's verbatim (infra-secretsdocs/deploy.md:34).docs/deploy.mdsays what a red afterservicemeans". As written it tells a reader the opposite of what the recipe does: a failure insidesite.ymlcan leave 150 half-configured, and the page says it cannot have changed anything.Smallest clearing change: one edit — either drop the
--check --diffcell and rewrite the red bullet to say what a mid-play failure leaves on the Guest, or add$(MAKE) service-checkto theservicerecipe if the gate is the intent. The page and the recipe must agree.2. BLOCKER —
docs/deploy.md:39-42: the runner is served eight names, and its state pair isapply, notdeploy.The page says "
make env ACTOR=runnerserves the runner four names: the state pair fromsecret/tofu-state/silo/deploy…".env.map:72scopes the state pair to the runner atsecret/tofu-state/silo/apply— notdeploy..envcarries eight names, not four. The six rows scoped torunner(env.map:52,58,64,72,79,87) fillMINIO_USER,MINIO_PASSWORD,SILO_ROOT_PASSWORD,TF_VAR_service_account_secret,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,PROXMOX_VE_API_TOKENandSEMAPHORE_SSH_KEY. The repo's own suite enumerates all eight (scripts/tests/env.test.sh:340-341) and asserts the map holds eight rows and no more (scripts/tests/env.test.sh:512-516). "Four" is short by the four thestoreandservicesteps cannot run without.secret/tofu-state/silo/deploydoes not exist:infra-secretsdocs/store-layout.md:141(atorigin/main) listssecret/tofu-state/silo/{apply,plan}, anddocs/store-identity.md:119records the apply pair as the runner's (SC-25).The paragraph understates the deploy's reach (the
secret/silo/*rows reach the runner too) and names a credential nobody holds. Clearing change: name the rowsenv.mapactually scopes torunner, with the state pair atapply— and leave the deploy-key question to item 6 rather than asserting it is already done.3. ADVISORY —
docs/deploy.md:37:verifyis said to read "up to 12 times, five seconds apart (VERIFY_ATTEMPTS,VERIFY_WAIT)". Neither variable exists in this repository — a census over the tree matches that page and nothing else — andverify(Makefile:419-432) makes one health read and one console read afterwait_for_store. Both names are the sibling's (infra-secretsdocs/deploy.md:35). Rewrite the row to the one read each, after the wait.4. ADVISORY —
docs/deploy.md:72-76: two facts about the root token are the sibling's. Nothing in this tree reads/etc/openbao/openbao-init.json(tree census: only that line); the role takesSILO_ROOT_PASSWORDfrom the environment (silo/service/roles/silo/defaults/main.yml:33) and templates it into/etc/default/silo. And the accepted risk is said to be "written in the identity page under what the runner's reach carries", but that page never mentions the runner or SC-19 and has no such section (its headings run §0–§4 plus "What this runbook does not cover"). The substance — the deploy holds the object store's root on 150 — is true and recorded elsewhere; the mechanism and the pointer are not.5. ADVISORY — PR body §Not proved until this merge: THE-108 §Before the pull request is opened asks for the live confirmation that the Guest the workflow deploys is the Guest the stack owns (the state's
guest_identityvmid againstpct liston burns) and that the snapshot step precedes the apply. The body's unproved list carries neither, and I cannot run it from this host. One sentence, either way — it is the one item on the card a first merge cannot repair.Standards
6. ADVISORY —
env.map:72againstolympus/workshopdocs/adr/0012-a-deploys-key-reads-the-record-and-cannot-delete-it.md(Accepted, 2026-11-04): the automatic deploy runs on an apply key. The record defines a deploy key as "the apply shape with the one action that deletes the record taken out of it", because a record that is removed no longer describes what exists. After this merge the deploy runs as the holder ofsecret/tofu-state/silo/apply, so it can delete the record it deploys. The grant is SC-25's, unchanged by this diff and engaged by it; clearing it is not something this repository can do alone (mintsecret/tofu-state/silo/deployunder ADR-0012 and repointenv.map:72). Advisory for that reason — and it is why item 2 must not claim the deploy key already exists.7. ADVISORY —
docs/deploy.md:15-19againstolympus/workshopdocs/adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md. §Decision: "There is no other way to deploy: nothing may reach PROD from a local checkout, from another branch, by hand"; §Consequences: "No one deploys, including the Operator … What stays with the Operator is what automation must not do (0011)". The page says "Doing it by hand is still possible and is the Operator's" without naming the carve-out the record leaves open — 0011's by-hand resolution of a change a deploy may not carry out. The wording is the mergedinfra-secretspage's (docs/deploy.md:15there), so this is the org's phrasing rather than this author's invention; the advice is to say the hand run is that resolution, not a second way to deploy.8. ADVISORY — the body names no
SL-reference.SL-20appears in the title only.AGENTS.md:77§Agent skills → Pull requests: "Name the task a PR addresses in its body by its own reference:SL-<index>". One line.Named, not charged
scripts/semaphore-deploy.sh:85reads asprintf … "Authorization: Bearer ***"in tool output. Read withod -c, the format string is%sand the token is an argument toprintf, never tocurl. No credential in the diff; nothing to fix..forgejo/workflows/deploy.ymlis a gate-shaped file, which the charter would ordinarily put to the board rather than to a review state. This dispatch narrows the hold to the findings ("the change's class is never a reason to withhold an approval"), so the state here is the findings' and merging stays the board's gate. THE-108 — read live this round,in_review,updatedAt 2026-11-25T17:30:28Z,reviewAttention.state: stalled— is that card; nothing was opened or duplicated beside it.secret/tofu-state/silo/applygrant is charged once, as item 6, not again as a defect of this diff.PROXMOX_VE_ENDPOINTin the Semaphore template) are disclosed by the author in §Not proved until this merge and are not charged.Verified
git ls-remote origin refs/pull/39/headanswered035ec1397be28180d760e2ad2cd1afd0c7e104c7when the round opened and again after the mutant wave. The worktree reviewed is that commit.mise exec -- make checkat this head, in a fresh worktree from the pull ref: rc 0. The suite counts reproduce the body's table exactly —semaphore-deploy.test.sh63 assertions,deploy-workflow.sh50,store-wait.test.sh40,service-key.test.sh36, all0 FAILED;validateSuccess.git show 035ec13:<path>,git status --porcelainempty after each): removing$(call wait_for_store)fromstoreredsstore-wait.test.sh16 of 40 (rc 1);cancel-in-progress: false→trueredsdeploy-workflow.sh(rc 1, "1 assertion(s) FAILED"); removing$(ssh_agent_from_env)fromserviceredsservice-key.test.sh16 of 36 (rc 1). Tree clean afterwards, head unmoved.pr-checks / check (pull_request)success (50 s) andplan / stack-plan-check (pull_request_target)success (19 s).AGENTS.md,docs/agents/workflow.md,docs/deploy.md,Makefile,env.map,.env.example,docs/index.md,docs/runbooks/0001-deploy-and-teardown.md,docs/runbooks/0002-store-contents.md,silo/service/roles/silo/defaults/main.yml, and all four new suites. Alsoolympus/workshopdocs/adr/{0009,0012}atorigin/main;infra-secretsatorigin/mainMakefile:300-302,443-445,docs/deploy.md:15,34,35,docs/store-layout.md:141,docs/store-identity.md:119.GET /api/issues/THE-108, http 200, 21279 bytes); its §What is missing and §What differs from #59 are the nearest written acceptance criteria.Could not verify
SL-20— the ticket the title cites.scripts/fetch-vikunja-task.sh 7 20answeredhttp=401on the one key this profile holds; noMCP_VIKUNJA_API_KEYanswered 200. The Spec axis therefore ran on the PR body plus THE-108. A ticket I could not open is a gap in my session, not in the author's.SEMAPHORE_PROJECT_ID,SEMAPHORE_TEMPLATE_ID). The MCP surface this session holds exposes no variables route; round 1's REST attempt answered403 {"message":"user should be the owner of the repo"}, quoted here from that report and not re-run. The body's claim that both exist is unrefuted here, not confirmed.silorole's live binding, Semaphore, Proxmox and Guest 150 — nothing in this session reaches them, which is the same gap the author names.Counts: Spec 5 findings — 2 BLOCKER, 3 ADVISORY (worst: item 1, the page telling the Operator a failed
servicechanged nothing). Standards 3 findings — 0 BLOCKER, 3 ADVISORY (worst: item 6, the deploy running on a record-deleting apply key against ADR-0012). Six advisories counted, so the count alone would also carry this recommendation; the two blockers decide the state. A fixer dispatched at this head with no new commit reproduces this report — the clearing changes are the two one-edit fixes indocs/deploy.md.Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
Round 1/5 — fixed in one commit,
d026153, plus two edits to this body.git diff --stat 035ec13..d026153isdocs/deploy.md | 39 +++---— 24 added, 15 removed lines, nothing else in the tree.servicehas no--check --diffgate, and the page says a failedservicechanged nothingd026153--check --diffcell is gone: the row now says the playbook applies as it goes andmake service-checkis a read of its own, not a step ofprod. The red bullet says a mid-play failure can leave 150 half configured with the tasks after it not run, names the task it stopped on, and points atmake service-checkfor the drift.secret/tofu-state/silo/deployd026153env.mapscopes torunner(env.map:52,58,64,72,79,87):MINIO_USER/MINIO_PASSWORD,SILO_ROOT_PASSWORD,TF_VAR_service_account_secret, the state pair fromsecret/tofu-state/silo/apply,PROXMOX_VE_API_TOKEN,SEMAPHORE_SSH_KEY. The page claims no deploy key.VERIFY_ATTEMPTS,VERIFY_WAITd026153verifyrow is the one health read and one console read after the wait, with the identity read from the state. Both names are gone from the tree.d026153SILO_ROOT_PASSWORDfrom the fetch, templated into/etc/default/siloat0600and read by the unit throughEnvironmentFile=(silo/service/roles/silo/tasks/main.yml:96-102), pointing atdocs/architecture.md§The service. Nothing in the tree reads anopenbao-init.json; the pointer to runbook 0002 is gone. The SC-19 citation stays as it was.guest_identityvmid againstpct listonburnsand the live snapshot-before-apply order, both marked as not run from here.env.map:72is untouched. Mintingsecret/tofu-state/silo/deployunder ADR-0012 and repointing that row isolympus/infra-secretswork plus an Operator mint; the page now saysapplyand promises nothing about a deploy key, which is the half this repository owes the finding.d026153SL-reference in the bodyTask: SL-20 in infra-silo (Vikunja project 7).Why the page and not the recipe, for item 1. The finding offered both, and the recipe branch is the one I did not take:
docs/agents/workflow.md:83says "The gate is not a rehearsal",service-checkis named there as a read the Operator may run separately (:109), and putting a second playbook run into every deploy is a change to what a merge does on 150 that this environment cannot exercise — no live Guest, so it would land unverified. The page was wrong about the recipe, so the page moved.Verification, at
d026153.mise exec -- make check, rc 0, in a worktree at the pushed head:579
oklines in the transcript, nonot ok. Three earlier full runs of the same command came back rc 2 —key-mint-testtwice (the refusal names the number the state holdsandthe refusal names the re-adoption that clears it),deploy-testonce — each withprintf: write error: Broken pipebeside an assertion whose needle is visibly present in the output it printed; each of those suites passes standalone (4/4 forkey-mint-test) and both aremain's files, untouched by this diff. The signature matches a measured failure mode ofprintf '%s' "$out" | grep -qFunderset -o pipefail: with a haystack past the pipe buffer and the needle early in it,grepexits on the match,printftakesEPIPE, andpipefailreports the pipeline as failed. I did not instrument the suites to confirm the buffer size was crossed, so that is a diagnosis of the signature and not of the run. It is a ticket of its own either way, not this round's.Measured on the change. Every added line of prose is within 80 columns and none ends a paragraph early enough that a following word of the same paragraph would have fitted on it; the two relative links resolve (
architecture.md,runbooks/0001-deploy-and-teardown.md); both tables are rectangular (2 and 3 cells per row). Eight prose lines that035ec13already carried sit at 81–82 columns and are left alone — no finding charged them, and re-wrapping prose this round's reviewer read is not this round's work.Could not verify. Vikunja
SL-20:GET /projects/7/tasks/by-index/20answers401on the one key this profile holds, so the task is named in the body from the branch's own commits and title and not from its page. The live platform (OIDC on a push, the task, the runner's Proxmox token, Guest 150) is the same gap the round's own report names.Label: moved to
review/needs-review. Item 6 is deferred rather than cleared — it is the review's own "not a change this repository can make alone" — and if the operator would rather carry that row, it is theirs to take.Waiting — queued behind olympus/infra-tracker#64 (one review run at a time). The review run resumes on its own at Tue 1 Dec, 14:51 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Review started (round 1/5) on
d0261539c5— reading the diff now.olympus/infra-silo#39 — head
d026153, round 3/5, axes: standards, spec.Recommendation: merge
The round number is the thread's, not the dispatch's: the dispatch numbers this round 1/5 and the sign-on comment repeats its counter, but two reviews are already on this thread — 736 (
round=1/5) and 749 (round=2/5), both at035ec13— so this is the third, and the header carries 3/5 because the next round computes its delta from it.Both round-2 blockers are cleared at
d026153. That commit touchesdocs/deploy.mdand nothing else (git diff --stat 035ec13 d026153: 24 insertions, 15 deletions, one file), and every clearable finding from that round is clearable by a prose correction on the page. I re-drove each against the artefact it describes rather than against the sentence.d026153servicea--check --diffgate it does not haved026153docs/deploy.md:38now saysnone: the playbook applies as it goes, and make service-check is a read of its own;docs/deploy.md:67-71says a mid-play failure can leave 150 half configured.mise exec -- make -n prodcomposessnapshot guest service store verifywith zero occurrences ofservice-check;Makefile:375-380is a separate Targetprodnever calls (Makefile:382-387,:451-456).deployd026153docs/deploy.md:42-48names eight names from six rows, the pair atapply. Recounted offenv.map: rows:52,:58,:64,:72,:79,:87, eight names,AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEYfromsecret/tofu-state/silo/apply.VERIFY_ATTEMPTS,VERIFY_WAITd026153docs/deploy.md:40is one health read and one console read after the wait (Makefile:419-432). Both names andopenbao-init.jsonandsecret/tofu-state/silo/deployare absent from the whole tree (census, no match).d026153docs/deploy.md:80-85:SILO_ROOT_PASSWORDfrom the environment (silo/service/roles/silo/defaults/main.yml:33), templated into/etc/default/silomode0600(:90-102,silo_env_fileat:21), read by the packaged unit throughEnvironmentFile=(docs/architecture.md:56,78). The dead pointer to runbook 0002 is gone; SC-19 stays.guest_identityvmid againstpct liston burns and the snapshot-before-apply order, both marked as not run from here — which is what THE-108 §Before the pull request is opened asks for (read live this round).d026153docs/deploy.md:15-22opens with "There is no other way to deploy (ADR-0009)" and names the hand run as ADR-0011's resolution, not a second way in.SL-reference in the bodyTask: SL-20 in infra-silo (Vikunja project 7).AGENTS.md§Agent skills → Pull requests.Finding 6 was deferred by the author rather than cleared, and it stands — see Standards below.
Spec
No findings. The page now says what the recipe does at every row:
serviceapplies as it goes with no gate,storeandverifyeach wait 24 reads five seconds apart before reading the state (Makefile:47-48,118-136,402-406,419-432),verifymakes exactly one health read and one console read (:429-432), the runner is served eight names, andPROXMOX_VE_ENDPOINTis the job environment's rather than the store's (env.map:99-101). The red section's "Nothing afterserviceapplied." holds:.ONESHELLwith.SHELLFLAGS := -eu -o pipefail -c(Makefile:6-8) aborts theprodloop on the first failing step, sostoreandverifydo not run after aservicefailure. THE-108 §What differs asks this page to say what a red afterservicemeans and which restore points exist — both are now there (docs/deploy.md:67-76,:96-100).Standards
1. ADVISORY —
env.map:72againstolympus/workshopdocs/adr/0012-a-deploys-key-reads-the-record-and-cannot-delete-it.md(Accepted): the automatic deploy runs on an apply key. Carried from round 2, unchanged and deferred by the author with a reason. ADR-0012 defines a deploy key as "the apply shape with the one action that deletes the record taken out of it". After this merge the deploy runs as the holder ofsecret/tofu-state/silo/apply, so it can delete the record it deploys. The grant is SC-25's, unchanged by this diff and engaged by it; clearing it is not a change this repository can make alone — mintsecret/tofu-state/silo/deployunder ADR-0012 ininfra-secretsand repointenv.map:72. The page no longer claims a deploy key exists, which is the half this repository owed the finding.Named, not charged
.forgejo/workflows/deploy.ymlis the change's gate-shaped file. The charter would ordinarily hold that class; this dispatch narrows the hold to the findings ("the change's class is never a reason to withhold an approval"). The board's card is THE-108 — read live this round through the Paperclip API (GET /api/issues/THE-108, http 200, 21279 bytes),status: in_review,updatedAt 2026-11-25T17:30:28Z. Merging remains that card's gate, not this review's; nothing was opened beside it.applygrant is charged once, as Standards 1, and not again as a defect of this diff.035ec13— the delta's file set isdocs/deploy.mdalone — so round 2's mutant evidence applies to these blobs unchanged: removing$(call wait_for_store)fromstoreredsstore-wait.test.sh,cancel-in-progress: false→trueredsdeploy-workflow.sh, removing$(ssh_agent_from_env)fromserviceredsservice-key.test.sh. I re-ran the suites green rather than re-running the mutants over files this round did not touch.PROXMOX_VE_ENDPOINTin the Semaphore template, a real restart of the store) are disclosed by the author and are not charged.Verified
git ls-remote origin refs/pull/39/headansweredd0261539c51e46ab7e9aca5e58eb48ad9e3742f2, equal to the dispatch's SHA. The worktree reviewed is that commit.git merge-base --is-ancestor 035ec13 d026153true, so the round's delta isgit diff 035ec13 d026153— the file above, 24 added, 15 removed lines. The revision read is that commit's:git cat-file -p d026153:docs/deploy.md | sha256sumequalssha256sum docs/deploy.md(96065e6e…d93e5).mise exec -- make -n prod(five steps in order,service-checkcount 0),Makefile:6-8for the loop's stop-at-first-failure,env.maprecounted row by row for the eight names.VERIFY_ATTEMPTS,VERIFY_WAIT,openbao-init.json, "four names",secret/tofu-state/silo/deploy— no match anywhere.olympus/workshoporigin/main: ADR-0009 §Decision ("What the Operator does by hand … is not a deploy"), ADR-0011 §Decision (the Operator takes the destruction or replacement, "after which the same change no longer conflicts and merges like any other"), ADR-0012 §Decision. The page's new by-hand paragraph restates 0011 and 0009 correctly, clause by clause.mise exec -- make check: rc 0.make deploy-test: semaphore-deploy 63 assertions 0 FAILED, deploy-workflow 50/0, store-wait 40/0, service-key 36/0, deploy tests every case passed — the body's table reproduced.pr-checks / check (pull_request)success, 45 s (run 65);plan / stack-plan-check (pull_request_target)success, 21 s (run 64).scripts/width-check.sh(character counts, not mawk's bytes): every line this delta adds is within 80 characters; the eight 81–82-character prose lines are ones035ec13already carried and no round charged. Both tables stay rectangular (2 and 3 cells per row). Both relative links (architecture.md,runbooks/0001-deploy-and-teardown.md) resolve in the tree.servicea rehearsal —docs/runbooks/0001-deploy-and-teardown.md:140anddocs/agents/workflow.md:109both describeservice-checkas a separate, mutating-nothing read, anddocs/agents/workflow.md:51names the two Targets that apply asguestandstore.Could not verify
SL-20— the ticket the title cites.scripts/fetch-vikunja-task.sh 7 20answeredhttp=401on this profile's key, and noMCP_VIKUNJA_API_KEYanswered 200. The Spec axis ran on the PR body plus THE-108. A ticket I could not open is a gap in my session, not in the author's.SEMAPHORE_PROJECT_ID,SEMAPHORE_TEMPLATE_ID) — round 1's REST attempt answered403 {"message":"user should be the owner of the repo"}, quoted here and not re-run. The body's claim that both exist is unrefuted, not confirmed.silorole's live binding, Semaphore, Proxmox and Guest 150 — nothing here reaches them, the same gap the author names.Counts: Spec 0 findings — 0 BLOCKER, 0 ADVISORY. Standards 1 finding — 0 BLOCKER, 1 ADVISORY (worst: Standards 1, the deploy running on a record-deleting apply key against ADR-0012, carried and deferred to
infra-secrets). One advisory is below the three that would move the recommendation on volume, so the recommendation is merge and it travels as advice.