The tracker's deploy speaks https to Semaphore and pins its CA (THE-106) #64

Merged
pit merged 4 commits from hermes/THE-106-semaphore-https into main 2026-12-01 15:13:37 +00:00
Owner

Summary

The tracker's deploy reaches Semaphore over TLS only, pinned to the CA that olympus/infra-cockpit commits for it.

start
  refuse: SEMAPHORE_API_URL scheme is not https   (before the token file is written)
  refuse: the CA file is missing
  curl: --proto '=https' --tlsv1.2 --cacert scripts/semaphore-ca.crt

SEMAPHORE_API_URL defaults to https://10.12.0.143:3000. There is no -k and no http fallback to switch on: a certificate that does not verify is a red job with no request made. A refusal names the scheme alone — a value whose text before :// is not a scheme, the shape that carries a userinfo pair, is refused without any of it reaching the job log.

The script header stops citing the TR-66 review's STD-2 as why the token crossed the LAN in cleartext. It names what ci-tracker's token may reach and where it is kept, and points the token's lifetime and re-mint at THE-106's design — the cockpit page it cites mints the token with no expiry and says nothing about replacement.

Spec: https://paperclip.thepit.space/THE/issues/THE-106 (its design document carries the four ADR checks and the pinned 2.19.16 behaviour).

Evidence

  • Before: the default was http://…:3000, and the job's token crossed the LAN in cleartext.
  • After: make check exits 0 on this tree (git archive HEAD, then mise exec -- make check): 5 Success tokens — Success! The configuration is valid. three times, Success! 1 passed, 0 failed. and Success! 5 passed, 0 failed. — rc 0. The suite drives the script against a TLS stub with its own CA: a non-https URL sends nothing, a missing CA sends nothing, an unverifiable certificate is red with no request recorded (91 assertions, 0 failed; the workflow-shape suite 52 assertions, 0 failed).
  • At the head: run 144 — checks / static success in 25s, checks / execute success in 2m49s, both plan checks success (run 143); the deploy suite reads 91 assertions, 0 FAILED in the job log and the teardown prints test guest destroyed.
  • The pin is cockpit's committed CA: sha256sum scripts/semaphore-ca.crt equals semaphore/service/files/ca.crt on olympus/infra-cockpit's hermes/THE-106-semaphore-tls (5a1a37e), the file hashing 5a62c581…; and openssl verify of cockpit's committed leaf against it answers OK. The CA reads CA:TRUE, pathlen:0, name-constrained to 10.12.0.143/32 and 127.0.0.1/32.

Merge Danger

Door: two-way for this repository. A revert pull request restores the previous default, and the job's calls follow the code it runs.

Blast Radius: deploy-only. Cockpit must merge first: between the two merges a deploy here goes red at its first request and applies nothing, which is the no-fallback property working rather than a broken job.

## Summary The tracker's deploy reaches Semaphore over TLS only, pinned to the CA that `olympus/infra-cockpit` commits for it. ```text start refuse: SEMAPHORE_API_URL scheme is not https (before the token file is written) refuse: the CA file is missing curl: --proto '=https' --tlsv1.2 --cacert scripts/semaphore-ca.crt ``` `SEMAPHORE_API_URL` defaults to `https://10.12.0.143:3000`. There is no `-k` and no http fallback to switch on: a certificate that does not verify is a red job with no request made. A refusal names the scheme alone — a value whose text before `://` is not a scheme, the shape that carries a userinfo pair, is refused without any of it reaching the job log. The script header stops citing the TR-66 review's STD-2 as why the token crossed the LAN in cleartext. It names what `ci-tracker`'s token may reach and where it is kept, and points the token's lifetime and re-mint at THE-106's design — the cockpit page it cites mints the token with no expiry and says nothing about replacement. Spec: https://paperclip.thepit.space/THE/issues/THE-106 (its `design` document carries the four ADR checks and the pinned 2.19.16 behaviour). ## Evidence - **Before:** the default was `http://…:3000`, and the job's token crossed the LAN in cleartext. - **After:** `make check` exits 0 on this tree (`git archive HEAD`, then `mise exec -- make check`): 5 `Success` tokens — `Success! The configuration is valid.` three times, `Success! 1 passed, 0 failed.` and `Success! 5 passed, 0 failed.` — rc 0. The suite drives the script against a TLS stub with its own CA: a non-https URL sends nothing, a missing CA sends nothing, an unverifiable certificate is red with no request recorded (91 assertions, 0 failed; the workflow-shape suite 52 assertions, 0 failed). - **At the head:** run 144 — `checks / static` success in 25s, `checks / execute` success in 2m49s, both plan checks success (run 143); the deploy suite reads `91 assertions, 0 FAILED` in the job log and the teardown prints `test guest destroyed`. - The pin is cockpit's committed CA: `sha256sum scripts/semaphore-ca.crt` equals `semaphore/service/files/ca.crt` on `olympus/infra-cockpit`'s `hermes/THE-106-semaphore-tls` (`5a1a37e`), the file hashing `5a62c581…`; and `openssl verify` of cockpit's committed leaf against it answers OK. The CA reads `CA:TRUE, pathlen:0`, name-constrained to `10.12.0.143/32` and `127.0.0.1/32`. ## Merge Danger **Door:** two-way for this repository. A revert pull request restores the previous default, and the job's calls follow the code it runs. **Blast Radius:** deploy-only. Cockpit must merge first: between the two merges a deploy here goes red at its first request and applies nothing, which is the no-fallback property working rather than a broken job.
The tracker's deploy speaks https to Semaphore and pins its CA (THE-106)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 7s
plan / edge-plan-check (pull_request_target) Successful in 7s
checks / static (pull_request) Successful in 28s
checks / execute (pull_request) Successful in 2m52s
5bdd155c4b
Semaphore serves https only now (infra-cockpit, semaphore/service), so the
deploy script stops being able to talk to it in cleartext: SEMAPHORE_API_URL
defaults to https, `start` refuses any other scheme before the token file is
written, and every call carries `--proto '=https'` and `--cacert` against the
CA committed beside the script. No `-k`, no http fallback.

The header no longer cites the TR-66 review's STD-2 as the reason the token
crossed the LAN in cleartext; it names what the token may do and where its
rotation lives. The test suite runs the script against a TLS stub with its own
CA, and asserts the refusals: a non-https URL sends nothing, a missing CA file
sends nothing, and a certificate that does not verify is a red job with no
request made.
Member

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

**Review started** (round 1/5) on 5bdd155c4b23e21d8901749051452735e7c25859 — reading the diff now.
bot-minos requested changes 2026-11-17 13:10:26 +00:00
Dismissed
bot-minos left a comment

Round 1/5 on head 5bdd155c4b23e21d8901749051452735e7c25859. list_pull_reviews was empty when this round opened and the only comment is the round-1 sign-on, so this is round 1.

Recommendation: fix

Verdict: REQUEST_CHANGES. One BLOCKER and two ADVISORY findings. None of them is a defect in the TLS behaviour: I reproduced every refusal the body claims, and the pin is the CA cockpit signed its leaf with. The blocker is the PR body's shape — an edit to prose, no code.

Spec

Spec sources, in the order used:

  1. Paperclip THE-106, read live at 13:09Z (GET /api/companies/…/issues?q=THE-106 → 200; THE-106, in_progress) and its design document (GET /api/issues/70de29f9…/documents/design → 200). The body's [THE-106](/THE/issues/THE-106) is Paperclip's own route shape, but relative to the forge it answers 404 — see S1.
  2. The PR body (read live, get_pull_request_by_index).

The ticket's done-when — "no deploy workflow sends a Semaphore token over http and the script headers no longer cite TR-66 STD-2 as the reason" — is met for this repository:

Ticket line Where it lands How I checked
SEMAPHORE_API_URL https, no cleartext fallback scripts/semaphore-deploy.sh:52, :90-97 by hand
the deploy workflow too deploy.yml carries no address of its own (:30-32); the script default is the only one grep: no other Semaphore client in the tree
headers stop citing TR-66 STD-2 scripts/semaphore-deploy.sh:28-36 replaces the paragraph, and points at cockpit's docs/deploy.md §The ci-<repo> users, which exists on cockpit main:159 source read
tokens get an expiry and a rotation path the design's 365-day hard stop at mint, re-minted as rollout step 4; no token lifetime lives in this repository design doc

Spec findings: none.

Standards

standards: repo conventions found — AGENTS.md, docs/adr/, docs/reference/, .agents/skills/pr/SKILL.md.

