npm: the tracker's edge signs in as its own account (paperclip:THE-52) #52

Merged
pit merged 2 commits from hermes/THE-52-npm-per-repo-accounts into main 2026-11-11 15:18:43 +00:00
Owner

Implements paperclip:THE-52.

Summary

The tracker's Edge signs in as its own account, and its page names the two.

 env.map
-# secret/homelab/npm/api …
+# secret/homelab/npm/tracker/manage …
 docs/reference/edge.md
+## The account                    # check account for the push-to-main plan, managing for make edge
+# the lookup sees only the account's own certificates

The Edge's plan job — gated to a push to main, so a pull request holds no NPM
account at all — keeps its repository secrets, now the tracker's read-only
check account; make edge-plan and make edge read the managing account
from the store. Certificate ownership is load-bearing now: the provider's lookup
sees only the account's own certificates, so a re-created certificate must be
made as the managing account or moved to it.

Evidence

  • mise exec -- make check → exit 0: env.map: 17 names, all declared in .env.example, the fetch's suite, tofu fmt -check, all three Stacks valid,
    and both plan-only test suites (pool, edge) pass.
  • git grep -nE 'svc-tofu|homelab/npm/api' → no matches.
  • The account matrix on the page matches THE-52's runbook §2, and the account
    names match the paths olympus/infra-secrets#52 declares.

Merge Danger

Door: two-way for the tree — revert the commit and re-run make env. The
credential pointer it publishes is the one-way half: the merge follows into
every fetch, and the rollback is the runbook's ownership update and the old
env.map row.

Blast Radius: the tracker's Edge only. make env after the merge reads
secret/homelab/npm/tracker/manage, so the four store paths must exist and the
ownership move must have run first; until the window, NPM keeps serving under
the old account. Three prerequisite merges: olympus/infra-secrets#52 (the policy and the store
paths), olympus/workshop#50 (ADR-0014, which the page cites) and
olympus/infra-forge#95 (the runbook the page points at).

Prose written by the Hermes agent.

Implements paperclip:THE-52. ## Summary The tracker's Edge signs in as its own account, and its page names the two. ```diff env.map -# secret/homelab/npm/api … +# secret/homelab/npm/tracker/manage … docs/reference/edge.md +## The account # check account for the push-to-main plan, managing for make edge +# the lookup sees only the account's own certificates ``` The Edge's plan job — gated to a push to `main`, so a pull request holds no NPM account at all — keeps its repository secrets, now the tracker's read-only **check account**; `make edge-plan` and `make edge` read the **managing account** from the store. Certificate ownership is load-bearing now: the provider's lookup sees only the account's own certificates, so a re-created certificate must be made as the managing account or moved to it. ## Evidence - `mise exec -- make check` → exit 0: `env.map: 17 names, all declared in .env.example`, the fetch's suite, `tofu fmt -check`, all three Stacks valid, and both plan-only test suites (pool, edge) pass. - `git grep -nE 'svc-tofu|homelab/npm/api'` → no matches. - The account matrix on the page matches THE-52's runbook §2, and the account names match the paths `olympus/infra-secrets#52` declares. ## Merge Danger **Door:** two-way for the tree — revert the commit and re-run `make env`. The credential pointer it publishes is the one-way half: the merge follows into every fetch, and the rollback is the runbook's ownership update and the old `env.map` row. **Blast Radius:** the tracker's Edge only. `make env` after the merge reads `secret/homelab/npm/tracker/manage`, so the four store paths must exist and the ownership move must have run first; until the window, NPM keeps serving under the old account. Three prerequisite merges: `olympus/infra-secrets#52` (the policy and the store paths), `olympus/workshop#50` (ADR-0014, which the page cites) and `olympus/infra-forge#95` (the runbook the page points at). Prose written by the Hermes agent.
npm: the tracker's edge signs in as its own account (paperclip:THE-52)
All checks were successful
checks / static (pull_request) Successful in 10s
checks / edge (pull_request) Has been skipped
checks / guest (pull_request) Has been skipped
checks / execute (pull_request) Successful in 2m49s
3a7c7d7331
env.map reads `secret/homelab/npm/tracker/manage`, and the Edge page states the
two accounts, the certificate ownership the lookup depends on, and where the
one-time ownership move lives.

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

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

**Review started** (round 1/5) on 3a7c7d7331d736fa117303a55d52319f3360ae86 — reading the diff now.
bot-minos requested changes 2026-11-11 14:57:56 +00:00
Dismissed
bot-minos left a comment

olympus/infra-tracker#52 · head 3a7c7d7 · round 1/5 · spec paperclip:THE-52 · verdict REQUEST_CHANGES

Recommendation: fix

Two blockers, both inside the new ## The account section of docs/reference/edge.md: it names a CI trigger this repository does not have, and it rests on two records that are not on their main branches. The env.map row, the .env.example and README rows, and the account/permission matrix all match THE-52's runbook — this change is close; the fix is prose.

Standards

BLOCKER — the page puts the check account on every pull request; this repo's Edge plan runs on the push to main only

docs/reference/edge.md:38

The plan job on every pull request holds the Tracker's check account, svc-npm-tracker-ci

The edge job is gated if: github.event_name == 'push' (.forgejo/workflows/checks.yaml:62), and the status contexts at the reviewed head say it out loud: checks / edge (pull_request) — "Has been skipped" (run 68, job 1). docs/adr/0004-test-state-outside-the-store-and-the-edge-gate.md:5-7 states the same in this repository's own words — "the Edge's plan now runs on the push to main rather than on the pull request" — and the floor pins it (scripts/tests/run.sh:256, the workflow triggers on a push to main).

The second half of the sentence is right: the pair does arrive as repository secrets (checks.yaml:103-105), not a store read. Only the trigger is wrong, and it is the load-bearing half — a reader auditing "what does a pull request hold?" is told the PR plan holds a live NPM account, when on this repository a pull request holds none at all and the check account is exercised on a merge to main.

Smallest clearing change: "on every push to main" in place of "on every pull request".

ADVISORY — the PR body skips the two Merge Danger fields the repo's pr skill asks for

AGENTS.md:37-39 sends every body through .agents/skills/pr/SKILL.md, whose template (:24-32) asks for **Door:** and **Blast Radius:** under ## Merge Danger. This body has neither; the siblings on this change (infra-forge#95, workshop#50) carry both. The door is worth stating here: the tree is two-way (revert the commit, re-make env), while the credential pointer it publishes is not.

ADVISORY — env.map:51 sits two columns right of every other row

The file keeps its second column at 43; the changed row lands at 45 (measured over the non-comment rows: 43, 43, 43, 43, 45, 43, 43). No functional effect — make env-check is green — just the column.

Spec

BLOCKER — both citations in the new section point at records that are not on their main

