The silo's restore points name the Semaphore task that took them (THE-14) #41

Merged
pit merged 1 commit from hermes/THE-14-restore-points-name-the-task into main 2026-12-01 21:39:18 +00:00
Owner

paperclip:THE-14

Summary

THE-14 says "nothing is deployed by hand". Every restore point a merge's deploy takes on 150 reads by hand, by an unnamed user, although this repository's task body already hands make prod the label the Semaphore deploy task <id> and docs/deploy.md already says a restore point carries it: scripts/snapshot.sh never learned the branch that reads it. The label went nowhere.

Semaphore task <id>                      (its id: SEMAPHORE_TASK_DETAILS_ID)
  scripts/semaphore-deploy.sh          DEPLOY_RUN="the Semaphore deploy task <id>" make prod     (already on main)
    make prod                          for step in snapshot guest service store verify
      scripts/snapshot.sh              no GITHUB_RUN_NUMBER, DEPLOY_RUN set
                                       -> "Taken before the deploy of <repo> at <sha>, by the Semaphore deploy task <id>."
File What
scripts/snapshot.sh One elif: with no Forgejo run number the description ends by ${DEPLOY_RUN}. A Forgejo run still wins over it, and with neither the words stay by hand, by <user>
scripts/tests/deploy.test.sh Two links had no pin of their own: the description a snapshot is handed, against a stand-in node, and the label crossing prod's loop of sub-makes. The task body's label already has its cases in semaphore-deploy.test.sh

It is the change infra-secrets has carried since #59 (77b1268). Nothing else moves: no Stack, no role, no Makefile line, and docs/deploy.md already says what a restore point reads.

Evidence

Check Result
Restore points on 150, read from the node today two predeploy-*, at f4f2d88 and c5e942e, both ending by hand, by an unnamed user. On 144, which has this change, the three end by the Semaphore deploy task 35, 37 and 38
mise exec -- make check, fresh clone of 9131901 exit 0, 618 ok, no FAIL
The suites this touches deploy-test's deploy suite: every case passed, six assertions new; semaphore-deploy 93 assertions, 0 FAILED
Planted defects 7 of 7 red, each on the pin that names it: the branch never fires; the label loses its by; the hand fallback loses its user; the label outranks a Forgejo run; the task body does not hand the label to prod; the label drops the task's id; prod's loop wrapped in env -u DEPLOY_RUN
The new cases against main's snapshot.sh red: that is the first planted defect

Not run, and the merge is the evidence: the merge's own restore point on 150 reading by the Semaphore deploy task <id>.

Merge Danger

Door: two-way. The change is one branch in one script, and a revert is an ordinary pull request. The deploy the merge starts is not undone by a revert, but it applies what main already holds.

Blast Radius: the one sentence a restore point carries. A mistake in snapshot.sh would turn snapshot, the deploy's first step, red and stop the deploy before anything changes; the new cases pin that path.

What the merge deploys: the next deploy of 150, which holds the object store every Stack's state lives in. The change touches no Stack and no role, so the plans read no change; service restarts the store only when its environment file changes, and this merge does not change it. Silo's last task, at c5e942e, started through the https path this merge uses.

Order: none with another pull request.

Prose in this body is agent-written (Hermes).

Refs: THE-14, SL-20

SL-20 (Vikunja task id 281, "Deploy infra-silo on a merge to main", still open) is the deploy-on-merge item this change serves: its criterion "150 carries a new predeploy-* snapshot" is the restore point this change names. No SL task covers the attribution on its own, and this merge does not close SL-20.

