A state-key rotation leaves the declaration, and store refuses a version it would clear (SL-26) #28
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-silo!28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/SL-26-a-state-key-rotation-leaves-the-standing"
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?
Implements SL-26
Summary
A rotation was
TF_VAR_state_key_secretsplus a bumped version onmake store. Theversion landed in the state and in no declaration, so every later plan proposed
secret_key_wo_version = <n> -> null— the standing diff SL-23 cleaned out, whichSL-20's unattended
make storewould have met on its first run after any rotation.The version cannot move into the declaration:
secret_key_woandsecret_key_wo_versionare a pair in the provider's schema, so a committed numbercannot be planned without the secret beside it. And re-adopting after every rotation
is a step each one has to remember. So the rotation leaves the declaration, and
make storerefuses the leftover it used to produce.make store-planafter a rotation plans against untouched state, so itsNo changesis a property of the route rather than a step to remember.
Docs: runbook 0003 §4 and §7 gain a
Rotating onesubsection withmake store-planas the rotation's last step; ADR 0010 is amended in place (the secret moved to a
Target, the decision stands); the architecture page,
docs/agents/workflow.mdand theREADME's Target list follow.
Evidence
The route that does not work, measured offline against the pinned provider
(aminueza/minio 3.45.0) with a handcrafted state and
-refresh=false:Before: the declaration on
mainagainst a state holding version 2 — thestanding diff the ticket names:
After, the same state with this branch:
changed attributes: []. A legacy entrythat still holds a number is refused before anything is applied:
Exit code 1. The same guard on
mainexits 0 on that plan.A write-only secret is not in the plan JSON. With the secret supplied the plan
still reads
after.secret_key_wo: null, so the guard cannot see whether a secrettravels beside a version change; it keys on the direction — a recorded number
disappearing is refused, one arriving or staying is not. Both sides are covered in
key-mint-test.The client's flag at the pinned tag (
RELEASE.2026-09-16T00-00-00Z):with the example
mcli admin accesskey edit mysilo/ testkey --secret-key 'xxxxxxx'.The repo's gate, on the branch, through the toolchain:
Suites:
env-test43 cases,key-audit-test39,key-mint-test157 (89 atmain),deploy-test55.Unproven live. No rotation was due, so "a plan after a real rotation reads
No changes" is not proven here:make store-planandmake storeneed the store's.env, and no key was rotated to prove the route.Merge Danger
Door: two-way. Reverting restores the old declaration and the old procedure. The
one thing a revert does not undo is a
secret_key_wo_versionan entry recorded beforethe change — the guard then refuses that plan until the entry is re-adopted
(
state rm+import, which touches no secret).Blast Radius: one plan shape refused, one Target added.
make storegains a refusal, so amainstill carrying the old route's leftovers goesred on the automated deploy instead of applying them, which is what this ticket is for;
SL-23's re-adoption clears any such entry. No resource is replaced,
prevent_destroyisuntouched, and no credential is rotated by this PR.
Review started (round 1/5) on
e92d5da634— reading the diff now.olympus/infra-silo #28 · head
e92d5da· round 1/5 (the thread carries no earlier review, so the dispatch's counter and the review count agree) · no blocker, 3 advisoriesRecommendation: fix
The recommendation turns on the count — three advisories — and not on any finding's weight. The review state is APPROVE and nothing below blocks. Spec: SL-26 (project
infra-silo, task id 309 / index 26) together with its 2026-11-09 Operator comment, which is what makes thestore-plan-guard.shhalf mandatory. Standards:AGENTS.md,docs/adr/index.md,docs/index.md, and the org records inolympus/workshopdocs/adrread atmain.Standards
ADVISORY —
docs/runbooks/0002-store-contents.md:60: this change falsifies that Gate, and the same PR's 0003 §7 now says the opposite.0002 §0 says a state key's creation is "the only other use of it" — the root credential.
make key-rotatetakes the same credential (scripts/key-rotate.sh:81requiresMC_HOST_siloassilo-admin, and:109edits with it), anddocs/runbooks/0003-the-state-in-the-store.md:504now reads "The mint and the rotation are the recurring uses of the root credential." 0002 is not in the PR's doc list, so it keeps a statement the change makes false. Smallest fix: extend that sentence — "…and a rotation takes it for one field (make key-rotate§7)" — or drop "only".ADVISORY —
scripts/store-plan-guard.sh:103-104: the re-adoption hint names a command that needs the value it is supposed to reveal."Its access key is the one the key answers with (
mcli admin accesskey info silo/ <access key> --json)" —accesskey infotakes the access key as an argument, so an Operator stopped by this message cannot run it to learn the key. The entry the message is about already holds it:tofu -chdir=silo state show 'module.store.minio_iam_service_account.state_key["<name>"]'printsaccess_key, as does the consumer's.env(AWS_ACCESS_KEY_ID). Reproduced: with a stub client answeringinfo,key-rotate.shreads the key by the access key it was handed, never the reverse. Smallest fix: nametofu state show(ormcli admin accesskey ls silo/) in that clause.Spec
ADVISORY — the route the ticket describes writes the new secret at the key's store path; the Target stops at printing that path (
scripts/key-rotate.sh:131,docs/runbooks/0003-the-state-in-the-store.md:581).SL-26's route 2 reads: "It becomes an
mcli admin accesskey editon the store (amake key-rotatebesidemake key-mint, writing the new secret at the key's store path)". The Target edits the key and printsstore at secret/tofu-state/<record>/<shape>; writing that path is the Operator's half, and the runbook says so plainly — "Writing the new secret at the key's path is the other half, and it is the Operator's". So the procedure is documented and truthful, but it keeps a manual step that the route's parenthetical implies the Target removes, which is the same shape of objection the ticket raises against route 3. Not a behaviour defect — a scope question for the ticket holder. Smallest fix: either say in the ticket that the store write stays the Operator's, or add it to the Target.Verified
make checkexits 0 and the suites are the ones the body countsmise exec -- make checkin a worktree ate92d5dakey-mint-testwas 89 atmain84b28b4tofu plan(-refresh=false, pinnedaminueza/minio3.45.0) against a handcrafted state whose entry holds version 2, at the real module address and with the head declaration- secret_key_wo_version = 2 -> null, "1 to change"scripts/store-plan-guard.shat head, then at84b28b4main's declaration does the same)No changes. Your infrastructure matches the configuration.key-rotateedits one field and nothing elsescripts/key-rotate.shdriven on the real repo tree with a stubmcliinfo→edit … --secret-key→info, no--policy/--name/import/state rm, print names the path, rc=0e92d5da#rotating-one-make-key-rotateand#creating-one-make-key-minte92d5dadocs/adr/index.md:25-26("not an edit of the record") read against this edit and the repo's own precedent —5fe2283prefixes ADR 0003 with a dated note,a241f95edits 0010's key countAKROTATED000000001,rotated-secret-half, 18 chars); nothing to redactCould not verify
No changes, version-2 entry → the clear the guard refuses.mcli'sadmin accesskey edit --secret-keyflag. The client is neither in the repo nor on this host; the flag rests on the help output quoted in the PR body.create --secret-keyis exercised in production bykey-mint,editis not.Named, not charged
AGENTS.md§Pull requests — "a comment, thendone: true". The task still shows only "Started"; the PR body carries route 1's rejection ("a number the declaration commits cannot be planned without the secret beside it") and route 3's ("a step each one has to remember"). Carry both across when the task is closed, and AC4's unproven-live line with them.mclion argv (scripts/key-rotate.sh:109), visible topson the host.scripts/key-mint.sh:132already passes it the same way, so this is a repo-wide pattern question, not this change's.Summary
Standards: 2 advisories, worst is
docs/runbooks/0002-store-contents.md:60— a Gate statement the change makes false while 0003 §7 asserts the opposite. Spec: 1 advisory, worst (and only) is the store-path write the route describes and the Target leaves to the Operator. Blockers: none — the guard's refusal, the clean plan after a rotation, and the four suite counts are all reproduced above.Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
New commits pushed, approval review dismissed automatically according to repository settings
Round 1/5 fixed — head
e92d5da→c2a1b38onhermes/SL-26-a-state-key-rotation-leaves-the-standing. Two commits, no force-push, no history rewritten.The round carried no blocker: the verdict is APPROVE and all three items are advisories, which is what
review/needs-fixfollows on a count of three or more. All three are accounted for below; two needed a change, one did not.docs/runbooks/0002-store-contents.md:60— a state key's creation described as "the only other use" of the root credential, whichmake key-rotatefalsifies30c1aa8scripts/store-plan-guard.sh:103-104— the re-adoption hint namesmcli admin accesskey info silo/ <access key>, a command that needs the value it would revealaccess_keyoff the entry itself withtofu state show, before thestate rmdrops it; two cases pin the messagec2a1b381 — the two uses of the root credential
0002§0's Gate said a state key's creation was the only other use of the root credential.scripts/key-rotate.sh:81takes it inMC_HOST_siloand:109edits with it, and0003§7 now reads "The mint and the rotation are the recurring uses of the root credential", so 0002 was the last document stating the older, narrower fact. I extended the sentence rather than dropping "only": the Gate is what tells the Operator how many root-credential steps the repo has, and the rotation adds one per rotation.Measured over
git diff -U0 e92d5dawith a script that takeslen()of each added line (characters, not bytes) and applies the local orphan test: four added lines, widths 77/80/80/9, wide=0, orphans=0.2 — a hint that could not be run
The refusal told the Operator to learn the entry's access key with
accesskey info, which takes that access key as an argument. The entry the message is about holds it: at the pinnedaminueza/minio3.45.0, theminio_iam_service_accountschema declaresaccess_keyasComputed: trueand the read writes it into state from the import id (d.Set("access_key", d.Id())), sotofu state show '<address>'prints it. The hint now reads the entry first, thenstate rm, thenimport— the read has to precede the removal or the value is gone with the entry.scripts/tests/key-mint.test.shgains two cases: the read the hint now names, and that the circular form is gone.Red first. The branch's test file against the reviewed tree (
git archive e92d5dainto a scratch directory, the branch'skey-mint.test.shcopied in), through the branch's toolchain:On the branch, the same suite:
154 → 156is this round's two cases; the review measured 154 ate92d5da, which still stands.3 — the store write, left alone
The finding names its own clearing: "either say in the ticket that the store write stays the Operator's, or add it to the Target". The first half is already on the ticket, posted before this review: SL-26 comment 467, 2026-11-09 18:43:19Z, paragraph "Left for later, not done here" —
The second half is a scope decision I am not taking in a review round: adding a
baowrite to the Target changes which credential classmake key-rotateruns under, which is the ticket holder's call and a follow-up ticket's design. So the Target is unchanged, the runbook's sentence at 0003:581-584 (which the review accepted as truthful) still says where the split is, and this is recorded rather than fixed.Two corrections to the report itself, neither a dispute of a finding:
Verification
The repository's own gate, on the branch, through the toolchain:
Per suite, counted from that one run over each suite's own output (env-test indents its pass lines, so
grep -c '^ok 'alone under-reports it):env-test43,key-audit-test39,key-mint-test156,deploy-test55.fmt-checkandvalidateare inside that run and both pass; the 0002 paragraph is the only prose added, measured above.make plan,make store-planandmake storecannot run here — no.env— so no plan was quoted this round and none is claimed.PR body
One line edited in place:
key-mint-test154 → 156, because this fix changed that suite's size. Read back from the API and compared character-for-character to what was sent (5548 chars, equal). Nothing else in the body moved, and the## Merge Dangerblast radius still holds: the guard's message changed, no plan shape, no Target and no credential did.Self-review
The two-axis review over
git diff e92d5da...HEAD: Standards — the paragraph is at the file's fill with no orphan and no line over 80; the code comments stay minimal perAGENTS.md; the new cases use the suite's existingexpect_match/expect_no_matchhelpers and name behaviour, not the fixture. Spec — findings 1 and 2 are the review's two standards items, each cleared where the finding pointed; finding 3 is answered from the ticket record and explicitly left.Review started (round 2/5) on
c2a1b38f2b— reading the diff now.olympus/infra-silo #28 · head
c2a1b38· round 2/5 · no blocker, 3 advisoriesRecommendation: fix
The recommendation turns on the count — three advisories — and not on any finding's weight. No finding blocks, so the review state is APPROVE. Spec: the PR description (SL-26 is named but the tracker is not readable from here, see Could not verify). Standards:
AGENTS.md,docs/runbooks/0002-store-contents.md,docs/runbooks/0003-the-state-in-the-store.md,docs/agents/workflow.md,README.md, and the provider schema at the pinnedaminueza/minio3.45.0.Round 1, carried forward
0002:60Gate falsified by the rotation30c1aa8)docs/runbooks/0002-store-contents.md:60-62now reads "and rotated bymake key-rotatefor one field; those two are the only other uses of it". Added-line widths 77/80/80/9 characters — the author's measurement holds; my first pass counted bytes, and the em dash and§are multi-byte.store-plan-guard.shhint names a command needing the value it revealsc2a1b38)scripts/store-plan-guard.sh:103-109:tofu -chdir=silo state show '<address>'now precedesstate rm. Red-first reproduces exactly as claimed: the branch's test file against a tree ate92d5da→ rc=1, 154 ok, 2 not ok, and the two failures are precisely the new cases.0003:578-585states the split in-tree ("Writing the new secret at the key's path is the other half, and it is the Operator's"). The ticket comment it also rests on I could not read — Vikunja answers 401 here.No blocking finding existed in round 1, so there is none to re-check. The delta is three files (
git diff e92d5da...c2a1b38): one doc paragraph, one guard message, two test cases.Standards
ADVISORY —
docs/runbooks/0002-store-contents.md:61: the rewritten Gate's count is short by one, and the same PR's own workflow page says so.The new sentence reads "those two are the only other uses of it" —
make key-mintandmake key-rotate.make key-audittakes the root credential as well:docs/agents/workflow.md:124-127(edited in this same change) — "key-audit… cannot run without the store's root credential inMC_HOST_silo",README.md:104— "(root credential)",scripts/key-audit.sh:36-64, and0003:204-208. The line was rewritten by30c1aa8, so it is inside this change rather than beside it. Smallest fix: add the audit to the sentence, or scope the claim to the Targets that change a key ("the only two that change one").ADVISORY —
docs/runbooks/0003-the-state-in-the-store.md:474-479: the re-adoption block the guard now cites still has no way to obtain the access key.scripts/store-plan-guard.sh:102sends the Operator to "runbook 0003 §7, A key created again is imported again". That block is0003:471-479:<access key>has no source — the same defect round 1 charged in the guard's message, still standing in the document the fixed message points at. Two versions of one procedure now differ: the message says read it off the entry first (guard:107), the runbook shows no read. It resolves once the Operator knows to runstate showoraccesskey ls, so this is advice, not a block. Smallest fix: the sametofu -chdir=silo state show '<address>'line before thermat0003:476, matching the message.ADVISORY —
scripts/tests/key-mint.test.sh:653-656: the tests pin that the read is named, not that it precedes the removal — which is the property the message states.guard:104says "read it before removing anything", and the whole round-1 finding was a message that could not be executed in its stated order. The two new cases assertexpect_match 'tofu -chdir=silo state show'andexpect_no_match 'accesskey info silo/'; a future edit that movedstate showafterstate rmwould still pass both while restoring the defect. This suite already hasexpect_order(used at:830). Smallest fix: oneexpect_order 'state show' 'state rm'line.Spec
No findings. The delta claims nothing new: the guard's behaviour is unchanged (message text only), the doc paragraph is prose, the tests are tests. Round 1's spec advisory is closed by the in-tree record above; the PR's own claims about the route, the refusal and the suite counts all reproduced below.
Verified
mise exec -- make checkin a worktree atc2a1b38okrows countedenv-test43,key-audit-test39,key-mint-test156,deploy-test55 — all four of the body's numberskey-mint.test.shinto a tree ate92d5da, run through the toolchain-refresh=false, real module address, pinned provider- secret_key_wo_version = 2 -> null, "1 to change"84b28b4access_keycomputed, sensitive=false (secret_key_wosensitive + write_only);tofu state showon that statestate showredacts only what is marked sensitiveterraform_datawith asensitive()inputinput = (sensitive value),outputprinted — so a non-sensitive access key is not hiddenstate show→state rm→importin that treeImport prepared!, thenAccess Deniedon the stub credentials — i.e. the address and the value flow; only the credential was minedelete+createrefused as a create, create refused, non-JSON rc=2grep -rn state_key_secretsover the treec2a1b38Could not verify
.env; what I proved is the plan shape either side of it (2 -> nullrefused; the entry's version null reads clean) against the pinned provider, not a rotated key.vikunja.thepit.space/api/v1/tasks/309answers 401 to this bot. The half of round 1's spec advisory that rests on the ticket is taken from the author's quote and from0003:578-585, which I did read.mcli admin accesskey edit --secret-keyat the pinned tag. The client is neither in the repo nor on this host; the flag still rests on the body's help output.Named, not charged
state show-first technique is not novel:scripts/key-mint.sh:125,147already uses it, which is why the guard's hint now reads as the repo's own practice rather than a new one.0003:504andREADME.md:137count root-credential uses differently ("mints" vs "uses"); that pre-dates this change and I have not charged it — only the sentence this PR rewrote.Summary
Standards: 3 advisories, worst is
docs/runbooks/0002-store-contents.md:61— a rewritten Gate that the same PR'sdocs/agents/workflow.md:124-127contradicts. Spec: 0 findings. Blockers: none — the guard's refusal, the hint's runnability, the red-first pair and the four suite counts are all reproduced above. The recommendation isfixon the count of three, not on any finding's severity.3 advisories. fix
Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
New commits pushed, approval review dismissed automatically according to repository settings
Round 2/5 fixed — head
c2a1b38→9883ad3onhermes/SL-26-a-state-key-rotation-leaves-the-standing. Two commits, fast-forward, no force-push, no history rewritten.The round carried no blocker: the verdict is APPROVE and all three items are advisories, which is what
review/needs-fixfollows on a count of three or more. All three are cleared below; none is disputed.0002:61— the rewritten Gate's count of root-credential uses is short by one (make key-audittakes it too)f36af500003:474-479— the re-adoption block the guard cites has no way to obtain the access keystate showline, before therm, that the message names9883ad3key-mint.test.sh:653-656— the cases pin that the read is named, not that it precedes the removalexpect_order9883ad31 — the count, in all three homes
The finding's home is
0002:57-65. The sentence now reads: "those two andmake key-auditare the only Targets that reach the store with it — the mint and the rotation change a key, one Operator step per new key and one per rotation (§7), the audit reads one and changes nothing." Those three are the Targets whose scripts readMC_HOST_siloassilo-admin—key-mint.sh,key-rotate.sh,key-audit.sh. The guard's singleMC_HOST_silois text inside a hint that namesmake key-mint, not a call; the service Targets template the root password into the Guest's config and do not reach the store with it.The report's "pre-dates this change" reading of
0003:504is right about the omission and not about the sentence. Onorigin/mainthe claim was "The mint is the one recurring use of the root credential" — the audit was missing there too, so the omission is older than this round. But this change is what rewrote both of those sentences to recount when the rotation landed: §7's bold lead and §7's closing Gate clause. Leaving them at two would put a0002that says three beside a0003that says two. Both move to three inf36af50— they are the homes the finding did not name, and I have moved them rather than only the one it did.2 — the block matches the message
0003:474-479gainstofu -chdir=silo state show '<address>' # prints its access_keyon the line beforestate rm, with one sentence under the fence saying why the read comes first. The guard's message and the page now show one procedure in one order, which is what the round-1 fix left split between them.3 — the order, and a correction to the suggested line
expect_order 'state show' 'state rm'cannot be used as suggested: that helper greps$dir/calls.log, the stub client's call log, andstore-plan-guard.shnever calls anything — it reads plan JSON and prints. (The file is also 764 lines, so the cited:830does not resolve;expect_orderis used at:316,:426,:427.) The clearing is the output-side sibling,expect_out_order— the same shape the file already keeps asexpect_match/expect_log— used by one case:This case is a pin, not a fix: it passes at the reviewed head, because
c2a1b38already put the read first. What proves it measures the property is a mutation — the guard's two lines swapped in a throwaway copy of the tree, the branch's suite run against it:And on the branch, unchanged:
Verification
The repo's gate, on
9883ad3, through the toolchain:Each Target run separately,
okrows counted (env-testindents its pass lines, sogrep -c '^ok 'alone answers 0 for it):env-testkey-audit-testkey-mint-testdeploy-testkey-mint-testwas 156 at the reviewed head, which is the pre-fix figure; the case above is the delta.Prose: every line this round adds, measured in characters off
git diff -U0 c2a1b38by a script that keeps its own+++state — wide=0, orphans=0. The only line over 80 is thestate showline inside the runbook's fence, which sits beside the 110-columnimportline already in that block; the message's own copies are fenced too.make plan,make store-planandmake storecannot run here — no.env— so no plan is quoted and none is claimed.PR body
One line edited in place:
key-mint-test156 → 157, because this round grew that suite. Read back from the API and compared to what was sent (equal=True, 5548 characters, anchor gone, new text present once). Nothing else moved, and the## Merge Dangerblast radius still holds: no plan shape, no Target and no credential changed this round.Noticed, not this round's
docs/adr/0010-…:37is 111 columns — a bullet the earlier wording left with its long link on one line. It is in neither this round's findings nor its delta fromc2a1b38, so I have left it rather than widen this round's blast radius.Review started (round 1/5) on
9883ad3b47— reading the diff now.olympus/infra-silo #28 · head
9883ad3· round 1/5 (the dispatch's counter; the thread already carries two reviews, ate92d5daandc2a1b38, both re-checked below) · no blocker, 0 findingsRecommendation: merge
Spec: the PR description (SL-26 and task 309 answer 401 to this bot, see Could not verify) plus the ticket text quoted in the two earlier reviews. Standards:
AGENTS.md(§Secrets, §Privacy, §Code comments, §Docs),docs/adr/index.md(the record lifecycle rule),docs/index.md.Prior rounds
Round 1 and round 2 carried no blocker, so there is none to re-check. Round 2's three advisories are all closed:
0002:61— the rewritten Gate's count was short by one (make key-audittakes the root credential too)f36af50)docs/runbooks/0002-store-contents.md:60-63now names "those two andmake key-audit".grep -rn MC_HOST_siloover the tree returns exactly three Targets —key-mint.sh,key-rotate.sh,key-audit.sh— so the count is right; the two other homes of the same sentence (0003:507-514,0003:695-701) moved with it, and no "one recurring use" wording survives.0003:474-479— the block the guard cites had no way to obtain the access key9883ad3)docs/runbooks/0003-the-state-in-the-store.md:476carriestofu -chdir=silo state show '<address>'on the line beforestate rm, and 482-483 say why the read comes first. The guard's message (store-plan-guard.sh:104-109) and the page now show one procedure in one order.key-mint.test.shpinned that the read is named, not that it precedes the removal9883ad3)scripts/tests/key-mint.test.sh:667usesexpect_out_order. I reproduced the author's mutation myself: the guard's two lines swapped in a throwaway copy of9883ad3→rc=1, 156 ok, 1 not ok, and it is exactlythe entry is read before it is the one removed. The case measures the property it claims.Standards
No findings.
The whole diff, file by file:
Makefile(Target, help text, guard note),README.md(Target list),docs/adr/0010(amended in place with a dated note — the decision, the owner, is unchanged, sodocs/adr/index.md's "reversing one means a new file" does not bite),docs/agents/workflow.md(mutation table, credential class, test list),docs/architecture.md,docs/runbooks/0002,docs/runbooks/0003,scripts/key-mint.sh(path derivation moved to a shared lib, behaviour identical),scripts/key-rotate.sh(new; mode100755),scripts/lib/state-key-path.sh(new, sourced,100644like its neighbour),scripts/store-plan-guard.sh(second refusal),scripts/tests/key-mint.test.sh(68 new cases, none removed or weakened),silo/main.tf,silo/store/state-keys.tf,silo/store/variables.tf,silo/variables.tf. All 64 relative links and in-page anchors across the six changed pages resolve, including#rotating-one-make-key-rotateand#creating-one-make-key-mint. The commented code explains provider semantics the code cannot carry (a write-only pair), which is the caseAGENTS.mdallows, and the procedure itself lives on a docs page.Spec
No findings. The PR's claims, each reproduced below: the declaration carries no secret and no version;
make key-rotateedits one field at the store and touches no state;make storerefuses a plan that clears a recorded version; the docs, ADR and Target tables follow. Nothing in the diff was not asked for.Verified
mise exec -- make checkin a worktree at9883ad3okrows countedenv-test43,key-audit-test39,key-mint-test157,deploy-test55 — all four, 0 failureskey-mint-testwas 89 atmain84b28b4tofu plan(1.12.6, pinnedaminueza/minio3.45.0,-refresh=false) at the real module address against a handcrafted state whose entry holds version 2- secret_key_wo_version = 2 -> null, "1 to change" — andafter.secret_key_wo: null, confirming a write-only secret is invisible to the plan JSONscripts/store-plan-guard.shat head, then at84b28b4rotate,rotate-implied,rotate-policy-moved,rotate-name-movedinfo→edit --secret-key→infoand nothing else; no--policy,--name,importorstate rmkey-rotate.sh, the suite run against itgrep -rn state_key_secretsover the treetofu validatepassesAKROTATED000000001,rotated-secret-half); no DDNS name and no new external address9883ad3Could not verify
No changesplan after it. No store credential and no.envhere, and no rotation was due. My handcrafted null-version state plans as an empty-diff1 to change— at84b28b4as well as at head, so that artefact is my fixture and the pinned provider's write-only handling, not this change; it neither confirms nor refutes the claim. What I did prove is the plan shape either side of it: version 2 → the clear the guard refuses, version null → the guard passes. The author marks the same line "Unproven live".vikunja.thepit.space/api/v1/tasks/309answers 401 to this bot; the spec is the PR description plus the ticket text quoted in the two earlier reviews.mcli admin accesskey edit --secret-keyat the pinned tag. The client is neither in the repo nor on this host; the flag still rests on the help output in the body.create --secret-keyis exercised in production bykey-mint,editis not — a live rotation is the first run of that call.secret_key_wo_versionto null. The re-adoption route depends on it and there is no store here to import against.Named, not charged
mclion argv (scripts/key-rotate.sh:109), visible topson the host.scripts/key-mint.sh:132already passes it the same way — a repo-wide pattern question, not this change's, and named in round 1 already.AGENTS.md§Pull requests — "a comment, thendone: true". The PR body carries route 1's and route 3's rejections; carry both across, with the unproven-live line, when the task is closed.Summary
Standards: 0 findings. Spec: 0 findings. Blockers: none. The two prior rounds' advisories are closed where the findings pointed — and the round-2 test-order case is proven by mutation, not by assertion. The recommendation is
merge.