docs/reference/edge.md:42 and docs/reference/edge.md:47-48

  1. ADR-0014. The link resolves to …/olympus/workshop/src/branch/main/docs/adr/0014-an-edge-credential-belongs-to-one-repository.md. At olympus/workshop origin/main (06acdfa) docs/adr/ holds 0001–0013; the file exists only on the unmerged hermes/THE-52-npm-per-repo-accounts (20baf68), open as olympus/workshop#50. Read live: the cited URL answers http 404, while the neighbouring record 0013 answers 200. The section's authority — and the definition of the two account terms it uses throughout — is therefore not in force.
  2. The runbook script. "runbook 0001 in olympus/infra-forge, § One-time prerequisites, carries the script for both repositories." At olympus/infra-forge origin/main (10e5fee) that section (docs/runbooks/0001-deploy-and-rollback.md:385-394) is four bullets, carries no script, and still requires "The NPM user svc-tofu (admin)". The script arrives only in olympus/infra-forge#95, as ### The Edge's accounts, once (:401) under the same H2.

Neither prerequisite appears in this PR's ## Merge Danger, whose order is "infra-secrets, then this and infra-forge, after the ownership move" — no workshop, and nothing ordering infra-forge before this one. The sibling already states it: infra-forge#95's body ends "Merge order: the workshop ADR, then the accounts and the four store paths, then this pull request with infra-tracker's and infra-secrets' in the Operator's window."

Smallest clearing change: one sentence in ## Merge Danger naming the two prerequisite merges — olympus/workshop#50 (ADR-0014) and olympus/infra-forge#95 (the runbook's script) — ahead of this one. Nothing in the tree needs to move.

ADVISORY — the Merge Danger paragraph contradicts itself on whether the move runs before or after the merge

The body says "The order is infra-secrets, then this and infra-forge, after the ownership move", and then "Nothing changes at merge; the old credential keeps working until the move runs."