paperclip:THE-14 ## Summary [THE-14](https://paperclip.thepit.space/THE/issues/THE-14) says "nothing is deployed by hand". Every restore point a merge's deploy takes on 150 reads `by hand, by an unnamed user`, although this repository's task body already hands `make prod` the label `the Semaphore deploy task <id>` and `docs/deploy.md` already says a restore point carries it: `scripts/snapshot.sh` never learned the branch that reads it. The label went nowhere. ```text Semaphore task <id> (its id: SEMAPHORE_TASK_DETAILS_ID) scripts/semaphore-deploy.sh DEPLOY_RUN="the Semaphore deploy task <id>" make prod (already on main) make prod for step in snapshot guest service store verify scripts/snapshot.sh no GITHUB_RUN_NUMBER, DEPLOY_RUN set -> "Taken before the deploy of <repo> at <sha>, by the Semaphore deploy task <id>." ``` | File | What | | --- | --- | | `scripts/snapshot.sh` | One `elif`: with no Forgejo run number the description ends `by ${DEPLOY_RUN}`. A Forgejo run still wins over it, and with neither the words stay `by hand, by <user>` | | `scripts/tests/deploy.test.sh` | Two links had no pin of their own: the description a snapshot is handed, against a stand-in node, and the label crossing `prod`'s loop of sub-makes. The task body's label already has its cases in `semaphore-deploy.test.sh` | It is the change infra-secrets has carried since #59 (`77b1268`). Nothing else moves: no Stack, no role, no `Makefile` line, and `docs/deploy.md` already says what a restore point reads. ## Evidence | Check | Result | | --- | --- | | Restore points on 150, read from the node today | two `predeploy-*`, at `f4f2d88` and `c5e942e`, both ending `by hand, by an unnamed user`. On 144, which has this change, the three end `by the Semaphore deploy task 35`, `37` and `38` | | `mise exec -- make check`, fresh clone of `9131901` | exit 0, 618 `ok`, no FAIL | | The suites this touches | `deploy-test`'s `deploy` suite: every case passed, six assertions new; `semaphore-deploy` 93 assertions, 0 FAILED | | Planted defects | 7 of 7 red, each on the pin that names it: the branch never fires; the label loses its `by`; the hand fallback loses its user; the label outranks a Forgejo run; the task body does not hand the label to `prod`; the label drops the task's id; `prod`'s loop wrapped in `env -u DEPLOY_RUN` | | The new cases against `main`'s `snapshot.sh` | red: that is the first planted defect | **Not run, and the merge is the evidence:** the merge's own restore point on 150 reading `by the Semaphore deploy task <id>`. ## Merge Danger **Door:** two-way. The change is one branch in one script, and a revert is an ordinary pull request. The deploy the merge starts is not undone by a revert, but it applies what `main` already holds. **Blast Radius:** the one sentence a restore point carries. A mistake in `snapshot.sh` would turn `snapshot`, the deploy's first step, red and stop the deploy before anything changes; the new cases pin that path. **What the merge deploys:** the next deploy of 150, which holds the object store every Stack's state lives in. The change touches no Stack and no role, so the plans read no change; `service` restarts the store only when its environment file changes, and this merge does not change it. Silo's last task, at `c5e942e`, started through the https path this merge uses. **Order:** none with another pull request. Prose in this body is agent-written (Hermes). Refs: THE-14, SL-20 SL-20 (Vikunja task id 281, "Deploy infra-silo on a merge to main", still open) is the deploy-on-merge item this change serves: its criterion "150 carries a new `predeploy-*` snapshot" is the restore point this change names. No SL task covers the attribution on its own, and this merge does not close SL-20.
A restore point taken by a deploy names the Semaphore task, not a hand
All checks were successful
plan / stack-plan-check (pull_request_target) Successful in 19s
pr-checks / check (pull_request) Successful in 49s
9131901e33
The silo's task body already hands `make prod` the label DEPLOY_RUN, "the
Semaphore deploy task <id>", and docs/deploy.md already says a restore point
reads it, but scripts/snapshot.sh never learned the branch: with no Forgejo
run number set it fell through to "by hand, by an unnamed user" over every
merge, so the label went nowhere and nothing in the Guest's own record could
tell a deploy from a person.

snapshot.sh now writes the label when no Forgejo run number is set. A Forgejo
run still wins over it, and a snapshot taken by hand still reads "by hand, by
<user>".

Two links had no pin of their own, and both are added to deploy.test.sh: the
description a snapshot is handed, against a stand-in node, and the label
crossing prod's loop of sub-makes. The task body's label already had its
cases in semaphore-deploy.test.sh.

The same change infra-secrets carries since #59 (77b1268), whose restore
points for tasks 35, 37 and 38 name the task.

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

Waiting — queued behind olympus/infra-tracker#65 (one review run at a time). The review run resumes on its own at Tue 1 Dec, 21:43 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.

**Waiting** — queued behind olympus/infra-tracker#65 (one review run at a time). The review run resumes on its own at Tue 1 Dec, 21:43 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Author
Owner

Waiting — queued behind olympus/infra-tracker#65 (one review run at a time). The review run resumes on its own at Tue 1 Dec, 21:43 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.

**Waiting** — queued behind olympus/infra-tracker#65 (one review run at a time). The review run resumes on its own at Tue 1 Dec, 21:43 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Member

Review started (round 0/5) on 9131901e33 — reading the diff now.

**Review started** (round 0/5) on 9131901e338d05fd901a010653e1b4037dffb272 — reading the diff now.
bot-minos requested changes 2026-12-01 21:25:18 +00:00
Dismissed
bot-minos left a comment

minos review-loop: repo=olympus/infra-silo pr=41 head=9131901e338d05fd901a010653e1b4037dffb272 round=1/5 verdict=block

Recommendation: fix

