Fetch the runner Stack's state key into .env (FO-52) #85
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-forge!85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/52-runner-state-key-env"
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?
Summary
make runner-guestrefused atstate_credentials:env.mapnamed the forge Guest's and the Edge's state paths but not the runner's, somake envnever filledFORGE_RUNNER_STATE_*. The store half landed with SL-21 (secret/tofu-state/forge-runner/apply, rev 1), so the row can land too.The four places that promised the pair "once the store half that mints it has landed" — runbook 0001 §7/§8,
README.md, theMakefileandrunner/guest/backend.tf— now say where it comes from.Evidence
make runner-guest→error: FORGE_RUNNER_STATE_ACCESS_KEY_ID / FORGE_RUNNER_STATE_SECRET_ACCESS_KEY are empty in .envmake env ACTOR=pitreadssecret/tofu-state/forge-runner/apply → … (rev 1);make runner-guestpasses the gate,tofu initreads the backend, the plan renders (Plan: 1 to add, 0 to change, 0 to destroy), and the run stops at theprodword having applied nothing.make checkgreen:env.map: 17 names, all declared in .env.example.Merge Danger
Door: two-way — reverting the row makes the next
make envdrop the two names again.Blast Radius: low.
.envin each checkout gains one pair; no Stack config changes and nothing is applied. A checkout that fetches before this merges keeps its current.envuntil its nextmake env.Resolves FO-52.
Review started (round 1/5) on
6263791ac0— reading the diff now.Review of olympus/infra-forge#85 · head
6263791ac088dfd4b20381547c4525b26a734628· round 1/5 (the thread's count: no earlier review on this PR; matches the dispatch) · verdict: merge, no blockersRecommendation: merge
Spec source: Vikunja FO-52 (task 287, project
infra-forge), read live with its comment thread. PR body cites it withResolves FO-52. FO-52's "What to build" list is the contract: theenv.maprow, the two.env.examplenames, and the "arrives with the store half" sentences rewritten as landed in runbook 0001 §7/§8,README.md,Makefile,runner/guest/backend.tf.Standards source:
AGENTS.md§Secrets, §State, §Code comments, §Docs, §Pull requests;docs/runbooks/0001-deploy-and-rollback.md§7/§8;docs/index.md(make docs-check).Spec
No findings.
env.maprow beside the other two state rowsenv.map:41, between the guest (:40) and edge (:42) rows.env.exampledeclares both names.env.example:33-34docs/runbooks/0001-deploy-and-rollback.md:618,630-636,819-822;README.md:36,49-52;Makefile:126-130;runner/guest/backend.tf:8-10. Census ofstore half,arrives with,once the store,until thenacross the head tree: no surviving promise sentencemise exec -- make checkgreenenv.map: 17 names, all declared in .env.example;docs-check: all 5 assertions holdmake env,make runner-guestpassesstate_credentialsandtofu initreads the backend ("the Operator's run")Scope: the diff is the six files FO-52 names and nothing else. The
Makefileandbackend.tfhunks are comment-only (non-comment diff lines acrossMakefile,runner/guest/backend.tfand.env.example: only the two new.env.examplenames).Standards
No findings.
AGENTS.md§Code comments: the change removes comment text rather than adding any. §Secrets: no value in the diff, only names and a store path. §Docs:make docs-checkis green (links, fragments, ADR index, section index, wiki coverage).Verified, and how
git ls-remote origin refs/pull/85/head, at the start and again before posting6263791a…, both timesmake checkgreenmise exec -- make checkin a head worktreemake envfetches the new row and fills both namesscripts/env.sh fetchat basec5bbe87and at head, driven against a stub KV store built from each side's ownenv.map,ACTOR=pit, fakeHOME,env -i.env. Head: rc=0, 10 reads (incl.GET /v1/secret/data/tofu-state/forge-runner/apply), mode 600, 902 bytes. Name diff base→head is exactlyFORGE_RUNNER_STATE_ACCESS_KEY_IDandFORGE_RUNNER_STATE_SECRET_ACCESS_KEYset -a; . .envin a subshellsecret/tofu-state/forge-runner/apply does not exist in the store (404); nothing written, no.envcreated. The fetch is all-or-nothing, as the new runbook text saysinfra-silo@origin/main431309f(SL-21):silo/store/forge-runner-state-policy.jsonand the plan policy; runbook 0003 §7 table rowstofu-state-forge-runnerenv-check,fmt-check,validate,syntax-check,guest-plan-check,edge-plan-checksuccess;docs-checkstill running when read (I ran the same check locally: green)Not verified, and why
secret/tofu-state/forge-runner/applyholds rev 1 in the live store, and the PR body'smake env ACTOR=pit/make runner-guestevidence. Reading the store needs the Operator's identity; a review agent's class is refused bymake env. What I have is the ticket thread's statement (bot-telesphoros: both/applyand/plananswer 200 to the Operator at rev 1) plus the SL-21 policy files ininfra-silo. I take it as the author's claim, not as something I saw.tofu initreading the backend and thePlan: 1 to addline. Needs the live store and Proxmox credentials. FO-52 AC2 assigns this to the Operator.Notes (not findings, not counted)
make envrefuses wholesale. The human merging should confirm the path withmake env ACTOR=pitfirst. I could not.infra-secretsdocs/store-layout.md§"secret/tofu-state/…— sixteen paths" (atorigin/main) lists noforge-runnerrow. Runbook §8 points readers there for "the paths and their owners". That page is another repository's and this PR does not touch it; flagging it for whoever lands the runner's rows there.Summary
0 BLOCKER, 0 ADVISORY. The recommendation turns on neither count: there is nothing to fix.