docs: the three guides, rebuild, break-glass and hosts (THE-66) #7
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/infra-agents!7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/the66-guides"
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?
The three guides: rebuild, break-glass and hosts
Documentation only:
docs/rebuild.md,docs/break-glass.md,docs/hosts.mdand oneREADME.mdsentence. No Stack, no role, no code. Addresses THE-66, Annex B #6 of the accepted design on THE-60.rebuild.mdbreak-glass.mdpct exec,pct enter), four ordered reads per host, what a store outage stops on each host, what a hand edit costs, what not to do, and the symptoms that mean a rebuild.hosts.mdREADME.mdrebuild.mdandbreak-glass.mdstubs.Evidence
make checkon the branch head: rc 0, 84 ok, 0 FAIL, the same asmain.break-glass.md: the two read blocks were extracted from the page and run verbatim against live 135 and 153, reads only. The starts and the door's fetch were not run, because each changes a live Guest; the page says so in its last table.rebuild.md: 153's whole sequence ran on a throwaway pair in theprepool. Pass 1 stopped at the refusal in 43 s, the restore reproduced the fingerprint, pass 2 started the unit in 41 s and health answered 200. 135's sequence could not be rehearsed past its reads without a second copy of the fleet's tokens or a real replacement. The page's What a rehearsal covers table says what ran, what did not, and the check that proves each in the W3 window.Merge danger
A merge to
mainstarts the deploy template, as every merge does. This PR changes only documentation, so it adds nothing for the deploy to apply.Left for the board
AGENTS.mdstill saysrebuild.mdandbreak-glass.md"say what they will carry until THE-66 writes them". The edit was refused by the agent-instruction-file guard, so it is not in this PR. The sentence at the end of the Docs paragraph is the one to delete.Review started (round 1/5) on
4989a0c502— reading the diff now.olympus/infra-agents #7 · reviewed head
4989a0c502· round 1/5 · axes standards, spec · verdict fixRecommendation: fix
Verdict: request changes. One blocker, in
docs/break-glass.md, the store-outage remedy. Its fetch command names a path that does not exist on 135 today. The clearing edit is one paragraph. The rest of the PR checks out against the repo, the live hosts and the pinned release.Blocker
docs/break-glass.md:124,:127-128/usr/local/lib/hermes/mcp-env.sh fetch. The sentence under it says that script is "the one the firstExecStartPreline in read 3 names". Both are false on the host this page is for, as it stands today./usr/local/lib/hermes/does not exist.systemctl --user cat hermes-gateway.serviceshowsExecStartPre=-/home/hermes/repos/infra-secrets/host/hermes/mcp-env.sh fetch. The drop-in10-mcp-env.confstill carries that path and was last written Nov 11 19:16. The role writes that file on every deploy, so no deploy has reached the door task since the role merged (#3, 14 Nov). The PR's own "What was run" row (:181) says this fetch was not run.Clearing change: in
break-glass.md, make the command and the sentence name the path the host's own read 3 shows. On 135 as it stands that is/home/hermes/repos/infra-secrets/host/hermes/mcp-env.sh./usr/local/lib/hermes/mcp-env.shis the path once the role's door is deployed, which rebuild pass 1 does.rebuild.mdstep 4a is correct as written, because pass 1 installs the door before its refusal. Only the break-glass page is affected.Advisories (2; below the volume threshold, so the verdict turns on S1)
docs/rebuild.md:473,docs/hosts.md:187-188scripts/agents-idle.sh:55proceeds whenPAPERCLIP_API_KEYis empty. The runner row is commented out atenv.map:60, somake env ACTOR=runnernever fills the key. The pages should say the wait is not live until that row lands.AGENTS.md:58-59rebuild.mdandbreak-glass.md"say what they will carry until THE-66 writes them". After this merges that is false. The author disclosed it, and the edit was refused by the agent-instruction guard, so the board clears it.AGENTS.mdat4989a0cstandards:
AGENTS.md(head), andolympus/workshopdocs/adr/read atorigin/main(ADR-0010, 0011, 0015 match the citations). NoCONTRIBUTING.mdorcoding-standards.mdin this repo.Nits (advice, not counted)
docs/rebuild.md:321-322~/.hermesexcept caches and runtime state" under-describes the exclusions.hermes_cli/backup.py:72-94also dropsbackups/,checkpoints/,browser-profiles/and thehermes-agent/checkout. Nothing the procedure needs is in that list.docs/rebuild.md:114,:516vzdump-lxc-153-2026_11_15-05_42_14.tar.zst).Named, not charged
docs/deploy.mdalready runs past 80 columns.make verifygateway check accepts 200, 401 or 404 (Makefile:372-375). The live run returned 404 and passed. This is pre-existing and not in the diff.pre: 9153 (link_down=1, restored from the prod archive) and 9253 (network up, fresh build). Rebuild step 7 covers 9153. Nothing covers 9253.in_review, with a Board "Pending request confirmation" hold since 05:56:38Z. That is ticket state, not a PR finding.Verified, and how
make checkrc 0, 84 ok, 0 FAILmise exec -- make checkin the head worktree; 0 FAIL linesmake verifypassesmake verify, read-only: 135 ok (404), 153 200, "all checks passed"docs-pr-probe.py --no-render;markdown-table-cells.pyprevent_destroysed stringhermes/guest/container.tf:97andpaperclip/guest/container.tf:94, exact matchenv.map:34-45,.env.example:15-18;hermes/guest/variables.tf:44(vmbr0);paperclip/guest/variables.tf:42(vmbr1); livenet0on 153 and 135Requires=postgresqlpaperclip/service/roles/paperclip/tasks/main.yml:136-160,:440-443,:523-545hermes/service/roles/hermes/tasks/refusals.yml:25-60,release.yml,units.yml,config.yml:35,env.yml:23make prodorder;servicerehearses firstMakefile:357-366,:333-340.env.mcppresent; store 200; staterunning. The unit path differs (S1).ssh dukuread-only:pct status,systemctl is-active,pg_isready,pg_lsclusters, the guide's SQLINFO: Finished Backup of VM 153 (00:02:36)v0.21.6+373.g46d7718, matcheshermes --version)hermes_cli/backup.py589-596, 655, 670, 771-787, 919, 1048; skip list 147; tightened modes 164, 831, 906;hermes_cli/sessions_cmd.py:1168; gateway statesCould not verify, and why
master.keyequal, healthy 6 s after start). Reproducing them means writing to the node. I read the leftover Guests and did not re-run them.config.jsonconnectionStringtaking precedence overDATABASE_URL, the exactCannot connectmessage,master.keybeing created on first start, and thestartup_failedreason text. The app source is not in this repo.hermes backupandimportat run time. Read from source, not run, because the import overwrites live~/.hermes.Summary
Verdict: fix. The state and the label follow the blocker, not the advisory count. Advisories total 2, below the volume threshold, so the count does not move the verdict.
Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
Fix round 1/5: report
Head is
35a7cd6onhermes/the66-guides(one commit on top of the reviewed4989a0c, a fast-forward). The one blocker, S1, is fixed. I left the two advisories and the nits alone, and gave the reasons below.make checkis green on35a7cd6.Findings
docs/break-glass.md:124,:127-128/home/hermes/repos/infra-secrets/host/hermes/mcp-env.sh fetch, the path the firstExecStartPreline in read 3 names. The sentence says the installed copy/usr/local/lib/hermes/mcp-env.shtakes over once a deploy reaches the door (rebuild.mdpass 1), and that the path does not exist before then. The "What was run" row now says the lines were read from the checkout copy the command names.35a7cd6docs/rebuild.md:473,docs/hosts.md:187-188AGENTS.md:58-59AGENTS.md.docs/rebuild.md:114,321-322,516I disagree with no finding. The PR body names no path this change moves, so it is unchanged.
Verification, with output
mise exec -- make checkin the worktree at35a7cd684 ok,0 FAIL.env-check: the pin and the map agree.,env tests: all cases passed.,plan-check tests: all cases passed.docs/break-glass.mdwith theExecStartPre=-… fetchline inhost/hermes/hermes-gateway.service.d/10-mcp-env.confatolympus/infra-secretsorigin/main(71c5f89)EQUAL: /home/hermes/repos/infra-secrets/host/hermes/mcp-env.sh fetchgit cat-file -e origin/main:host/hermes/mcp-env.shininfra-secretsactor … · method approle · ttl,target … (0600),N names · N paths, and<path> → <names>are all presentREADME.mdanddocs/, run on the pre-fix tree (git archive 4989a0c) and on35a7cd6pages=5 relative_links=7 tables=25 problems=0. After:pages=5 relative_links=7 tables=25 problems=0.grep '^```'on both treesNot verified
.env.mcpon a live host and needs root on the node, and the page says so in its own "What was run" row. I did not run it, so the Expect lines are the checkout copy's source as I read it, not an observed run./usr/local/lib/hermes/absent, the drop-in naming the checkout path, read 06:05Z). I did not re-measure it.jqandageonhermes's login-shell PATH on 135. The role installs both by apt (base.yml), but I did not check that host.Labels
The state label moves to
review/needs-review, since the blocker is fixed and verified above. The unverified items above are not blockers: each is a live-host read the page itself marks as not run.Review started (round 2/5) on
35a7cd6742— reading the diff now.olympus/infra-agents #7 · reviewed head
622c5ee96c· round 2/5 · axes standards, spec · verdict mergeRecommendation: merge
Verdict: approve. Zero blockers at
622c5ee. The round-1 blocker S1 holds. The round-1 advisory S2 is cleared by the Operator's commit. One advisory stands (T1), below the three-advisory trip, so the verdict is merge.The head moved during this round. The dispatch named
35a7cd6. At 06:11:58Z, after the dispatch's sign-on comment (06:10:08Z), Pedro pushed622c5eeon top (fast-forward;35a7cd6is its ancestor). The PR head at posting is622c5ee, and an approval pins to a revision, so this review binds to622c5ee. Both deltas were read:4989a0c..35a7cd6(the S1 fix) and35a7cd6..622c5ee(idle guard and figures). The POST is gated on the live head at call time.Round count: the dispatch said 2/5, and the ledger agrees. There is one prior review (id 713, head
4989a0c,round=1/5). Read before this review was posted: review 713dismissed=false,stale=true.Charter: no escalation trigger. The change is documentation only, with no Stack, role, workflow, ADR, branch-protection or tier-1 service change.
Round-1 findings re-driven at
622c5ee622c5ee35a7cd6; holdsdocs/break-glass.md:124runs/home/hermes/repos/infra-secrets/host/hermes/mcp-env.sh fetch.:127-129names the checkout copy and the installed copy.:182matches. The622c5eedelta does not touch these lines.622c5eedocs/hosts.md:189-190,docs/rebuild.md:52-54,:343-345,:477.AGENTS.md:58-59still says the two pages are stubs. The commit does not touchAGENTS.md.docs/rebuild.md.docs/rebuild.md:321-324now lists the release skip list, matching the round-1 read ofhermes_cli/backup.py:72-94. Not re-read this round.Standards
AGENTS.md:58-59622c5ee; carried from round 1.Standards: 0 new findings in the round-2 deltas.
Spec
docs/break-glass.md:182host/hermes/mcp-env.sh:280againsthermes/service/roles/hermes/files/mcp-env.sh:262. Advice: say "the same success lines".docs/hosts.md:188hosts.md:189-190carries the condition.Summary
Advisories total 1, below the three-advisory trip: merge, with zero blockers. Nits are advice and are not counted.
Named, not charged
make verifygateway check accepts 404 (Makefile:372-375). Pre-existing, not in the diff.pre. An Operator follow-up, not a finding on this change.in_review, read live at 06:12:26Z. The ticket's rehearsal-record condition is ticket bookkeeping, not a PR finding.Verified, and how
git show origin/main:host/hermes/hermes-gateway.service.d/10-mcp-env.confin infra-secrets at71c5f89:ExecStartPre=-/home/hermes/repos/infra-secrets/host/hermes/mcp-env.sh fetch. The script is present at that tip.ssh dukuthenpct exec 135:/usr/local/lib/hermes/mcp-env.shABSENT; checkout copy PRESENT and executable by the hermes login user; drop-in names the checkout path;.env.mcppresent. No fetch run.hermes/service/roles/hermes/tasks/main.yml:20-24.actor/target/N names · N pathsprintf lines.*.md:rebuild.md:54andhosts.md:188state the wait with its condition or immediately before it.deploy.md:41documents the no-key case. The guard readsagents.running(scripts/agents-idle.sh:69), sorebuild.md:343is right. The runner row is still commented out atenv.map:60, so the no-key case is the live state.systemctl --userforms in break-glass row 181rebuild.md:353,:365,:480use the same forms for the same two units.infra-secrets/docs/store-backup.md:80,106-108uses sealed and unsealed. No standby wording in infra-secrets docs.git diff 4989a0c HEAD --stat: one file.git diff 35a7cd6 HEAD --stat: three files, +21 −15.git diff --checkover both deltas: clean.mise exec -- make checkat622c5eein a detached worktree: rc 0, 84ok.in_review. Break-glass requirement: "what to do when the store cannot answer".Could not verify, and why
rebuild.md:321-324against the release source. The source is not in this workspace; the round-1 read stands..env.mcp, and the page marks it not run. Tool resolution under thesu - hermeslogin shell is therefore unverified.