Repository navigation
chore(deps): bump the accountant to v0.10.0 - #1464
Conversation
Bump accountant and accountant/metrics from v0.9.0 to v0.10.0. The release has one change (accountant#121). Withhold no longer withholds a saving for a sum failure that no operation claims. The metrics module is unchanged. Update the docs that name the accountant version. Assisted-By: Claude Opus 5.5 Signed-off-by: DAVID AMID <[email protected]>
amiddavid
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.332 | offload-review skill, @amiddavid's session | fresh | 1 of 2 | 1 of 2 | 6d31a776 |
approve |
Verdict: approve
Findings
None. The change is a clean dependency bump, and I found no defect in it.
Non-blocking
-
PR description, "Behavior change" section — the parentheticals misstate the new gate.
- The PR says
Withholdskips acheck_sumfailure "when no operation claims any bytes in that section (Gotis 0)" and "Still withheld: acheck_sumfailure withGotnot 0". - The library gates on
Claims, notGot(accountant v0.10.0,internal/engine/withhold.go,unreportedChange:c.Claims != nil && *c.Claims == 0). A section whose claims cancel (an insert of N bytes beside a removal of N bytes) hasGot0 andClaimsabove 0, and it still gates. So the skip condition is "Claimsis 0", not "Gotis 0". - Why it matters: the owner reads this section to give the yes the PR asks for. Please correct the two parentheticals before that yes, so the decision rests on the real rule.
- The PR says
-
PR description, "What changed" — "the version number in 2 rows" is one row. Only
docs/data-dependence/features/metrics-push.mdnames the accountant version (its copy in the generated page is the second place). Trivial. -
Dash and the push now disagree on the new case, as the PR's open question says.
dash/accountant_price.go:472gates onc.Fatal()and does not change, so the dashboard still books no saving on aClaims-0sumfailure, while the push path (proxy/accountant_wire.go:224,accountant.Withhold) now books it. The divergence is pre-existing structure, not introduced here, and the PR names it. Worth answering before the next cut.
What I checked
- Full diff (5 files:
go.mod,go.sum, 3 docs) and the code around each use of the accountant. - What v0.10.0 changes. I diffed the module cache copies of
rossoctl/accountantv0.9.0 and v0.10.0. Onlyinternal/engine(withhold gate,CheckFailure.Claimsfield, claims counting incompute.go) and docs changed. Themetricssubmodule is byte-identical between the two tags. The public root package is unchanged except the additiveClaims *intfield, so the repo's 30+ import sites compile unchanged. The PR's "the library has 1 change" and "the metrics module has no change" claims hold. - The behavior change is named at the top of the PR, as
CLAUDE.mdrequires, with who it affects, old and new behavior, and how to turn it off (pin v0.9.0). The PR itself says it needs the owner's yes before merge. Merge gate: that yes must be recorded on the PR before hand-off. I did not read the PR comments (round-1 rule), so I cannot confirm it is there yet. - go.mod rules. Both lines the PR changes pin released tags (
v0.10.0for the root module and for themetricssubfolder, which needs its own tag). No pseudo-version. Themetricsbump is not forced by MVS (the accountant'sgo.modrequires nothing), but it is harmless and keeps the pair at one version. - go.sum. Both
h1:hashes for each module match the.ziphashfiles in the local module cache, and the/go.modhash for v0.10.0 equals v0.9.0's, which matches the byte-identicalgo.modI verified. - Data dependence. The row file
docs/data-dependence/features/metrics-push.mdwas edited, and the regenerated page cell indocs/data-dependence.mdmatches the row text exactly (I compared the strings). No hand edit to the generated page. The reason-code list indocs/metrics/spec.mdstill matches the library's constants, which did not change between the versions. The change alters when a figure is withheld, not what data is read or sent, so the row's Kind and levels stay right. - Stale references. No remaining "accountant v0.9.0" in the repo. The two "v0.1.0" mentions in
docs/accountant/are historical notes. - The dash claim in the PR.
dashgates onFatal()(dash/accountant_price.go:472), andFatal()does not change in v0.10.0, so the PR's "not affected: the dashboard" claim holds. - Live tests were not run (not approved for this review). I read the library source and the repo's call sites instead.
amiddavid
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.332 | offload-review skill, @amiddavid's session | fresh | 2 of 2 | 1 of 2 | 6d31a776 |
blocking |
Verdict: blocking
The code change itself is sound. I verified the bump against the accountant source in the local
module cache. Both findings are about the behavior-change gate, not the code.
Findings
-
PR body, "Behavior change" section — the stated boundary of the new
Withholdrule is wrong: it namesGot, the library gates onClaims- What fails: The body says the new rule skips a
check_sumfailure when "Gotis 0", and "Still withheld: acheck_sumfailure withGotnot 0". That is not what accountant v0.10.0 does.WithholdreadsClaims(the count of spans of applied operations in the section), notGot(the net bytes they claim). Asumfailure withGot0 andClaimsabove 0 — a false removal of N bytes beside a real insert of N bytes — still withholds. The body tells the owner the opposite. - Proof: accountant v0.10.0
internal/engine/withhold.go,unreportedChange:c.Check == CheckSum && c.Claims != nil && *c.Claims == 0. Its own test{"sum, claims cancel to Got 0", ... sumFailure(SectionTools, -100, 0, 2)}expectsWithheldCheckSum. The library design doc says it plainly: "WithholdreadsClaims, notGot". For failures the library builds,Claims0 impliesGot0, butGot0 does not implyClaims0. - Fix: Edit the two lines of the PR body. Say: skips when no applied operation has a span in the section (
Claimsis 0); still withholds when operations claim the section, also when their bytes cancel toGot0. The owner's yes must rest on the right boundary.
- What fails: The body says the new rule skips a
-
PR body — the behavior change has no recorded human yes yet
- What fails: CLAUDE.md and RELEASING.md say every behavior change needs a human developer's yes before merge. This bump changes what users see: savings figures rise on requests where a body change no operation reported caused a
sumfailure. The body itself says "Needs the owner's yes before merge" and lists it as an open question. No yes is recorded on the PR. - Proof: The PR body's "Open questions" section, first item. The behavior change section, first line.
- Fix: The owner records the yes on the PR (after finding 1 is corrected) before the hand-off.
- What fails: CLAUDE.md and RELEASING.md say every behavior change needs a human developer's yes before merge. This bump changes what users see: savings figures rise on requests where a body change no operation reported caused a
Non-blocking
- The PR body has no
Local tests: waived (owner rule)line. It lists targeted tests instead.check-ready.shwants the waiver line (interim rule) in the body or a comment. docs/metrics/spec.md:308— thecheck_sumreason ofllm_savings_withheld_totalnow occurs less. A half-sentence saying asumfailure no operation claims no longer withholds would keep the spec exact. Optional.- The proxy and
dashnow differ on aClaims-0sumfailure: the proxy books, the dashboard falls back. The PR names this as an open question. Fine to leave for a later PR.
What I checked
- The full diff:
go.mod,go.sum, and 3 doc files. No Go code changes, so no host-boundary or client-rule questions arise. - The accountant v0.9.0 → v0.10.0 diff, read from the local module cache. The root module changes 4 files only (
withhold.go,result.go,check_numbers.go,compute.go): a newClaimsfield onCheckFailureand the unreported-change exception inWithhold. Themetricsmodule is byte-identical between the two tags, as the PR claims.Fatal()is unchanged, so the PR's claim "Not affected: the dashboard" holds (dash/accountant_price.go:472gates onFatal()). - The go.mod pin rule: both pins are released tags (
v0.10.0,metrics/v0.10.0), no pseudo-version. Thego.sumhashes are consistent: the root module'sgo.modhash is unchanged because the library'sgo.moddid not change; themetricsh1 changes only because a module zip's file paths carry the version. - The proxy call site that changes behavior:
proxy/accountant_wire.go:224callsaccountant.Withhold. - Tests that touch
check_sum, none of which assert the oldClaims-0 behavior:TestSavings_ChangedChangeIDDoubleCountIsGated(the section is claimed by two rewrites, so it still gates),proxyapp/metricspushtests build{Check: "sum"}withClaimsnil (the library's own test "sum, Claims absent" still withholds), andpricedAfterRestart/TestToolDeferReportsItsNamesListrequire no check failure at all. This supports the PR's claim that no golden file needed a change. - Data dependence: the row file
docs/data-dependence/features/metrics-push.mdand the generated page carry the same edit, word for word. The kind and the three levels do not change, and the reason-code list is unchanged in v0.10.0, so the row's text stays true. Only the version reference changed. - The withhold reason constants are the same seven in both versions, so
docs/metrics/spec.md's reason list stays correct.
Round 1 replies (head unchanged, 6d31a77)Reviewer 2, finding 1, and reviewer 1, note 1 ( Reviewer 2, finding 2 (no recorded human yes): fixed. The owner approved the behavior change in the integrator session ("1464 approve"). The integrator described the rule to the owner as "no operation claims that section", which is the Reviewer 2, non-blocking (local tests line): fixed. The body now has the line Reviewer 1, note 2 ("2 rows"): accepted. One row names the version, and the generated page copies it. No change. Dash and push differ on a
The code did not change, so round 2 runs on the same head. |
amiddavid
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.332 | offload-review skill, @amiddavid's session | resumed | 2 of 2 | 2 of 2 | 6d31a776 |
approve |
Verdict: approve
The head did not move. Both round-1 findings are fixed in the PR body, and I verified each fix
against the PR as it stands now. The code needs no change.
Findings
None.
Earlier findings
-
Round 1, finding 1 (PR body named
Got, the library gates onClaims): fixed. The body now saysWithholdskips acheck_sumfailure "when no applied operation has a span in that section (Claimsis 0)" and still withholds "where operations claim the section (Claimsabove 0), also when their bytes cancel toGot0". That matchesunreportedChangein accountant v0.10.0, which I checked in round 1. The owner's yes now rests on the right boundary. I also agree with reviewer 1, note 1, which raised the same point; I verified it independently in round 1. -
Round 1, finding 2 (no recorded human yes): fixed. The body's first line records the owner's approval: "The owner approved this behavior change in the integrator session ("1464 approve")." The approval is the owner's own words, relayed through the integrator session and recorded on the PR. The integrator described the rule to the owner as "no operation claims that section", which is the
Claimsrule the body now states. The record sits where the owner can see it. This meets the rule in CLAUDE.md and RELEASING.md. -
Round 1, non-blocking (missing waiver line): fixed. The body now has
Local tests: waived (owner rule). -
Round 1, non-blocking (dash and push differ on a
Claims-0sumfailure): out of scope, follow-up open. Issue #1465 ("dash: gate savings with accountant.Withhold, like the metrics push") exists, opened 2026-11-26T14:04:37Z. I verified it. -
Round 1, non-blocking (spec.md half-sentence): not done, by the author's choice, to keep this PR a pure version bump. Accepted: it was optional.
-
Reviewer 1, note 2 ("2 rows" is one row): accepted by the author, no change. Correct: one row file names the version; the generated page copies it.
Non-blocking
- The body's "Open questions" section still lists "Does the owner accept that proxy savings figures rise on requests with an unreported body change?" The first line of the body now answers it. Strike the question, or mark it answered, so a reader does not think the yes is still missing.
What I checked
- Last review: round 1,
6d31a77605ec68e6e67fe0bbf6a5f505f9067918, 2026-11-26T14:03:24Z. - New commits read: 0. Command
git log --stat 6d31a77605ec68e6e67fe0bbf6a5f505f9067918..HEADreturned empty output (exit 0). The head is the same as round 1, as expected. - Read in full: 2 reviews, 1 comment, 0 inline comments (from
.review-in-reviews.txt,.review-in-comments.txt,.review-in-inline.txt). Reviewer 1's round-1 review (14:02:03Z) I read now for the first time; the round-1 rule kept me from it before. My own round-1 review (14:03:24Z) I re-read in full. - New items since my last review: 1, the round-1 replies comment by amiddavid at 2026-11-26T14:04:21Z. I checked each claim in it:
- "Fixed in the PR body" (finding 1): re-fetched the PR body from the API and read all 53 lines. Lines 7 and 9 now state the
Claimsrule. Verified. - "The owner approved ... the body records the approval in its first line" (finding 2): the body's line 3 records it. Verified.
- "The body now has the waiver line" (finding 3): the body's line 42. Verified.
- "The integrator opens a follow-up issue" (dash divergence): issue #1465 exists with the matching title and timestamp. Verified.
- "Fixed in the PR body" (finding 1): re-fetched the PR body from the API and read all 53 lines. Lines 7 and 9 now state the
- No code changed since round 1, so my round-1 code checks stand: the bump is sound, the pin rule holds, the data-dependence row and the generated page match, and no test asserts the old
Claims-0 behavior. - Live tests were not run (not approved for this review). The head is unchanged from round 1, so the author's round-1 test notes still apply to it.
amiddavid
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.332 | offload-review skill, @amiddavid's session | resumed | 1 of 2 | 2 of 2 | 6d31a776 |
approve |
Verdict: approve
Findings
None. No new commit, and every reply on the PR checks out.
Earlier findings, status
- Reviewer 1, note 1 / reviewer 2, finding 1 (the body named
Got, the library gates onClaims): fixed. The body now saysWithholdskips acheck_sumfailure "when no applied operation has a span in that section (Claimsis 0)", and still withholds "where operations claim the section (Claimsabove 0), also when their bytes cancel toGot0". I checked this againstunreportedChangein accountant v0.10.0 (c.Check == CheckSum && c.Claims != nil && *c.Claims == 0). The body now states the real rule. - Reviewer 2, finding 2 (no recorded human yes): fixed. The first line of the "Behavior change" section records the owner's approval ("1464 approve" in the integrator session). The reply says the integrator described the rule to the owner as "no operation claims that section" — the
Claimsrule, the corrected one. The yes rests on the right description and is recorded on the PR. - Reviewer 2, non-blocking (missing local-tests line): fixed. The body now ends with
Local tests: waived (owner rule). - Reviewer 1, note 2 ("2 rows" is one row): accepted by the author. No change needed.
- Reviewer 1, note 3 / reviewer 2, non-blocking (dash and push disagree on the new case): out of scope, follow-up opened. Issue #1465 ("dash: gate savings with accountant.Withhold, like the metrics push", opened 2026-11-26T14:04:37Z, open) covers it, and its proposal also covers the deferred
docs/metrics/spec.mdhalf-sentence. Verified against the issue body. - Reviewer 2, non-blocking (spec.md half-sentence): not done here, by choice. The author kept the PR a pure version bump. Issue #1465's proposal carries the spec edit. Accepted.
Non-blocking
- The body's "Open questions" still lists "Does the owner accept that proxy savings figures rise…?", which the approval line at the top has now answered. Cosmetic; the top line supersedes it.
What I checked
- Last review: round 1, 6d31a77, 2026-11-26T14:02:03Z.
- New commits read: 0.
git log --oneline 6d31a77605ec68e6e67fe0bbf6a5f505f9067918..HEADprints nothing; HEAD is still6d31a776. That is expected, not a skip. - Read in full: 2 reviews, 1 comment, 0 inline comments (from
.review-in-reviews.txt,.review-in-comments.txt,.review-in-inline.txt). - New items since my last review, and what I did about each:
- Reviewer 2's round-1 review (14:03:24Z, blocking). Read in full. Both findings match what I verified in round 1 from the library source; both are now fixed (see above).
- The author's round-1 reply (14:04:21Z). Read in full. I verified each claim it makes: the corrected
Claimswording in the body, the recorded owner's yes, the local-tests waiver line, and the follow-up issue. - The edited PR body. Re-fetched and re-read in full. The "Behavior change" section states the
Claimsrule exactly as the library implements it, and names who approved, where, and how to turn the change off. - Issue #1465 (14:04:37Z). Read in full. It covers the dash/push divergence and the spec.md note, and it names its own behavior-change gate.
- Live tests: not run. They are not approved for this review, and the head is unchanged since round 1, so there is no new code to test. The author's round-1 test notes stand as written.
- The code,
go.mod,go.sumand the three doc files are byte-identical to the head I reviewed in round 1. My round-1 checks (module diff, go.sum hashes, data-dependence row match, no stale version references) still hold.
…-0.10.0 Signed-off-by: DAVID AMID <[email protected]>
Accountant v0.10.0 adds the field Check.Claims to the marshaled Result. Cases 0, 1, 2 and 5 carry a ratio_range check, so each gets a new "Claims": null key and a new digest. Saved and Unpriced are the same. Cases 3 and 4 are the same. No booked figure changed. Assisted-By: Claude Opus 5.5 Signed-off-by: DAVID AMID <[email protected]>
New commit after round 2 (af26489)CI job purego failed on The commit updates the 4 expected digests and adds a comment with the reason. It also merges |
amiddavid
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.332 | offload-review skill, @amiddavid's session | resumed | 1 of 2 | 3 of 3 | af26489306ac |
approve --> |
Verdict: approve
Findings
None. The new commit is a correct test update, the merge of main is clean, and CI is green at the new head.
Earlier findings, status
All round-1 and round-2 findings stay fixed. The new commits touch none of them:
- The
Claimswording in the body and the recorded owner's yes are unchanged. - The dash/push divergence stays tracked in issue #1465. After the merge I re-checked it on the new tree:
dash/accountant_price.go:349still gates onc.Fatal(),proxy/accountant_wire.go:224still gates onaccountant.Withhold. The PR body's "Not affected: the dashboard" claim still holds on the merged tree, because #1462 kept theFatal()gate.
The new commit, checked
af264893"test(proxy): the replay books the v0.10.0 figures". It updates 4 of the 6 expected digests inTestReplayBooksTheSameFiguresand adds the reason as a comment. I verified the mechanism from the library source:CheckFailure.Claimsis*intwith noomitempty(internal/engine/result.go:99), so every marshaledCheckFailurenow carries"Claims": null. Cases 0, 1, 2 and 5 carry aratio_rangecheck (CheckRatioRange,compute.go:21), so their digests change; cases 3 and 4 have no check, and their digests are unchanged in thewantstring — the two constantsa1ca4676152f8123and1cf6bfca006c491dappear in both the old and the new list. The commit message's claim "no booked figure changed" matches my round-1 library diff:compute.goonly adds claims counting forsumfailures, andSaved/Unpricedcomputation is untouched. CIpurego(which runs this test) passes at the new head.7b184ad6, the merge oforigin/main. Clean. The merged tree differs frommain(f9ec697c) by exactly this PR's 5 files, and differs from its first parent (6d31a776) by exactly main's #1462 changes (13 files, 428 insertions). No conflict resolution changed anything. The interaction I checked: #1462 moved dash pricing ontoaccountant.Figureand addedproxy/dash_figure_counters_test.go(dash figure equals thellm_savings_*counters). Neither readsWithhold's new exception, so the merge creates no new behavior beyond what the PR body names.
Non-blocking
- The PR body still says "No golden or expected test file needed a change". At
af264893that is stale: the replay test's expected digests are a golden list, and they changed. The author's comment at 14:11:52Z records the truth, and the "How it was tested" section of the body still describes only the old head's runs. Update the two spots before the hand-off, so the body matches the head it merges.
What I checked
- Last review: round 2, 6d31a77, 2026-11-26T14:06:13Z.
- New commits read: 2 —
7b184ad6"Merge remote-tracking branch 'origin/main' into chore/bump-accountant-0.10.0",af264893"test(proxy): the replay books the v0.10.0 figures". The new basef9ec697c(main's #1462) I read as part of the merge. - Read in full: 4 reviews, 2 comments, 0 inline comments (from
.review-in-reviews.txt,.review-in-comments.txt,.review-in-inline.txt). - New items since my last review, and what I did about each:
- Reviewer 2's round-2 review (14:06:10Z, approve). Read in full. Its verdicts match mine; nothing new to check beyond what I verified myself.
- The author's comment at 14:11:52Z. Read in full. I verified each claim: the CI
puregofailure at the old head and its cause ("Claims": nullin the marshaledResult), the 4 changed digests against the test file, the unchanged figures against my round-1 library diff, and the passing CI at the new head (gh pr checks: purego, lint-build, trivy, analyze, build, CodeQL, DCO all pass). - The two new commits, reviewed as a first review above.
- The PR body, re-fetched and re-read in full. Unchanged from round 2 except that one claim is now stale (see Non-blocking).
- The PR's own diff against its new base (
git diff f9ec697c..HEAD) is the round-1 bump plus the one test file. My round-1 checks on the bump (module diff, go.sum hashes against the module cache, data-dependence row match, no stale version references) still hold; the merge touched none of those files. - Live tests: not run, not approved. CI
puregoruns the changed package's tests at the new head and passes, which covers the one test this round changed.
amiddavid
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.332 | offload-review skill, @amiddavid's session | resumed | 2 of 2 | 3 of 3 | af264893 |
approve |
Verdict: approve
The new head has two commits: a merge of main and a replay-test digest update. Both are sound.
The digest update is a golden refresh forced by an additive library field, not a hidden figure
change. CI is green at the new head.
Findings
None.
The new commits
-
af264893—test(proxy): the replay books the v0.10.0 figures. Sound.- What it does: updates 4 of the 6 expected digests in
TestReplayBooksTheSameFiguresand adds a comment with the reason. - Why the digests change: the test hashes
json.Marshal(res)of the whole accountantResult, checks included (proxy/accountant_replay_test.go:63-68). v0.10.0 addsClaims *inttoCheckFailurewith no json tag, so every marshaled check gains a"Claims": nullkey. AnyResultthat carries a check gets new bytes and a new digest. - Proof that no figure changed: cases 3 and 4 kept their digests (
a1ca4676152f8123,1cf6bfca006c491d). AResultwith no checks marshals to identical bytes in v0.9.0 and v0.10.0, so those two book the same figures as before. The library's figure computation is unchanged by #121 (it changes only theWithholdgate and the claims count), andWithholdoutput is not part of the digest. The partition is self-consistent: exactly the cases that carry checks changed. - CI confirms it:
puregofailed on this test at the old head and passes ataf264893. I checked the PR's check runs.
- What it does: updates 4 of the 6 expected digests in
-
7b184ad6— merge oforigin/main(f9ec697c, #1462) into the branch. Clean.- A normal merge, no force-push, as the branch rules require.
- The PR's own diff against the new base is unchanged in substance:
go.mod,go.sum, the 3 doc files, plus the replay test. - Interaction check: #1462 rewrote
dash/accountant_price.go, anddashstill gates onFatal()(dash/accountant_price.go:349at the merged head), never onWithhold. So the PR body's claim "Not affected: the dashboard" still holds after the merge. Issue #1465 tracks the alignment.
Earlier findings, status
- Round 1, finding 1 (
GotagainstClaimsin the PR body): fixed in round 2. The body still states theClaimsrule correctly at the new head (lines 7 and 9 of the body). - Round 1, finding 2 (no recorded human yes): fixed in round 2. The body's first line still records the owner's approval ("1464 approve" in the integrator session).
- Round 1, non-blocking (waiver line, spec.md half-sentence, dash divergence): fixed, deferred to #1465, and tracked in #1465, as verified in round 2. Nothing changed.
- Round 1 claim in the body, "No golden or expected test file needed a change": proved wrong by CI. The
puregojob failed onTestReplayBooksTheSameFigures. The author fixed it with the digest commit. The body's "What changed" section still carries the old sentence; the new test run in "How it was tested" covers the new head. Minor wording, see Non-blocking. - Reviewer 1's round-2 review (14:06:13Z): read in full. I agree with its status of every finding; I verified each myself in rounds 1 and 2.
Non-blocking
- The body's "Open questions" section still lists the owner question that the approval line answers. Carried over from round 2; cosmetic.
- The body's "What changed" still says "No golden or expected test file needed a change", which CI disproved and the new commit fixes. Strike or correct the sentence.
- The replay test hashes the whole marshaled
Result, so any additive library field breaks it. Pre-existing design, not this PR's defect. A follow-up could hash only the figure fields.
What I checked
- Last review: round 2,
6d31a77605ec68e6e67fe0bbf6a5f505f9067918, 2026-11-26T14:06:10Z. - New commits read: 2 —
7b184ad6"Merge remote-tracking branch 'origin/main' into chore/bump-accountant-0.10.0" andaf264893"test(proxy): the replay books the v0.10.0 figures". The new basef9ec697cis #1462 frommain; I read its full commit message and stat. It ismain's code, not this PR's change. - Read in full: 4 reviews, 2 comments, 0 inline comments (from
.review-in-reviews.txt,.review-in-comments.txt,.review-in-inline.txt). - New items since my last review, and what I did about each:
- Reviewer 1's round-2 review (14:06:13Z, approve). Read in full. Its finding statuses match my own verification.
- The author's comment (14:11:52Z) on the CI failure and the fix. Read in full. I verified each claim: the
Claimsfield is new in the marshaledResult(libraryresult.go), the digest pattern matches exactly the cases that carry checks, andpuregonow passes. - The two new commits. Read the full diff of each and the code around the change (
proxy/accountant_replay_test.go, whole file). - The PR body at the new head. Re-fetched and re-read in full. The behavior-change section, the owner's yes, and the waiver line are unchanged; the test notes now cover the new head.
- CI at
af264893:lint-build,purego,trivy,DCOall pass. Checked withgh pr checks.
- The bump itself (
go.mod,go.sum, 3 doc files) is byte-identical to the head I approved in round 2; my round-1 and round-2 checks on it stand. - Live tests were not run (not approved for this review). CI
puregocovers the changed package at the new head, and it passes.
Behavior change
The owner approved this behavior change in the integrator session ("1464 approve").
evolve.accountant.Withholdwithheld the saving of the whole request. The figure went to 0 and the request counted inllm.savings.withheld(reasoncheck_sum).Withholdskips acheck_sumfailure when no applied operation has a span in that section (Claimsis 0). The saving of the other, correctly reported operations now counts.llm_savings_withheld_totalgoes down.check_sumfailure where operations claim the section (Claimsabove 0), also when their bytes cancel toGot0. Example: two operations claim one change.dashgates onFatal()directly, andFatal()does not change. Context-guru's own components report their operations, so the proxy path probably rarely hits the case today.Summary
Bump
github.com/rossoctl/accountantandgithub.com/rossoctl/accountant/metricsfrom v0.9.0 to v0.10.0.What changed
go.modandgo.sum: both modules pin the tag v0.10.0. No pseudo-version.metricsmodule has no change in this release.docs/data-dependence.md,docs/data-dependence/features/metrics-push.md,docs/metrics/spec.md).go run ./cmd/gen-datadepgives no further change.proxy/accountant_replay_test.go: 4 expected digests change. accountant v0.10.0 adds the fieldCheck.Claimsto the marshaledResult, so 4 cases have a new"Claims": nullkey. No booked figure changes.How it was tested
go test ./proxy/ -count=1andgo vet ./...pass (macOS, Go 1.27.4). Fast CI is green.macOS, Go 1.27.4. No
-race.CGO_ENABLED=0 go build ./...: pass.go vet ./...: pass.go test ./dash/... ./accrec/... ./components/... ./keepalive/... -count=1 -timeout 20m: pass.go test ./proxy/ -run 'Accountant|Savings|Withh|Interaction' -count=1 -timeout 15m: pass.Data dependence
Metadata only. The change affects when a figure is withheld. It reads no transcript text, no tool output and no stored content. The behavior is the same at each storage level (off, metadata only, everything). No data-dependence row changes, except the version number in 2 rows.
Binaries
None.
Local tests: waived (owner rule)
Open questions
check_sumfailure that no operation claims. dash: gate savings with accountant.Withhold, like the metrics push #1465 follows up.Refs #1450
Assisted-By: Claude Opus 5.5