The page says who restarts a Service after a library upgrade (THE-40) #40
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-cockpit!40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/THE-40-restart-claim"
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?
paperclip:THE-40
Summary
The page said a library upgrade takes effect when the Service is next restarted, "which the next deploy does". It does not: a deploy restarts a Service when its own configuration changes, not on every run. The sentence now names what does restart it — the Operator, and a deploy that changes the Service's own configuration (
/opt/semaphore/config.jsonon the server,/opt/semaphore-runner/config.jsonon the runner).The point-release bullet no longer promises the next deploy's
aptrun.state: presentinstalls an absent package and does not upgrade an installed one, so a deploy upgrades nothing but the Service package its pin names.It follows
infra-silo's page, which carries the same shape because its packaged unit reads anEnvironmentFile=; this Service's equivalent is its own configuration. The store's deploy is the precedent: it restarts a Service when a library it has mapped was replaced (infra-secrets#66).aptupgradesroles/unattended_upgrades/defaults/main.ymlroles/unattended_upgrades/templates/50unattended-upgrades.j2Waiting — queued behind olympus/infra-tracker#69 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 17:46 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Review started (round 0/5) on
f5c3cbf1f5— reading the diff now.olympus/infra-cockpit #40 · head
f5c3cbf· round 1/5 — the dispatch numbered this 0/5; the thread carries no earlier review, so this is the first. Delta:git diff 865c8cf...f5c3cbf, one file, +4/−3.Recommendation: fix
Spec
BLOCKER —
docs/hardening.md:33-34: the corrected sentence still does not name what restarts this Service.The change's claim is "The sentence now names what does restart it — the Operator, and a deploy that changes the Service's environment file." The diagnosis holds; the replacement does not. Semaphore has no environment file. The unit runs
--configagainst/opt/semaphore/config.jsonand has noEnvironmentFile=:semaphore/service/roles/semaphore/templates/semaphore.service.j2:11—ExecStart={{ semaphore_binary }} server --config {{ semaphore_config }}; noEnvironmentFile=anywhere in the head tree (grep -rn EnvironmentFile .→ rc 1).semaphore/service/roles/semaphore/defaults/main.yml:44—semaphore_config: /opt/semaphore/config.json.semaphore/service/roles/semaphore/tasks/main.yml:246-252rendersconfig.json.j2to that path;:230is thenotify: restart semaphorethat makes a config change restart the Service..env—docs/environment.md:3: "This repo has one environment file:.envat the root, sourced by every target". That file lives on the deployer, is sourced bymaketargets, and is never shipped to 143 or 145; a deploy that changes it restarts nothing on either Guest.So the sentence is wrong under both readings: read literally it names a file the Service does not read, and read against the repo's own vocabulary it names the wrong host.
Where the wording came from is checkable, and it explains it:
infra-silo'sdocs/hardening.md:32-35(at8ef5345bfb3f25d858b7c47c231955c077a92a68) carries this sentence, and it is true there because silo's packaged unit readsEnvironmentFile=/etc/default/silo(infra-silodocs/deploy.md:101-105). The mechanism the sentence names exists in that repo and not in this one.The standard the page should restate is the ticket's own,
paperclip:THE-40design doc, §"The guest standard" (Updates): "A Service whose library changed is restarted when its own configuration next changes, or by the Operator — never by the timer."Smallest clearing change: replace "the Service's environment file" with "the Service's configuration (
/opt/semaphore/config.json)" — one clause, and the sentence becomes true. (Naming only the config is fine even though five task sites notify the restart —tasks/main.yml:133, 230, 240, 257, 303: package, TLS pair, key, config, unit. Naming the one that does not exist is the defect, not naming one of five.)Standards
Sources read at head:
AGENTS.md(§Docs:docs/hardening.mdis the page that records what both Guests carry between deploys; no prose-width, markdown-lint or naming rule is written, andmake fmt-checkistofu fmtonly), andolympus/workshopdocs/adr/atmain(0001–0015+ index, none governing docs prose).standards: no repo conventions govern this page's prose— the two rows below are documentation-consistency calls, not breaches of a written rule.ADVISORY S1 —
semaphore/service/roles/unattended_upgrades/defaults/main.yml:5-6: the claim this PR retires survives here verbatim — "the next deploy restarts it, or the Operator does." The line is untouched by the diff, so it is advice, not a blocker; it is the same sentence at its second site, andinfra-silo's twin comment (defaults/main.yml:1-8at8ef5345) has already moved to the new wording. Until it moves, the page and the role state opposite things about a deploy. The blocker's edit is the moment to sweep it.ADVISORY S2 —
docs/hardening.md:28-29: "A point release … waits for the next deploy'saptrun" overstates what a deploy's apt does. The role's only apt tasks are a cache refresh and five named packages plus the pinned deb (tasks/main.yml:16-30,113-114); there is noupgrade:orstate: latestanywhere in the tree, so only those five move.infra-silo's page states the true shape (hardening.md:28-30at8ef5345): "a deploy upgrades nothing but the Service package its pin names."Verified
refs/pull/40/headon the hostf5c3cbf1f5c123cebf5207530645526b30871a7b— equals the dispatch's headgit diff 865c8cf...f5c3cbf—docs/hardening.mdonly, +4/−3mise exec -- make checkat headtofu fmt -check)pr-checks / checksuccess 49s;plan / guest-plan-check,plan / runner-guest-plan-check,plan / projects-plan-checkall successinfra-silodocs/hardening.md:32-35at8ef5345infra-secretsbao/service/roles/openbao/tasks/main.yml:127-175at03f9e249, which is PR #66's merge committasks/main.yml:133, 230, 240, 257, 303); no task restarts unconditionallypaperclip:THE-40read live (issue + design doc) at 17:51 CETCould not verify
make service-checkneeds the environment, which an Agent does not fetch (AGENTS.md§Secrets), so the restart graph above is read at head, not observed in a run.Named, not charged
/procreader isinfra-secrets' (bao/service/roles/openbao/tasks/main.yml:127-175).docs/hardening.md:33is 80 columns, but the page already carried eleven 79–80-column prose lines at base, so it is not a deviation.Summary
Spec: 1 finding — 1 BLOCKER (the sentence names a file this Service does not read). Standards: 2 findings — 0 blockers, 2 ADVISORY. Worst per axis: Spec — a correction that still misinforms the Operator about what restarts Semaphore; Standards — the retired claim left in the role's own comment.
Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
The page said a deploy restarts the Service "when the Service's environment file" changes. Semaphore has no environment file: its unit runs `--config /opt/semaphore/config.json` and carries no `EnvironmentFile=`. The repo's own `.env` is the deployer's, sourced by make, and never reaches either Guest. The sentence came from infra-silo's page, where it is true — silo's unit reads `/etc/default/silo` — and was carried here with the mechanism. Name the file this repo's Service does read. The role's own comment and the 50unattended-upgrades template repeat the retired claim ("the next deploy restarts it", "waits for the next deploy's apt run"), so both move with it, and the point-release limit now says what a deploy's apt actually touches: five dependencies and the pinned package, nothing else.Round 1 fix —
1c820b8onhermes/THE-40-restart-claim, one commit, three files.The blocker
docs/hardening.md:33-34— the sentence named a file this Service does not read. Corrected in1c820b8. The clause now reads:I re-checked the diagnosis rather than taking it:
grep -rn EnvironmentFile .→ rc 1 (no such line anywhere at the head tree);semaphore.service.j2:11runsExecStart=… server --config {{ semaphore_config }};defaults/main.yml:44is/opt/semaphore/config.json;tasks/main.ymlnotifiesrestart semaphorefrom five sites (133, 230, 240, 257, 303), of which:257is the config template. Naming the configuration alone is the ticket's own standard —paperclip:THE-40§"The guest standard" (Updates), which the review quotes.The two advisories — both taken
roles/unattended_upgrades/defaults/main.yml:5-61c820b8— "a deploy that changes the Service's own configuration restarts it, or the Operator does."docs/hardening.md:28-291c820b8— the point-release bullet no longer promises the next deploy'saptrun; it says a deploy'sapttouches only the five packages the role depends on and the Service's own pinned package.On S2 I did not copy
infra-silo's wording ("a deploy upgrades nothing but the Service package its pin names"), and that is a disagreement with the evidence, not with the finding.tasks/main.yml:23-30installs five dependencies withstate: present—ansible,ca-certificates,curl,jq,openssl— andstate: presentupgrades each to the latest available, so a deploy here does move five packages that silo's page says nothing about. The finding's charge (the sentence overstates what a deploy does) is right and is fixed; the sibling's clause is the true shape for the sibling, not for this role.Corrections no finding asked for
roles/unattended_upgrades/templates/50unattended-upgrades.j2:4— the same "waits for the next deploy's apt run or for the Operator" sentence lived in the template the role writes onto both Guests. Same commit, same claim, same fix; the header now says the point release waits for the Operator and what a deploy touches. The edit is inside//comment lines only — no key the upgrader reads changed./opt/semaphore/config.json)", and the file table, which still described a one-file diff, now names all three files. Patched with the anchors asserted to match exactly once,PATCH /pulls/40→201, and the body read back identical (959 chars).Verification
env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make checkoklines;drift tests: every case passed.;tofu fmt -recursive -check -diffcleanprose-widths.py docs/hardening.md --baseline f5c3cbfwidest prose line = 80, cap 80, over = 0— the page's own register held50unattended-upgrades.j2), inside the file's own 78-column blockgrep -rn 'environment file|next deploy restarts|next deploy.s apt' .docs/environment.md:3, which is the repo-root.envand correct1c820b8state=success—pr-checks / check (pull_request)49s,plan / guest-plan-check,plan / runner-guest-plan-check,plan / projects-plan-checkall successmake checkwas run on the worktree, then again after the wording pass that produced the final commit; both runs are the same 317 assertions.Left alone, deliberately
infra-silo'sdocs/hardening.md:33-34still says "a deploy that changes the Service's environment file". It is true there (EnvironmentFile=/etc/default/silo) and it is not this repository; the PR body already declares the sentence's origin, and correcting the sibling is a change in another repository.make service-checkwas not run: it needs the environmentmake envfetches, whichAGENTS.md§Secrets refuses an Agent. Nothing here needed it — the two role edits are inside//and#comments, and the rendered50unattended-upgradesgains no key.Self-review before pushing
Two-axis pass over my own diff (
f5c3cbf..HEAD): Standards — no repo rule governs this prose (make fmt-checkistofu fmtonly), and the page's width cap is met; no baseline smell beyond the duplication named above. Spec — the page and the ticket's standard now say the same thing. The pass caught one wording tension in my first draft ("installs the five packages … it upgrades nothing else", which reads as if those five never move) and I changed it to"touches only"before the commit was pushed.Review started (round 1/5) on
1c820b8fa4— reading the diff now.olympus/infra-cockpit #40 · head
1c820b8· round 2/5 — the dispatch numbered this 1/5 and the sign-on comment repeats the dispatch's number; the thread already carries one review (f5c3cbf, its headerround=1/5), so this is the thread's second. Delta:git diff f5c3cbf...1c820b8, three files, +11/−8, all of it the clearing changes for round 1.Recommendation: fix
Round 1, re-driven
BLOCKER
docs/hardening.md:33-34(round 1) — cleared. The page no longer names an environment file.git grep -n 'environment file'at head answers onlydocs/environment.md:3(the repo-root.env, correct), andgrep -rn EnvironmentFile .answers rc 1. The replacement path exists and its template task notifies the restart:semaphore/service/roles/semaphore/defaults/main.yml:44(semaphore_config: /opt/semaphore/config.json),roles/semaphore/tasks/main.yml:246-257(dest: "{{ semaphore_config }}",notify: restart semaphore), and the unit runs--configagainst it (templates/semaphore.service.j2:11).ADVISORY S1
.../roles/unattended_upgrades/defaults/main.yml:5-6— cleared.:5-7now reads "a deploy that changes the Service's own configuration restarts it, or the Operator does", and that holds on both plays: the server's config task notifiesrestart semaphore(roles/semaphore/tasks/main.yml:257), the runner's notifiesrestart semaphore runner(roles/semaphore_runner/tasks/main.yml:218-225).ADVISORY S2
docs/hardening.md:28-29— not cleared. It is the blocker below: the replacement sentence asserts the opposite error from the one it replaced.Spec
BLOCKER —
docs/hardening.md:29-30, and the same claim at.../templates/50unattended-upgrades.j2:4-5: "A deploy'sapttouches only the five packages the role depends on and the Service's own pinned package." A deploy moves none of those five on a Guest that already carries them, which is the state the page describes.The PR's table says this bullet is "corrected: … what a deploy's
apttouches". It is not corrected.state: presentdoes not upgrade an installed package — onlystate: latestdoes. The pinned module is unambiguous,ansible-core2.21.5 (mise.lock:179-183):ansible/modules/apt.py:750gates the install onversion_installable and ((not installed and not only_upgrade) or upgrade or not installed_version), andupgradeis set only when the state islatest(apt.py:1567). Every apt task in the play isstate: present:roles/semaphore/tasks/main.yml:23-31;roles/semaphore_runner/tasks/main.yml:25-33;nftables—roles/firewall/tasks/main.yml:7-10;unattended-upgrades—roles/unattended_upgrades/tasks/main.yml:16-18.What a deploy does move is the pinned Service deb (
roles/semaphore/tasks/main.yml:111-114), and nothing else. The sentence is false under either reading of "touches": read as moves, the five do not move; read as names, the same deploy also namesnftablesandunattended-upgradesthrough the two roles the play runs before the Service (semaphore/service/site.yml:16-28), so "only" is wrong by two packages.Where the claim came from is checkable, and it is not the author's alone: the fix note says "
state: presentupgrades each to the latest available, so a deploy here does move five packages", and round 1's advisory leaned on the same misreading ("noupgrade:orstate: latestanywhere in the tree, so only those five move"). The conclusion held — the bullet overstated what a deploy's apt does — but the mechanism both notes gave is wrong, and the fix enshrined it.infra-silo's sentence, declined in the fix note on that premise, is the accurate one for this role too.Smallest clearing change, both sites: replace the clause with "a deploy upgrades nothing but the Service package its pin names" (page
:29-30; template comment:4-5). The "waits for the Operator" half of the bullet is right and stays.One side note while you are in the sentence: "the five packages the role depends on" does not resolve inside §Unattended security updates — that role installs one package (
roles/unattended_upgrades/tasks/main.yml:16-18); the five belong to the Service role. Naming the Service role makes the clause parse either way.ADVISORY —
docs/hardening.md:35: the parenthetical names one Guest's configuration on a page that covers both./opt/semaphore/config.jsonis the server's (roles/semaphore/defaults/main.yml:44); the runner's is/opt/semaphore-runner/config.json(roles/semaphore_runner/defaults/main.yml:28), and a deploy that changes it restarts the runner (roles/semaphore_runner/tasks/main.yml:218-225). The page's subject is "what both Guests carry between deploys" (:3-7), anddocs/deploy.mdcalls 143 "the server" and 145 "the runner", so "the Service" does not settle which path is meant either. One-clause fix: name both paths, or drop the path and say "the Service's own configuration". This clause is my own round-1 wording, dictated in the clearing change; it is charged here rather than passed over in silence.ADVISORY — the description's "This is the same sentence
infra-silo's page already carries". Not true at this head.infra-siloat8ef5345(freshorigin/main) carries "…or by a deploy that changes the Service's environment file" (docs/hardening.md:32-35), which is right there because its unit reads one — the whole point of this fix is that this Service does not. The clause was true atf5c3cbf; this round's own body patch made it false. One-clause fix: say it is the same sentence silo carries with that Service's file named, this Service's being its configuration.Standards
Sources read at the head worktree:
AGENTS.md(Rules/Secrets, Toolchain, Docs — no prose-width, markdown or naming rule;make checkis the env pin and its tests, the plan tests,drift-testandtofu fmt -check),README.md,docs/agents/*.md, and the org records atolympus/workshopdocs/adr/read atorigin/main45790e7(0001–0015 plus the index; none governs docs prose).standards: no repo conventions govern this page's prose.No finding. Measured rather than assumed:
:34), which is where the base already sat (base:33is 80); the changed lines are 77–80. The template's comment block peaks at 78 (:4), inside the block's own register (base comment lines peaked at 79).Verified
refs/pull/40/head=1c820b8fa42b25f81152fdf3c3b8e2f96886e08e, equal to the dispatch, checked before and after the probesgit diff f5c3cbf...1c820b8—docs/hardening.md, the role defaults comment and the template comment: +11/−8mise exec -- make checkat headoklines,drift tests: every case passed.,tofu fmt -recursive -check -diffcleanpr-checks / check (pull_request)success 49s;plan / guest-plan-check,plan / runner-guest-plan-check,plan / projects-plan-checkall success//contentcmp-identical base↔head; no key the upgrader reads changedgit grepfornext deploy,environment file,EnvironmentFile,restart the Service: onlydocs/environment.md:3anddocs/deploy.md:253(a different, correct "next deploy" — a deleted project is rebuilt by the next deploy)state: present; the upgrade gate read in the pinnedansible-core2.21.5apt.py:750and:1567roles/semaphore/tasks/main.yml:133, 230, 240, 257, 303(config at:257); runner atroles/semaphore_runner/tasks/main.yml:119, 216, 225, 264, 282(config at:225)infra-siloorigin/main8ef5345,docs/hardening.md:27-35paperclip:THE-40read live — issue plus its design document — via the Paperclip control plane; standard §"The guest standard" (Updates)review/needs-review; one prior review, atf5c3cbfCould not verify
make service-checkandmake prodneed the environment, whichAGENTS.md§Secrets refuses an Agent. The apt semantics above are read from the pinned module's code and the task declarations, not observed on 143 or 145.Named, not charged
trixie-updates) is not a security fix and waits for the next deploy or the Operator" — carries the same overstatement this blocker is about. It is THE-40's document, not this repository's page, and the page's "waits for the Operator" is the accurate half. If the org wants the two to agree, the document is the site, and it is not this change's to edit.50unattended-upgrades.j2:10at 83 columns is a config line, untouched by the diff, and 83 at base.Summary
Spec: 3 findings — 1 BLOCKER, 2 ADVISORY. Worst: the corrected bullet tells the Operator that a deploy upgrades five packages it does not touch, and states it in the template that lands on the Guest. Standards: 0 findings. Round 1's blocker and S1 are cleared at
1c820b8; S2 is carried forward as the blocker.Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
Waiting — queued behind olympus/infra-media#3 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 18:12 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Round 2 fix —
42a3574onhermes/THE-40-restart-claim, plus a body edit. The blocker and both advisories are addressed; nothing is left open.Blocker — the corrected bullet still overstated what a deploy's
aptdoesdocs/hardening.md:29-30androles/unattended_upgrades/templates/50unattended-upgrades.j2:4-5— fixed in42a3574.I re-derived the mechanism before adopting the wording. In the pinned
ansible-core2.21.5 (mise.lock:179-183),apt.py:1567setsstate_upgrade = Trueonly whenp['state'] == 'latest', andapt.py:750gates the install on... or upgrade or .... Every apt task in the play isstate: present(roles/semaphore/tasks/main.yml:31,roles/semaphore_runner/tasks/main.yml:33,roles/firewall/tasks/main.yml:9,roles/unattended_upgrades/tasks/main.yml:18), so a deploy moves none of the dependencies and only the pinned Service deb when its digest differs.grep -rn 'state: latest\|upgrade:' semaphore/service/→ no hits.Both sites now read "a deploy upgrades nothing but the Service package its pin names". The "five packages the role depends on" clause is gone, so the side note about it not resolving inside §Unattended security updates goes with it.
The previous round's premise — that
state: presentupgrades each dependency — was wrong, and it is what made the first replacement look right. The commit message records that correction.Advisory — one Guest's config path on a page that covers both
Fixed in
42a3574.docs/hardening.md:34-36now names both:/opt/semaphore/config.jsonon the server and/opt/semaphore-runner/config.jsonon the runner (roles/semaphore/defaults/main.yml:44,roles/semaphore_runner/defaults/main.yml:28; each role's config template notifies its own restart —roles/semaphore/tasks/main.yml:257,roles/semaphore_runner/tasks/main.yml:225).Advisory — the body's
infra-silosentenceBody edit, no commit. The stored body now says the page follows silo's shape because silo's packaged unit reads an
EnvironmentFile=, this Service's equivalent being its own configuration — not that the sentence is the same one silo carries. Verified at silo's liveorigin/main8ef5345:docs/hardening.md:27-36carries the bullet with "environment file", anddocs/deploy.md:102says the unit reads throughEnvironmentFile=. The store's-deploy precedent was re-read atinfra-secretsorigin/main03f9e24(PR #66's merge):bao/service/roles/openbao/tasks/main.yml:120-178restarts the service when a library it has mapped was replaced. The body was PATCHed with each anchor asserted to match exactly once, answered 201, and read back identical (1382 chars).Verification
env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check, on agit archive HEADexport of42a3574oklines;env tests: every case passed.;plan tests: every case passed.;plan workflow tests: every case passed.;drift tests: every case passed.;tofu fmt -recursive -check -diffcleanprose-widths.py docs/hardening.md --baseline 1c820b8widest prose line = 80, cap 80, over = 0//contentcmp-identical to1c820b8; no key the upgrader reads changed42a3574(newest per context)state=success;pr-checks / check (pull_request)success 48s;plan / guest-plan-check,plan / runner-guest-plan-check,plan / projects-plan-checkall successGET /raw/docs/hardening.md?ref=42a3574and the template carry the replacement; the retired clauses are absent317 is unchanged from the previous head, not a stale copy: this round changes prose the suite does not parse.
Left alone, deliberately
docs/deploy.md:253says "next deploy" about a deleted project being rebuilt with new ids — a different, correct use of the phrase; not this claim.infra-silo's page still says "environment file". It is true there and it is another repository.make service-check/make prodwere not run: they need the environmentmake envfetches, whichAGENTS.md§Secrets refuses an Agent. Nothing here needed it — the edits are prose and//comments.Erratum in the pushed commit message
42a3574's message says "the packages of the two roles that run before the Service". Precisely, three roles run before it (journal,unattended_upgrades,firewall) and two of them install packages (unattended_upgrades,firewall). The message stands as pushed — correcting it would need a force-push — and the tree is unaffected.Self-review
Two-axis pass over
1c820b8..HEAD, run in this one context (this session has no sub-agent tool). Standards: no documented rule governs this prose (make fmt-checkistofu fmtonly); widths in register; no secret-shaped line. Spec: the ticket's own standard — "restarted when its own configuration next changes, or by the Operator — never by the timer" — is what the page now says on both Guests.Review started (round 1/5) on
42a3574c58— reading the diff now.olympus/infra-cockpit #40 · head
42a3574· round 3/5 — the dispatch and my sign-on comment number this 1/5; the thread already carries two reviews (f5c3cbfround=1/5,1c820b8round=2/5), so this is the thread's third. Delta reviewed:git diff 1c820b8...42a3574, two files, +10/−9, all of it the clearing changes for round 2. The whole change against the merge-base (865c8cf...42a3574, three files, +13/−8) was re-read as well.Recommendation: merge
Round 2, re-driven
42a3574docs/hardening.md:29-30and.../templates/50unattended-upgrades.j2:4-5: the corrected bullet overstated what a deploy'saptmoves:28-30now reads "waits for the Operator. A deploy upgrades nothing but the Service package its pin names."; template:3-5carries the same clause. The claim is true, and I checked it in the pinned module rather than the prose:ansible-core2.21.5 (mise.lock:179-183),apt.py:750—version_installable and ((not installed and not only_upgrade) or upgrade or not installed_version)— withupgradeset only when the state islatest(apt.py:1563-1567). Every apt task in the play isstate: presentor a cache refresh:roles/firewall/tasks/main.yml:7-11,roles/unattended_upgrades/tasks/main.yml:11-13,16-18,roles/semaphore/tasks/main.yml:16-19,23-31,roles/semaphore_runner/tasks/main.yml:11-14,26-33;grep -rn 'state: latest|upgrade:|autoremove' semaphore/→ rc 1. The only thing a deploy moves is the pinned Service deb (roles/semaphore/tasks/main.yml:96-114,roles/semaphore_runner/tasks/main.yml:85-106).docs/hardening.md:35named one Guest's config on a page covering both:34-36now names/opt/semaphore/config.jsonon the server and/opt/semaphore-runner/config.jsonon the runner. Both exist and both notify a restart:roles/semaphore/defaults/main.yml:44withroles/semaphore/tasks/main.yml:246-257;roles/semaphore_runner/defaults/main.yml:28withroles/semaphore_runner/tasks/main.yml:218-225.infra-silo's page already carries"EnvironmentFile=; this Service's equivalent is its own configuration". True at siloorigin/main8ef5345:docs/hardening.md:33-35carries the environment-file clause,docs/deploy.md:102says the unit readsEnvironmentFile=. The store precedent the body cites is also true:infra-secretsorigin/main03f9e24,bao/service/roles/openbao/tasks/main.yml:120-178, whose comment names this ticket.Spec
No findings. The spec is
paperclip:THE-40(read live through the Paperclip control plane, issue + design document) and its §"The guest standard" (Updates): "A Service whose library changed is restarted when its own configuration next changes, or by the Operator — never by the timer." The page now states exactly that, on both Guests, and nothing the diff says is outside what the ticket and the PR body claim:docs/hardening.md:33-38— Operator, and a config-changing deploy, with both pathsaptrun":28-30; nonext deploysurvives at the page or the role comment (grep -rn 'next deploy' docs/ semaphore/→ onlydocs/deploy.md:253, a deleted project rebuilt with new ids)roles/unattended_upgrades/defaults/main.yml:5-7now says a configuration-changing deploy or the Operatortemplates/50unattended-upgrades.j2:3-5; non-//contentdiff-identical to865c8cf, so no key the upgrader reads changedStandards
No findings. Sources read at head:
AGENTS.md(§Docs names what each page records; no prose-width, markdown or naming rule is written for this page),README.md,docs/agents/*.md, and the org recordsolympus/workshopdocs/adr/0001–0015(none governs docs prose).standards: no repo conventions govern this page's prose; the axis below is general good practice, and the change meets it — the sentence is checkable against the role, and it is now checkable and correct.No smell in the delta: the change is three comment/prose hunks, no logic, no new abstraction. The one shape worth naming is duplication (the same claim in page, role comment and template comment), which is older than this PR and deliberate — the comment travels to the Guest with the file it describes; the author declared it and I agree it stays.
Verified
refs/pull/40/head=42a3574c5831349c460d3de5c82a79922d4e60bf, equal to the dispatch, re-checked after the probesgit diff 1c820b8...42a3574—docs/hardening.md, the template comment: +10/−9mise exec -- make checkat head (my own run, worktree at42a3574)oklines,env/plan/plan workflow/drift tests: every case passed.,tofu fmt -recursive -check -diffcleanpr-checks / check (pull_request)success 48s;plan / guest-plan-check,plan / runner-guest-plan-check,plan / projects-plan-checkall successrestart semaphoreatroles/semaphore/tasks/main.yml:133,230,240,257,303(config:257); runner atroles/semaphore_runner/tasks/main.yml:119,216,225,264,282(config:225); both handlers aresystemd state: restartedgrep -rn /proc semaphore/answers nothing, so the store's/procreader (infra-secrets) is the only one in the fleet and the page's "the Operator, or a config-changing deploy" is the complete set heredocs/hardening.md:28-38), unchanged register; template comment block peaks at 78 over:3-7, inside the base's own 78–79Could not verify
make service-checkandmake prodneed the environment, whichAGENTS.md§Secrets refuses an Agent. The apt semantics above are read from the pinned module's source and the declared tasks, not observed on 143 or 145.Named, not charged
paperclip:THE-40§"The guest standard" (Updates) still says a point release "waits for the next deploy or the Operator". The page is now the accurate half, and the design document is the site where the correction belongs — it is the ticket's text, in another product's database, not this repository's. Left, as round 2 left it.docs/deploy.md:74-77says the service step restarts the server; it restarts only when a task changes, which is what this page now states. A different claim on an untouched page, and the idle-wait rationale it supports holds either way. Not this change's to edit; worth a one-clause tightening the next time that page is worked on.Summary
Spec: 0 findings (0 blockers, 0 advisories). Standards: 0 findings. Worst per axis: none on Spec, none on Standards. Round 2's blocker and both advisories are cleared at
42a3574; the change now says the true thing in all three places and the suite is green at this head.