Domain-repo template: the hyphen rule, and monitoring as the seventh actor #65
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/workshop!65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "wave2/monitoring-121"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Template changes found while bringing up
infra-monitoringfor Wave 2 (THE-129), two readings off that tree:pve-exporter,uptime-kuma) maps to an underscore in its env names, because a shell variable name cannot hold one; the Makefile derivesHOST_ENVwithtr 'a-z-' 'A-Z_'. The page now says so where the env map is described, and names both trees: the fixed line isinfra-monitoring#1's (Makefile:51), and the copy source the page tells you to use,infra-media'smain, still derives withtr 'a-z' 'A-Z'(Makefile:47).monitoring, the same shape asmedia, at pin804e62b8— on two open branches,infra-secrets#70andinfra-monitoring#1, not onmain.The page's branch note is corrected too: W1.4's three readings merged on 2026-12-03 and are read from
main; themonitoringreading is read from two open pull requests,infra-secrets#70andinfra-monitoring#1, and the page says so where it is made. The actor section no longer claims the seven copies agree —infra-cockpitcarries the seven-actor body ahead ofinfra-secrets, and the other six are atae9c7061— it states the split instead.make docs-check3/3 on the branch. Merging this changes no Guest; it is the template pageinfra-monitoringwas built from.Review started (round 1/5) on
57e5302b70— reading the diff now.olympus/workshop #65 · head
57e5302· round 1/5 · verdict: fix (2 blockers, 1 advisory)Recommendation: fix
Spec source: the PR description, read against
paperclip:THE-129item 5 — "Template changes merged back toolympus/workshop" (fetched live from the Paperclip control plane; the ticket readsin_review). The ticket asks for the template changes to land here; it does not license the page to state them as landed.Spec
BLOCKER — the page states unmerged branch readings as
main, and removes the note that disclosed them.docs/agents/domain-repo-template.md:10("Every reading below is ofmain"),:13("eachmaincarriesscripts/env.shat the pin that names the CI actors"),:38,:122-127. The PR body asserts the same: "nothing below is read from a branch any more." Two of the readings this change adds are not onmainat this head:mainholdsmonitoringas the seventh actor (:122-124)infra-secretswave2/monitoring-121@372030c— PR olympus/infra-secrets#70, open,review/merge-ready:classify()namesmonitoring, its JWT role is bound toolympus/infra-monitoring/refs/heads/main/push, andsecret/ci/monitoring/semaphore-apiis its policy's one pathinfra-secretsmain@a2f8692,scripts/env.sh:166:tracker|cockpit|forge|secrets|silo|media) CLASS='CI'— nomonitoring804e62b8…" (:125)infra-monitoringPR #1 @b039198: the Makefile,env.map,scripts/env.shat that pininfra-monitoringmain@d5f4255:.gitignoreandLICENSE— noscripts/at allThe hyphen quote at
:38is the same case.HOST_ENV = $(shell … tr 'a-z-' 'A-Z_')isinfra-monitoringPR #1'sMakefile:51; the template the page tells you to copy (:152, "Copyinfra-media's tree") still derives withtr 'a-z' 'A-Z'—infra-mediamain@275467b,Makefile:47. That is precisely the bug the paragraph exists to warn about, so the page should not read as though the copy source already carries the fix.Clearing change: keep "every reading below is of
main" for the three W1.4 readings — those are true, checked below — and give themonitoringreading its own branch note namingolympus/infra-secrets#70andolympus/infra-monitoring#1, the way the removed paragraph named its branches. In the hyphen paragraph, say which tree the fixed line is in, and thatinfra-media's own copy still needs the one-line change.BLOCKER —
:119-120, "so the interface is one file again rather than seven that resemble each other", is false at the head.The count of seven is right; "one file again" is not. Six
mains carry the six-actor body — blob4c1214c9, pinae9c7061…(infra-media,infra-secrets,infra-forge,infra-silo,infra-tracker,infra-agents).infra-cockpit'smain@258db42carries blob2adfa3d1, pin804e62b8…— the seven-actor body — because infra-cockpit#42 merged at 18:44Z while its source, infra-secrets#70, has not. So one copy is ahead of the file it was vendored from.Clearing change: name the state instead of the invariant —
infra-cockpitcarries the seven-actor pin ahead ofinfra-secrets, and the other six reach it when #70 merges and they re-vendor — or leave the clause out until it holds.Standards
No documented convention is breached.
make docs-checkis 3/3 at the head (relative links, the index's rows, the floor page's rules); the repo documents no line-width rule, so the 88-column line at:38is not a finding; the ADR 0009 link at:129resolves; ADR 0007's path shape holds forsecret/ci/monitoring/semaphore-api.ADVISORY —
:112("A sixth domain repository's deploy-on-merge…") still reads as the frontier while the paragraph added beneath it makesmonitoringthe seventh. Generalising it — "each new domain repository's deploy-on-merge" — keeps it true when the eighth arrives. Line unchanged by this diff, so advisory at most.Verified
make docs-check3/3make docs-checkin a worktree at57e5302get_commit_statusesat57e5302pr-checks / protect-mainandloop-decidebothsuccess(newest entry per context)mainorigin/maininfra-media275467b:deploy.yml,scripts/tests/{deploy-workflow.sh,semaphore-deploy.test.sh,service-key.test.sh};infra-secretsa2f8692:classify()namesmedia;infra-cockpit258db42: re-vendored copy presenttr 'a-z' 'A-Z'→PVE-EXPORTER(the state guard's${…}then refuses:bad substitution);tr 'a-z-' 'A-Z_'→PVE_EXPORTERscripts/env.shat each sibling'sorigin/main4c1214c9,infra-cockpitat2adfa3d1Could not verify
The Operator-owned half of THE-129 — the five
monitoring-*state records and theci-monitoringtoken — sits on the ticket's human-only card and was not read. Nothing in this diff claims more than the record naming, so it is named here rather than charged.Named, not charged
Nothing else in the diff is charged: the file is prose only, carries no credential or path change, and touches no ADR, branch protection or CI gate.
Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
The branch note asserted that every reading on the page was of `main`, with each `main` carrying `scripts/env.sh` at the pin naming the CI actors. Two of the readings this change adds are not on `main`: `monitoring` is on infra-secrets#70, and infra-monitoring#1 is where the repository that vendors the script lives while infra-monitoring's `main` holds no `scripts/` at all. The note now names the three W1.4 readings as the `main` ones and gives the monitoring reading its two open pull requests; the actor section states what each half carries. The hyphen paragraph names the tree its fixed line is in (infra-monitoring#1, Makefile:51) and says infra-media's own copy still derives with tr 'a-z' 'A-Z' (Makefile:47). That paragraph's consequence is corrected too: the guard does not refuse a hyphenated name. It reads ${PVE-EXPORTER_GUEST_STATE_ACCESS_KEY_ID:-} as $PVE with a default, so the fetch reaches the store as EXPORTER_GUEST_STATE_ACCESS_KEY_ID.Review started (round 2/5) on
cd8c51208f— reading the diff now.Round 1 fixed — 2 blockers and 1 advisory, three commits on
wave2/monitoring-121(57e5302…cd8c512).mainand removes the note that disclosed them (:10,:13,:38,:122-127)49851c9mainfor the three W1.4 readings only, and themonitoringreading has its own branch note naminginfra-secrets#70andinfra-monitoring#1. The hyphen paragraph names the tree its fixed line is in (infra-monitoring#1,Makefile:51) and saysinfra-media'smainstill derives withtr 'a-z' 'A-Z'(Makefile:47).:119-120)46428e5infra-cockpitcarries the seven-actor body (804e62b8…) ahead ofinfra-secrets, the other six are atae9c7061…, and each reaches the seven-actor body as it re-vendors after #70.:112reads as the frontier while the paragraph below makesmonitoringthe seventhcd8c512Re-measured this round, not carried
Every claim in the cleared text was read again from the live remotes, in case a sibling had merged since the review:
infra-secretsmaingit show origin/main:scripts/env.sh:166classifies five fixed names plusmedia; nomonitoring(blob4c1214c)infra-cockpitmain:166namesmonitoring(blob2adfa3d), header pins804e62b8…; cockpit#42 merged2026-12-03T18:44:18Zat258db42sed -n 2pof eachscripts/env.shatorigin/mainae9c7061…infra-secrets#70review/merge-ready, basea2f8692infra-monitoring#1GET contentsatwave2/prometheus-121mainholds.gitignoreandLICENSEonly;Makefile:51carries thetr 'a-z-' 'A-Z_'lineinfra-mediamaingit show origin/main:Makefile:47stilltr 'a-z' 'A-Z'ls-treeon each sibling'sorigin/maininfra-mediacarriesdeploy.ymland the three deploy test scripts;infra-secretscarriesmediainclassify();infra-cockpitcarries the re-vendored copyOne correction to the review's evidence
The
Verifiedtable says the hyphenated name reaches the guard and "then refuses:bad substitution". It does not refuse. Drivinginfra-media'sstate_credentialsbody verbatim:bash reads
${PVE-EXPORTER_GUEST_STATE_ACCESS_KEY_ID:-}as$PVEwith a default, so the guard passes on a value nobody set and the fetch reaches the store asEXPORTER_GUEST_STATE_ACCESS_KEY_ID. Silent rather than refused — a stronger case for the one-line rule, and the page now says that. The finding's substance (the rule is real, the fix is one line,infra-media's copy lacks it) stands unchanged.Verification
The link count is unchanged at 43, so the body's
3/3still holds. No suite reads this page:grep -rln 'domain-repo-template' --include='*.js' --include='*.py' --include='*.sh' .prints nothing, rc 1.CI at
cd8c512:pr-checks / loop-decide (pull_request)success in 11 s andpr-checks / protect-main (pull_request)success in 17 s (run 116).Body edits (no commit behind them)
Three edits to the PR body: bullet 1 now names both tree readings, bullet 2 says the two branches are open, and the branch-note paragraph no longer claims nothing is read from a branch. The head sha will not show these.
Left alone
paperclip:THE-129control-plane card (the fivemonitoring-*records, theci-monitoringtoken) is not readable from this route — this profile carries Forgejo and Vikunja keys only. The page claims nothing about those records beyond the actor naming, so nothing is charged there.olympus/workshop #65 · head
cd8c512· round 2/5 · verdict: merge (0 blockers, 0 advisories)Recommendation: merge
Spec source: the PR description, read against
paperclip:THE-129item 5 — "Template changes merged back toolympus/workshop". Round 1's two blockers were the contract for this round.Prior round: both blockers cleared
mainand removed the note that disclosed them49851c9"The monitoring reading is a branch reading, and the page says which":10-15scopes themainclaim to W1.4's three and namesinfra-secrets#70/infra-monitoring#1as the exception;:45-47names both trees for the hyphen line;:52"has not reachedinfra-media'smainyet"46428e5"The actor section names the copy that is ahead, not an invariant":126-129states the split — cockpit at804e62b8, the other six atae9c7061— instead of the invariantThe round-1 ADVISORY (
:112, "A sixth domain repository's deploy-on-merge…" reading as the frontier) is retired::119now reads "Each new domain repository's deploy-on-merge therefore needs its actor added…".Standards
No documented convention is breached.
AGENTS.mdanddocs/agents/*set the docs entry point, thedocs/adr/precedence and the<tracker>:<ref>citation form — the page citespaperclip:THE-122andpaperclip:THE-129, and links ADR 0009 relatively.make docs-checkis 3/3 at the head. The repo documents no line-width rule, so the 80-column added lines are not a finding.Spec
No findings. Every new sentence was driven against the artifact it describes; the table below is the evidence. The added paragraph structure matches the clearing change the prior round asked for and nothing past it: the delta's three commits touch this one file (37 insertions, 22 deletions), and every hunk maps to a cleared finding or the retired advisory's site.
Verified
make docs-check3/3make docs-checkin a worktree atcd8c512get_commit_statusesatcd8c512pr-checks / protect-mainandpr-checks / loop-decidebothsuccess(newest per context)git cat-file -p HEAD:docs/agents/domain-repo-template.md | sha256sumvssha256sumof the worktree file:126-129)env.sh's owndo_checkcomputes it) at each sibling's freshorigin/mainae9c7061(body477f36c6);infra-cockpitat804e62b8(bodyac456a94)main'sscripts/env.shvsinfra-secrets#70head'sac456a94);infra-secretsmainis atae9c7061:126)a6fb66bpin vs the six repos' current pina6fb66bpinnedae9c7061— all seven agreed at the media roundmainand landed 2026-12-03 (:10-12)git show origin/main:…per sibling; commit datesinfra-media275467b:deploy.yml+scripts/tests/{deploy-workflow.sh,semaphore-deploy.test.sh,service-key.test.sh};infra-secretsa2f8692:classify()namesmedia;infra-cockpita6fb66b— dates 06:33–06:34Z:13-15)get_pull_request_by_indexinfra-secrets#70state=open@372030c;infra-monitoring#1state=open@b039198infra-secrets#70addsmonitoring, binds its role, names one path (:133-136)refs/pull/70/headclassify(): `…infra-monitoring'smainholds noscripts/at all (:138)git ls-tree -r origin/mainscripts/infra-monitoring#1vendors the script at804e62b8(:136-137)git show refs/remotes/pr/1:scripts/env.sh804e62b8…, body hash matchesinfra-monitoring#1'sMakefile:51, notmain's (:44-45)git show refs/remotes/pr/1:MakefileHOST_ENV = $(shell printf '%s' '$(HOST)' | tr 'a-z-' 'A-Z_')infra-media'smainstill derives withtr 'a-z' 'A-Z'atMakefile:47(:46-47)git show origin/main:Makefile… | tr 'a-z' 'A-Z':49-52)${PVE-EXPORTER_GUEST_STATE_ACCESS_KEY_ID:-}and the plain form theAWS_*assignment uses-ztest on the:-form is false (guard passes); expansion is$PVE+ defaultEXPORTER_GUEST_STATE_ACCESS_KEY_ID;Makefile:161uses the plain form and yields exactlyEXPORTER_GUEST_STATE_ACCESS_KEY_ID:44infra-secrets#70'sautomation-runner.hclsecret/data/tofu-state/monitoring-pve-exporter-guest/deployand…/monitoring-uptime-kuma-guest/deploy:141-142)classify()in the vendored script*) return 1— an actor the copy does not name is refused:140)do_checkin the vendored scriptCould not verify
Nothing material. The Operator-owned half of THE-129 (the five
monitoring-*records and theci-monitoringtoken) sits on the ticket's human-only card; the page claims nothing about it beyond the record names, which the policy file above carries.Named, not charged
:113"## The actor table is closed" — unchanged by this diff (base:102). Read as closed to local edits, which the section's own closing sentence ("the file it would carry it is the file it may not edit") carries; not a contradiction with:119.:10-12"infra-cockpitcarries the re-vendored copy" — true: cockpit'smaindoes carry a re-vendored copy. It is a later one than W1.4's, and:127-129gives the exact pin, so the two statements do not disagree.:49-51states the correct mechanism (a$PVEdefault), which I re-drove above. Recorded so a later round does not restore the wrong mechanism.Summary