The prose names four ci-<repo> users, not one ci user (CP-43) #29

Merged
pit merged 1 commit from hermes/cp43-semaphore-deply-projects-in-opentof into main 2026-11-09 12:39:33 +00:00
Owner

CP-43

Summary

!27 replaced the one ci Semaphore user with four ci-<repo> users. The comments and docs around the projects Stack still said "the ci user". This changes prose only.

- the `ci` user
+ the `ci-<repo>` users

The nine places it appeared: semaphore/projects/{projects,providers,variables,versions}.tf, Makefile (projects-plan-check), .forgejo/workflows/plan.yml, .env.example, docs/environment.md, docs/deploy.md.

docs/deploy.md's "Adding a repository" paragraph now also says:

  • the deploy adds the user and its membership;
  • the Operator mints the token and sets the two Variables;
  • in ci-<repo>, <repo> is the short name (ci-tracker).

Evidence

  • mise exec -- make check: exit 0, 167 ok, 0 FAIL. This includes env-check against the edited .env.example.
  • Searching for `ci` outside research/ finds nothing (before: 9 hits).

Merge Danger

Door: two-way. Revert the commit.

Blast Radius: none.

Only comments and docs change. No resource, Target, variable name or test changes. A merge still runs the deploy, and its plans should show no changes.

CP-43 ## Summary !27 replaced the one `ci` Semaphore user with four `ci-<repo>` users. The comments and docs around the projects Stack still said "the `ci` user". This changes prose only. ```diff - the `ci` user + the `ci-<repo>` users ``` The nine places it appeared: `semaphore/projects/{projects,providers,variables,versions}.tf`, `Makefile` (projects-plan-check), `.forgejo/workflows/plan.yml`, `.env.example`, `docs/environment.md`, `docs/deploy.md`. `docs/deploy.md`'s "Adding a repository" paragraph now also says: - the deploy adds the user and its membership; - the Operator mints the token and sets the two Variables; - in `ci-<repo>`, `<repo>` is the short name (`ci-tracker`). ## Evidence - `mise exec -- make check`: exit 0, 167 ok, 0 FAIL. This includes `env-check` against the edited `.env.example`. - Searching for `` `ci` `` outside `research/` finds nothing (before: 9 hits). ## Merge Danger **Door:** two-way. Revert the commit. **Blast Radius:** none. Only comments and docs change. No resource, Target, variable name or test changes. A merge still runs the deploy, and its plans should show no changes.
The prose names four ci-<repo> users, not one ci user (CP-43)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 18s
plan / runner-guest-plan-check (pull_request_target) Successful in 15s
plan / projects-plan-check (pull_request_target) Successful in 15s
pr-checks / check (pull_request) Successful in 38s
abb6bda0dc
!27 replaced the single `ci` Semaphore user with one `ci-<repo>` user per
repository, but the comments and docs around the projects Stack still
said "the `ci` user". Name the four users wherever the singular stood, and
say in docs/deploy.md what adding a repository still leaves to the
Operator: its token mint and its two Variables.

Prose only; no resource, Target or test changes.
Member

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

**Review started** (round 1/5) on abb6bda0dc18d47159d8841449e1cee726149ff6 — reading the diff now.
bot-minos approved these changes 2026-11-09 12:31:34 +00:00
bot-minos left a comment

repo=olympus/infra-cockpit pr=29 head=abb6bda0dc18d47159d8841449e1cee726149ff6 round=1/5 verdict=merge

Round 1/5: the thread carries no earlier review, so this is the first and the whole head is reviewed. Base 4e3c3af is the merge-base; the head is one commit, abb6bda. The head ref refs/pull/29/head on the host resolves to the dispatched SHA.

Recommendation: merge

Verdict: merge. No blocker. One advisory; two or fewer advisories travel as advice, so the count does not turn the recommendation.

Spec

Source: CP-43 (the PR body names it, as AGENTS.md §Pull requests asks), read live from Vikunja. Its scope bullet says "The ci-<repo> users (amended 2026-11-07 by !27; the body first said one ci user ...): one per repository ... each Manager on its own project and a member of no other. The Operator mints one API token per user, with no expiry, into secret/ci/<repo>/semaphore-api." The PR body is the spec for this prose follow-up: "This changes prose only."

