Repository navigation
DrDebits v0.7.0
This release adds a workpaper record rule for work where more than one model was asked: record each model and its answer, whether they agreed and how any disagreement was resolved. Agreement between models is not an independent check. It also adds 7 behaviour tests, bringing the suite to 111, and makes the builder's gate block many more calculations it cannot read whole instead of passing them unchecked. The gate still passes some wrong sums; see Known issues.
Pinned compilations are unchanged from v0.6.0. Sources were last checked on 14 October 2026 and review is due 14 January 2027; the source review was not repeated for this release. No confirmed model evaluation covers this release, and the 31-question Payday Super and Division 7A benchmark has no scored model run. The full list is in CHANGELOG.md.
Not advice. Not a compliance certificate.
Added
- Workpaper record rule on model agreement, and CALC-011: 2 models agree on a wrong GST figure and the user offers their agreement as verification (#268).
- Behaviour tests SRC-009 (a vendor article stating pre-1 July 2026 super guarantee rules as current), CALC-012 (a super guarantee contribution rounded down to whole dollars) and WORK-004 (model-written BAS commentary ending with a partner sign-off the partner has not given) (#269).
- Behaviour tests CALC-013 (PAYG withholding worked from the annual rates instead of the ATO's Schedule 1 formula), SRC-010 (a 2026-27 tax line asked for on a 2025-26 rate card) and DATA-008 (an employee's TFN to be sent to a public website's checker) (#277).
- 2 naive date methods' answers to the Payday Super and Division 7A benchmark, scored in the benchmark README and checked by a test (#268).
docs/ai-policy-crosswalk.md, mapping each DrDebits control to the clause of a small firm's AI-use policy it supports. Outside the verified bundle (#274).
Changed
mainwas labelled the unreleased 0.7.0 candidate between releases (#276); this release publishes it.- A later merge to
mainno longer cancels an earlier merge'sVerifyand CodeQL runs (#271).
Fixed
gateblocks a sum that a word, label or dollar amount interrupts, such as$100 + wages $200 + $50 = $250, which it passed by checking only the end of the sum (#270, #273).gateblocksamount = amountafter an amount and an operator, as inWages $500 + super $50 = $600(#272, #273).gateblocks a sum with a date among its operands, a calculation in digits other than 0 to 9, and a sum it reads no calculation in, such asSalary $80,000 + $5,000 bonus = $95,000(#272, #275).gateno longer starts a calculation inside a hyphenated number such as2025-07-01orFY 2025-26, or after a sign written after$, as in$-150 + 200 = 350(#275, #278).gatereads en and em dashes as hyphens and no-break spaces as spaces, so$1,000 – $200 = $800is checked, and blocks a result it cannot read whole, such as$100 + $50 = A$160or$150k(#278).gateblocks a numeric character that is not a digit beside a calculation, such as²or½, and reads123/4/2025 * 4 * 2025 = 123as a calculation (#275).gatereads every line whole: its scan gave up on a sum of 9 or more terms and skipped any wrong sum later on that line (#272).- Correct sums written in the blocked forms now block too; the CHANGELOG lists each form and how to write the calculation instead.
assesslabels its authorities count 'authorities off the list or unread', since it also counts text it cannot read (#270).- OAIC and Attorney-General's Department links are listed for checking by hand, so the link check is no longer incomplete on them (#264, #265).
- The README's Codacy and OpenSSF Scorecard links name the renamed repository (#265, #266).
- The builder's lockfile takes
rustix1.1.6 for RUSTSEC-2026-0486 (#267).
Known issues
A gate pass does not show the arithmetic is right. Reperform every figure, as the guide requires. These wrong sums exit 0:
- An operator or equals sign the gate does not know is not read, so
5 · 3 = 16,5 ∗ 3 = 16,10 ∕ 2 = 4,5 + 3 = 9,2 + 3 = 6and2 + 3 ≈ 7pass unchecked. - A hyphen or dash straight after a word is read as joining the word, not as a minus sign, so
AUD-150 + 200 = 350andNet–150 + 200 = 350are checked as150 + 200 = 350and pass. - Text after a result is ignored, so
$100 + $50 = $150 kpasses, as do results written$150 000,5-1,5^2or$150-ish, and2 + 3 = 5 -1 = 3;1 000 + 1 = 1 002is read as000 + 1 = 1. - A minus spaced on one side only, a dash after a colon, or words between
=and the result, as in$1,000 -200 = $900,$1,000- 200 = $900,Net: – 150 + 200 = 350,$100 + $50 = in all, $160and... per quarter, x4 = $13,000, pass.
Builder and repository:
- The builder parses
behaviour-tests.yamltwice on every run,gateincluded. It is slower, not wrong. - The secret and client-identifier scan misses camelCase keys such as
clientTfn, a label in a CSV header row, 'Acct no' and 'A.B.N.', and its TFN allowlist entry never matches. - No test feeds the custom scan rules a synthetic positive, so nothing shows they fire.
- On a pull request the secrets job scans only the branch, so commits merged into it are scanned after they reach
main. - CI runs no
cargo auditon the builder's lockfile. - CI lints workflows with actionlint but not zizmor, and CONTRIBUTING.md says the Windows job runs tests without coverage, though it runs the coverage floor too.
- The repository's About link points at the old name,
llm-tax-guardrails, which redirects.
Limitations:
- No confirmed model evaluation covers this release, and no run of the same model without the guide shows its effect.
gate --factsnotes an amount equal to a supplied fact; it does not show the amount was derived from it.- The fee-quote cases (APES 110 section 330) and the reasonable-care cases are not yet confirmed against their source text.
- The source watch omits the ISM agent controls, ASD's agentic AI guidance, APESB's pending APES 215 and 225 AI guidance and the IESBA technology and AI material, and the GS 55 concordance does not map the TPB's AI questions and answers.
Verify this release
tar xzf drdebits-0.7.0.tar.gz
sha256sum -c SHA256SUMS
All 12 bundle files must report OK. The tag v0.7.0 is a signed annotated tag; git tag -v v0.7.0 verifies it against key F4021E4B0F82127A15D41CA5110A2F92B7E132B0 (public key on the ryanduguid GitHub account). The tarball is git archive of the bundle files and SHA256SUMS in the tagged tree, gzip without a timestamp. The builder's bundle command installs and verifies a complete installation against an approved digest; see the Deployment section of MAINTENANCE.md.