Repository navigation
Releases
Releases · IanFoxDev/money-review
v1.0.0
Added
- Four checklists: refunds and reversals (REV), subscription lifecycle (SUB), periods
and dates (TIME), data completeness for syncs, backfills and aggregates (DATA). - The provider checklist reads provider messages too: loose values (PSP-5), pending
results taken as final (PSP-6), amounts not checked against the order (PSP-7),
unsigned messages (PSP-8), late events (PSP-9), events acknowledged and never applied
(PSP-10); PSP-3 also covers a default branch that maps unknown events to a charge. - MONEY-8 (amounts in different units or scales), MONEY-9 (a missing value that
defaults to moving money), IDEM-12 (a dedup check that can never match), TX-10 (a
second write path that skips the side effects of the main one). - A category also matches on the path of a file in scope, so a
PostbackController.php
gets the provider checklist when the changed lines do not name the provider.
Changed
- The verifier treats a scenario that a comment at the code states as a decision (a
paid purchase stands, only the counter is capped) as already weighed: it keeps only
what the decision leaves out, such as money with no trace in data or a docblock that
promises the opposite, with severitylow, and rejects the rest. A rule stated in a
repository doc (README, a module's notes,docs/) or in a named constant counts the
same, and the verifier reads the module's notes before it calls a behaviour
unintended, also when the diff does not touch them. - IDEM-1 covers an API endpoint that moves money with no idempotency key while the
other money endpoints of the same API take one, and a stored key whose saved answer
is replayed for a request with a different body. - A file in scope only through
money_pathsgets the four base checklists (TX, RACE,
IDEM, MONEY); the others load when the file matches their patterns. REV,SUB,TIMEandDATAare built-in prefixes and cannot name private rules.- "Do not report" cases for DATA-5 (a migration the default branch has not run),
SUB-4 (an expired subscription renewed from now with no access in the gap), MONEY-9
(a fallback that money paths cannot reach), IDEM-12 (a type the write layer casts),
IDEM-5 (an action a person starts by hand, where running it again is a new request)
and PSP-3 (a handler behind a provider setting that sends one event type, when the
code or its configuration shows that setting). - Eval: a finding with the right rule counts when its line is within 10 lines of the
anchor range (was 5). Reviews that point at the start of the function or the
missing guard were scored as false alarms. The stored runs of the real set
(0.8.3 baseline, 0.9.1) score the same with the new window. - Eval: new baselines for both sets from a full run before this release
(docs/eval-results/2026-10-27-1.0.md). Gaps in
the synthetic cases that the reviewer found are fixed in the cases; findings that
are the same bug under a newer rule are accepted.
v0.9.1
Fixed
--pr,--mrand--commitsdid not load the private config: the review runs in a
temporary worktree, and the private folder was looked up by the worktree's directory
name instead of the repository's. Any linked worktree now uses the main checkout's name.
v0.9.0
Added
- Payment providers checklist (PSP): a provider change marked done because the request
was accepted (PSP-1), our expiry or status taken as "the provider will not charge"
(PSP-2), notifications turned into payments whatever their type (PSP-3), a fix for one
provider or path while the siblings keep the bug (PSP-4). - IDEM-11: a dedup key (unique index, upsert filter,
ReplacingMergeTreekey) with a
field that is filled later, so two versions of one event become two rows. - Private rules:
rulesin the config adds your own checklists with their own prefix,
loaded by a pattern or for every money change; the file stays with your config. - Private folder:
plugins/money-review/private/<repository name>/config.json(in
.gitignore, template inprivate.example/) goes over the project config and adds its
rules and invariants;MONEY_REVIEW_PRIVATEpoints at another directory. The README
shows how a bug becomes a public rule, a private rule or an invariant. - Invariants:
invariantsin the config become a checklist (INV-1, ...) that every
review checks the change against. - The reviewer looks for siblings of a provider-specific change and for what the
provider does regardless of our state; the verifier gets the config context and takes
provider behaviour stated there or in the project's rules as fact. - Eval: cases for PSP-1, PSP-2, PSP-3 and IDEM-11 and a clean retention case; on the
real-bug set recall stays at 61%, cost per run 0.39 USD
(results). eval/real/run.sh --resumekeeps the finished runs of a stopped run.
Fixed
- A finding whose file is an absolute path inside the repository is reported with the
relative path, so comments land on the file and suppressions match it.
v0.8.3
v0.8.2
Fixed
- The reviewer reads every rule it was given. It used to get the path of each chosen
checklist and often opened only the ones it judged relevant; now the checklists of a
group come as one file, read in full before the diff. On the eval: recall 91% to 94%,
second bugs 32 to 37 of 45, precision 100% and no alarm on clean code as before
(eval).
v0.8.1
Added
--timeout SECONDS(default 1200,0for no limit, orMONEY_REVIEW_TIMEOUT): a review
that runs longer is stopped and exits with 4, and is not tried again. A run that waits
for a background agent never ends by itself; the skill already says to run agents in
the foreground, this is the guard when that is not followed.
v0.8.0
Added
- A second look: when the reviewer finds something, it reviews the change once more,
told what it already found, for other money bugs next to it. One more reviewer pass,
only on changes with a finding;review.second_pass: falseturns it off.
Eval
- A bug in
case.jsoncan name other places where it can fairly be reported (also). - New baseline: recall 91% (87% without the second look), precision 100%, second bugs
31 of 45 (25), no false alarm in 36 runs of clean cases.
v0.7.0
Added
- Rules: MONEY-7 (an amount from the wrong source, such as the full amount after a
partial refund), TX-9 (an event that stops carrying what money consumers read, or is
published when the state did not change), IDEM-10 (a provider decline or business
error with no path). MONEY-5 also covers negative input amounts and reversals booked
in the wrong direction. MONEY-0: a money bug no rule covers, reported when there is a concrete failure
scenario. Before, the reviewer could only report what the checklists named.
Changed
- The verifier moves a real finding to the rule that fits (or
MONEY-0) instead of
rejecting it for the wrong rule.
Fixed
- The skill runs its agents in the foreground. A reviewer started in the background
left a headless run waiting for over an hour and ending with no report.
Eval
- Ten cases have a second, quieter bug that a plain review prompt found next to the
planted one; a new case books a chargeback for the full amount in the wrong direction.
clean-chargeback-webhookandclean-commission-roundinghad real bugs and are fixed. - New baseline, 50 cases three times: recall 87% (80% before on the same cases),
precision 100%, no false alarm in 36 runs of clean cases.
v0.6.0
Added
--commitsreviews one commit or a range of commits (abc1234,HEAD~3..,
master..feature) before there is a pull or merge request. Uncommitted edits stay
out; from a shell the review runs in a temporary worktree at the end of the range.- Each finding in the report shows the code around its line, numbered, with the line
marked. The code is read from the file after the review (only files in the diff),
and is kept in the JSON report asexcerpt. - A report with more than one finding starts with a table: severity, rule, file and
line, problem.
Changed
- Findings are numbered, and "Fix" is now "How to fix", also in pull and merge
request comments.
Eval
- The working copies of the eval cases are built in a temporary directory, so no
CLAUDE.md from the directories above the repository gets into a review. eval/bare.shruns the same cases through a plain "review this change" prompt, for
comparison.- New baseline, 2026-10-07: every case three times, recall 100%, precision 98%, no
false alarm in 36 runs of clean cases. No regression against 2026-10-06.
v0.5.2
Added
/money-review:setupputs the shell command on thePATH: a wrapper in
~/.local/binthat runs the installed release, in the Claude profile of
CLAUDE_CONFIG_DIRor the default one.- Inside Claude Code the review agents cannot open files that may hold secrets either:
a plugin hook refuses theirRead,GrepandGlobcalls on paths that match
secrets. Before, only the shell command set deny rules, and/money-reviewneeded
them in the user's settings.
Fixed
- README: the shell command is a wrapper that runs the installed release. The link into
the marketplace clone it suggested before runs the tip ofmaster, which is not the
release since the marketplace serves tags.
Checklists and prompts are the same as in 0.5.0, so the eval baseline still holds.
Update
/plugin marketplace update money-review
Then run /money-review:setup once to get the money-review shell command.