The runbook is unambiguous (§5.5: preconditions, then the window's SQL, then "The switch. Merge the three repo changes in this order") and §7 says why it matters: "merging them before the store paths exist would break make env for every actor". After this merges, make env reads secret/homelab/npm/tracker/manage; the old credential does not keep working for the Operator's fetch. Drop the second clause, or replace it with what does keep working — NPM keeps serving traffic under the old account until the window runs.

Verified

claim how
head is the dispatched revision git ls-remote origin refs/pull/52/head = 3a7c7d7…, fetched into refs/review/pr-52-r1; re-read after the review was drafted
make check → exit 0 ran mise exec -- make check at the head worktree: env.map: 17 names, all declared in .env.example; env-test: every assertion holds.; tofu fmt -check silent; three Stacks valid; pool.tftest.hcl … pass, edge.tftest.hcl … pass
git grep 'svc-tofu|homelab/npm/api' → no matches ran at head: both NO MATCH. tracker/manage appears exactly at .env.example:27, README.md:57, docs/reference/edge.md:44, env.map:51
the account matrix matches the spec page vs THE-52 runbook §2: manage = role User / visibility: user / manage on hosts and streams / view on certificates; check = visibility: all / view on all three. Matches
the certificate claim npm/main.tf:14-28 looks up through data "nginxproxymanager_certificates" "all" and yields -1; the -1 guard is npm/main.tf:51-55
the stack changes one site npm/edge.tfvars:4-9 declares vikunja.thepit.space only
the check account arrives as repo secrets .forgejo/workflows/checks.yaml:103-105 reads secrets.NGINXPROXYMANAGER_USERNAME / _PASSWORD
ADR-0014 link live: 404; control 0013: 200; git ls-tree origin/main docs/adr/ has no 0014; workshop#50 open at 20baf68
infra-forge runbook origin/main :385-394 carries no script and names svc-tofu; #95 head :401 carries the subsection and the script
no secret in the diff read all four files: path names and prose only, no values

Could not verify

  • The live NPM instance. The accounts do not exist yet (THE-52 runbook §7: "No account, no store write, no database write"). The page's permission and ownership claims are checked against the runbook's §2 matrix, not against a live GET /api/users.
  • make edge-plan / make edge end to end — both need the managing pair from secret/homelab/npm/tracker/manage, which the store does not hold yet (§7 again). That is this change's own stated precondition, not a defect in it.
  • CI at the head, read live: static green (10s), edge and guest skipped, execute pending. No red.

Named, not charged

  • .env.example:27 — "The provider reads the three together into npm/" predates this change; the URL is not part of the store row. Carried wording.
  • docs/reference/edge.md:59 — "The lookup sees only the certificates the Edge's account owns" is stated of the managing account, and the same section says the check account is visibility: all two paragraphs earlier, so the sentence is disambiguated where it stands.
  • THE-52's body still says a visibility: user account reads an existing edge state cleanly; runbook §2 corrects that ("The research note's row D read cleanly because that account owned the host it planned"). This PR follows the corrected matrix — the stale line is in the ticket, not the tree.
  • Charter. No escalation class is taken here. No ADR file is edited (one is cited). No CI gate moves: the workflow file, the required context names, the job names and the target each job runs are untouched — the change touches no file under .forgejo/. No destroy or replace is taken at merge: the ownership migration is the Operator's window in another repository's runbook, and nothing in this tree calls it. No literal secret in the diff.

Summary

axis findings worst
Standards 3 — 1 BLOCKER, 2 ADVISORY the check account placed on every pull request, when the Edge plan is push-only and skipped on PRs
Spec 2 — 1 BLOCKER, 1 ADVISORY both citations in the new section resolve to nothing on their main

The recommendation is fix on the two blockers; the advisory count plays no part in it. No code changes are needed: one clause, one sentence, one column, and the two body fields. Nothing else in the change needs to move before the next round.

<!-- minos review-loop: repo=olympus/infra-tracker pr=52 head=3a7c7d7331d736fa117303a55d52319f3360ae86 round=1/5 axes=standards,spec --> **olympus/infra-tracker#52** · head `3a7c7d7` · round **1/5** · spec `paperclip:THE-52` · verdict **REQUEST_CHANGES** Recommendation: fix Two blockers, both inside the new `## The account` section of `docs/reference/edge.md`: it names a CI trigger this repository does not have, and it rests on two records that are not on their `main` branches. The `env.map` row, the `.env.example` and `README` rows, and the account/permission matrix all match THE-52's runbook — this change is close; the fix is prose. ## Standards ### BLOCKER — the page puts the check account on every pull request; this repo's Edge plan runs on the push to main only `docs/reference/edge.md:38` > The plan job on every pull request holds the Tracker's **check account**, `svc-npm-tracker-ci` The `edge` job is gated `if: github.event_name == 'push'` (`.forgejo/workflows/checks.yaml:62`), and the status contexts at the reviewed head say it out loud: `checks / edge (pull_request)` — *"Has been skipped"* (run 68, job 1). `docs/adr/0004-test-state-outside-the-store-and-the-edge-gate.md:5-7` states the same in this repository's own words — "the Edge's plan now runs on the push to main rather than on the pull request" — and the floor pins it (`scripts/tests/run.sh:256`, *the workflow triggers on a push to main*). The second half of the sentence is right: the pair does arrive as repository secrets (`checks.yaml:103-105`), not a store read. Only the trigger is wrong, and it is the load-bearing half — a reader auditing "what does a pull request hold?" is told the PR plan holds a live NPM account, when on this repository a pull request holds none at all and the check account is exercised on a merge to `main`. **Smallest clearing change:** "on every push to main" in place of "on every pull request". ### ADVISORY — the PR body skips the two Merge Danger fields the repo's `pr` skill asks for `AGENTS.md:37-39` sends every body through `.agents/skills/pr/SKILL.md`, whose template (`:24-32`) asks for `**Door:**` and `**Blast Radius:**` under `## Merge Danger`. This body has neither; the siblings on this change (infra-forge#95, workshop#50) carry both. The door is worth stating here: the tree is two-way (revert the commit, re-`make env`), while the credential pointer it publishes is not. ### ADVISORY — `env.map:51` sits two columns right of every other row The file keeps its second column at 43; the changed row lands at 45 (measured over the non-comment rows: 43, 43, 43, 43, **45**, 43, 43). No functional effect — `make env-check` is green — just the column. ## Spec ### BLOCKER — both citations in the new section point at records that are not on their `main` `docs/reference/edge.md:42` and `docs/reference/edge.md:47-48` 1. **ADR-0014.** The link resolves to `…/olympus/workshop/src/branch/main/docs/adr/0014-an-edge-credential-belongs-to-one-repository.md`. At `olympus/workshop` `origin/main` (`06acdfa`) `docs/adr/` holds 0001–0013; the file exists only on the unmerged `hermes/THE-52-npm-per-repo-accounts` (`20baf68`), open as **olympus/workshop#50**. Read live: the cited URL answers **http 404**, while the neighbouring record 0013 answers 200. The section's authority — and the definition of the two account terms it uses throughout — is therefore not in force. 2. **The runbook script.** "runbook 0001 in `olympus/infra-forge`, § One-time prerequisites, carries the script for both repositories." At `olympus/infra-forge` `origin/main` (`10e5fee`) that section (`docs/runbooks/0001-deploy-and-rollback.md:385-394`) is four bullets, carries no script, and still requires "The NPM user `svc-tofu` (admin)". The script arrives only in **olympus/infra-forge#95**, as `### The Edge's accounts, once` (`:401`) under the same H2. Neither prerequisite appears in this PR's `## Merge Danger`, whose order is "infra-secrets, then this and infra-forge, after the ownership move" — no workshop, and nothing ordering infra-forge before this one. The sibling already states it: infra-forge#95's body ends "Merge order: the workshop ADR, then the accounts and the four store paths, then this pull request with infra-tracker's and infra-secrets' in the Operator's window." **Smallest clearing change:** one sentence in `## Merge Danger` naming the two prerequisite merges — `olympus/workshop#50` (ADR-0014) and `olympus/infra-forge#95` (the runbook's script) — ahead of this one. Nothing in the tree needs to move. ### ADVISORY — the Merge Danger paragraph contradicts itself on whether the move runs before or after the merge The body says "The order is infra-secrets, then this and infra-forge, **after the ownership move**", and then "**Nothing changes at merge**; the old credential keeps working until the move runs." The runbook is unambiguous (`§5.5`: preconditions, then the window's SQL, then "The switch. Merge the three repo changes in this order") and `§7` says why it matters: "merging them before the store paths exist would break `make env` for every actor". After this merges, `make env` reads `secret/homelab/npm/tracker/manage`; the old credential does not keep working for the Operator's fetch. Drop the second clause, or replace it with what does keep working — NPM keeps serving traffic under the old account until the window runs. ## Verified | claim | how | | --- | --- | | head is the dispatched revision | `git ls-remote origin refs/pull/52/head` = `3a7c7d7…`, fetched into `refs/review/pr-52-r1`; re-read after the review was drafted | | `make check` → exit 0 | ran `mise exec -- make check` at the head worktree: `env.map: 17 names, all declared in .env.example`; `env-test: every assertion holds.`; `tofu fmt -check` silent; three Stacks valid; `pool.tftest.hcl … pass`, `edge.tftest.hcl … pass` | | `git grep 'svc-tofu\|homelab/npm/api'` → no matches | ran at head: both NO MATCH. `tracker/manage` appears exactly at `.env.example:27`, `README.md:57`, `docs/reference/edge.md:44`, `env.map:51` | | the account matrix matches the spec | page vs THE-52 runbook §2: manage = role User / `visibility: user` / manage on hosts and streams / view on certificates; check = `visibility: all` / view on all three. Matches | | the certificate claim | `npm/main.tf:14-28` looks up through `data "nginxproxymanager_certificates" "all"` and yields `-1`; the `-1` guard is `npm/main.tf:51-55` | | the stack changes one site | `npm/edge.tfvars:4-9` declares `vikunja.thepit.space` only | | the check account arrives as repo secrets | `.forgejo/workflows/checks.yaml:103-105` reads `secrets.NGINXPROXYMANAGER_USERNAME` / `_PASSWORD` | | ADR-0014 link | live: 404; control 0013: 200; `git ls-tree origin/main docs/adr/` has no 0014; workshop#50 open at `20baf68` | | infra-forge runbook | `origin/main` `:385-394` carries no script and names `svc-tofu`; #95 head `:401` carries the subsection and the script | | no secret in the diff | read all four files: path names and prose only, no values | ## Could not verify - **The live NPM instance.** The accounts do not exist yet (THE-52 runbook §7: "No account, no store write, no database write"). The page's permission and ownership claims are checked against the runbook's §2 matrix, not against a live `GET /api/users`. - **`make edge-plan` / `make edge` end to end** — both need the managing pair from `secret/homelab/npm/tracker/manage`, which the store does not hold yet (§7 again). That is this change's own stated precondition, not a defect in it. - CI at the head, read live: `static` green (10s), `edge` and `guest` skipped, `execute` pending. No red. ## Named, not charged - `.env.example:27` — "The provider reads the three together into `npm/`" predates this change; the URL is not part of the store row. Carried wording. - `docs/reference/edge.md:59` — "The lookup sees only the certificates the Edge's account owns" is stated of the managing account, and the same section says the check account is `visibility: all` two paragraphs earlier, so the sentence is disambiguated where it stands. - THE-52's body still says a `visibility: user` account reads an existing edge state cleanly; runbook §2 corrects that ("The research note's row D read cleanly because that account owned the host it planned"). This PR follows the corrected matrix — the stale line is in the ticket, not the tree. - **Charter.** No escalation class is taken here. No ADR file is edited (one is cited). No CI gate moves: the workflow file, the required context names, the job names and the target each job runs are untouched — the change touches no file under `.forgejo/`. No destroy or replace is taken at merge: the ownership migration is the Operator's window in another repository's runbook, and nothing in this tree calls it. No literal secret in the diff. ## Summary | axis | findings | worst | | --- | --- | --- | | Standards | 3 — 1 BLOCKER, 2 ADVISORY | the check account placed on every pull request, when the Edge plan is push-only and skipped on PRs | | Spec | 2 — 1 BLOCKER, 1 ADVISORY | both citations in the new section resolve to nothing on their `main` | The recommendation is **fix** on the two blockers; the advisory count plays no part in it. No code changes are needed: one clause, one sentence, one column, and the two body fields. Nothing else in the change needs to move before the next round.
Member

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

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
docs: the Edge's check account is on the push, and its row sits in its column (THE-52)
All checks were successful
checks / static (pull_request) Successful in 9s
checks / edge (pull_request) Has been skipped
checks / guest (pull_request) Has been skipped
checks / execute (pull_request) Successful in 2m53s
0a2fde90be
`docs/reference/edge.md` placed the check account on every pull request, which
this repository never does: the `edge` job is gated `if: github.event_name ==
'push'`, so a pull request holds no NPM account at all and the check account is
exercised on a merge to `main`. The sentence now names the push and says a pull
request holds no NPM account at all, pointing at ADR-0004, the record that moved
the plan.

`env.map`'s new row put its second column at 45 where every other aligned row
keeps it at 43. No functional effect — `make env-check` reads tokens, not
columns — but the file's own register.

Verified: `mise exec -- make check`, rc 0.
Author
Owner

Review round 1 — both blockers fixed, both advisories taken

Head 0a2fde9.

finding disposition
BLOCKER — the check account is placed on every pull request, but the Edge job is gated to the push. The page now says the plan job runs on a push to main, and spells out that a pull request holds no NPM account at all, citing the repo's ADR-0004.
BLOCKER — both citations point at records that are not on their main. This body now names the two prerequisite merges — olympus/workshop#50 (ADR-0014) and olympus/infra-forge#95 (the runbook the page points at) — ahead of this one. The tree keeps the citations; they resolve in that order.
ADVISORY — the body lacks the repo's Door and Blast Radius fields. Added: two-way for the tree, one-way for the published credential pointer; blast radius the tracker's Edge.
ADVISORY — the env.map row sits two columns right. The row's second column is at 43, matching every other row.

No charter class is taken on this change, so the round can approve. Re-armed at this head.

Prose written by the Hermes agent.

Prose written by the Hermes agent.

## Review round 1 — both blockers fixed, both advisories taken Head `0a2fde9`. | finding | disposition | | --- | --- | | BLOCKER — the check account is placed on every pull request, but the Edge job is gated to the push. | The page now says the plan job runs on a push to `main`, and spells out that a pull request holds no NPM account at all, citing the repo's ADR-0004. | | BLOCKER — both citations point at records that are not on their `main`. | This body now names the two prerequisite merges — `olympus/workshop#50` (ADR-0014) and `olympus/infra-forge#95` (the runbook the page points at) — ahead of this one. The tree keeps the citations; they resolve in that order. | | ADVISORY — the body lacks the repo's Door and Blast Radius fields. | Added: two-way for the tree, one-way for the published credential pointer; blast radius the tracker's Edge. | | ADVISORY — the `env.map` row sits two columns right. | The row's second column is at 43, matching every other row. | No charter class is taken on this change, so the round can approve. Re-armed at this head. Prose written by the Hermes agent. Prose written by the Hermes agent.
Member

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

**Review started** (round 1/5) on 0a2fde90be1eb3157ce0b7d5d0f438299c1ca7f0 — reading the diff now.
Member

Round 1/5 — two blockers and three advisories, all cleared: one commit touching two files, the rest in this body.

The commit is 0a2fde9 on hermes/THE-52-npm-per-repo-accounts, a fast-forward on
3a7c7d7. The branch was untouched when I pushed and no sibling had moved it.

# finding axis disposition where
1 check account placed on every pull request (edge.md:38) Standards BLOCKER fixed 0a2fde9 — docs/reference/edge.md:38-45
2 both citations in the new section point at records not on their main Spec BLOCKER cleared in the body, tree untouched ## Merge Danger below
3 env.map:51 second column at 45, not 43 Standards advisory fixed 0a2fde9 — env.map:51
4 body skips **Door:** / **Blast Radius:** Standards advisory fixed PR body
5 ## Merge Danger contradicts itself on when the move runs Spec advisory fixed PR body

1 — the trigger

docs/reference/edge.md now opens the sentence "The plan job on every push to
main holds the Tracker's check account"
, and closes it "A pull request holds
no NPM account at all: the Edge's job is gated to the push"
with ADR-0004 behind
it. The rest of the sentence — the pair arriving as repository secrets, not a
store read, and not being the account make edge applies with — is unchanged,
because the finding says that half is right.

The red side, read live at the reviewed head rather than inherited:

GET /repos/olympus/infra-tracker/commits/3a7c7d7…/status
  checks / static (pull_request)   success   Successful in 10s
  checks / edge (pull_request)     success   Has been skipped     ← run 68, job 1
  checks / guest (pull_request)    success   Has been skipped
  checks / execute (pull_request)  success   Successful in 2m49s

2 — the citations

Both records are still where they were: olympus/workshop main holds ADR-0001
to ADR-0013 and the ADR-0014 link answers 404; olympus/infra-forge main's
runbook § One-time prerequisites carries no script. So I took the finding's own
clearing change and named the two prerequisite merges in ## Merge Danger:

Two merges come first:
olympus/workshop#50
carries ADR-0014, which the page cites for the split, and
olympus/infra-forge#95
carries the runbook script for the one-time ownership move.

The tree did not move, per "Nothing in the tree needs to move". I did not pin
the ADR link to a commit on workshop's unmerged branch: that is a tree change the
finding rules out, and this repository links org-wide ADRs at
src/branch/main/… everywhere (docs/agents/domain.md:8, docs/adr/index.md).
The 404 stands until olympus/workshop#50 merges — stated, not fixed here.

3, 4, 5 — the advisories

  • Column. The seven aligned rows now all put their second token at index 42
    (column 43): 43, 43, 43, 43, 45, 43, 43 → 43, 43, 43, 43, 43, 43, 43. The
    transitional/literal rows keep their own shape, which is the keyword first.
  • Door / Blast Radius. Both present under ## Merge Danger. The door is
    two-way for the tree — revert the commit, re-run make env — and one-way for
    the row it publishes, which is the point the advisory asked for.
  • The contradiction. "Nothing changes at merge; the old credential keeps
    working until the move runs"
    is gone, replaced with what does keep working:
    after the merge the fetch reads secret/homelab/npm/tracker/manage, and NPM
    keeps serving traffic under the old account until the ownership window runs.

Verification

Run on an archived copy of 0a2fde9 (git archive HEAD | tar -x, then
mise trust, then the floor with the store variables unset):

$ env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY \
    mise exec -- make check
  ok    env.map: 17 names, all declared in .env.example
env-test: every assertion holds.
Success! The configuration is valid.          (×3 — the three Stacks)
pool.tftest.hcl... pass
  run "the_test_guest_is_created_in_the_pre_pool"... pass
Success! 1 passed, 0 failed.
edge.tftest.hcl... pass
Success! 1 passed, 0 failed.
rc=0

CI at the pushed head, run 69 (0a2fde9), aggregate success —
checks / static (pull_request) 9s · checks / execute (pull_request) 2m53s ·
edge and guest Has been skipped, which is this repository's design for a
pull request and the very thing finding 1 was about. From static's log:

ok    env.map: 17 names, all declared in .env.example
env-test: every assertion holds.
Success! The configuration is valid.   ×3
pool.tftest.hcl... pass / edge.tftest.hcl... pass

and from execute's: vikunja : ok=27 changed=0 unreachable=0 failed=0, ending
test guest destroyed.

The page as served at the commit:

GET /olympus/infra-tracker/src/commit/0a2fde9/docs/reference/edge.md
  docs/reference/edge.md: sha256 d8538de9932a8429 match | tables=1 ragged=none
  href …/docs/adr/0004-test-state-outside-the-store-and-the-edge-gate.md → 200
  href …/olympus/workshop/src/branch/main/docs/adr/0014-… → 404

Named, not charged

  • The vocabulary scan (scripts/glossary-vocab-check.py) reads 11 collisions
    at the reviewed head and 11 at this head
    — no new one. The pull hit on the
    edited sentence is inherited (_Avoid_: pull belongs to the Fetch entry,
    and the sentence uses "pull request"), so I left the wording alone rather than
    reword a correct line to quiet the scan.
  • Nothing else in the tree carried the false trigger: grep -rn 'check account'
    finds env.map:49 (which names no trigger) and this page, and the PR body's
    Summary never made the claim.
  • I did not touch .env.example, README.md, npm/, or the workflow. Their
    rows match THE-52's runbook, as the review found.

Nothing here disagreed with the review, and nothing is left unfixed apart from
the two prerequisite merges this branch cannot perform.

Live state at hand-off, and what I did not write

  • I moved no label — the loop had already moved it, twice. When I read the
    set to swap it, pit had taken review/needs-fix → review/needs-review at
    15:06:16 and bot-minos had started the re-review at 15:06:29; a second swap
    would have fought a running review. It then went
    review/needs-review → review/merge-ready at 15:09:39 (org id 24).
  • The re-review finished at this head: review 604, APPROVED at
    15:09:36 — its header reads round 2/5 against this dispatch's round 1/5 — with
    0 blockers and 1 advisory. The round-1 review (598) now reads stale=true,
    dismissed=true against 3a7c7d7: superseded by the push, not withdrawn.
  • That advisory is cleared in the body, not the tree. It was that ## Merge Danger's "two prerequisite merges" omitted olympus/infra-secrets#52; the
    sentence now names all three. A body edit only — no commit, no push — so the
    approval stands on the head it was cast at.
  • The author session rewrote the PR body at 15:06, after my own body edit
    landed at 15:05. Their text keeps both halves this round needed — the two
    prerequisite merges (olympus/workshop#50, olympus/infra-forge#95) and the
    **Door:** / **Blast Radius:** fields — so I did not re-patch the body over
    their rewrite. What the diff above shows for the body is their wording; the
    sentence-level change to the tree is mine and is unchanged at the head.
<!-- fix-meta repo=olympus/infra-tracker pr=52 head=0a2fde90be1eb3157ce0b7d5d0f438299c1ca7f0 round=1/5 disposition=fixed --> **Round 1/5 — two blockers and three advisories, all cleared: one commit touching two files, the rest in this body.** The commit is `0a2fde9` on `hermes/THE-52-npm-per-repo-accounts`, a fast-forward on `3a7c7d7`. The branch was untouched when I pushed and no sibling had moved it. | # | finding | axis | disposition | where | | --- | --- | --- | --- | --- | | 1 | check account placed on every pull request (`edge.md:38`) | Standards BLOCKER | **fixed** | `0a2fde9` — `docs/reference/edge.md:38-45` | | 2 | both citations in the new section point at records not on their `main` | Spec BLOCKER | **cleared in the body, tree untouched** | `## Merge Danger` below | | 3 | `env.map:51` second column at 45, not 43 | Standards advisory | **fixed** | `0a2fde9` — `env.map:51` | | 4 | body skips `**Door:**` / `**Blast Radius:**` | Standards advisory | **fixed** | PR body | | 5 | `## Merge Danger` contradicts itself on when the move runs | Spec advisory | **fixed** | PR body | ## 1 — the trigger `docs/reference/edge.md` now opens the sentence *"The plan job on every push to main holds the Tracker's **check account**"*, and closes it *"A pull request holds no NPM account at all: the Edge's job is gated to the push"* with ADR-0004 behind it. The rest of the sentence — the pair arriving as repository secrets, not a store read, and not being the account `make edge` applies with — is unchanged, because the finding says that half is right. The red side, read live at the reviewed head rather than inherited: ``` GET /repos/olympus/infra-tracker/commits/3a7c7d7…/status checks / static (pull_request) success Successful in 10s checks / edge (pull_request) success Has been skipped ← run 68, job 1 checks / guest (pull_request) success Has been skipped checks / execute (pull_request) success Successful in 2m49s ``` ## 2 — the citations Both records are still where they were: `olympus/workshop` `main` holds ADR-0001 to ADR-0013 and the ADR-0014 link answers **404**; `olympus/infra-forge` `main`'s runbook § One-time prerequisites carries no script. So I took the finding's own clearing change and named the two prerequisite merges in `## Merge Danger`: > Two merges come first: > [`olympus/workshop#50`](https://forgejo.thepit.space/olympus/workshop/pulls/50) > carries ADR-0014, which the page cites for the split, and > [`olympus/infra-forge#95`](https://forgejo.thepit.space/olympus/infra-forge/pulls/95) > carries the runbook script for the one-time ownership move. The tree did not move, per *"Nothing in the tree needs to move"*. I did not pin the ADR link to a commit on workshop's unmerged branch: that is a tree change the finding rules out, and this repository links org-wide ADRs at `src/branch/main/…` everywhere (`docs/agents/domain.md:8`, `docs/adr/index.md`). **The 404 stands until `olympus/workshop#50` merges** — stated, not fixed here. ## 3, 4, 5 — the advisories - **Column.** The seven aligned rows now all put their second token at index 42 (column 43): `43, 43, 43, 43, 45, 43, 43` → `43, 43, 43, 43, 43, 43, 43`. The `transitional`/`literal` rows keep their own shape, which is the keyword first. - **Door / Blast Radius.** Both present under `## Merge Danger`. The door is two-way for the tree — revert the commit, re-run `make env` — and one-way for the row it publishes, which is the point the advisory asked for. - **The contradiction.** *"Nothing changes at merge; the old credential keeps working until the move runs"* is gone, replaced with what does keep working: after the merge the fetch reads `secret/homelab/npm/tracker/manage`, and NPM keeps serving traffic under the old account until the ownership window runs. ## Verification Run on an archived copy of `0a2fde9` (`git archive HEAD | tar -x`, then `mise trust`, then the floor with the store variables unset): ``` $ env -u PROXMOX_VE_API_TOKEN -u AWS_ACCESS_KEY_ID -u AWS_SECRET_ACCESS_KEY \ mise exec -- make check ok env.map: 17 names, all declared in .env.example env-test: every assertion holds. Success! The configuration is valid. (×3 — the three Stacks) pool.tftest.hcl... pass run "the_test_guest_is_created_in_the_pre_pool"... pass Success! 1 passed, 0 failed. edge.tftest.hcl... pass Success! 1 passed, 0 failed. rc=0 ``` CI at the pushed head, run **69** (`0a2fde9`), aggregate `success` — `checks / static (pull_request)` 9s · `checks / execute (pull_request)` 2m53s · `edge` and `guest` `Has been skipped`, which is this repository's design for a pull request and the very thing finding 1 was about. From `static`'s log: ``` ok env.map: 17 names, all declared in .env.example env-test: every assertion holds. Success! The configuration is valid. ×3 pool.tftest.hcl... pass / edge.tftest.hcl... pass ``` and from `execute`'s: `vikunja : ok=27 changed=0 unreachable=0 failed=0`, ending `test guest destroyed`. The page as served at the commit: ``` GET /olympus/infra-tracker/src/commit/0a2fde9/docs/reference/edge.md docs/reference/edge.md: sha256 d8538de9932a8429 match | tables=1 ragged=none href …/docs/adr/0004-test-state-outside-the-store-and-the-edge-gate.md → 200 href …/olympus/workshop/src/branch/main/docs/adr/0014-… → 404 ``` ## Named, not charged - The vocabulary scan (`scripts/glossary-vocab-check.py`) reads **11 collisions at the reviewed head and 11 at this head** — no new one. The `pull` hit on the edited sentence is inherited (`_Avoid_: pull` belongs to the **Fetch** entry, and the sentence uses "pull request"), so I left the wording alone rather than reword a correct line to quiet the scan. - Nothing else in the tree carried the false trigger: `grep -rn 'check account'` finds `env.map:49` (which names no trigger) and this page, and the PR body's Summary never made the claim. - I did not touch `.env.example`, `README.md`, `npm/`, or the workflow. Their rows match THE-52's runbook, as the review found. Nothing here disagreed with the review, and nothing is left unfixed apart from the two prerequisite merges this branch cannot perform. ## Live state at hand-off, and what I did not write - **I moved no label — the loop had already moved it, twice.** When I read the set to swap it, `pit` had taken `review/needs-fix` → `review/needs-review` at `15:06:16` and `bot-minos` had started the re-review at `15:06:29`; a second swap would have fought a running review. It then went `review/needs-review` → `review/merge-ready` at `15:09:39` (org id 24). - **The re-review finished at this head**: review `604`, `APPROVED` at `15:09:36` — its header reads round 2/5 against this dispatch's round 1/5 — with **0 blockers** and 1 advisory. The round-1 review (`598`) now reads `stale=true`, `dismissed=true` against `3a7c7d7`: superseded by the push, not withdrawn. - **That advisory is cleared in the body, not the tree.** It was that `## Merge Danger`'s "two prerequisite merges" omitted `olympus/infra-secrets#52`; the sentence now names all three. A body edit only — no commit, no push — so the approval stands on the head it was cast at. - **The author session rewrote the PR body at `15:06`**, after my own body edit landed at `15:05`. Their text keeps both halves this round needed — the two prerequisite merges (`olympus/workshop#50`, `olympus/infra-forge#95`) and the `**Door:**` / `**Blast Radius:**` fields — so I did not re-patch the body over their rewrite. What the diff above shows for the body is *their* wording; the sentence-level change to the tree is mine and is unchanged at the head.
bot-minos approved these changes 2026-11-11 15:09:36 +00:00
bot-minos left a comment

olympus/infra-tracker#52 · head 0a2fde9 · round 2/5 · spec paperclip:THE-52 · verdict APPROVE

The dispatch numbered this round 1/5; the thread already carries a posted review at 3a7c7d7, so the header counts that review plus one. (The sign-on comment carries the dispatch's number because it is posted before the review list is read.)

Recommendation: merge

Both round-1 blockers are cleared at this head, and both round-1 advisories were taken. The fix 0a2fde9 is 7 added and 4 removed lines in two files, every hunk mapping to a finding: no scope creep.

Standards

BLOCKER: none. ADVISORY: none.

Round 1's two advisories, re-checked:

advisory head
## Merge Danger lacked the repo's **Door:** / **Blast Radius:** fields (.agents/skills/pr/SKILL.md:24-32, via AGENTS.md:66) both present, and each states its one-way half
env.map:51 sat at column 45 column 43, matching every other data row (43-46, 55-56)

All four changed files read against AGENTS.md:35 §Environment and :66 §Pull requests, docs/agents/domain.md, docs/adr/0003–0005 and the pr skill: nothing else is charged.

Spec

ADVISORY — the body's prerequisite list names two merges; the runbook's switch orders three, and the third left the body when the fix rewrote Merge Danger

PR body, ## Merge Danger: "Two prerequisite merges: olympus/workshop#50 (ADR-0014, which the page cites) and olympus/infra-forge#95 (the runbook the page points at)."

THE-52's runbook §5.5 "The switch" (the ticket's runbook document, read live through the Paperclip API) orders three repository changes: (1) infra-secrets' policy — automation-runner.hcl gains the two …/manage paths — then (2) infra-forge and infra-tracker, then the make env re-fetch and the plans again. The body's own Evidence names olympus/infra-secrets#52 (open, head 6d0bbda, with bao/policies/automation-runner.hcl:66,70 carrying both new paths), and the sentence the fix replaced — "the order is infra-secrets, then this and infra-forge" — was the only place in the body that ordered it. "the four store paths must exist and the ownership move must have run first" covers the store writes (§5.3) and the owner column (§5.5), not the grant that lets the runner's deploy read secret/homelab/npm/tracker/manage.

Nothing in the tree is affected, and infra-secrets#52's own body says its change is additive and can land ahead of the env.map rows, so this is a reader-following-the-body hazard rather than a broken merge: an Operator sequencing from the body alone would land this one without the policy run.

Smallest clearing change: name the third PR in that sentence — "…and olympus/infra-secrets#52 (the runner's policy)" — or put back the one-line order.

Round 1's two blockers — resolved at this head

BLOCKER 1 — the check account placed on every pull request. docs/reference/edge.md:38-43 now reads "The plan job on every push to main holds the Tracker's check account … A pull request holds no NPM account at all: the Edge's job is gated to the push (ADR-0004)". Driven against the workflow and the record: .forgejo/workflows/checks.yaml:62 is if: github.event_name == 'push', under a push trigger scoped to branches: [main] (:24-28); the NPM pair is secrets.NGINXPROXYMANAGER_USERNAME / _PASSWORD (:104-105); no other job in the tree names NGINXPROXYMANAGER; docs/adr/0004-test-state-outside-the-store-and-the-edge-gate.md:5-8 states the same move. CI at the head agrees: checks / edge (pull_request) — "Has been skipped".

BLOCKER 2 — both citations pointed at records not on their main. Cleared in the form round 1 prescribed (the tree keeps the citations; ## Merge Danger names the prerequisite merges ahead of this one). I re-drove the sentence rather than taking it:

  • olympus/workshop#50 — open, head 17fd878; docs/adr/0014-an-edge-credential-belongs-to-one-repository.md exists at that head and is absent from origin/main (2badeae, records 0001–0013 only). It states the check/managing split and the self-promotion escalation the page defers to.
  • olympus/infra-forge#95 — open, head 7af580b; § One-time prerequisites at that head carries ### The Edge's accounts, once with the instance-wide ownership script, while origin/main (10e5fee) still carries the four bullets and svc-tofu.

The clearing change round 1 dictated is therefore true as published.

Spec coverage for this repository

THE-52 obligation head
docs that name secret/homelab/npm/api move (item 4) git grep -E 'svc-tofu|homelab/npm/api' → rc 1; tracker/manage exactly at .env.example:27, README.md:57, docs/reference/edge.md:47, env.map:51
the CI job reads the pair as secrets, not a store read (item 3) checks.yaml:103-105; the page says so at edge.md:40; the tracker's ci store path has no env.map row, per runbook §3
the account matrix matches the runbook (§2/§3) manage: User, visibility: user, manage on hosts+streams, view on certificates; check: visibility: all, view on all three. Term for term
make edge-plan / make edge read the managing pair from the store Makefile:173-181 (edge_stack_init → require_npm_creds after sourcing .env), fed by env.map:51

Verified

claim how
head is the dispatched revision git ls-remote origin refs/pull/52/head = 0a2fde9…, fetched into refs/review/pr-52-r2; re-read at 16:08 CET, still 0a2fde9
the round's delta merge-base --is-ancestor 3a7c7d7 HEAD → true; git diff 3a7c7d7 HEAD --stat = docs/reference/edge.md +7/−3, env.map +1/−1
mise exec -- make check → exit 0 ran at the head worktree: env.map: 17 names, all declared in .env.example, env-test: every assertion holds., tofu fmt -check silent, three Stacks valid (Success! The configuration is valid. ×3), pool.tftest.hcl … pass, edge.tftest.hcl … pass
no svc-tofu / homelab/npm/api left git grep -qE … → rc 1 (no match)
the page's push-gating checks.yaml:24-28,62,104-105; docs/adr/0004:5-8; commit status checks / edge (pull_request) skipped
the env.map column measured the second column of every non-comment row: 43, 43, 43, 43, 43, 43, 43
workshop#50 carries ADR-0014 and it is not on main git ls-tree --name-only origin/main docs/adr/ = 0001–0013; git show 17fd878:docs/adr/0014-… present; PR open at that head via the forge API
infra-forge#95 carries the runbook script git show 7af580b:docs/runbooks/0001-deploy-and-rollback.md § One-time prerequisites → ### The Edge's accounts, once + the ownership script; origin/main :385-394 unchanged
infra-secrets#52 declares the four paths PR open at head 6d0bbda; bao/policies/automation-runner.hcl:66,70; ci-tracker.hcl has no npm line
no secret in the diff read all four files: path names and prose only, no values
CI at the head static success (9 s), execute success (2 m 53 s), edge and guest skipped, nothing red

Could not verify

  • The live NPM instance. The accounts do not exist yet (THE-52 runbook §7: "No account, no store write, no database write"). The permission and ownership claims are checked against the runbook's measured §2 matrix, not against a live GET /api/users.
  • make edge-plan / make edge end to end. Both need the managing pair at secret/homelab/npm/tracker/manage, which the store does not hold yet. That is this change's own stated precondition, not a defect in it.
  • The ownership migration itself. It runs in the Operator's window, from infra-forge#95's runbook; nothing in this tree calls it.

Named, not charged

  • .env.example:27 — "The provider reads the three together into npm/" predates this change (round 1 named it too); the URL is a literal row, not part of the store record. Carried wording.
  • docs/reference/edge.md:62 — "The lookup sees only the certificates the Edge's account owns" is stated of the apply and disambiguated two clauses later ("must belong to the managing account"). The CI account's visibility: all read is stated at :38-40. No charge.
  • docs/adr/0004:55-57 — the record's Decision section still says the edge job plans "on every pull request"; its Status line (:5-8) records the move to the push, which is what the page cites. Pre-existing in the ADR, untouched by this diff.
  • Charter. No escalation class is taken: no destroy or replace (the inventory is a DB write in another repository's runbook, nothing here calls it), no tier-1 config touched, no ADR file edited (one is cited), no secret in the diff. The CI gate's four parts are unmoved — the diff touches no file under .forgejo/, so the workflow file, the required context names, the job names and the targets each job runs all stand as they were.

Summary

axis findings worst
Standards 0 —
Spec 1 — ADVISORY the body's "two prerequisite merges" omits infra-secrets#52, which the runbook's switch orders first

Zero blockers, one advisory: the recommendation is merge, and the advisory count plays no part in the state. One clause in the PR body clears the advisory; nothing in the tree needs to move before the next round.

<!-- minos review-loop: repo=olympus/infra-tracker pr=52 head=0a2fde90be1eb3157ce0b7d5d0f438299c1ca7f0 round=2/5 axes=standards,spec --> **olympus/infra-tracker#52** · head `0a2fde9` · round **2/5** · spec `paperclip:THE-52` · verdict **APPROVE** The dispatch numbered this round 1/5; the thread already carries a posted review at `3a7c7d7`, so the header counts that review plus one. (The sign-on comment carries the dispatch's number because it is posted before the review list is read.) Recommendation: merge Both round-1 blockers are cleared at this head, and both round-1 advisories were taken. The fix `0a2fde9` is 7 added and 4 removed lines in two files, every hunk mapping to a finding: no scope creep. ## Standards BLOCKER: none. ADVISORY: none. Round 1's two advisories, re-checked: | advisory | head | | --- | --- | | `## Merge Danger` lacked the repo's `**Door:**` / `**Blast Radius:**` fields (`.agents/skills/pr/SKILL.md:24-32`, via `AGENTS.md:66`) | both present, and each states its one-way half | | `env.map:51` sat at column 45 | column 43, matching every other data row (43-46, 55-56) | All four changed files read against `AGENTS.md:35` §Environment and `:66` §Pull requests, `docs/agents/domain.md`, `docs/adr/0003`–`0005` and the `pr` skill: nothing else is charged. ## Spec ### ADVISORY — the body's prerequisite list names two merges; the runbook's switch orders three, and the third left the body when the fix rewrote Merge Danger PR body, `## Merge Danger`: "Two prerequisite merges: `olympus/workshop#50` (ADR-0014, which the page cites) and `olympus/infra-forge#95` (the runbook the page points at)." THE-52's runbook §5.5 "The switch" (the ticket's `runbook` document, read live through the Paperclip API) orders three repository changes: (1) `infra-secrets`' policy — `automation-runner.hcl` gains the two `…/manage` paths — then (2) `infra-forge` and `infra-tracker`, then the `make env` re-fetch and the plans again. The body's own Evidence names `olympus/infra-secrets#52` (open, head `6d0bbda`, with `bao/policies/automation-runner.hcl:66,70` carrying both new paths), and the sentence the fix replaced — "the order is infra-secrets, then this and infra-forge" — was the only place in the body that ordered it. "the four store paths must exist and the ownership move must have run first" covers the store writes (§5.3) and the owner column (§5.5), not the grant that lets the runner's deploy read `secret/homelab/npm/tracker/manage`. Nothing in the tree is affected, and infra-secrets#52's own body says its change is additive and can land ahead of the `env.map` rows, so this is a reader-following-the-body hazard rather than a broken merge: an Operator sequencing from the body alone would land this one without the policy run. **Smallest clearing change:** name the third PR in that sentence — "…and `olympus/infra-secrets#52` (the runner's policy)" — or put back the one-line order. ### Round 1's two blockers — resolved at this head **BLOCKER 1 — the check account placed on every pull request.** `docs/reference/edge.md:38-43` now reads "The plan job on every push to main holds the Tracker's **check account** … A pull request holds no NPM account at all: the Edge's job is gated to the push ([ADR-0004](…))". Driven against the workflow and the record: `.forgejo/workflows/checks.yaml:62` is `if: github.event_name == 'push'`, under a push trigger scoped to `branches: [main]` (`:24-28`); the NPM pair is `secrets.NGINXPROXYMANAGER_USERNAME` / `_PASSWORD` (`:104-105`); no other job in the tree names `NGINXPROXYMANAGER`; `docs/adr/0004-test-state-outside-the-store-and-the-edge-gate.md:5-8` states the same move. CI at the head agrees: `checks / edge (pull_request)` — "Has been skipped". **BLOCKER 2 — both citations pointed at records not on their `main`.** Cleared in the form round 1 prescribed (the tree keeps the citations; `## Merge Danger` names the prerequisite merges ahead of this one). I re-drove the sentence rather than taking it: - `olympus/workshop#50` — open, head `17fd878`; `docs/adr/0014-an-edge-credential-belongs-to-one-repository.md` exists at that head and is absent from `origin/main` (`2badeae`, records 0001–0013 only). It states the check/managing split and the self-promotion escalation the page defers to. - `olympus/infra-forge#95` — open, head `7af580b`; `§ One-time prerequisites` at that head carries `### The Edge's accounts, once` with the instance-wide ownership script, while `origin/main` (`10e5fee`) still carries the four bullets and `svc-tofu`. The clearing change round 1 dictated is therefore true as published. ### Spec coverage for this repository | THE-52 obligation | head | | --- | --- | | docs that name `secret/homelab/npm/api` move (item 4) | `git grep -E 'svc-tofu\|homelab/npm/api'` → rc 1; `tracker/manage` exactly at `.env.example:27`, `README.md:57`, `docs/reference/edge.md:47`, `env.map:51` | | the CI job reads the pair as secrets, not a store read (item 3) | `checks.yaml:103-105`; the page says so at `edge.md:40`; the tracker's `ci` store path has no `env.map` row, per runbook §3 | | the account matrix matches the runbook (§2/§3) | manage: `User`, `visibility: user`, manage on hosts+streams, view on certificates; check: `visibility: all`, view on all three. Term for term | | `make edge-plan` / `make edge` read the managing pair from the store | `Makefile:173-181` (`edge_stack_init` → `require_npm_creds` after sourcing `.env`), fed by `env.map:51` | ## Verified | claim | how | | --- | --- | | head is the dispatched revision | `git ls-remote origin refs/pull/52/head` = `0a2fde9…`, fetched into `refs/review/pr-52-r2`; re-read at 16:08 CET, still `0a2fde9` | | the round's delta | `merge-base --is-ancestor 3a7c7d7 HEAD` → true; `git diff 3a7c7d7 HEAD --stat` = `docs/reference/edge.md` +7/−3, `env.map` +1/−1 | | `mise exec -- make check` → exit 0 | ran at the head worktree: `env.map: 17 names, all declared in .env.example`, `env-test: every assertion holds.`, `tofu fmt -check` silent, three Stacks valid (`Success! The configuration is valid.` ×3), `pool.tftest.hcl … pass`, `edge.tftest.hcl … pass` | | no `svc-tofu` / `homelab/npm/api` left | `git grep -qE …` → rc 1 (no match) | | the page's push-gating | `checks.yaml:24-28,62,104-105`; `docs/adr/0004:5-8`; commit status `checks / edge (pull_request)` skipped | | the env.map column | measured the second column of every non-comment row: 43, 43, 43, 43, **43**, 43, 43 | | workshop#50 carries ADR-0014 and it is not on `main` | `git ls-tree --name-only origin/main docs/adr/` = 0001–0013; `git show 17fd878:docs/adr/0014-…` present; PR open at that head via the forge API | | infra-forge#95 carries the runbook script | `git show 7af580b:docs/runbooks/0001-deploy-and-rollback.md` § One-time prerequisites → `### The Edge's accounts, once` + the ownership script; `origin/main` `:385-394` unchanged | | infra-secrets#52 declares the four paths | PR open at head `6d0bbda`; `bao/policies/automation-runner.hcl:66,70`; `ci-tracker.hcl` has no npm line | | no secret in the diff | read all four files: path names and prose only, no values | | CI at the head | `static` success (9 s), `execute` success (2 m 53 s), `edge` and `guest` skipped, nothing red | ## Could not verify - **The live NPM instance.** The accounts do not exist yet (THE-52 runbook §7: "No account, no store write, no database write"). The permission and ownership claims are checked against the runbook's measured §2 matrix, not against a live `GET /api/users`. - **`make edge-plan` / `make edge` end to end.** Both need the managing pair at `secret/homelab/npm/tracker/manage`, which the store does not hold yet. That is this change's own stated precondition, not a defect in it. - **The ownership migration itself.** It runs in the Operator's window, from infra-forge#95's runbook; nothing in this tree calls it. ## Named, not charged - `.env.example:27` — "The provider reads the three together into `npm/`" predates this change (round 1 named it too); the URL is a literal row, not part of the store record. Carried wording. - `docs/reference/edge.md:62` — "The lookup sees only the certificates the Edge's account owns" is stated of the apply and disambiguated two clauses later ("must belong to the managing account"). The CI account's `visibility: all` read is stated at `:38-40`. No charge. - `docs/adr/0004:55-57` — the record's Decision section still says the `edge` job plans "on every pull request"; its Status line (`:5-8`) records the move to the push, which is what the page cites. Pre-existing in the ADR, untouched by this diff. - **Charter.** No escalation class is taken: no destroy or replace (the inventory is a DB write in another repository's runbook, nothing here calls it), no tier-1 config touched, no ADR file edited (one is cited), no secret in the diff. The CI gate's four parts are unmoved — the diff touches no file under `.forgejo/`, so the workflow file, the required context names, the job names and the targets each job runs all stand as they were. ## Summary | axis | findings | worst | | --- | --- | --- | | Standards | 0 | — | | Spec | 1 — ADVISORY | the body's "two prerequisite merges" omits `infra-secrets#52`, which the runbook's switch orders first | Zero blockers, one advisory: the recommendation is **merge**, and the advisory count plays no part in the state. One clause in the PR body clears the advisory; nothing in the tree needs to move before the next round.
pit merged commit 55d7cc0dcb into main 2026-11-11 15:18:43 +00:00
pit deleted branch hermes/THE-52-npm-per-repo-accounts 2026-11-11 15:18:43 +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!52
No description provided.