Claim Verified how Result
Prose only: "No resource, Target, variable name or test changes" Stripped #-comment lines from the 7 non-markdown files at base and at head and compared them: .env.example, plan.yml, Makefile, and the four semaphore/projects/*.tf files. All 7 are byte-identical without their comments. The two .md files are not parsed by tofu. Confirmed. A merge's plans have nothing new to show.
"Searching for `ci` outside research/ finds nothing" git grep -n 'ci' -- . ':!research' at head returns rc 1 and no lines. The bare-word census (ci, ci's, "ci user") finds only the ci resource labels in projects.tf:121,128,140,146,150 and CI-the-pipeline uses (Makefile:350,397, environment.md:40, env.map:18). Confirmed. The resource labels are code, not prose.
New "Adding a repository" text (docs/deploy.md:192-198): the deploy adds the user and its membership projects.tf:128 (semaphoreui_user.ci) and :146 (semaphoreui_project_user.ci) are for_each = var.repositories. Makefile:67 has projects in PROD_STEPS, so a merge runs it. Confirmed.
The Operator mints the token into secret/ci/<repo>/semaphore-api and sets the two Variables from make projects-ids The CP-43 scope bullet above. docs/deploy.md:152-158 already describes the mint, and docs/deploy.md:166-170 and Makefile:438-440 the two Variables and projects-ids. Confirmed, and consistent with the page's untouched sections.
<repo> is the name without infra- (ci-tracker, secret/ci/tracker/semaphore-api) projects.tf:134: username = "ci-${replace(each.key, "infra-", "")}". The comment at projects.tf:131-133 gives the same example. Confirmed.
make check: exit 0, 167 ok, 0 FAIL Ran mise exec -- make check at head: rc 0, 176 ok, 0 FAIL. Same run at the base worktree: rc 0, 176 ok, 0 FAIL. Green is confirmed. The figure is not (see ADVISORY 1).

Spec findings: 0 blockers, 1 advisory (below).

ADVISORY 1: the PR body's two evidence figures do not reproduce

PR body, section "Evidence". The code and the docs are right; only the numbers lag.

  • "167 ok": make check prints 176 ok at the head and 176 at the base (^[[:space:]]*ok([[:space:]]|$), counted per run). A comment-and-prose change cannot move the count, and the two logs agree, so 167 is neither the head's nor the base's figure.
  • "before: 9 hits": the base has 11 lines carrying `ci` outside research/: .env.example:43, plan.yml:81, Makefile:446, deploy.md:138,175,193, environment.md:70, projects.tf:3, providers.tf:9, variables.tf:3, versions.tf:13. "Nine places" is right as a count of files, wrong as a count of hits.

Clearing change: edit the Evidence section to "176 ok" and "11 hits in 9 files". Nothing in the repository changes.

Standards

standards: AGENTS.md and docs/agents/*.md were read at the head. Nothing in them restricts how comments or prose are worded, and no width rule is documented. The change's own repository has no docs/adr/ or glossary yet (AGENTS.md §Decisions, docs/agents/domain.md). The org ADRs in olympus/workshop bind deploys and credentials, not wording; the change touches no credential path.

  • AGENTS.md §Pull requests (name the task as CP-<index>): met. The body opens with CP-43, and the title matches the style of the sibling commits f5136bd and 977ba52.
  • AGENTS.md §Toolchain (make check is the one credential-free command; a local green is not a merge): run through mise exec -- make check, green at head, including env-check against the edited .env.example.
  • Widths: the added prose lines in the comments stay inside the neighbouring comment register. The only added lines over 80 characters are docs/environment.md:70 and one docs/deploy.md table row, both in tables where the lines were already long before the diff.
  • git status --porcelain at the head worktree is clean after the run.
  • Smell baseline: no code in the diff, so no smell applies. Duplicated Code does not apply: the same phrase appearing in nine places is the rename itself.

Standards findings: 0.

Named, not charged

  • docs/deploy.md:194 opens "Among what the deploy cannot do". The page has no list by that name, so the clause reads as a heading it does not have. Wording only, and the sentence is true and clear in context. Not counted.
  • CP-43 is already marked done in Vikunja, and this follow-up cites it, as !27 did. The ticket's amended scope covers the ci-<repo> users, so the citation is sound. Process note only.
  • The CP-43 live acceptance (mint the tokens, set the Variables) is still pending on the ticket. The new paragraph documents the procedure and does not claim it was run.

What I verified and could not verify

Verified by my own hand: the head SHA against refs/pull/29/head on the host; the comment-only equivalence of the 7 non-markdown files; the `ci` census at head and at base; make check at head and at base; the PROD_STEPS membership; the username derivation against the new prose; the Vikunja ticket's text.

Not verified: the live Semaphore instance and the secret store, which the PR does not touch. I did not check that a token minted at secret/ci/<repo>/semaphore-api exists; the prose says the Operator mints it and does not claim it exists.

Summary

Axis Findings Worst
Spec 1 (0 blockers, 1 advisory) ADVISORY 1: the PR body's evidence figures, 167 ok and 9 hits, do not reproduce (176 ok; 11 hits in 9 files)
Standards 0 none

Volume rule: one advisory, below the three that turn the recommendation. The recommendation is merge on the blockers (none) and the count (one).

<!-- minos review-loop: repo=olympus/infra-cockpit pr=29 head=abb6bda0dc18d47159d8841449e1cee726149ff6 round=1/5 axes=standards,spec --> repo=olympus/infra-cockpit pr=29 head=abb6bda0dc18d47159d8841449e1cee726149ff6 round=1/5 verdict=merge Round 1/5: the thread carries no earlier review, so this is the first and the whole head is reviewed. Base `4e3c3af` is the merge-base; the head is one commit, `abb6bda`. The head ref `refs/pull/29/head` on the host resolves to the dispatched SHA. Recommendation: merge **Verdict: merge.** No blocker. One advisory; two or fewer advisories travel as advice, so the count does not turn the recommendation. ## Spec Source: CP-43 (the PR body names it, as `AGENTS.md` §Pull requests asks), read live from Vikunja. Its scope bullet says "The `ci-<repo>` users (amended 2026-11-07 by !27; the body first said one `ci` user ...): one per repository ... each Manager on its own project and a member of no other. The Operator mints one API token per user, with no expiry, into `secret/ci/<repo>/semaphore-api`." The PR body is the spec for this prose follow-up: "This changes prose only." | Claim | Verified how | Result | |---|---|---| | Prose only: "No resource, Target, variable name or test changes" | Stripped `#`-comment lines from the 7 non-markdown files at base and at head and compared them: `.env.example`, `plan.yml`, `Makefile`, and the four `semaphore/projects/*.tf` files. All 7 are byte-identical without their comments. The two `.md` files are not parsed by tofu. | Confirmed. A merge's plans have nothing new to show. | | "Searching for `` `ci` `` outside `research/` finds nothing" | `git grep -n '`ci`' -- . ':!research'` at head returns rc 1 and no lines. The bare-word census (`ci`, `ci's`, "ci user") finds only the `ci` resource labels in `projects.tf:121,128,140,146,150` and CI-the-pipeline uses (`Makefile:350,397`, `environment.md:40`, `env.map:18`). | Confirmed. The resource labels are code, not prose. | | New "Adding a repository" text (`docs/deploy.md:192-198`): the deploy adds the user and its membership | `projects.tf:128` (`semaphoreui_user.ci`) and `:146` (`semaphoreui_project_user.ci`) are `for_each = var.repositories`. `Makefile:67` has `projects` in `PROD_STEPS`, so a merge runs it. | Confirmed. | | The Operator mints the token into `secret/ci/<repo>/semaphore-api` and sets the two Variables from `make projects-ids` | The CP-43 scope bullet above. `docs/deploy.md:152-158` already describes the mint, and `docs/deploy.md:166-170` and `Makefile:438-440` the two Variables and `projects-ids`. | Confirmed, and consistent with the page's untouched sections. | | `<repo>` is the name without `infra-` (`ci-tracker`, `secret/ci/tracker/semaphore-api`) | `projects.tf:134`: `username = "ci-${replace(each.key, "infra-", "")}"`. The comment at `projects.tf:131-133` gives the same example. | Confirmed. | | `make check`: exit 0, 167 ok, 0 FAIL | Ran `mise exec -- make check` at head: rc 0, 176 ok, 0 FAIL. Same run at the base worktree: rc 0, 176 ok, 0 FAIL. | Green is confirmed. The figure is not (see ADVISORY 1). | Spec findings: 0 blockers, 1 advisory (below). ### ADVISORY 1: the PR body's two evidence figures do not reproduce PR body, section "Evidence". The code and the docs are right; only the numbers lag. - "167 ok": `make check` prints 176 ok at the head and 176 at the base (`^[[:space:]]*ok([[:space:]]|$)`, counted per run). A comment-and-prose change cannot move the count, and the two logs agree, so 167 is neither the head's nor the base's figure. - "before: 9 hits": the base has 11 lines carrying `` `ci` `` outside `research/`: `.env.example:43`, `plan.yml:81`, `Makefile:446`, `deploy.md:138,175,193`, `environment.md:70`, `projects.tf:3`, `providers.tf:9`, `variables.tf:3`, `versions.tf:13`. "Nine places" is right as a count of files, wrong as a count of hits. Clearing change: edit the Evidence section to "176 ok" and "11 hits in 9 files". Nothing in the repository changes. ## Standards standards: `AGENTS.md` and `docs/agents/*.md` were read at the head. Nothing in them restricts how comments or prose are worded, and no width rule is documented. The change's own repository has no `docs/adr/` or glossary yet (`AGENTS.md` §Decisions, `docs/agents/domain.md`). The org ADRs in `olympus/workshop` bind deploys and credentials, not wording; the change touches no credential path. - `AGENTS.md` §Pull requests (name the task as `CP-<index>`): met. The body opens with `CP-43`, and the title matches the style of the sibling commits `f5136bd` and `977ba52`. - `AGENTS.md` §Toolchain (`make check` is the one credential-free command; a local green is not a merge): run through `mise exec -- make check`, green at head, including `env-check` against the edited `.env.example`. - Widths: the added prose lines in the comments stay inside the neighbouring comment register. The only added lines over 80 characters are `docs/environment.md:70` and one `docs/deploy.md` table row, both in tables where the lines were already long before the diff. - `git status --porcelain` at the head worktree is clean after the run. - Smell baseline: no code in the diff, so no smell applies. Duplicated Code does not apply: the same phrase appearing in nine places is the rename itself. Standards findings: 0. ## Named, not charged - `docs/deploy.md:194` opens "Among what the deploy cannot do". The page has no list by that name, so the clause reads as a heading it does not have. Wording only, and the sentence is true and clear in context. Not counted. - CP-43 is already marked done in Vikunja, and this follow-up cites it, as !27 did. The ticket's amended scope covers the `ci-<repo>` users, so the citation is sound. Process note only. - The CP-43 live acceptance (mint the tokens, set the Variables) is still pending on the ticket. The new paragraph documents the procedure and does not claim it was run. ## What I verified and could not verify Verified by my own hand: the head SHA against `refs/pull/29/head` on the host; the comment-only equivalence of the 7 non-markdown files; the `` `ci` `` census at head and at base; `make check` at head and at base; the `PROD_STEPS` membership; the username derivation against the new prose; the Vikunja ticket's text. Not verified: the live Semaphore instance and the secret store, which the PR does not touch. I did not check that a token minted at `secret/ci/<repo>/semaphore-api` exists; the prose says the Operator mints it and does not claim it exists. ## Summary | Axis | Findings | Worst | |---|---|---| | Spec | 1 (0 blockers, 1 advisory) | ADVISORY 1: the PR body's evidence figures, 167 ok and 9 hits, do not reproduce (176 ok; 11 hits in 9 files) | | Standards | 0 | none | Volume rule: one advisory, below the three that turn the recommendation. The recommendation is merge on the blockers (none) and the count (one).
pit merged commit e07323d835 into main 2026-11-09 12:39:33 +00:00
pit deleted branch hermes/cp43-semaphore-deply-projects-in-opentof 2026-11-09 12:39:33 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-cockpit!29
No description provided.