ci: the store's refusal says why (TR-57) #39
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-tracker!39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "wr39/jwt-refusal"
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
scripts/store-env.shrefused with the HTTP code alone when the store rejected therun's ID token, which sends the reader to the token, the audience, the claims and the
policy at once. It now appends the store's own sentence (
errors/message) to therefusal, and the record read that follows does the same — both arms read it through
one
json-reasonbesidejson(), so there is one reader for the two of them. Thatreader prints the sentence on one line: a sentence the store wrapped is flattened,
because a second line of the run log is a line this door did not write.
Evidence
make check→ exit 0,env-test: every assertion holds.(29 assertions).bash -n scripts/store-env.sh→ clean.env-testdrives a refusal for each shape the store answers in — anerrorsarray and a lone
message— on both arms, and one whose sentence carries a linebreak, which has to arrive as a single line. Against the reviewed script the
wrapped case reds (
env-test: 1 assertion(s) FAILED.) and the other 28 hold.auth/jwt/logintoday, the next refusal will name the reason instead of only the code.
Merge Danger
None: it changes one message, on a path that already refuses.
repo
olympus/infra-tracker· PR #39 · reviewed head36f4d06e1d60d3811ad7c9427d9b75821d722ee0· round 1/5 · axes Standards, Spec · reviewerbot-minosRecommendation: fix
What this review is against
One file,
scripts/store-env.sh, +10/−1: the JWT login refusal now carries the store's own sentence.Spec. The title cites TR-57, and I fetched it: TR-57 is the cutover's umbrella ticket (
GET /api/v1/projects/3/tasks, rowindex == 57— the by-index route answers401for this profile's key), and none of its ten acceptance criteria name this message. The contract is therefore the PR description, which is specific: "It now appends the store's own sentence (errors/message) to the refusal." That is what I judged the change against. TR-57 still open while its #38 has merged is a process note, not a finding.Standard.
AGENTS.md(§Environment, §Pull requests),docs/adr/0005, and the org ADRs read from the forge atolympus/workshop@main(0002— an approval must come from an identity other than the author's; this review's isbot-minos, and the author ispit).scripts/store-env.shis this repo's own door and not the vendored one:infra-secrets@maincarriesscripts/env.shand nothing else, andmake env-checkpins only that file — so editingstore-env.shhere breaks no vendoring rule.Standards
A1 — ADVISORY — the new refusal is untested, and the repo's own stub cannot reach the branch
scripts/tests/run.sh:10-13,112-149·scripts/tests/stub-store.py:61-62·scripts/store-env.sh:102-108The suite is the repository's stated test of this door —
run.sh:12-13: "the CI door is dialled againstscripts/tests/stub-store.py, which answers the three requests that door makes and refuses everything else — the refusals are half of what is being asserted". Nothing asserts this refusal:stub-store.py:61-62answers400 {"errors":["missing role or jwt"]}when either field is absent, and the script always sends both — that branch is unreachable from every case the suite drives../scripts/tests/run.sh→env-test: every assertion holds., rc 0.Clearing change: one case in
run.sh's door section against a stub login answering400 {"errors":["error validating token: …"]}, asserting the printed line carries the sentence — and run the same case against the base script, which must fail it (it prints the code alone, see the driven pair below), so the case is a test and not a claim.A2 — ADVISORY — the record read still drops the store's sentence
scripts/store-env.sh:121The title's claim ("the store's refusal says why") stops at the login. The read that follows has the same blindness for any status outside 200/403/404/no-answer. Driven, login 200 and a
500 {"errors":["storage backend is sealed; the record cannot be read"]}at the KV read:Pre-existing — the diff does not create it — so an advisory, not a block. Clearing change: the same extraction in the
*)branch, or onejson-reasonhelper used by both arms.A3 — NIT — two readers of the same envelope, and the new one signals failure as success
scripts/store-env.sh:66-75·102-107The script already reads this envelope through
json()(:66-75), which exits 1 when it cannot. The new inline program is a second reader with different semantics:except Exception: raise SystemExit(:106) exits 0, i.e. "parsed, nothing to say"; and"; ".join(...)assumes a list of strings — driven with{"errors":"oops"}it renders— o; o; p; s. No real OpenBao body takes that shape (the field is always an array of strings), so nothing is broken. Onejson-reason()besidejson(), exiting non-zero when it cannot read and joining only a list, would leave one way to read the store's answer.Spec
0 findings. Each claim in the description reproduced:
refused: login as tracker by jwt answered 400 and no token; nothing read.… and no token — error validating token: error verifying token signature: oidc: malformed jwt: …errorsandmessageare both read{"errors":[…]}and{"message":"role \"tracker\" has no such bound claim"}each named;{"errors":[]}and a non-JSON body correctly append nothingauth/jwt/logintoday6897d9e, log line 67 — the quoted text above, verbatimNo scope creep: one file, one message, no behaviour outside the refusal.
Verified, by hand
mise exec -- make checkat head → rc 0:env-checkok,env.map: 16 names, all declared,env-testevery assertion holds, three StacksSuccess! The configuration is valid., bothtofu testsuites1 passed, 0 failed. The body's Evidence line holds.bash -n scripts/store-env.sh→ clean.https://10.12.0.144:8200, one refused login — it authenticates nothing and writes nothing): base prints the code alone, head prints the code and the sentence. The store's envelope is{"errors":["…"]}— exactly what the new parse reads.null, a JSON array, non-stringerrorsentries, pretty-printed JSON,%,$(…)and backticks in the message, an embedded newline, UTF-8, and a 500. Every one still prints the refusal, rc 1, no traceback on stderr — and the$(rm -rf /)/backtick body renders literally, so the store's text is logged as data, never evaluated.refs/pull/39/head==origin/wr39/jwt-refusal== the dispatch's SHA, re-resolved at composition time.Not verified, and why
ref: refs/heads/main,ref_protected: "true",event_name: push, so I cannot produce a claim-mismatch refusal from here; the shape is proved with a malformed-token 400 at the same endpoint and the same login handler. The envelope belongs to the handler, not to the error.errorsarray by the handler's own response format, unread by me.Summary
Standards: 3 findings (A1, A2, A3 — all ADVISORY, no BLOCKER); worst is A1, the refusal is untested and the stub carries a branch nothing reaches. Spec: 0 findings, no BLOCKER — the claim is reproduced against the live store and the run it cites.
The recommendation is fix, and it turns on the count of three non-blocking findings, not on their weight: none of them blocks this change on its own, and one batched commit clears all three. A1 alone would have travelled as advice.
The login refusal carried the store's sentence; the record read after it still answered with the code alone, so a 500 from the store sent the reader to the policy, the path and the token at once with nothing to tell them apart. Both arms now read the answer through one `json-reason`, beside `json()`, so there is one way this door reads the store's envelope and one place the sentence comes from. That reader also stops the inline program's two defects, which the review named: it exits 1 when the body is not an object carrying `errors` or `message`, where `raise SystemExit` exited 0 — "parsed, nothing to say" for a body it could not parse — and it joins `errors` only when it is an array of strings, where the old `"; ".join(...)` rendered `{"errors": "oops"}` as `o; o; p; s`. The stub store gains the two refusals that make the arms reachable: a token the login rejects, and one record whose read fails for a reason the actor's policy cannot explain. The suite drives both and asserts the line carries the store's sentence and fills nothing; against the base script those two cases red and the rest stay green.Round 1/5 — three findings, all cleared in one commit (
0097bec, onwr39/jwt-refusal).Your tally said the recommendation turned on the count of three non-blocking findings and that
one batched commit clears all three, so I batched them and re-derived none of them as a blocker.
scripts/tests/stub-store.pygains the two refusalsenv-testneeds:REFUSED_JWT— a token the login rejects with400 {"errors": ["error validating token: …"]}, the shape you asked for — andSEALED, one record whose read answers500with a reason.scripts/tests/run.shdrives both, asserting the printed line carries the store's sentence and that$GITHUB_ENVstays emptyenv-test: every assertion holds., 27ok, rc 0. Base script:env-test: 2 assertion(s) FAILED.— exactly the two new cases, the other 25 hold*)arm of the read'scasenow appends the reason the way the login does — onejson-reasonhelper used by both arms, your second clearing optionrefused: secret/tofu-state/tracker-guest/plan answered 500; nothing read.→ headrefused: secret/tofu-state/tracker-guest/plan answered 500 — storage backend is sealed; the record cannot be read; nothing read.json-reason()sits besidejson()and both arms call it: it exits 1 when the body is not an object carryingerrorsormessage(whereraise SystemExitexited 0), and joinserrorsonly when it is an array of strings{"errors": "oops"}→ reviewedrc=0 out='o; o; p; s', this branchrc=1, nothing appended; non-JSON body and empty body → reviewedrc=0, this branchrc=1;{"errors": ["one", "two"]}→ both printone; twoThe degradation set, re-driven at both revisions (twelve bodies: empty,
null, an array,non-string
errorsentries,errorsas a string, pretty-printed JSON,%,$(…)and backticks, anembedded newline, UTF-8, an empty
errorsarray, an empty array beside amessage). At head everyone still refuses with rc 1, writes nothing to
$GITHUB_ENV, prints no traceback, and the$(touch …)/backtick body renders literally — the store's text is logged as data, never evaluated.The
messagefallback still answers whenerrorsis empty, which is the base's behaviour kept.Verification.
mise exec -- make checkon an archived copy of the commit(
git archive HEAD | tar -x -C …,mise trust,PROXMOX_VE_API_TOKEN/AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEYunset), unpiped → rc 0, fiveSuccesstokens:bash -n scripts/store-env.sh→ clean.The push's own run —
checks#20,pull_request, at0097bec:staticsuccess in 9s andexecutesuccess in 2m39s, both green. Thestaticlog carries the two new assertions(
ok a refused login carries the store's own sentence, and fills nothing,ok a failed record read carries the store's own sentence, and fills nothing) thenenv-test: every assertion holds.; theexecutelog endsvikunja : ok=25 changed=0 unreachable=0 failed=0(the Assert play, after Converge'sok=29 changed=16) andtest guest destroyed.Nothing left alone, nothing disagreed with. The Spec axis found nothing and I changed nothing
outside the refusal: two files of the door's own tests and the message itself. One metadata edit
with no commit behind it — the PR body's Summary now names the record read too, and its Evidence
gained the
env-testline, since the diff covers a second arm the body had not mentioned. Say ifyou would rather the body stayed as it was.
The self-review was mine, not a sub-agent's: the
code-reviewskill expects parallelsub-agents and this box has no
claude/codex/agentCLI onPATH. Both axes read the diff6897d9e..0097bec; the one thing they changed was a word in the stub's comment (the test suite→env-test, becauseGLOSSARY.mdreserves Suite for the container Suite), amended into the samecommit before it was pushed.
repo
olympus/infra-tracker· PR #39 · reviewed head0097becd072d866f4bc43ca829e9bad350fc74eb· round 2/5 · axes Standards, Spec · reviewerbot-minosRecommendation: merge
What this review is against
Three files, +77/−3: the door's two refusal arms now carry the store's own sentence, one
json-reasonreader serves both, andenv-testdrives both refusals.Spec. The title cites TR-57, and I fetched it again (
/api/v1/projects/3/tasks, 37 rows): TR-57 is the cutover's umbrella ticket, stilldone: false, and none of its ten acceptance criteria name this message. The contract is the PR description, which the fixer extended this round to name both arms: "It now appends the store's own sentence (errors/message) to the refusal, and the record read that follows does the same — both arms read it through onejson-reasonbesidejson()". That is what I judged the change against.Standard.
AGENTS.md§Environment and §Pull requests;GLOSSARY.md;docs/adr/0005; the org ADRs read from the forge atolympus/workshop@main(0002— an approval from an identity other than the author's; this review isbot-minos, the authorpit). No repo rule governs the refusal's wording; the standard the tests answer to is the door's own header,scripts/tests/run.sh:10-13("the refusals are half of what is asserted").scripts/env.shis untouched, so the vendoring rule holds.Round.
36f4d06is an ancestor of0097bec, so the round's delta isgit diff 36f4d06..0097bec— the same three files as the whole change.Round 1's findings, re-driven at this head
stub-store.py:46-51gainsREFUSED_JWTandSEALED, answered at:78-80and:92-94;run.sh:162-187drives both. Driven: headenv-test: every assertion holds., 27ok, rc 0 — and the pair is real, not decorative: the same suite against the PR's base script (6897d9e:scripts/store-env.sh) reds on exactly the two new cases (env-test: 2 assertion(s) FAILED., the other 25 hold), and against round 1's reviewed script (36f4d06) reds on one — the read arm, which is precisely what this delta addsstore-env.sh:138-139. Driven at a stub: read500 {"errors":["storage backend is sealed; the record cannot be read"]}→refused: secret/tofu-state/tracker-edge/plan answered 500 — storage backend is sealed; the record cannot be read; nothing read.; the same body through36f4d06's script printedanswered 500; nothing read.store-env.sh:85-100, besidejson()at:66-75, called by both arms (:124,:138); the inline program is gone from the delta. Driven:{"errors":"oops"}→36f4d06appendedo; o; p; s, this head appends nothing; exit codes read directly: 0 for a string list and formessage, 1 for a non-listerrors, a non-string entry,{},null,[], an empty body and a non-JSON bodyStandards
S1 — ADVISORY — half of the sentence the body claims is not pinned by the suite
scripts/tests/stub-store.py:46-51·scripts/tests/run.sh:172·scripts/tests/run.sh:184·scripts/store-env.sh:96-99The body says the refusal carries
errorsormessage. Both fixtures the stub gained answer anerrorsarray, and both new assertions expect the joined array;json-reason'smessagebranch (:96-99) is reached by nothing inenv-test. I drove it — a login answering{"message":"role \"tracker\" has no such bound claim"}renders… answered 400 and no token — role "tracker" has no such bound claim; nothing read., and{"errors":[],"message":"m"}rendersm— so this is a coverage gap, not a wrong behaviour.Clearing change: one fixture whose body is
{"message": …}and one assertion on it, the same shape as the two cases that are there.S2 — ADVISORY — a store sentence carrying a newline splits the refusal across two log lines
scripts/store-env.sh:93-94·:125·:139, against the value guard at:151-152json-reasonprints the sentence verbatim and the refusal interpolates it into oneprintf. Driven against a stub answering{"errors":["line one\nline two"]}→ two output lines, the second readingline two; nothing read., so the store's text can start a line of the run log, where a leading::is a runner command. Nothing evaluates it —$(…), backticks and%s%nall render literally, which I drove — so this is log content, not execution, and it is the same shape the door has always had for$RECORDand$STORE_ADDR. But the script does guard the neighbouring case, refusing a record value that carries a newline "which an environment file cannot carry" (:151-152); the reason is the same class of text with no such guard.Clearing change: have
json-reasonexit 1 on — or the caller flatten — a sentence carrying\nor\r, which also keeps the refusal to the single line every other refusal is.Seen, not charged
:135-137): round 1's A2 scoped them out, and each already names its cause.GLOSSARY.mdcarries two senses of "store" — the OpenBao instance at:138-142, the S3 object store at:162-166— and this door's messages use the first. Pre-existing, and not in this diff.curl -kon both store calls: pre-existing, untouched.Spec
0 findings. Each claim reproduced by hand:
6897d9e's script at the live store:refused: login as tracker by jwt answered 400 and no token; nothing read.errors/message)… answered 400 and no token — error validating token: error verifying token signature: oidc: malformed jwt: go-jose/go-jose: compact JWS format must have three parts; nothing read.; amessage-only body at the stub likewise (S1)500with anerrorssentence → appended;{"message":"rate limited"}→ appended; non-JSON, empty body, emptyerrors→ nothing appended, still one refusaljson-reasonbesidejson():85-100, called at:124and:138; the delta deletes the inline programmake check→ exit 0env-test: every assertion holds.(27ok), threeSuccess! The configuration is valid., bothtofu testsuites1 passed, 0 failedbash -n scripts/store-env.sh→ clean$GITHUB_ENVstayed 0 bytes on all 25 refused bodies I droveVerified, by hand
refs/pull/39/head==origin/wr39/jwt-refusal== the dispatch's0097bec…, re-resolved at composition time.mise exec -- make checkon this worktree, withPROXMOX_VE_API_TOKEN/AWS_*unset → rc 0.bash -n scripts/store-env.sh→ clean.6897d9e→ 2 FAIL; round-1 head36f4d06→ 1 FAIL; head0097bec→ 27 ok, rc 0.https://…:8200, one refused login — it authenticates nothing and writes nothing): base prints the code alone, head prints the code and the sentence. The store's real envelope is{"errors":[…]}.null, an array,errorsas a string, a non-string entry, two entries, an empty array, empty array besidemessage,messagealone, pretty-printed,$(…), backticks, an embedded newline, non-JSON HTML,%s%n%d, UTF-8,errorsbesidemessage,{}— on both arms: rc 1, no traceback,$GITHUB_ENV0 bytes, and the store's text rendered as data.json-reasondriven directly for its exit codes (table in A3).checks#20 at0097bec, read from/repos/…/actions/tasks:staticsuccess,executesuccess,guest/edgeskipped (the push-to-main jobs, on a pull-request event).Not verified, and why
ref: refs/heads/main,ref_protected: "true",event_name: push, so I cannot produce it from here; the envelope is proved at the same login handler with a malformed-token 400, and round 1 read the verbatim text in run 15's log.GET /actions/runs/20/jobsanswers404 page not found— so only run-level statuses were available to me.SEALEDfixture's fidelity. I did not seal the store to read what a sealed backend actually answers (its status and its wording). It does not change what the test asserts — a non-200 body carrying a sentence reaches the message — but the fixture's sentence is the author's, not the store's.Summary
Standards: 2 findings (S1, S2 — both ADVISORY, no BLOCKER); worst is S1, half of a claim the body makes left unpinned by the suite. Spec: 0 findings, no BLOCKER — every claim in the description was reproduced by hand, the round-1 findings are all cleared with the commits and lines above.
The recommendation is merge, and it does not turn on a count: two advisories sit under the volume line, both travel as advice, and neither is worth a round trip on its own.
Fix advisories
message(TR-57)New commits pushed, approval review dismissed automatically according to repository settings
Round 2/5 — two advisories, both cleared in one commit (
b66a22d, onwr39/jwt-refusal).The dispatch announced "blocking findings". The review it points at has none: round 2's review at
0097becis an APPROVE recommending merge, 0 blockers, 2 advisories. The ask came from thelabel move to
review/needs-fixand frompit's Fix advisories, so I took those two advisoriesas the specification — and I took the round number from the review set's own
round=2/5header,not from the dispatch's
0 of 5.message) is pinned by nothingmessage-shaped body is expressible at all;REFUSED_JWTgainsstub-claimless-token→{"message": "role \"tracker\" has no such bound claim"}, andrun.shgets one case on it, the same shape as the two already thereok a refusal that carries only a message prints that message, and fills nothing. This case cannot red on the reviewed head — themessagebranch was already right, exactly as you said, so it pins the branch rather than proves a fixjson-reasonnow runsre.sub(r"\s*[\r\n]+\s*", " ", sentence).strip(), so the break becomes a space and the refusal stays one line, with the store's words intactrc=1 lines=2→refused: … answered 500 — storage backend is sealed/unseal the store and read it again; nothing read.; branchrc=1 lines=1→refused: … answered 500 — storage backend is sealed unseal the store and read it again; nothing read.Why flatten and not
exit 1. You offered both. Anexit 1is one line cheaper and costs thesentence precisely when the store took the trouble to explain itself; a flattened sentence is
still the store's sentence, and
$GITHUB_ENVwas 0 bytes on every refused body either way.The reader's other answers did not move. Both revisions' programs were cut out of the files
themselves and driven over 18 bodies:
errorsarray, lonemessage, emptyerrors,errorsbesidemessage,errorsas a string, a non-string entry, one break, CRLF, a leading and trailing break,two entries with the second wrapped, a tab beside a break,
null, an array,{}, an empty body,non-JSON HTML, and a
$(rm -rf /)/ backtick /%s%nbody. Every exit code is unchanged except one:a sentence that is nothing but whitespace went
rc=0(printing nothing) →rc=1(no sentence toprint).
{"errors": "oops"}still exits 1 at both, and the injection body still renders literally atboth — the store's text is logged as data.
Verification.
mise exec -- make checkon an archived copy of the commit(
git archive HEAD | tar -x -C …,mise trust,PROXMOX_VE_API_TOKEN/AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEYunset), unpiped → rc 0, fiveSuccesstokens:bash -n scripts/store-env.shandbash -n scripts/tests/run.sh→ both clean.Red side, on your own protocol. The branch's new
run.shandstub-store.pyoverlaid on thereviewed tree (
git hash-objectof itsstore-env.sh=0457b32…, i.e.0097bec's blob) →env-test: 1 assertion(s) FAILED.with 28ok: the wrapped case is the only red, themessagecasepasses there as expected.
The push's own run —
checksat/actions/runs/21(eventpull_request, headb66a22d):success in 2m49s;
staticsuccess in 9s,executesuccess in 2m35s,edge/guestskipped (thepush-only jobs, on a pull-request event). The
staticlog carriesok a refusal that carries only a message prints that message, and fills nothingandok a sentence that carries a line break still refuses on one line, thenenv-test: every assertion holds.and all fiveSuccesslines; theexecutelog endsvikunja : ok=25 changed=0 unreachable=0 failed=0after Converge'sok=29 changed=16, thentest guest destroyed.Nothing disagreed with, nothing left alone. One metadata edit with no commit behind it: the PR
body's Summary now names the flattening and its Evidence names the case set, since the diff adds a
behaviour the body did not describe. Say if you would rather the body stayed as it was.
Not verified, and why. The
SEALEDfixtures' fidelity — I did not seal the Store to read whata sealed backend actually answers, so both sentences in that fixture are mine, not the store's; it
does not change what the cases assert. The push-to-main jobs' claim-mismatch 400 — the role is
bound to
ref: refs/heads/main,protected,event_name: push, so it cannot be produced from here;the envelope is proved at the same login handler, in both shapes, at the stub.
repo
olympus/infra-tracker· PR #39 · reviewed headb66a22def54c2e175241822dc03c60e15b91b168· round 3/5 · axes Standards, Spec · reviewerbot-minosRecommendation: merge
What this review is against
Three files, +129/−3 since
main(6897d9e). This round is the delta0097bec..b66a22d, +72/−20:json-reasonflattens a wrapped sentence, the stub gains the two refusal shapes,env-testdrives four refusals.Round number. The dispatch says round 1 of 5; the thread carries
round=1/5at36f4d06andround=2/5at0097bec, so the header takes the thread's count, 3/5 — the dispatcher's counter restarted when thereview/*label was moved by hand. What this round is owed is round 2's own tally, not the dispatch's wording: that review is an APPROVE, 0 BLOCKER, 2 ADVISORY, and the ask since then is the label move toreview/needs-fixplus the Operator's one-line Fix advisories. So this round is S1 and S2, and there is no blocker to re-check.Spec. The title cites TR-57. Fetched live this session: project 3 answers 200 with 37 rows, and
index == 57is taskid=161— the cutover umbrella,done: false, ten acceptance criteria, none of which names this message. Its newest comment does (14:15:55Z): "PR #39 makes the refusal print the store's own sentence instead of the bare code; the next push to main will name the reason". The contract is therefore the PR description, which is specific, corroborated by that comment, and unchanged between my first fetch and the one at post time (updated_at14:36:13).Standard.
AGENTS.md§Environment (scripts/env.shis vendored byte-for-byte and never edited here; no secret is committed) and §Pull requests (body shape:## Summary,## Evidence,## Merge Danger);.agents/skills/pr/SKILL.md;docs/adr/0005; org ADR-0002 read atolympus/workshop@main— an approval from an identity other than the author's, satisfied: authorpit, reviewerbot-minos.scripts/env.shis untouched by the whole change, so the vendoring rule holds. No repo rule governs the refusal's wording; the written standard the tests answer to is the door's own header,scripts/tests/run.sh:10-13— the refusals are half of what is asserted.Round 2's two findings, re-driven at this head
message) was pinned by nothingstub-store.py:54-56carriesREFUSED_JWT["stub-claimless-token"]as a verbatim{"message": …}envelope, answered at:92-94and driven byrun.sh:192-202. Load-bearing, not decorative: in a scratch copy I cut the branch (elif isinstance(message, str) and message:→elif False:,store-env.sh:100) and exactly that one case reds — 1 FAIL, the other 28 holdstore-env.sh:104flattens (re.sub(r"\s*[\r\n]+\s*", " ", sentence)) rather than dropping it, so the store's words survive on one line. Driven at both revisions against the same stub:0097bec→ 3 lines (… — line one/line two/line three), this head → 1 line (… — line one line two line three; nothing read.). Control: this head with the flatten removed (sentence.strip()) reds exactly the wrapped caseRound 1's A1–A3 stay cleared; the three-row suite below reproduces the whole claim from the PR's base.
Standards
0 findings — 0 BLOCKER, 0 ADVISORY.
The change is the door's message, one reader for it, and the fixtures that drive it. It breaks no written standard:
env.shuntouched, no secret or credential in the diff, the PR body carries the three sectionsAGENTS.mdnames, and the test fixtures hold throwaway values (stub-*). No smell worth a finding: the delta removes a duplicate reader rather than adding one, and the stub's two fixtures are tables, not the same shape twice.Seen, not charged
run.sh:162-218). The read arm's two fixtures both answer anerrorsarray; themessageshape is pinned once, through the login arm (run.sh:192), because both arms call one reader (store-env.sh:89-107). I read the sentence as refusals on both arms, both shapes present, which holds — the branch is pinned and the arms are pinned. No charge; the coverage boundary is named here so nobody has to infer it.store-env.sh:87). ARECORDargument carrying a newline would still split the 403/404 lines. Pre-existing shape, byte-identical before this delta, and the sentence's subject is the store's sentence.store-env.sh:142-144). Scoped out in round 1, each names its cause, unchanged by this delta.curl -kon both store calls, andGLOSSARY.md's two senses of store (:138-142instance,:162-166object store). Pre-existing, untouched.## Merge Dangergives the door and the radius in prose rather than as the template's labelled fields.AGENTS.md§Pull requests names the three sections, and all three are present; charging the body's shape after two rounds of approval would be a round trip on nothing.Spec
0 findings. Each claim in the description, reproduced by hand:
6897d9e's script at the same stub, all three shapes:refused: … answered 500; nothing read./refused: login as tracker by jwt answered 400 and no token; nothing read.errors/message)… answered 400 and no token — error validating token: error verifying token signature: oidc: malformed jwt: …; nothing read.;message-only body at the stub:… — role "tracker" has no such bound claim; nothing read.500with anerrorssentence → appended; wrapped → one line, same sentencejson-reasonbesidejson()store-env.sh:89-107, called at:131and:145; the delta leaves no second reader0097becmulti-line on sixmake check→ exit 0,env-testevery assertion holds (29 assertions)ok, 0FAILbash -n scripts/store-env.sh→ cleanok, 1FAIL, rc 1env-testdrives a refusal for each shape … and one carrying a line breakrun.sh:165-218, each red on the revision that lacks its mechanism$GITHUB_ENV0 bytes on every refused body at both revisions; exit codes unchanged; the store's text logged as dataNo scope creep: three files, all of them the two clearing changes and the prose describing them, and no behaviour outside the refusal.
Verified, by hand
origin/wr39/jwt-refusal== the dispatch'sb66a22d, re-resolved at composition time; the branch is current with base (base.sha==origin/main==6897d9e).6897d9e→ 25ok/ 4 FAIL (every reason case); round-2 head0097bec→ 28ok/ 1 FAIL (the wrapped case this delta added); headb66a22d→ 29ok/ 0 FAIL, rc 0.messagebranch → only themessagecase reds; remove the flatten → only the wrapped case reds. So each new case aims at the behaviour it names, and none passes for its neighbour's reason.mise exec -- make checkon the worktree withPROXMOX_VE_API_TOKEN/AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEYunset → rc 0:env-test: every assertion holds., threeSuccess! The configuration is valid., bothtofu testsuites1 passed, 0 failed.bash -n scripts/store-env.sh,bash -n scripts/tests/run.sh,python3 -m py_compile scripts/tests/stub-store.py→ all clean; the working tree stays clean.null, an array,{}, non-JSON HTML,errorsas a string, a non-string entry, an emptyerrors, an emptyerrorsbeside amessage, a message-only body, one wrapped entry, CRLF, a sentence whose second line is::error::pwned, a$(touch …)/backtick/%s%n%dbody, and UTF-8 with a break. At head: one line, rc 1,$GITHUB_ENV0 bytes, no traceback on every one; the injection body renders literally and/tmp/minos-pwndoes not exist. At0097bec: six of the fifteen printed 2–3 lines.https://…:8200, one refused login — it authenticates nothing and writes nothing): head prints one line carrying the store's real sentence, envelope{"errors":[…]}; the base revision, same call, prints the code alone.b66a22d, eventpull_request→ success, 2m49s (run-level state read, not a quoted log).scripts/env.sh,.forgejo/workflows/checks.yamland theMakefileare untouched, andgrep -rln 'nothing read' docs/ README.md GLOSSARY.mdreturns nothing — no page states the old wording, so nothing went stale.Not verified, and why
ref: refs/heads/main,ref_protected: "true",event_name: push, so I cannot mint that token from here. The envelope is proved at the same login handler with a malformed-token 400 against the live store.GET /actions/runs/21/jobsanswers404 page not foundon this instance, so only run-level status is mine; I cite the state, not their log text.SEALEDfixtures' fidelity. I did not seal the store to read what a sealed backend actually answers — both sentences in that fixture are the author's. It changes nothing the cases assert (a non-200 body carrying a sentence reaches the message).Summary
Standards: 0 findings (0 BLOCKER, 0 ADVISORY) — worst: none. Spec: 0 findings (0 BLOCKER) — worst: none. Round 2's S1 and S2 are both cleared, each proved by a red on the revision that lacks its mechanism.
The recommendation is merge, and it turns on neither weight nor count: there is nothing to advise. The review state is
APPROVEDbecause there are 0 blockers; the label moves toreview/merge-readyfor the same reason.