Block, with one clearing edit. The code is right: the new branch is correct, the new cases are real (seven of seven planted defects go red), and make check is green at this head. What blocks is the PR body, which names no SL-<index> task as AGENTS.md requires. Editing the body clears it. No commit is needed.

Round 1/5: this thread held no earlier review, so the count is 0 + 1. The dispatch's 0 of 5 is the dispatch counter, not the review ledger.

Standards

# Sev Where Finding Standard
S1 BLOCKER PR body, first line (paperclip:THE-14) and last line (Refs: THE-14) The body names a Paperclip task only. It carries no SL-<index>. This repo's tracker is Vikunja project 7, identifier SL. AGENTS.md §Agent skills › Pull requests; docs/agents/issue-tracker.md §Resolving the task a pull request addresses
S2 ADVISORY scripts/snapshot.sh:115-116; scripts/tests/deploy.test.sh:485-486, 515-517, 528-531, 550-551 Thirteen new comment lines. The reason DEPLOY_RUN exists is already written in docs/deploy.md (§What a red looks like). This is a degree, not a yes/no, so it stays advisory. AGENTS.md §Rules › Code comments: "keep comments to a minimum… propose a docs page under docs/ instead"
S3 ADVISORY scripts/tests/deploy.test.sh:517, 520, 524 take_snapshot sets SNAP_RC and SNAP_OUT. No case reads either; a grep finds no other use. Dead helper state. Evidence: grep, no standard cited

Spec

Spec: THE-14, "B2: deploy-on-merge through Semaphore in forge, tracker, silo and secrets", read live through GET /api/issues/THE-14 (HTTP 200, 2026-12-01). Its "Done when" says "nothing is deployed by hand". The restore-point attribution is not a THE-14 line item. It implements the contract docs/deploy.md already states. The diff is two files, with no Stack, role, Makefile or workflow line, so there is no scope creep.

Spec findings: none.

Summary

  • Standards: 3 findings: 1 blocker (S1), 2 advisories (S2, S3). Worst: S1.
  • Spec: 0 findings.
  • Advisory count is 2, below the volume trip of 3. The verdict turns on S1 alone. Deleting S2 or S3 does not move it.

Verified by hand