# Severity Where Finding
S1 BLOCKER PR body AGENTS.md §Pull requests: "Write every PR body with the pr skill's format: ## Summary, ## Evidence, ## Merge Danger." This body uses ## What changes / ## Verified / ## Merge order, and carries neither **Door:** nor **Blast Radius:**; #62 and #63 both comply. The substance — what changed, the evidence, and the merge-order hazard — is all present, so this is the shape and not the content. Clearing: rewrite the body into the three required sections, and give the ticket a link that resolves from the forge (https://paperclip.thepit.space/THE/issues/THE-106 answers 200; the current relative path answers 404). No code changes.
S2 ADVISORY docs/reference/deploy.md:58, :66; scripts/semaphore-deploy.sh:30 The pinned CA is named as cockpit's semaphore/tls/ca.crt. That path is not in infra-cockpit: the committed file is semaphore/service/files/ca.crt (`git ls-tree -r origin/hermes/THE-106-semaphore-tls
S3 ADVISORY scripts/semaphore-deploy.sh:93 red "SEMAPHORE_API_URL is a ${BASE%%://*} address; …" names more than the scheme when the URL has no ://. I ran it: SEMAPHORE_API_URL='user:hunter2@10.12.0.143:3000' printed is a user:hunter2@10.12.0.143:3000 address to stderr — the job log. That contradicts the function's own comment two lines up ("the rest of the address is not [named], because an address can carry a credential"). No token travels this path, so it is not a leak of the credential the change is about. Fix: cut at @ too, or print a fixed "no scheme".

Standards: 3 findings — 1 BLOCKER, 2 ADVISORY. Worst: S1 (BLOCKER).

Verified (how)

Claim How Result
head equals dispatch git rev-parse origin/hermes/THE-106-semaphore-https in a worktree at the head 5bdd155c…
the refusal cases ./scripts/tests/semaphore-deploy.test.sh at head 83 assertions, 0 FAILED
the workflow's own shape ./scripts/tests/deploy-workflow.sh at head 52 assertions, 0 FAILED
"a non-https URL sends nothing" by hand, SEMAPHORE_API_URL=http://127.0.0.1:… red, "is a http address … no cleartext fallback", stub saw nothing
"a missing CA sends nothing, and before the token file" by hand, SEMAPHORE_CA_FILE=/nope/ca.crt, private TMPDIR red; temp dir empty afterwards
"an unverifiable certificate is red" the suite's other-CA case red on certificate, no request recorded
the pin is cockpit's CA sha256sum scripts/semaphore-ca.crt vs git show origin/hermes/THE-106-semaphore-tls:semaphore/service/files/ca.crt 5a62c5816a…13a both
the pin verifies the leaf it will meet openssl verify -CAfile scripts/semaphore-ca.crt <cockpit server.crt> OK; leaf SAN IP:10.12.0.143, IP:127.0.0.1
the CA constrains what it can sign openssl x509 -ext basicConstraints,nameConstraints critical, CA:TRUE, pathlen:0, permitted 10.12.0.143/32 and 127.0.0.1/32
make check at head CI, get_commit_statuses at 13:08Z checks / static success (28s); both plan checks success; checks / execute still pending when read

Could not verify

  • make check on this host. tofu init/validate needs the registry; CI's checks / static at this head is the evidence for that claim, not my own run.
  • The live TLS listener. Cockpit's half is still a branch (hermes/THE-106-semaphore-tls, not on main), so nothing was dialled, and the merge-order window the body describes is tested by neither side yet.
  • The design's four ADR checks and the measured 2.19.16 behaviour. Read as the ticket's design document (200), taken as written.
  • Vikunja. The profile's key answers 401 on every route tried (/projects, /projects/3/tasks/by-index/106, /tasks/106). No Vikunja task was the spec here — THE-106 is Paperclip.

Summary

  • Standards: 3 findings — 1 BLOCKER, 2 ADVISORY. Worst: S1, the PR body's shape (BLOCKER).
  • Spec: 0 findings.
  • Recommendation: fix, and it turns on the single blocker: body only. Without it the two advisories would not have moved the verdict (under the trip of three).

Head 5bdd155c4b23e21d8901749051452735e7c25859, round 1/5.

<!-- minos review-loop: repo=olympus/infra-tracker pr=64 head=5bdd155c4b23e21d8901749051452735e7c25859 round=1/5 verdict=fix axes=standards,spec --> Round 1/5 on head `5bdd155c4b23e21d8901749051452735e7c25859`. `list_pull_reviews` was empty when this round opened and the only comment is the round-1 sign-on, so this is round 1. Recommendation: fix **Verdict: REQUEST_CHANGES.** One BLOCKER and two ADVISORY findings. None of them is a defect in the TLS behaviour: I reproduced every refusal the body claims, and the pin is the CA cockpit signed its leaf with. The blocker is the PR body's shape — an edit to prose, no code. ### Spec Spec sources, in the order used: 1. **Paperclip THE-106**, read live at 13:09Z (`GET /api/companies/…/issues?q=THE-106` → 200; `THE-106`, `in_progress`) and its `design` document (`GET /api/issues/70de29f9…/documents/design` → 200). The body's `[THE-106](/THE/issues/THE-106)` is Paperclip's own route shape, but relative to the forge it answers **404** — see S1. 2. The PR body (read live, `get_pull_request_by_index`). The ticket's done-when — *"no deploy workflow sends a Semaphore token over http and the script headers no longer cite TR-66 STD-2 as the reason"* — is met for this repository: | Ticket line | Where it lands | How I checked | |---|---|---| | `SEMAPHORE_API_URL` https, no cleartext fallback | `scripts/semaphore-deploy.sh:52`, `:90-97` | by hand | | the deploy workflow too | `deploy.yml` carries no address of its own (`:30-32`); the script default is the only one | grep: no other Semaphore client in the tree | | headers stop citing TR-66 STD-2 | `scripts/semaphore-deploy.sh:28-36` replaces the paragraph, and points at cockpit's `docs/deploy.md` §*The `ci-<repo>` users*, which exists on cockpit `main:159` | source read | | tokens get an expiry and a rotation path | the design's 365-day hard stop at mint, re-minted as rollout step 4; no token lifetime lives in this repository | design doc | **Spec findings: none.** ### Standards standards: repo conventions found — `AGENTS.md`, `docs/adr/`, `docs/reference/`, `.agents/skills/pr/SKILL.md`. | # | Severity | Where | Finding | |---|---|---|---| | S1 | **BLOCKER** | PR body | `AGENTS.md §Pull requests`: "Write every PR body with the `pr` skill's format: `## Summary`, `## Evidence`, `## Merge Danger`." This body uses `## What changes` / `## Verified` / `## Merge order`, and carries neither `**Door:**` nor `**Blast Radius:**`; #62 and #63 both comply. The substance — what changed, the evidence, and the merge-order hazard — is all present, so this is the shape and not the content. **Clearing:** rewrite the body into the three required sections, and give the ticket a link that resolves from the forge (`https://paperclip.thepit.space/THE/issues/THE-106` answers 200; the current relative path answers 404). No code changes. | | S2 | ADVISORY | `docs/reference/deploy.md:58`, `:66`; `scripts/semaphore-deploy.sh:30` | The pinned CA is named as cockpit's `semaphore/tls/ca.crt`. That path is not in infra-cockpit: the committed file is `semaphore/service/files/ca.crt` (`git ls-tree -r origin/hermes/THE-106-semaphore-tls | grep tls` returns nothing under `semaphore/tls/`; the files are `semaphore/service/files/{ca,server}.crt`). The byte-identity claim is true — see Verified — but the pointer is not, and `deploy.md:62-68` is the paragraph an Operator follows on a certificate red. Fix: name `semaphore/service/files/ca.crt` in all three places. While there: `:59` enumerates `--proto '=https'` and `--cacert`, and the script also passes `--tlsv1.2` (`semaphore-deploy.sh:96`). | | S3 | ADVISORY | `scripts/semaphore-deploy.sh:93` | `red "SEMAPHORE_API_URL is a ${BASE%%://*} address; …"` names more than the scheme when the URL has no `://`. I ran it: `SEMAPHORE_API_URL='user:hunter2@10.12.0.143:3000'` printed `is a user:hunter2@10.12.0.143:3000 address` to stderr — the job log. That contradicts the function's own comment two lines up ("the rest of the address is not [named], because an address can carry a credential"). No token travels this path, so it is not a leak of the credential the change is about. Fix: cut at `@` too, or print a fixed "no scheme". | **Standards: 3 findings — 1 BLOCKER, 2 ADVISORY.** Worst: S1 (BLOCKER). ### Verified (how) | Claim | How | Result | |---|---|---| | head equals dispatch | `git rev-parse origin/hermes/THE-106-semaphore-https` in a worktree at the head | `5bdd155c…` | | the refusal cases | `./scripts/tests/semaphore-deploy.test.sh` at head | 83 assertions, 0 FAILED | | the workflow's own shape | `./scripts/tests/deploy-workflow.sh` at head | 52 assertions, 0 FAILED | | "a non-https URL sends nothing" | by hand, `SEMAPHORE_API_URL=http://127.0.0.1:…` | red, "is a http address … no cleartext fallback", stub saw nothing | | "a missing CA sends nothing, and before the token file" | by hand, `SEMAPHORE_CA_FILE=/nope/ca.crt`, private `TMPDIR` | red; temp dir empty afterwards | | "an unverifiable certificate is red" | the suite's other-CA case | red on `certificate`, no request recorded | | the pin is cockpit's CA | `sha256sum scripts/semaphore-ca.crt` vs `git show origin/hermes/THE-106-semaphore-tls:semaphore/service/files/ca.crt` | `5a62c5816a…13a` both | | the pin verifies the leaf it will meet | `openssl verify -CAfile scripts/semaphore-ca.crt <cockpit server.crt>` | OK; leaf SAN `IP:10.12.0.143, IP:127.0.0.1` | | the CA constrains what it can sign | `openssl x509 -ext basicConstraints,nameConstraints` | critical, `CA:TRUE, pathlen:0`, permitted `10.12.0.143/32` and `127.0.0.1/32` | | `make check` at head | CI, `get_commit_statuses` at 13:08Z | `checks / static` success (28s); both plan checks success; `checks / execute` still pending when read | ### Could not verify - **`make check` on this host.** `tofu init/validate` needs the registry; CI's `checks / static` at this head is the evidence for that claim, not my own run. - **The live TLS listener.** Cockpit's half is still a branch (`hermes/THE-106-semaphore-tls`, not on `main`), so nothing was dialled, and the merge-order window the body describes is tested by neither side yet. - **The design's four ADR checks and the measured 2.19.16 behaviour.** Read as the ticket's `design` document (200), taken as written. - **Vikunja.** The profile's key answers `401` on every route tried (`/projects`, `/projects/3/tasks/by-index/106`, `/tasks/106`). No Vikunja task was the spec here — THE-106 is Paperclip. ### Summary - **Standards:** 3 findings — 1 BLOCKER, 2 ADVISORY. Worst: S1, the PR body's shape (BLOCKER). - **Spec:** 0 findings. - **Recommendation: fix**, and it turns on the single blocker: body only. Without it the two advisories would not have moved the verdict (under the trip of three). Head `5bdd155c4b23e21d8901749051452735e7c25859`, round 1/5.
Author
Owner

Loop stopped — the fix dispatch produced no outcome for 20 minutes. Nothing else happens on this PR until its state label changes.

**Loop stopped** — the fix dispatch produced no outcome for 20 minutes. Nothing else happens on this PR until its state label changes.
Author
Owner

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

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

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

**Review started** (round 0/5) on 5bdd155c4b23e21d8901749051452735e7c25859 — reading the diff now.
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.
bot-minos requested changes 2026-12-01 13:55:36 +00:00
Dismissed
bot-minos left a comment

Round 2/5 on head 5bdd155c4b23e21d8901749051452735e7c25859. The dispatch counted this round as 0/5 and the sign-on comment carries that number; the thread already stood one review (id 729, round=1/5, same head, not dismissed when this round opened), so the header takes the ledger's count.

Recommendation: fix

What moved is the description; the tree did not. git ls-remote refs/pull/64/head is 5bdd155c…, git diff <head> <head> is empty, the worktree is clean, and no commit was added — the body was rewritten (sha256 17826c74…, 2305 bytes, live at 13:51Z: sections ## Summary / ## Evidence / ## Merge Danger, **Door:** and **Blast Radius:** both present). So this is a body-only round: nothing in the tree is newly chargeable as a blocker, and the tree evidence below is re-run at this head rather than inherited.

Round 1's one blocker is cleared. Three advisories stand, none of them a defect in the TLS behaviour — which I re-drove in full, including a mutant wave. Zero blockers stand; the recommendation turns on the advisory count, not on weight.

Round 1's blocker

Finding Status Evidence
S1 — the body did not use the pr skill's three sections, and linked the ticket by a route that 404s on the forge (AGENTS.md §Pull requests) Resolved The three sections and both **Door:** / **Blast Radius:** lines are present in the live body (hash above). https://paperclip.thepit.space/THE/issues/THE-106 answers 200; the relative shape answers 404. The clearing is the description alone — no commit carries it.

Standards

standards: repo conventions found — AGENTS.md (§Decisions, §Toolchain, §State, §Environment, §Pull requests), docs/adr/, .agents/skills/pr/SKILL.md.

# Severity Where Finding
S2 ADVISORY docs/reference/deploy.md:58, docs/reference/deploy.md:66, scripts/semaphore-deploy.sh:31 (carried) The pin is named as cockpit's semaphore/tls/ca.crt. That path does not exist: git ls-tree -r origin/main -- semaphore returns no .crt at all, and the branch that adds them (hermes/THE-106-semaphore-tls, head 5a1a37e) carries semaphore/service/files/ca.crt and …/server.crt and nothing under semaphore/tls/. The byte-identity claim is true (I re-verified it) but these three sites send an operator to a path that is not there, and deploy.md:62-68 is the paragraph they act on when a certificate red lands. While there: deploy.md:59 enumerates --proto '=https' and --cacert and omits --tlsv1.2, which scripts/semaphore-deploy.sh:96 passes on every call. Clearing: name semaphore/service/files/ca.crt at all three sites, and add --tlsv1.2 to the enumeration.
S3 ADVISORY scripts/semaphore-deploy.sh:93, against its own comment at :87-88 (carried) The scheme-less refusal prints the whole address. I ran it: SEMAPHORE_API_URL='user:hunter2@10.12.0.143:3000' answered SEMAPHORE_API_URL is a user:hunter2@10.12.0.143:3000 address on stderr — the job log — two lines under a comment that promises the rest of the address is not named "because an address can carry a credential". No Semaphore token travels this path, so it leaks nothing this change is about. The suite's an address with no scheme case asserts the exit status and that nothing reached the stub, not the message, so it cannot see this. Clearing: cut at @ as well, or print a fixed "no scheme".
S4 ADVISORY scripts/semaphore-deploy.sh:35-36; PR body §Evidence The header replaced the inline token paragraph with a pointer — "What ci-tracker's token may do, how long it lives and how it is replaced: infra-cockpit's docs/deploy.md, The ci-<repo> users" — and the body's Evidence says that header "names … its expiry, and where the rotation lives". The cited section (docs/deploy.md:159 on cockpit main) answers the first item (Manager on its own project, token at secret/ci/<repo>/semaphore-api) and only partly the second: it says the token is minted "with no expiry", the opposite of THE-106's 365-day hard stop (design, Token expiry; rollout step 4). It says nothing about replacement — a grep over the whole page for rotat, expir, 365, 180-day and renew returns that one line and no other. Two of the three facts the sentence promises are not behind it. Clearing: point at the design document for the lifetime and the rotation, or state the two facts inline; the same one-clause correction in the body's Evidence.

Standards: 3 findings — 0 BLOCKER, 3 ADVISORY. Worst: S2, a pin path that resolves nowhere.

Spec

Spec sources, in the order used:

  1. AGENTS.md §Agent skills names Vikunja project 3, but the change cites THE-106 — a Paperclip identifier — so the reference routes to the board: fetch-paperclip-issue.sh THE-106 answered GET /api/issues/THE-106 200 (status=in_review, updated 2026-11-20) and its design document 200, 8015 chars. Its four comments are the implementer's progress reports, not a board ruling.
  2. The PR body, read live at drafting time.
Ticket line (design, Decision / Rollout) Where it lands How I checked
Client rule: "https only … refuses any other scheme before it writes the token file; every curl carries --proto '=https' and --cacert; a missing CA file is a red" scripts/semaphore-deploy.sh:52, :89-97, :151, :128, :140 by hand, plus the mutant wave below
"No cleartext fallback" is a property a test can break scripts/tests/semaphore-deploy.test.sh (non-https, no-scheme, other-CA, missing/empty CA); deploy-workflow.sh (the workflow names no cleartext address) suite run at head; each assertion reddened by its own mutant
Trust: private CA, ECDSA P-256, 10 years, pathlen:0, name-constrained to the two addresses; the leaf's SAN the same two scripts/semaphore-ca.crt openssl x509: CA:TRUE, pathlen:0, critical, permitted IP:10.12.0.143/255.255.255.255 and IP:127.0.0.1/255.255.255.255, notAfter Nov 14 2036; openssl verify of cockpit's committed leaf against it: OK, leaf SAN both addresses
Rollout: the tracker lands after cockpit §Merge Danger, "Cockpit must merge first" olympus/infra-cockpit#36 is open (review/waiting, head 5a1a37e), and cockpit main has no certificate, so the window the body describes is real and the sequence matches the design's steps 2→3

Spec findings: none. The ticket's done-when — no deploy workflow sends a Semaphore token over http, and the script headers no longer cite TR-66 STD-2 as the reason — holds at this head.

Named, not charged

  • .forgejo/workflows/deploy.yml is edited, but every added line begins with #: no step, no if:, no job name, no target moves, and deploy.yml publishes no required context. Nothing to charge, and the dispatch puts the change's class outside this review's state, so this round does not hold on it.
  • The cockpit merge order is a condition, not a defect in this diff: olympus/infra-cockpit#36 open at 5a1a37e, main carrying no semaphore/**/*.crt. It is stated in §Merge Danger where an operator will read it.
  • The workflow suite reads deploy.yml with comment-only lines stripped (scripts/tests/deploy-workflow.sh:70-71), so a needle planted in a comment is out of scope by the suite's own stated reading. Two of my first-wave mutants landed there and survived; I re-cut them into run: content and all three assertions reddened. Those two rows were bad mutants, not gaps — recorded here so the next round does not read them as survivors.

Verified (how)

Claim How Result
head equals the dispatch, tree unchanged git ls-remote refs/pull/64/head; git diff <head> <head>; git status --porcelain 5bdd155c…; empty; clean
"83 assertions, 0 failed" bash scripts/tests/semaphore-deploy.test.sh at head 83 assertions, 0 FAILED
"the workflow-shape suite 52 assertions, 0 failed" bash scripts/tests/deploy-workflow.sh at head 52 assertions, 0 FAILED
the suites can fail 7 mutants on git archive copies of the head tree: require_tls not called, CA guard -s→-n, one curl without ${CURL_TLS[@]}, default back to http, http:// in a run: block, --insecure, SKIP_VERIFY all seven RED on their own assertion (24, 2, 20, 5, 4, 1, 3 FAILs). No survivors
the pin is cockpit's committed CA sha256sum scripts/semaphore-ca.crt vs git show origin/hermes/THE-106-semaphore-tls:semaphore/service/files/ca.crt 5a62c5816a…fb13a both
the pin verifies the leaf it will meet openssl verify -CAfile scripts/semaphore-ca.crt <cockpit server.crt> OK; SAN IP:10.12.0.143, IP:127.0.0.1
a non-https address sends nothing by hand, SEMAPHORE_API_URL=http://… and a scheme-less address red before the token file; stub recorded no request
the CI gate at this head get_commit_statuses at 5bdd155c… (newest row per context) checks / static success 28 s, checks / execute success 2 m 52 s, both plan checks success

Could not verify

  • make check on this host. tofu init needs the registry. .forgejo/workflows/checks.yaml:49 is run: make check, and that job is green at this head — the evidence for the body's "make check exits 0" is CI's, not a run of mine. The two suites I ran are part of it, not all of it.
  • The live listener on 10.12.0.143. Cockpit's half is unmerged, so nothing was dialled; the no-fallback window is described by the two repositories, not measured by either yet.

Summary

  • Standards: 3 findings — 0 BLOCKER, 3 ADVISORY. Worst: S2.
  • Spec: 0 findings.
  • The word is fix: three counted advisories is the volume trip, and it is the count rather than the weight that moves it. Each is a one- or two-line documentation correction, worth batching into one round — the TLS behaviour itself needs nothing.

Head 5bdd155c4b23e21d8901749051452735e7c25859, round 2/5.

<!-- minos review-loop: repo=olympus/infra-tracker pr=64 head=5bdd155c4b23e21d8901749051452735e7c25859 round=2/5 axes=standards,spec verdict=fix --> Round 2/5 on head `5bdd155c4b23e21d8901749051452735e7c25859`. The dispatch counted this round as 0/5 and the sign-on comment carries that number; the thread already stood one review (id 729, `round=1/5`, same head, not dismissed when this round opened), so the header takes the ledger's count. Recommendation: fix **What moved is the description; the tree did not.** `git ls-remote refs/pull/64/head` is `5bdd155c…`, `git diff <head> <head>` is empty, the worktree is clean, and no commit was added — the body was rewritten (`sha256 17826c74…`, 2305 bytes, live at 13:51Z: sections `## Summary` / `## Evidence` / `## Merge Danger`, `**Door:**` and `**Blast Radius:**` both present). So this is a body-only round: nothing in the tree is newly chargeable as a blocker, and the tree evidence below is re-run at this head rather than inherited. Round 1's one blocker is cleared. Three advisories stand, none of them a defect in the TLS behaviour — which I re-drove in full, including a mutant wave. **Zero blockers stand; the recommendation turns on the advisory count, not on weight.** ### Round 1's blocker | Finding | Status | Evidence | |---|---|---| | S1 — the body did not use the `pr` skill's three sections, and linked the ticket by a route that 404s on the forge (`AGENTS.md` §Pull requests) | **Resolved** | The three sections and both `**Door:**` / `**Blast Radius:**` lines are present in the live body (hash above). `https://paperclip.thepit.space/THE/issues/THE-106` answers `200`; the relative shape answers `404`. The clearing is the description alone — no commit carries it. | ### Standards standards: repo conventions found — `AGENTS.md` (§Decisions, §Toolchain, §State, §Environment, §Pull requests), `docs/adr/`, `.agents/skills/pr/SKILL.md`. | # | Severity | Where | Finding | |---|---|---|---| | S2 | ADVISORY | `docs/reference/deploy.md:58`, `docs/reference/deploy.md:66`, `scripts/semaphore-deploy.sh:31` | *(carried)* The pin is named as cockpit's `semaphore/tls/ca.crt`. That path does not exist: `git ls-tree -r origin/main -- semaphore` returns no `.crt` at all, and the branch that adds them (`hermes/THE-106-semaphore-tls`, head `5a1a37e`) carries `semaphore/service/files/ca.crt` and `…/server.crt` and nothing under `semaphore/tls/`. The byte-identity claim is true (I re-verified it) but these three sites send an operator to a path that is not there, and `deploy.md:62-68` is the paragraph they act on when a certificate red lands. While there: `deploy.md:59` enumerates `--proto '=https'` and `--cacert` and omits `--tlsv1.2`, which `scripts/semaphore-deploy.sh:96` passes on every call. **Clearing:** name `semaphore/service/files/ca.crt` at all three sites, and add `--tlsv1.2` to the enumeration. | | S3 | ADVISORY | `scripts/semaphore-deploy.sh:93`, against its own comment at `:87-88` | *(carried)* The scheme-less refusal prints the whole address. I ran it: `SEMAPHORE_API_URL='user:hunter2@10.12.0.143:3000'` answered `SEMAPHORE_API_URL is a user:hunter2@10.12.0.143:3000 address` on stderr — the job log — two lines under a comment that promises the rest of the address is not named "because an address can carry a credential". No Semaphore token travels this path, so it leaks nothing this change is about. The suite's `an address with no scheme` case asserts the exit status and that nothing reached the stub, not the message, so it cannot see this. **Clearing:** cut at `@` as well, or print a fixed "no scheme". | | S4 | ADVISORY | `scripts/semaphore-deploy.sh:35-36`; PR body §Evidence | The header replaced the inline token paragraph with a pointer — "What `ci-tracker`'s token may do, how long it lives and how it is replaced: `infra-cockpit`'s `docs/deploy.md`, *The `ci-<repo>` users*" — and the body's Evidence says that header "names … its expiry, and where the rotation lives". The cited section (`docs/deploy.md:159` on cockpit `main`) answers the first item (Manager on its own project, token at `secret/ci/<repo>/semaphore-api`) and only partly the second: it says the token is minted "with no expiry", the opposite of THE-106's 365-day hard stop (design, *Token expiry*; rollout step 4). It says nothing about replacement — a grep over the whole page for `rotat`, `expir`, `365`, `180-day` and `renew` returns that one line and no other. Two of the three facts the sentence promises are not behind it. **Clearing:** point at the design document for the lifetime and the rotation, or state the two facts inline; the same one-clause correction in the body's Evidence. | **Standards: 3 findings — 0 BLOCKER, 3 ADVISORY.** Worst: S2, a pin path that resolves nowhere. ### Spec Spec sources, in the order used: 1. `AGENTS.md` §Agent skills names Vikunja project 3, but the change cites `THE-106` — a Paperclip identifier — so the reference routes to the board: `fetch-paperclip-issue.sh THE-106` answered `GET /api/issues/THE-106` `200` (`status=in_review`, updated 2026-11-20) and its `design` document `200`, 8015 chars. Its four comments are the implementer's progress reports, not a board ruling. 2. The PR body, read live at drafting time. | Ticket line (design, *Decision* / *Rollout*) | Where it lands | How I checked | |---|---|---| | Client rule: "https only … refuses any other scheme before it writes the token file; every `curl` carries `--proto '=https'` and `--cacert`; a missing CA file is a red" | `scripts/semaphore-deploy.sh:52`, `:89-97`, `:151`, `:128`, `:140` | by hand, plus the mutant wave below | | "No cleartext fallback" is a property a test can break | `scripts/tests/semaphore-deploy.test.sh` (non-https, no-scheme, other-CA, missing/empty CA); `deploy-workflow.sh` (the workflow names no cleartext address) | suite run at head; each assertion reddened by its own mutant | | Trust: private CA, ECDSA P-256, 10 years, `pathlen:0`, name-constrained to the two addresses; the leaf's SAN the same two | `scripts/semaphore-ca.crt` | `openssl x509`: `CA:TRUE, pathlen:0`, critical, permitted `IP:10.12.0.143/255.255.255.255` and `IP:127.0.0.1/255.255.255.255`, `notAfter Nov 14 2036`; `openssl verify` of cockpit's committed leaf against it: `OK`, leaf SAN both addresses | | Rollout: the tracker lands after cockpit | §Merge Danger, "Cockpit must merge first" | `olympus/infra-cockpit#36` is open (`review/waiting`, head `5a1a37e`), and cockpit `main` has no certificate, so the window the body describes is real and the sequence matches the design's steps 2→3 | **Spec findings: none.** The ticket's done-when — no deploy workflow sends a Semaphore token over http, and the script headers no longer cite TR-66 STD-2 as the reason — holds at this head. ### Named, not charged - `.forgejo/workflows/deploy.yml` is edited, but every added line begins with `#`: no step, no `if:`, no job name, no target moves, and `deploy.yml` publishes no required context. Nothing to charge, and the dispatch puts the change's class outside this review's state, so this round does not hold on it. - The cockpit merge order is a condition, not a defect in this diff: `olympus/infra-cockpit#36` open at `5a1a37e`, `main` carrying no `semaphore/**/*.crt`. It is stated in §Merge Danger where an operator will read it. - The workflow suite reads `deploy.yml` with comment-only lines stripped (`scripts/tests/deploy-workflow.sh:70-71`), so a needle planted in a comment is out of scope by the suite's own stated reading. Two of my first-wave mutants landed there and survived; I re-cut them into `run:` content and all three assertions reddened. Those two rows were bad mutants, not gaps — recorded here so the next round does not read them as survivors. ### Verified (how) | Claim | How | Result | |---|---|---| | head equals the dispatch, tree unchanged | `git ls-remote refs/pull/64/head`; `git diff <head> <head>`; `git status --porcelain` | `5bdd155c…`; empty; clean | | "83 assertions, 0 failed" | `bash scripts/tests/semaphore-deploy.test.sh` at head | 83 assertions, 0 FAILED | | "the workflow-shape suite 52 assertions, 0 failed" | `bash scripts/tests/deploy-workflow.sh` at head | 52 assertions, 0 FAILED | | the suites can fail | 7 mutants on `git archive` copies of the head tree: `require_tls` not called, CA guard `-s`→`-n`, one `curl` without `${CURL_TLS[@]}`, default back to `http`, `http://` in a `run:` block, `--insecure`, `SKIP_VERIFY` | all seven RED on their own assertion (24, 2, 20, 5, 4, 1, 3 FAILs). No survivors | | the pin is cockpit's committed CA | `sha256sum scripts/semaphore-ca.crt` vs `git show origin/hermes/THE-106-semaphore-tls:semaphore/service/files/ca.crt` | `5a62c5816a…fb13a` both | | the pin verifies the leaf it will meet | `openssl verify -CAfile scripts/semaphore-ca.crt <cockpit server.crt>` | `OK`; SAN `IP:10.12.0.143, IP:127.0.0.1` | | a non-https address sends nothing | by hand, `SEMAPHORE_API_URL=http://…` and a scheme-less address | red before the token file; stub recorded no request | | the CI gate at this head | `get_commit_statuses` at `5bdd155c…` (newest row per context) | `checks / static` success 28 s, `checks / execute` success 2 m 52 s, both plan checks success | ### Could not verify - **`make check` on this host.** `tofu init` needs the registry. `.forgejo/workflows/checks.yaml:49` is `run: make check`, and that job is green at this head — the evidence for the body's "`make check` exits 0" is CI's, not a run of mine. The two suites I ran are part of it, not all of it. - **The live listener on `10.12.0.143`.** Cockpit's half is unmerged, so nothing was dialled; the no-fallback window is described by the two repositories, not measured by either yet. ### Summary - **Standards:** 3 findings — 0 BLOCKER, 3 ADVISORY. Worst: S2. - **Spec:** 0 findings. - The word is **fix**: three counted advisories is the volume trip, and it is the count rather than the weight that moves it. Each is a one- or two-line documentation correction, worth batching into one round — the TLS behaviour itself needs nothing. Head `5bdd155c4b23e21d8901749051452735e7c25859`, round 2/5.
The page named the pinned CA as `infra-cockpit`'s `semaphore/tls/ca.crt`,
which is not in that repository: the committed file is
`semaphore/service/files/ca.crt`, and `semaphore/tls/` has never existed.
The byte-identity claim is unchanged — sha256sum of both copies reads
5a62c5816a…13a — so this is the pointer, not the pin.

While there: the list of what every curl call carries named `--proto
'=https'` and `--cacert`, and the script also passes `--tlsv1.2`.
fix(review): the refusal names only the scheme (THE-106)
All checks were successful
plan / edge-plan-check (pull_request_target) Successful in 7s
plan / guest-plan-check (pull_request_target) Successful in 8s
checks / static (pull_request) Successful in 26s
checks / execute (pull_request) Successful in 2m59s
4d453d3daf
`require_tls` cut the address at `://` to name the scheme, so a value
with no `://` printed whole — and a value with no `://` is exactly where
a userinfo pair sits. The job log is not where a credential goes:
`SEMAPHORE_API_URL='runner:hunter2@10.12.0.143:3000'` printed
`is a runner:hunter2@10.12.0.143:3000 address`, which also contradicted
the function's own comment two lines up.

A scheme is now named only when the text before `://` is one (the RFC
3986 character set); anything else is refused with "has no https
scheme" and none of the address. No token travels this path — the
refusal still happens before `make_config` — so this is the log, not the
credential the change is about.

The suite pins it: the no-scheme case now asserts the message and that
the address is absent, and a new userinfo case (`runner:hunter2@…`, a
fixture, never a credential) asserts the credential and the address are
both absent from the job's output. Over the reviewed head's script, the
new cases report `5 assertion(s) FAILED` at rc 1, the address printed
whole each time; over this tree, 91 assertions, 0 FAILED.

The header cites the committed CA path and the full curl pin too.
docs(review): the token's lifetime is the design's, not cockpit's page (THE-106)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 6s
plan / edge-plan-check (pull_request_target) Successful in 7s
checks / static (pull_request) Successful in 25s
checks / execute (pull_request) Successful in 2m49s
ac2ac9b93b
The header sent a reader to `infra-cockpit`'s `docs/deploy.md`, *The
`ci-<repo>` users*, for what the token may do, how long it lives and how
it is replaced. That section answers the first: Manager on its own
project alone, minted to `secret/ci/tracker/semaphore-api`. It mints the
token `with no expiry` — the opposite of the lifetime this change is
built around — and says nothing about replacement.

The header now names the page for what the token may reach and where it
sits, and THE-106's design for the lifetime and the re-mint. The design
document is not readable without a Paperclip credential, so those two
facts are the review's own read of *Token expiry* and rollout step 4,
not a measurement of mine.
Member

Fix round report — head ac2ac9b (three commits on hermes/THE-106-semaphore-https).

Counts: the newest review on this PR is round 2/5 (#issuecomment-6645, submitted 13:55:36Z) — 0 BLOCKER, 3 ADVISORY — and it records round 1's single blocker as already resolved before this round opened. The dispatch that woke this round carries a round 0/5 counter, which is what the acknowledgement line above says; the cap is the loop's call, not mine to reset.

Finding Status Commit What changed
S1 — the PR body's shape and its ticket link (BLOCKER at round 1) already resolved before this round; verified here — ## Summary / ## Evidence / ## Merge Danger, with **Door:** and **Blast Radius:**; the served page renders all three <h2> and https://paperclip.thepit.space/THE/issues/THE-106 answers 200. This round refreshed the body's figures to the new head, which is a body edit with no commit against it.
S2 — the pinned CA named as cockpit's semaphore/tls/ca.crt fixed 0c5c852 (docs), 4d453d3 (script header) docs/reference/deploy.md and scripts/semaphore-deploy.sh now name semaphore/service/files/ca.crt; the enumeration of what every curl call carries adds --tlsv1.2.
S3 — the scheme-less refusal printed the whole address fixed 4d453d3 require_tls names a scheme only when the text before :// is one (the RFC 3986 character set); otherwise the refusal is SEMAPHORE_API_URL has no https scheme; … with no part of the address. Two new cases pin it.
S4 — the header pointed at cockpit's page for the token's expiry and rotation fixed ac2ac9b That section mints the token "with no expiry" and says nothing about replacement, so the header now names the page for what the token may reach and where it is kept, and THE-106's design for the lifetime and the re-mint. The body's Summary carries the same one-clause correction.

Verification

  • git archive ac2ac9b | tar -x -C <fresh>, mise trust, then env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check → rc=0, 5 unadorned Success tokens (Success! The configuration is valid. three times, Success! 1 passed, 0 failed., Success! 5 passed, 0 failed.), and grep -c 'Error message refers to sensitive values' = 0.

  • The deploy suite at the head reads semaphore-deploy tests: 91 assertions, 0 FAILED. (83 at the reviewed head; this round adds eight) beside deploy-workflow tests: 52 assertions, 0 FAILED.

  • The new cases red on the reviewed head. The branch's scripts/tests/semaphore-deploy.test.sh copied into an archive of 5bdd155 and run there, next to that head's own script: rc 1, 5 assertion(s) FAILED —

    FAIL  the red says there is no scheme (missing [has no https scheme]; got: semaphore-deploy: SEMAPHORE_API_URL is a 127.0.0.1:42471 address; …)
    FAIL  and does not carry the address it refused (found [127.0.0.1])
    FAIL  the red says there is no scheme (… got: semaphore-deploy: SEMAPHORE_API_URL is a runner:hunter2@127.0.0.1:35087 address; …)
    FAIL  and the job log does not carry the credential (found [hunter2])
    FAIL  nor the address it was aimed at (found [127.0.0.1])
    

    runner:hunter2@… is a fixture written for the case, and the comment above it says so; no real credential appears anywhere in the tree.

  • The S2 path, measured: git ls-tree -r origin/hermes/THE-106-semaphore-tls lists semaphore/service/files/ca.crt and …/server.crt and nothing under semaphore/tls/; sha256sum scripts/semaphore-ca.crt and the same command over semaphore/service/files/ca.crt both read 5a62c5816adbd382d4bfce8fe1ccb774f7e10173b391abafb90acf2c516fb13a.

  • CI at this head: run 144 — checks / static success in 25s, checks / execute success in 2m49s, plan / guest-plan-check and plan / edge-plan-check success (run 143). The static job's log carries semaphore-deploy tests: 91 assertions, 0 FAILED.; the execute job's log ends test guest destroyed then 🏁 Job succeeded.

  • The push moved the head, so round 2's review now reads stale against 5bdd155; the tree the next round reads is ac2ac9b.

Not verified, and left alone

  • THE-106's design document. GET https://paperclip.thepit.space/api/issues/THE-106 answers 404 to this session — the instance's /api/health answers 200, so that is the route refusing an unauthenticated read, and this profile holds no Paperclip credential. The two facts the S4 clearing attributes to the design — a 365-day stop at mint and the re-mint as rollout step 4 — are therefore the review's own read of that document, not a measurement of mine. I cite them as the design's, and I did not verify them.
  • The live TLS listener on 10.12.0.143: cockpit's half is still unmerged, so nothing was dialled. That merge-order window is unchanged in §Merge Danger.
  • Vocabulary scan: the header's new lines collide on ci, deploy and (before one rewording) project — the first two are the repository's own ci-tracker and cockpit's docs/deploy.md path, both already on the lines this round replaced; pull request in deploy.md is the same inherited case (10 occurrences at the reviewed head). Reported, not reworded.
  • Nothing here was disagreed with, no finding is left open, and there is no behaviour change beyond the refusal's wording.

Next: the state label moves from review/needs-fix to review/needs-review for the next round.

**Fix round report** — head `ac2ac9b` (three commits on `hermes/THE-106-semaphore-https`). Counts: the newest review on this PR is **round 2/5** (`#issuecomment-6645`, submitted 13:55:36Z) — 0 BLOCKER, 3 ADVISORY — and it records round 1's single blocker as already resolved before this round opened. The dispatch that woke this round carries a `round 0/5` counter, which is what the acknowledgement line above says; the cap is the loop's call, not mine to reset. | Finding | Status | Commit | What changed | |---|---|---|---| | S1 — the PR body's shape and its ticket link (BLOCKER at round 1) | already resolved before this round; verified here | — | `## Summary` / `## Evidence` / `## Merge Danger`, with `**Door:**` and `**Blast Radius:**`; the served page renders all three `<h2>` and `https://paperclip.thepit.space/THE/issues/THE-106` answers `200`. This round refreshed the body's figures to the new head, which is a body edit with no commit against it. | | S2 — the pinned CA named as cockpit's `semaphore/tls/ca.crt` | fixed | `0c5c852` (docs), `4d453d3` (script header) | `docs/reference/deploy.md` and `scripts/semaphore-deploy.sh` now name `semaphore/service/files/ca.crt`; the enumeration of what every curl call carries adds `--tlsv1.2`. | | S3 — the scheme-less refusal printed the whole address | fixed | `4d453d3` | `require_tls` names a scheme only when the text before `://` is one (the RFC 3986 character set); otherwise the refusal is `SEMAPHORE_API_URL has no https scheme; …` with no part of the address. Two new cases pin it. | | S4 — the header pointed at cockpit's page for the token's expiry and rotation | fixed | `ac2ac9b` | That section mints the token "with no expiry" and says nothing about replacement, so the header now names the page for what the token may reach and where it is kept, and THE-106's design for the lifetime and the re-mint. The body's Summary carries the same one-clause correction. | ### Verification - `git archive ac2ac9b | tar -x -C <fresh>`, `mise trust`, then `env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY mise exec -- make check` → **rc=0**, 5 unadorned `Success` tokens (`Success! The configuration is valid.` three times, `Success! 1 passed, 0 failed.`, `Success! 5 passed, 0 failed.`), and `grep -c 'Error message refers to sensitive values'` = 0. - The deploy suite at the head reads `semaphore-deploy tests: 91 assertions, 0 FAILED.` (83 at the reviewed head; this round adds eight) beside `deploy-workflow tests: 52 assertions, 0 FAILED.` - **The new cases red on the reviewed head.** The branch's `scripts/tests/semaphore-deploy.test.sh` copied into an archive of `5bdd155` and run there, next to that head's own script: rc 1, `5 assertion(s) FAILED` — ``` FAIL the red says there is no scheme (missing [has no https scheme]; got: semaphore-deploy: SEMAPHORE_API_URL is a 127.0.0.1:42471 address; …) FAIL and does not carry the address it refused (found [127.0.0.1]) FAIL the red says there is no scheme (… got: semaphore-deploy: SEMAPHORE_API_URL is a runner:hunter2@127.0.0.1:35087 address; …) FAIL and the job log does not carry the credential (found [hunter2]) FAIL nor the address it was aimed at (found [127.0.0.1]) ``` `runner:hunter2@…` is a fixture written for the case, and the comment above it says so; no real credential appears anywhere in the tree. - **The S2 path, measured:** `git ls-tree -r origin/hermes/THE-106-semaphore-tls` lists `semaphore/service/files/ca.crt` and `…/server.crt` and nothing under `semaphore/tls/`; `sha256sum scripts/semaphore-ca.crt` and the same command over `semaphore/service/files/ca.crt` both read `5a62c5816adbd382d4bfce8fe1ccb774f7e10173b391abafb90acf2c516fb13a`. - **CI at this head:** run 144 — `checks / static` success in 25s, `checks / execute` success in 2m49s, `plan / guest-plan-check` and `plan / edge-plan-check` success (run 143). The static job's log carries `semaphore-deploy tests: 91 assertions, 0 FAILED.`; the execute job's log ends `test guest destroyed` then `🏁 Job succeeded`. - The push moved the head, so round 2's review now reads `stale` against `5bdd155`; the tree the next round reads is `ac2ac9b`. ### Not verified, and left alone - **THE-106's design document.** `GET https://paperclip.thepit.space/api/issues/THE-106` answers `404` to this session — the instance's `/api/health` answers `200`, so that is the route refusing an unauthenticated read, and this profile holds no Paperclip credential. The two facts the S4 clearing attributes to the design — a 365-day stop at mint and the re-mint as rollout step 4 — are therefore the review's own read of that document, not a measurement of mine. I cite them as the design's, and I did not verify them. - **The live TLS listener** on `10.12.0.143`: cockpit's half is still unmerged, so nothing was dialled. That merge-order window is unchanged in §Merge Danger. - **Vocabulary scan:** the header's new lines collide on `ci`, `deploy` and (before one rewording) `project` — the first two are the repository's own `ci-tracker` and cockpit's `docs/deploy.md` path, both already on the lines this round replaced; `pull request` in `deploy.md` is the same inherited case (10 occurrences at the reviewed head). Reported, not reworded. - Nothing here was disagreed with, no finding is left open, and there is no behaviour change beyond the refusal's wording. Next: the state label moves from `review/needs-fix` to `review/needs-review` for the next round.
Member

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

**Review started** (round 1/5) on ac2ac9b93b678382115687cd7b51b6e24638c5ec — reading the diff now.
bot-minos approved these changes 2026-12-01 14:19:17 +00:00
bot-minos left a comment

Round 3/5 on head ac2ac9b. The dispatch calls this round 1/5 — its counter restarts when a review/* label is moved by hand — and the sign-on comment on this PR carries that number. The thread already stands two reviews (id 729 round=1/5 and id 752 round=2/5, both at 5bdd155c), so this header takes the ledger's count. The delta is git diff 5bdd155c ac2ac9b — three commits, three files — and the branch is stacked on the reviewed head (git merge-base --is-ancestor 5bdd155c ac2ac9b → true), so the delta is the fixer's own change and nothing else.

Recommendation: merge

What moved. 0c5c852 (the CA's path in the docs), 4d453d3 (the refusal's wording, its comment, and two cases), ac2ac9b (the header's lifetime clause). The last round's three advisories were the whole of its recommendation, and all three are cleared below.

The prior round's ledger

Round 2 carried no blocker. Round 1's single blocker (the body's shape, AGENTS.md §Pull requests) was cleared before round 2 opened and is still cleared: the body, read live twice this round and unchanged between reads, carries ## Summary / ## Evidence / ## Merge Danger, both **Door:** and **Blast Radius:**, and https://paperclip.thepit.space/THE/issues/THE-106 answers 200 (curl -o /dev/null -w '%{http_code}').

# Round 2 severity Status Clearing, at the head
S2 ADVISORY Resolved 0c5c852: docs/reference/deploy.md:58, :67 and scripts/semaphore-deploy.sh:31 all name semaphore/service/files/ca.crt; docs/reference/deploy.md:60 adds --tlsv1.2 to the enumeration. grep -rn 'semaphore/tls/' over the head tree answers 0 sites.
S3 ADVISORY Resolved 4d453d3: scripts/semaphore-deploy.sh:99-111 splits the scheme out only when the text before :// is one, and :107 prints a fixed "has no https scheme" otherwise. Driven by hand below.
S4 ADVISORY Resolved ac2ac9b: scripts/semaphore-deploy.sh:36-41 now says the cockpit page mints the token with no expiry and says nothing about replacement, and points the lifetime and the re-mint at THE-106's design.

Standards

standards: repo conventions found — AGENTS.md (§Decisions, §Toolchain, §State, §Environment, §Pull requests), .agents/skills/pr/SKILL.md, this repo's docs/adr/ (5 records) and the org records in olympus/workshop docs/adr/ (15 records, read at origin/main, the same list the local clone carries).

Standards findings: none.

What that rests on:

  • Body shape (AGENTS.md:73): the three sections and both **Door:** / **Blast Radius:** lines are present. Compliant.
  • ADR-0007 (a secret's path names what it belongs to): the header names secret/ci/tracker/semaphore-api (scripts/semaphore-deploy.sh:38), which is cockpit's own <repo>-substituted path and the design's mint target — one credential, one path. Compliant.
  • Charter scope: both plan/* checks are green at this head (run 143), so no destroy, replace or drift is charged; the diff carries no literal secret (the hunter2 string is a test fixture under a comment that says so, scripts/tests/semaphore-deploy.test.sh:301-303); the committed scripts/semaphore-ca.crt is a public certificate, which the design sanctions ("public halves committed"), not a key.
  • The gate boundary: .forgejo/workflows/deploy.yml is edited, comment-only — git diff <base> <head> -- .forgejo/workflows/ adds four lines all beginning with #. The four things that define the gate did not move: the file's job is still deploy, its steps and the target each runs (make deps, ACTOR=tracker make env, scripts/semaphore-deploy.sh start) are unchanged, and deploy.yml publishes no PR context at all (checks / … and plan / … come from separate workflows, untouched). The dispatch puts the change's class outside this review's state ("escalate that elsewhere if the process wants it"), so this round applies that narrowing and posts the finding-based state; merging remains the board's gate.

Spec

Spec sources, in the order used:

  1. Paperclip THE-106, read live at 15:16Z: GET /api/issues/THE-106 → 200, status=in_review; its design document → 200, 8015 chars, "Design: native TLS on Semaphore (143), pinned by every client". Read via scripts/fetch-paperclip-issue.sh, from a scratch directory.
  2. The PR body (read live, twice, identical).

Spec findings: none. The ticket's done-when holds for this repository: no deploy workflow sends a Semaphore token over http, the script header no longer cites TR-66's STD-2, and the design's client rule is what the script implements.

Design line Where it lands How checked
Client rule: "https only: the script refuses any other scheme before it writes the token file; every curl carries --proto '=https' and --cacert; a missing CA file is a red" scripts/semaphore-deploy.sh:57, :97-115, :146, :158 by hand, and the suite at the head
Trust: private CA, pathlen:0, name-constrained to the two addresses; the leaf's SAN the same two scripts/semaphore-ca.crt openssl x509 / openssl verify below
Token expiry: 365-day hard stop at mint; rotation on the 180-day class; re-minted as rollout step 4 scripts/semaphore-deploy.sh:39-41 (the pointer) design :14, :72, and cockpit's page read at origin/main
Rollout step 3: the tracker merges after cockpit §Merge Danger, "Cockpit must merge first" infra-cockpit main carries no semaphore/**/*.crt; the branch that adds them is 5a1a37e

Named, not charged

  • docs/reference/deploy.md:121 — "| The ci-tracker token, which has no expiry | … |". True today: the design's 365-day stop lands at mint, and its rollout step 4 is the re-mint that runs after these merges. The row will be false once step 4 has run; this delta does not touch it and I do not charge it. Whoever carries step 4 should correct the row in the same pass.
  • scripts/semaphore-deploy.sh:150 — on a curl failure the red prints ${BASE} whole. Pre-existing, on a line this delta does not touch, and reachable only if SEMAPHORE_API_URL itself carried userinfo, which nothing here sets (the token travels in the 0600 config file). The header's "names only the scheme" claim is scoped to the refusal and stays true. Optional hardening, not a finding.
  • scripts/semaphore-deploy.sh:106 — the character class [A-Za-z0-9+.-] also admits a scheme that does not begin with a letter, which RFC 3986 does not. The only consequence is that 1http://host is reported as "a 1http address" instead of "has no https scheme"; nothing of the address is printed either way. Cosmetic, and the refusal stays safe.

Verified (how)

Claim How Result
head equals the dispatch, before and after the probes git ls-remote origin refs/pull/64/head at wave start and end ac2ac9b93b678382115687cd7b51b6e24638c5ec both
"make check exits 0 on this tree" mise exec -- make check in a worktree at the head, with the Proxmox/AWS vars unset rc 0; 5 Success tokens (3 × "The configuration is valid.", "1 passed, 0 failed.", "5 passed, 0 failed."); suites: gate 57, semaphore-deploy 91, deploy-workflow 52, service-key 29 assertions, 0 FAILED
"91 assertions" / "52 assertions" the two suites run directly at the head 91 / 52, 0 FAILED
S3's clearing is a behaviour change, not a rewrite of a message the head's scripts/tests/semaphore-deploy.test.sh copied onto a worktree of 5bdd155c and run against that head's own script red: rc 1, 5 assertion(s) FAILED — "and does not carry the address it refused", "and the job log does not carry the credential", "nor the address it was aimed at"
the new cases can fail at the head too require_tls mutated back to the prior one-liner in a third worktree at the head same 5 assertions red; no survivor
the refusal by hand SEMAPHORE_API_URL = http://127.0.0.1:45999, 127.0.0.1:45999, runner:hunter2@127.0.0.1:45999 rc 1 each; "is a http address" / "has no https scheme"; no port, no hunter2, no 127.0.0.1 in the output
"the CA file is missing" sends nothing SEMAPHORE_CA_FILE=/nope/ca.crt, private TMPDIR rc 1, first refusal, no file left behind, no request
S2's path exists git ls-tree -r origin/hermes/THE-106-semaphore-tls -- semaphore in infra-cockpit semaphore/service/files/ca.crt at 5a1a37e; nothing under semaphore/tls/
the pin is that file sha256sum on both sides and cmp 5a62c5816a…fb13a both; cmp silent
the pin verifies the leaf it will meet openssl verify -CAfile scripts/semaphore-ca.crt <cockpit server.crt> OK; SAN IP:10.12.0.143, IP:127.0.0.1; CA critical, CA:TRUE, pathlen:0, permitted both /32, notAfter Nov 14 2036
S4's three claims cockpit docs/deploy.md at origin/main :163 "mints one token with no expiry"; grep -Ei 'rotat|renew|re-mint' → 0 lines; :164 secret/ci/<repo>/semaphore-api; design :14 and :72 carry the 365-day stop and the step-4 re-mint
the CI gate at this head get_commit_statuses at the head checks / static success 25 s, checks / execute success 2 m 49 s, both plan checks success
the ticket link resolves from the forge curl -o /dev/null -w '%{http_code}' 200

Could not verify

  • The live listener on 10.12.0.143. Cockpit's half is still a branch (5a1a37e), and its main carries no certificate, so nothing was dialled.
  • The design's measured 2.19.16 behaviour. Its "What the pinned binary does" table is read as written; I reproduced none of it.
  • The ci-tracker token's present state in the store. Not read from here; the "no expiry today" reading is the design's text beside cockpit's page, not a measurement.

Summary

  • Standards: 0 findings — 0 BLOCKER, 0 ADVISORY.
  • Spec: 0 findings.
  • Worst finding on each axis: none. The three advisories that carried the last recommendation are cleared by 0c5c852, 4d453d3 and ac2ac9b, and the recommendation is merge.

Head ac2ac9b93b678382115687cd7b51b6e24638c5ec, round 3/5.

<!-- minos review-loop: repo=olympus/infra-tracker pr=64 head=ac2ac9b93b678382115687cd7b51b6e24638c5ec round=3/5 axes=standards,spec verdict=merge --> Round 3/5 on head `ac2ac9b`. The dispatch calls this round 1/5 — its counter restarts when a `review/*` label is moved by hand — and the sign-on comment on this PR carries that number. The thread already stands two reviews (id 729 `round=1/5` and id 752 `round=2/5`, both at `5bdd155c`), so this header takes the ledger's count. The delta is `git diff 5bdd155c ac2ac9b` — three commits, three files — and the branch is stacked on the reviewed head (`git merge-base --is-ancestor 5bdd155c ac2ac9b` → true), so the delta is the fixer's own change and nothing else. Recommendation: merge **What moved.** `0c5c852` (the CA's path in the docs), `4d453d3` (the refusal's wording, its comment, and two cases), `ac2ac9b` (the header's lifetime clause). The last round's three advisories were the whole of its recommendation, and all three are cleared below. ### The prior round's ledger Round 2 carried **no blocker**. Round 1's single blocker (the body's shape, `AGENTS.md` §Pull requests) was cleared before round 2 opened and is still cleared: the body, read live twice this round and unchanged between reads, carries `## Summary` / `## Evidence` / `## Merge Danger`, both `**Door:**` and `**Blast Radius:**`, and `https://paperclip.thepit.space/THE/issues/THE-106` answers `200` (`curl -o /dev/null -w '%{http_code}'`). | # | Round 2 severity | Status | Clearing, at the head | |---|---|---|---| | S2 | ADVISORY | **Resolved** | `0c5c852`: `docs/reference/deploy.md:58`, `:67` and `scripts/semaphore-deploy.sh:31` all name `semaphore/service/files/ca.crt`; `docs/reference/deploy.md:60` adds `--tlsv1.2` to the enumeration. `grep -rn 'semaphore/tls/'` over the head tree answers 0 sites. | | S3 | ADVISORY | **Resolved** | `4d453d3`: `scripts/semaphore-deploy.sh:99-111` splits the scheme out only when the text before `://` is one, and `:107` prints a fixed "has no https scheme" otherwise. Driven by hand below. | | S4 | ADVISORY | **Resolved** | `ac2ac9b`: `scripts/semaphore-deploy.sh:36-41` now says the cockpit page mints the token with no expiry and says nothing about replacement, and points the lifetime and the re-mint at THE-106's design. | ### Standards standards: repo conventions found — `AGENTS.md` (§Decisions, §Toolchain, §State, §Environment, §Pull requests), `.agents/skills/pr/SKILL.md`, this repo's `docs/adr/` (5 records) and the org records in `olympus/workshop` `docs/adr/` (15 records, read at `origin/main`, the same list the local clone carries). **Standards findings: none.** What that rests on: - **Body shape** (`AGENTS.md:73`): the three sections and both `**Door:**` / `**Blast Radius:**` lines are present. Compliant. - **ADR-0007** (a secret's path names what it belongs to): the header names `secret/ci/tracker/semaphore-api` (`scripts/semaphore-deploy.sh:38`), which is cockpit's own `<repo>`-substituted path and the design's mint target — one credential, one path. Compliant. - **Charter scope**: both `plan/*` checks are green at this head (run 143), so no destroy, replace or drift is charged; the diff carries no literal secret (the `hunter2` string is a test fixture under a comment that says so, `scripts/tests/semaphore-deploy.test.sh:301-303`); the committed `scripts/semaphore-ca.crt` is a public certificate, which the design sanctions ("public halves committed"), not a key. - **The gate boundary**: `.forgejo/workflows/deploy.yml` is edited, comment-only — `git diff <base> <head> -- .forgejo/workflows/` adds four lines all beginning with `#`. The four things that define the gate did not move: the file's job is still `deploy`, its steps and the target each runs (`make deps`, `ACTOR=tracker make env`, `scripts/semaphore-deploy.sh start`) are unchanged, and `deploy.yml` publishes no PR context at all (`checks / …` and `plan / …` come from separate workflows, untouched). The dispatch puts the change's class outside this review's state ("escalate that elsewhere if the process wants it"), so this round applies that narrowing and posts the finding-based state; merging remains the board's gate. ### Spec Spec sources, in the order used: 1. **Paperclip THE-106**, read live at 15:16Z: `GET /api/issues/THE-106` → `200`, `status=in_review`; its `design` document → `200`, 8015 chars, "Design: native TLS on Semaphore (143), pinned by every client". Read via `scripts/fetch-paperclip-issue.sh`, from a scratch directory. 2. The PR body (read live, twice, identical). **Spec findings: none.** The ticket's done-when holds for this repository: no deploy workflow sends a Semaphore token over http, the script header no longer cites TR-66's STD-2, and the design's client rule is what the script implements. | Design line | Where it lands | How checked | |---|---|---| | Client rule: "`https` only: the script refuses any other scheme before it writes the token file; every `curl` carries `--proto '=https'` and `--cacert`; a missing CA file is a red" | `scripts/semaphore-deploy.sh:57`, `:97-115`, `:146`, `:158` | by hand, and the suite at the head | | Trust: private CA, `pathlen:0`, name-constrained to the two addresses; the leaf's SAN the same two | `scripts/semaphore-ca.crt` | `openssl x509` / `openssl verify` below | | Token expiry: 365-day hard stop at mint; rotation on the 180-day class; re-minted as rollout step 4 | `scripts/semaphore-deploy.sh:39-41` (the pointer) | design `:14`, `:72`, and cockpit's page read at `origin/main` | | Rollout step 3: the tracker merges after cockpit | §Merge Danger, "Cockpit must merge first" | `infra-cockpit` `main` carries no `semaphore/**/*.crt`; the branch that adds them is `5a1a37e` | ### Named, not charged - `docs/reference/deploy.md:121` — "| The `ci-tracker` token, which has no expiry | … |". True today: the design's 365-day stop lands at *mint*, and its rollout step 4 is the re-mint that runs after these merges. The row will be false once step 4 has run; this delta does not touch it and I do not charge it. Whoever carries step 4 should correct the row in the same pass. - `scripts/semaphore-deploy.sh:150` — on a curl failure the red prints `${BASE}` whole. Pre-existing, on a line this delta does not touch, and reachable only if `SEMAPHORE_API_URL` itself carried userinfo, which nothing here sets (the token travels in the 0600 config file). The header's "names only the scheme" claim is scoped to the refusal and stays true. Optional hardening, not a finding. - `scripts/semaphore-deploy.sh:106` — the character class `[A-Za-z0-9+.-]` also admits a scheme that does not begin with a letter, which RFC 3986 does not. The only consequence is that `1http://host` is reported as "a 1http address" instead of "has no https scheme"; nothing of the address is printed either way. Cosmetic, and the refusal stays safe. ### Verified (how) | Claim | How | Result | |---|---|---| | head equals the dispatch, before and after the probes | `git ls-remote origin refs/pull/64/head` at wave start and end | `ac2ac9b93b678382115687cd7b51b6e24638c5ec` both | | "`make check` exits 0 on this tree" | `mise exec -- make check` in a worktree at the head, with the Proxmox/AWS vars unset | **rc 0**; 5 `Success` tokens (3 × "The configuration is valid.", "1 passed, 0 failed.", "5 passed, 0 failed."); suites: gate 57, semaphore-deploy 91, deploy-workflow 52, service-key 29 assertions, 0 FAILED | | "91 assertions" / "52 assertions" | the two suites run directly at the head | 91 / 52, 0 FAILED | | S3's clearing is a behaviour change, not a rewrite of a message | the head's `scripts/tests/semaphore-deploy.test.sh` copied onto a worktree of `5bdd155c` and run against that head's own script | **red**: rc 1, `5 assertion(s) FAILED` — "and does not carry the address it refused", "and the job log does not carry the credential", "nor the address it was aimed at" | | the new cases can fail at the head too | `require_tls` mutated back to the prior one-liner in a third worktree at the head | same 5 assertions red; no survivor | | the refusal by hand | `SEMAPHORE_API_URL` = `http://127.0.0.1:45999`, `127.0.0.1:45999`, `runner:hunter2@127.0.0.1:45999` | rc 1 each; "is a http address" / "has no https scheme"; no port, no `hunter2`, no `127.0.0.1` in the output | | "the CA file is missing" sends nothing | `SEMAPHORE_CA_FILE=/nope/ca.crt`, private `TMPDIR` | rc 1, first refusal, no file left behind, no request | | S2's path exists | `git ls-tree -r origin/hermes/THE-106-semaphore-tls -- semaphore` in `infra-cockpit` | `semaphore/service/files/ca.crt` at `5a1a37e`; nothing under `semaphore/tls/` | | the pin is that file | `sha256sum` on both sides and `cmp` | `5a62c5816a…fb13a` both; `cmp` silent | | the pin verifies the leaf it will meet | `openssl verify -CAfile scripts/semaphore-ca.crt <cockpit server.crt>` | `OK`; SAN `IP:10.12.0.143, IP:127.0.0.1`; CA `critical, CA:TRUE, pathlen:0`, permitted both `/32`, `notAfter Nov 14 2036` | | S4's three claims | cockpit `docs/deploy.md` at `origin/main` | `:163` "mints one token with no expiry"; `grep -Ei 'rotat\|renew\|re-mint'` → 0 lines; `:164` `secret/ci/<repo>/semaphore-api`; design `:14` and `:72` carry the 365-day stop and the step-4 re-mint | | the CI gate at this head | `get_commit_statuses` at the head | `checks / static` success 25 s, `checks / execute` success 2 m 49 s, both plan checks success | | the ticket link resolves from the forge | `curl -o /dev/null -w '%{http_code}'` | `200` | ### Could not verify - **The live listener on `10.12.0.143`.** Cockpit's half is still a branch (`5a1a37e`), and its `main` carries no certificate, so nothing was dialled. - **The design's measured 2.19.16 behaviour.** Its "What the pinned binary does" table is read as written; I reproduced none of it. - **The `ci-tracker` token's present state in the store.** Not read from here; the "no expiry today" reading is the design's text beside cockpit's page, not a measurement. ### Summary - **Standards:** 0 findings — 0 BLOCKER, 0 ADVISORY. - **Spec:** 0 findings. - Worst finding on each axis: none. The three advisories that carried the last recommendation are cleared by `0c5c852`, `4d453d3` and `ac2ac9b`, and the recommendation is **merge**. Head `ac2ac9b93b678382115687cd7b51b6e24638c5ec`, round 3/5.
pit merged commit 6e043ecd8c into main 2026-12-01 15:13:37 +00:00
pit deleted branch hermes/THE-106-semaphore-https 2026-12-01 15:13:37 +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-tracker!64
No description provided.