Check How Result
Head is the dispatched SHA API head plus a detached worktree at 9131901 Matches
Diff is the PR's two files git diff c5e942e...HEAD --stat snapshot.sh +4, deploy.test.sh +79
make check at head mise exec -- make check Exit 0. 618 ok lines (matches the PR's Evidence). Deploy tests "every case passed". semaphore-deploy 93 assertions, 0 FAILED
New cases pin the behaviour Deploy suite run against main's snapshot.sh (c5e942e) Two FAIL, both in the new cases. Red as the PR says
Planted defects Seven mutants in scratch copies. The PR worktree was not touched mA (branch removed), mB (by dropped), mC (hand user dropped), mD (label outranks a Forgejo run), mG (env -u DEPLOY_RUN in prod's loop): each FAILs deploy.test.sh. mE (id dropped) and mF (label not handed to prod) pass deploy.test.sh and FAIL semaphore-deploy.test.sh, where the PR says they are pinned
Head is stable Head deploy suite rerun three times Passes each time
Neighbour precedent git show 77b1268:scripts/snapshot.sh in infra-secrets Same elif DEPLOY_RUN branch at lines 119–122. This change ports a shipped sibling
Escalation classes (charter) Read the diff against the charter's list None apply: no destroy or replace, no tier-1 service, no ADR, no branch protection, no CI gate. Makefile and workflows are untouched. The dispatch also places the hold elsewhere
Secrets and privacy in the diff Grep for IP addresses, DDNS, token, password, long base64 Nothing real. The only token-shaped string is the test stub stub@pve!deploy=stub

Could not verify

  • The Evidence table's live-node facts: two predeploy-* on 150 ending by hand, by an unnamed user, and three on 144 ending …task 35/37/38. This review has no Proxmox access.
  • The merge's own restore point. It can exist only after the merge, as the PR says.
  • Which SL index is this repo's deploy item. I did not read Vikunja.
  • One unexplained flake. In one run of mutant mB, deploy.test.sh also reported its refusal is in the check's output (missing [a declared state key]) with empty output. It did not recur in three more mB runs or three head runs. The case sits outside this diff. Named, not charged.

Clearing S1

Edit the PR body; no push needed. Add one line SL-<index> naming this repo's Vikunja task for the deploy-on-merge item (project 7, infra-silo). The THE-14 link may stay as the Paperclip reference. The verdict clears on that edit alone. S2 and S3 are advice.

<!-- minos review-loop: repo=olympus/infra-silo pr=41 head=9131901e338d05fd901a010653e1b4037dffb272 round=1/5 axes=standards,spec --> minos review-loop: repo=olympus/infra-silo pr=41 head=9131901e338d05fd901a010653e1b4037dffb272 round=1/5 verdict=block Recommendation: fix **Block, with one clearing edit.** The code is right: the new branch is correct, the new cases are real (seven of seven planted defects go red), and `make check` is green at this head. What blocks is the PR body, which names no `SL-<index>` task as `AGENTS.md` requires. Editing the body clears it. No commit is needed. Round `1/5`: this thread held no earlier review, so the count is 0 + 1. The dispatch's `0 of 5` is the dispatch counter, not the review ledger. ### Standards | # | Sev | Where | Finding | Standard | |---|---|---|---|---| | S1 | BLOCKER | PR body, first line (`paperclip:THE-14`) and last line (`Refs: THE-14`) | The body names a Paperclip task only. It carries no `SL-<index>`. This repo's tracker is Vikunja project 7, identifier `SL`. | `AGENTS.md` §Agent skills › Pull requests; `docs/agents/issue-tracker.md` §Resolving the task a pull request addresses | | S2 | ADVISORY | `scripts/snapshot.sh:115-116`; `scripts/tests/deploy.test.sh:485-486, 515-517, 528-531, 550-551` | Thirteen new comment lines. The reason `DEPLOY_RUN` exists is already written in `docs/deploy.md` (§What a red looks like). This is a degree, not a yes/no, so it stays advisory. | `AGENTS.md` §Rules › Code comments: "keep comments to a minimum… propose a docs page under docs/ instead" | | S3 | ADVISORY | `scripts/tests/deploy.test.sh:517, 520, 524` | `take_snapshot` sets `SNAP_RC` and `SNAP_OUT`. No case reads either; a grep finds no other use. Dead helper state. | Evidence: grep, no standard cited | ### Spec Spec: THE-14, "B2: deploy-on-merge through Semaphore in forge, tracker, silo and secrets", read live through `GET /api/issues/THE-14` (HTTP 200, 2026-12-01). Its "Done when" says "nothing is deployed by hand". The restore-point attribution is not a THE-14 line item. It implements the contract `docs/deploy.md` already states. The diff is two files, with no Stack, role, Makefile or workflow line, so there is no scope creep. Spec findings: none. ### Summary - **Standards:** 3 findings: 1 blocker (S1), 2 advisories (S2, S3). Worst: S1. - **Spec:** 0 findings. - Advisory count is 2, below the volume trip of 3. The verdict turns on S1 alone. Deleting S2 or S3 does not move it. ### Verified by hand | Check | How | Result | |---|---|---| | Head is the dispatched SHA | API head plus a detached worktree at `9131901` | Matches | | Diff is the PR's two files | `git diff c5e942e...HEAD --stat` | `snapshot.sh` +4, `deploy.test.sh` +79 | | `make check` at head | `mise exec -- make check` | Exit 0. 618 `ok` lines (matches the PR's Evidence). Deploy tests "every case passed". semaphore-deploy 93 assertions, 0 FAILED | | New cases pin the behaviour | Deploy suite run against main's `snapshot.sh` (`c5e942e`) | Two FAIL, both in the new cases. Red as the PR says | | Planted defects | Seven mutants in scratch copies. The PR worktree was not touched | mA (branch removed), mB (`by` dropped), mC (hand user dropped), mD (label outranks a Forgejo run), mG (`env -u DEPLOY_RUN` in prod's loop): each FAILs `deploy.test.sh`. mE (id dropped) and mF (label not handed to prod) pass `deploy.test.sh` and FAIL `semaphore-deploy.test.sh`, where the PR says they are pinned | | Head is stable | Head deploy suite rerun three times | Passes each time | | Neighbour precedent | `git show 77b1268:scripts/snapshot.sh` in `infra-secrets` | Same `elif DEPLOY_RUN` branch at lines 119–122. This change ports a shipped sibling | | Escalation classes (charter) | Read the diff against the charter's list | None apply: no destroy or replace, no tier-1 service, no ADR, no branch protection, no CI gate. Makefile and workflows are untouched. The dispatch also places the hold elsewhere | | Secrets and privacy in the diff | Grep for IP addresses, DDNS, token, password, long base64 | Nothing real. The only token-shaped string is the test stub `stub@pve!deploy=stub` | ### Could not verify - The Evidence table's live-node facts: two `predeploy-*` on 150 ending `by hand, by an unnamed user`, and three on 144 ending `…task 35/37/38`. This review has no Proxmox access. - The merge's own restore point. It can exist only after the merge, as the PR says. - Which `SL` index is this repo's deploy item. I did not read Vikunja. - One unexplained flake. In one run of mutant mB, `deploy.test.sh` also reported `its refusal is in the check's output (missing [a declared state key])` with empty output. It did not recur in three more mB runs or three head runs. The case sits outside this diff. Named, not charged. ### Clearing S1 Edit the PR body; no push needed. Add one line `SL-<index>` naming this repo's Vikunja task for the deploy-on-merge item (project 7, `infra-silo`). The THE-14 link may stay as the Paperclip reference. The verdict clears on that edit alone. S2 and S3 are advice.
Member

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

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

Round 0/5 — S1 cleared in the PR body; no commit pushed.

The review's own clearing for S1 is "edit the PR body; no push needed", so the branch stays at 9131901e338d05fd901a010653e1b4037dffb272.

Finding Sev Disposition Evidence
S1 — body names no SL-<index> BLOCKER Fixed in the body. Last line is now Refs: THE-14, SL-20, plus one sentence saying what SL-20 is and that the merge does not close it. paperclip:THE-14 stays Stored body read back: the new lines are present and the rest is unchanged. scripts/patch_pr_body.py printed PATCH rc=201, read-back rc=200 equal=True chars=3886, then exited 1 on its own old_left=1 check — my anchor (Refs: THE-14) is a prefix of the replacement, so it can never read 0. The stored text equals what I sent; I then re-read the PR through get_pull_request_by_index to confirm
S2 — thirteen new comment lines ADVISORY Left alone. The review marks it advice and says the verdict does not turn on it. A comment trim is a code commit; this round is body-only —
S3 — SNAP_RC/SNAP_OUT set, never read in take_snapshot ADVISORY Left alone, same reason —

Why SL-20. I read Vikunja project 7 (38 tasks), plus projects 8 and 11, for a task about restore-point attribution: none exists. The nearest is SL-20 (task id 281, "Deploy infra-silo on a merge to main", done=False when I named it). Its acceptance criterion "150 carries a new predeploy-* snapshot" is the restore point this change names. SL-33 (id 342, done) built the snapshot Target and the prod order, so it is the work this change corrects, not the one it serves. If you want a different index, it is a one-line body edit. SL-20's own state is untouched: nothing in Forgejo acts on the reference, and its resolution belongs on the task after the first real merge.

Verified. The head is unchanged, so I re-ran the floor on a worktree at 9131901:

$ mise exec -- make check
rc=0   618 ok lines (grep -cE '^(ok|  ok)')
semaphore-deploy tests: 93 assertions, 0 FAILED.
deploy-workflow tests: 53 assertions, 0 FAILED.
store-wait tests: 40 assertions, 0 FAILED.
service-key tests: 36 assertions, 0 FAILED.
Success! The configuration is valid.
$ git status --porcelain   ->  empty

That matches the body's Evidence row (618 ok) and the review's own count.

Not verified: the live-node rows in the body's Evidence table (restore points on 150 and 144) — I have no Proxmox access. The review could not verify them either. The merge's own restore point is the evidence for them, as the body says.

Label moved to review/needs-review.

**Round 0/5 — S1 cleared in the PR body; no commit pushed.** The review's own clearing for S1 is "edit the PR body; no push needed", so the branch stays at `9131901e338d05fd901a010653e1b4037dffb272`. | Finding | Sev | Disposition | Evidence | |---|---|---|---| | S1 — body names no `SL-<index>` | BLOCKER | **Fixed in the body.** Last line is now `Refs: THE-14, SL-20`, plus one sentence saying what SL-20 is and that the merge does not close it. `paperclip:THE-14` stays | Stored body read back: the new lines are present and the rest is unchanged. `scripts/patch_pr_body.py` printed `PATCH rc=201`, `read-back rc=200 equal=True chars=3886`, then exited 1 on its own `old_left=1` check — my anchor (`Refs: THE-14`) is a prefix of the replacement, so it can never read 0. The stored text equals what I sent; I then re-read the PR through `get_pull_request_by_index` to confirm | | S2 — thirteen new comment lines | ADVISORY | **Left alone.** The review marks it advice and says the verdict does not turn on it. A comment trim is a code commit; this round is body-only | — | | S3 — `SNAP_RC`/`SNAP_OUT` set, never read in `take_snapshot` | ADVISORY | **Left alone**, same reason | — | **Why SL-20.** I read Vikunja project 7 (38 tasks), plus projects 8 and 11, for a task about restore-point attribution: none exists. The nearest is **SL-20** (task id 281, "Deploy infra-silo on a merge to main", `done=False` when I named it). Its acceptance criterion "150 carries a new `predeploy-*` snapshot" is the restore point this change names. SL-33 (id 342, done) built the `snapshot` Target and the prod order, so it is the work this change corrects, not the one it serves. If you want a different index, it is a one-line body edit. SL-20's own state is untouched: nothing in Forgejo acts on the reference, and its resolution belongs on the task after the first real merge. **Verified.** The head is unchanged, so I re-ran the floor on a worktree at `9131901`: ```text $ mise exec -- make check rc=0 618 ok lines (grep -cE '^(ok| ok)') semaphore-deploy tests: 93 assertions, 0 FAILED. deploy-workflow tests: 53 assertions, 0 FAILED. store-wait tests: 40 assertions, 0 FAILED. service-key tests: 36 assertions, 0 FAILED. Success! The configuration is valid. $ git status --porcelain -> empty ``` That matches the body's Evidence row (`618 ok`) and the review's own count. **Not verified:** the live-node rows in the body's Evidence table (restore points on 150 and 144) — I have no Proxmox access. The review could not verify them either. The merge's own restore point is the evidence for them, as the body says. Label moved to `review/needs-review`.
Member

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

**Review started** (round 1/5) on 9131901e338d05fd901a010653e1b4037dffb272 — reading the diff now.
bot-minos approved these changes 2026-12-01 21:35:16 +00:00
bot-minos left a comment

minos review-loop: repo=olympus/infra-silo pr=41 head=9131901e338d05fd901a010653e1b4037dffb272 round=2/5 verdict=merge

Recommendation: merge

Merge. The round-1 blocker is cleared: the PR body now names SL-20 (last line Refs: THE-14, SL-20). The tree did not move. Zero blockers stand, and two advisories sit below the volume trip of three.

Round count. The dispatch says 1 of 5. The ledger holds one prior Minos review at this head (id 778, round=1/5, REQUEST_CHANGES, dismissed: false read before this POST). Counted from the ledger, this is round 2. The sign-on comment (7009) keeps the dispatch's 1/5. This review supersedes 778.

What moved and what did not. Moved: the PR description, one edit (updated_at 21:28:00). Not moved: the tree. git diff --stat c5e942e...9131901 is the same two files (+83), git status --porcelain is empty, and the head is still 9131901. The word moved from the round-1 fix because the blocker cleared, not because the code changed.

Round-1 ledger

Prior finding Sev (r1) At head 9131901 Evidence
S1 body names no SL-<index> BLOCKER resolved Live body: last line Refs: THE-14, SL-20. AGENTS.md (at head) §Agent skills › Pull requests: name the task as SL-<index>. Whether SL-20 is the right task: see Could not verify
S2 thirteen new comment lines ADVISORY carried scripts/snapshot.sh:115-116; scripts/tests/deploy.test.sh:485-486, 515-517, 528-531, 550-551
S3 SNAP_RC / SNAP_OUT never read ADVISORY carried scripts/tests/deploy.test.sh:517, 520, 524; no read anywhere in the tree

Standards

# Sev Where Finding Standard
S2 ADVISORY scripts/snapshot.sh:115-116; scripts/tests/deploy.test.sh:485-486, 515-517, 528-531, 550-551 Thirteen new comment lines. The reason DEPLOY_RUN exists is already written in docs/deploy.md §What a red looks like. A degree, not a yes/no, so advisory AGENTS.md §Rules › Code comments: keep comments to a minimum
S3 ADVISORY scripts/tests/deploy.test.sh:517, 520, 524 take_snapshot sets SNAP_RC and SNAP_OUT; no case reads either. Dead helper state Evidence: grep, no standard cited

Spec

Spec: THE-14, "B2: deploy-on-merge through Semaphore in forge, tracker, silo and secrets" (in_review), read live this round via the charter's Paperclip fetch (HTTP 200). Its Done-when: "nothing is deployed by hand". The restore-point label is the contract docs/deploy.md §What a red looks like already states (lines 66-71). The diff implements it: scripts/snapshot.sh:114-119 takes the DEPLOY_RUN branch, and scripts/semaphore-deploy.sh:143 sets the label. Spec findings: none.

Summary

  • Standards: 2 findings. 0 blockers, 2 advisories (S2, S3). Worst: S2.
  • Spec: 0 findings.
  • The advisory count is 2, below the trip of 3. The verdict turns on zero blockers; deleting either advisory does not move it.

Verified by hand

Head 9131901, detached worktree. The PR worktree was not modified; mutants ran in copies.

Check How Result
Head and tree git rev-parse HEAD; git diff --stat c5e942e...HEAD; git status --porcelain 9131901; 2 files, +83; clean
Body edit Live get_pull_request_by_index, updated_at 21:28:00 Last line Refs: THE-14, SL-20; the only change since round 1
Floor mise exec -- make check rc 0; 618 ok; every suite 0 FAILED
Gate boundary git diff --stat c5e942e HEAD -- .forgejo .github Makefile empty: workflows and Makefile untouched
New cases vs base code deploy.test.sh run against c5e942e:scripts/snapshot.sh rc 1; 2 FAILED: "a Semaphore task names itself, by its id", "…is described as taken by hand"
Control Unmutated head copy rc 0; every case passed
Planted defects, snapshot.sh / Makefile (one replacement each, VOID guard) M1 branch never fires; M2 label loses by; M3 hand fallback loses user; M4 label outranks Forgejo run; M5 label drops task id; M6 env -u DEPLOY_RUN in prod's loop each rc 1, red on the case that names it (M1 reds two)
Seventh planted defect semaphore-deploy.sh:143 with the DEPLOY_RUN= prefix removed, semaphore-deploy.test.sh 2 assertions FAILED
Sibling precedent git show 77b1268:scripts/snapshot.sh in infra-secrets same elif DEPLOY_RUN branch, lines 119-124
Docs contract docs/deploy.md:66-71 "the Semaphore deploy task "; without the id, "the Semaphore deploy task". The code does both
Secrets and privacy Grep the diff for IP addresses, DDNS, tokens none; only the stub stub@pve!deploy=stub
ADR olympus/workshop docs/adr/0013, Deployer row assigns the pre-merge snapshot to the Deployer; the change matches; no ADR changed

Could not verify

  • SL-20 as the right task. fetch-vikunja-task.sh 7 20 got HTTP 401 on /projects with the profile key, and no other key I hold answered 200. The format the rule asks for is met; the claim that SL-20 is the deploy-on-merge item is the author's, unread here.
  • Live-node facts in the Evidence table (restore points on 150 and 144). This host has no Proxmox access.
  • The merge's own restore point. It can exist only after the merge.
  • Round-1 flake in mutant mB (one unexplained deploy.test.sh line in one run). Not reproduced this round. Named, not charged.

Named, not charged

  • Charter escalation read. No class applies. No destroy or replace. Tier-1: Silo is the store, but the diff changes one string in its snapshot script, not the service, Stack, role or unit, so I read it as not tier-1. Named so a human can overrule. No ADR changed. CI gate: the four facts are unchanged (workflow files untouched; job check runs mise exec -- make check; context pr-checks / check (pull_request); target make check, Makefile untouched). A content change to a test file a gate runs is not a gate change.
  • Plan/judge. No Stack in the diff; nothing to plan.
<!-- minos review-loop: repo=olympus/infra-silo pr=41 head=9131901e338d05fd901a010653e1b4037dffb272 round=2/5 axes=standards,spec --> minos review-loop: repo=olympus/infra-silo pr=41 head=9131901e338d05fd901a010653e1b4037dffb272 round=2/5 verdict=merge Recommendation: merge **Merge.** The round-1 blocker is cleared: the PR body now names `SL-20` (last line `Refs: THE-14, SL-20`). The tree did not move. Zero blockers stand, and two advisories sit below the volume trip of three. **Round count.** The dispatch says 1 of 5. The ledger holds one prior Minos review at this head (id 778, `round=1/5`, `REQUEST_CHANGES`, `dismissed: false` read before this POST). Counted from the ledger, this is round 2. The sign-on comment (7009) keeps the dispatch's 1/5. This review supersedes 778. **What moved and what did not.** Moved: the PR description, one edit (`updated_at` 21:28:00). Not moved: the tree. `git diff --stat c5e942e...9131901` is the same two files (+83), `git status --porcelain` is empty, and the head is still `9131901`. The word moved from the round-1 `fix` because the blocker cleared, not because the code changed. ### Round-1 ledger | Prior finding | Sev (r1) | At head 9131901 | Evidence | |---|---|---|---| | S1 body names no `SL-<index>` | BLOCKER | **resolved** | Live body: last line `Refs: THE-14, SL-20`. `AGENTS.md` (at head) §Agent skills › Pull requests: name the task as `SL-<index>`. Whether SL-20 is the right task: see Could not verify | | S2 thirteen new comment lines | ADVISORY | carried | `scripts/snapshot.sh:115-116`; `scripts/tests/deploy.test.sh:485-486, 515-517, 528-531, 550-551` | | S3 `SNAP_RC` / `SNAP_OUT` never read | ADVISORY | carried | `scripts/tests/deploy.test.sh:517, 520, 524`; no read anywhere in the tree | ### Standards | # | Sev | Where | Finding | Standard | |---|---|---|---|---| | S2 | ADVISORY | `scripts/snapshot.sh:115-116`; `scripts/tests/deploy.test.sh:485-486, 515-517, 528-531, 550-551` | Thirteen new comment lines. The reason `DEPLOY_RUN` exists is already written in `docs/deploy.md` §What a red looks like. A degree, not a yes/no, so advisory | `AGENTS.md` §Rules › Code comments: keep comments to a minimum | | S3 | ADVISORY | `scripts/tests/deploy.test.sh:517, 520, 524` | `take_snapshot` sets `SNAP_RC` and `SNAP_OUT`; no case reads either. Dead helper state | Evidence: grep, no standard cited | ### Spec Spec: THE-14, "B2: deploy-on-merge through Semaphore in forge, tracker, silo and secrets" (`in_review`), read live this round via the charter's Paperclip fetch (HTTP 200). Its Done-when: "nothing is deployed by hand". The restore-point label is the contract `docs/deploy.md` §What a red looks like already states (lines 66-71). The diff implements it: `scripts/snapshot.sh:114-119` takes the `DEPLOY_RUN` branch, and `scripts/semaphore-deploy.sh:143` sets the label. Spec findings: none. ### Summary - **Standards:** 2 findings. 0 blockers, 2 advisories (S2, S3). Worst: S2. - **Spec:** 0 findings. - The advisory count is 2, below the trip of 3. The verdict turns on zero blockers; deleting either advisory does not move it. ### Verified by hand Head `9131901`, detached worktree. The PR worktree was not modified; mutants ran in copies. | Check | How | Result | |---|---|---| | Head and tree | `git rev-parse HEAD`; `git diff --stat c5e942e...HEAD`; `git status --porcelain` | `9131901`; 2 files, +83; clean | | Body edit | Live `get_pull_request_by_index`, `updated_at` 21:28:00 | Last line `Refs: THE-14, SL-20`; the only change since round 1 | | Floor | `mise exec -- make check` | rc 0; 618 `ok`; every suite `0 FAILED` | | Gate boundary | `git diff --stat c5e942e HEAD -- .forgejo .github Makefile` | empty: workflows and Makefile untouched | | New cases vs base code | `deploy.test.sh` run against `c5e942e:scripts/snapshot.sh` | rc 1; 2 FAILED: "a Semaphore task names itself, by its id", "…is described as taken by hand" | | Control | Unmutated head copy | rc 0; every case passed | | Planted defects, snapshot.sh / Makefile (one replacement each, VOID guard) | M1 branch never fires; M2 label loses `by`; M3 hand fallback loses user; M4 label outranks Forgejo run; M5 label drops task id; M6 `env -u DEPLOY_RUN` in prod's loop | each rc 1, red on the case that names it (M1 reds two) | | Seventh planted defect | `semaphore-deploy.sh:143` with the `DEPLOY_RUN=` prefix removed, `semaphore-deploy.test.sh` | 2 assertions FAILED | | Sibling precedent | `git show 77b1268:scripts/snapshot.sh` in infra-secrets | same `elif DEPLOY_RUN` branch, lines 119-124 | | Docs contract | `docs/deploy.md:66-71` | "the Semaphore deploy task <id>"; without the id, "the Semaphore deploy task". The code does both | | Secrets and privacy | Grep the diff for IP addresses, DDNS, tokens | none; only the stub `stub@pve!deploy=stub` | | ADR | `olympus/workshop` `docs/adr/0013`, Deployer row | assigns the pre-merge snapshot to the Deployer; the change matches; no ADR changed | ### Could not verify - **SL-20 as the right task.** `fetch-vikunja-task.sh 7 20` got HTTP 401 on `/projects` with the profile key, and no other key I hold answered 200. The format the rule asks for is met; the claim that SL-20 is the deploy-on-merge item is the author's, unread here. - **Live-node facts in the Evidence table** (restore points on 150 and 144). This host has no Proxmox access. - **The merge's own restore point.** It can exist only after the merge. - **Round-1 flake** in mutant mB (one unexplained `deploy.test.sh` line in one run). Not reproduced this round. Named, not charged. ### Named, not charged - **Charter escalation read.** No class applies. No destroy or replace. Tier-1: Silo is the store, but the diff changes one string in its snapshot script, not the service, Stack, role or unit, so I read it as not tier-1. Named so a human can overrule. No ADR changed. CI gate: the four facts are unchanged (workflow files untouched; job `check` runs `mise exec -- make check`; context `pr-checks / check (pull_request)`; target `make check`, Makefile untouched). A content change to a test file a gate runs is not a gate change. - **Plan/judge.** No Stack in the diff; nothing to plan.
pit merged commit f951d7ecae into main 2026-12-01 21:39:18 +00:00
pit deleted branch hermes/THE-14-restore-points-name-the-task 2026-12-01 21:39:18 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-silo!41
No description provided.