Repository navigation
Releases
v0.8.0
v0.8.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
search refs --jsonaddstext,register_pageandsource_urlto the row asked about, to each row it cites and to each row citing it;define --followadds them to each row a definition reaches;quoteadds the row'stext,register_pageandsource_url; andcite-check --jsonaddsregister_page,source_urland thetextof the one row a section citation reached. Text output is unchanged; a longrefs --jsonreport reaches the--max-charscap sooner and marks the rows it withholds.state --source qld --out NEW_DIRwrites a corpus root of section rows from the Queensland Legislation website's whole-title XML for 7 reviewed revenue titles: the Duties, Land Tax and Payroll Tax Acts and their regulations, and the First Home Owner Grant and Other Home Owner Grants Act 2000. It reads robots.txt first, sends one request at a time with a 5-second pause, carries the register's attribution, copyright notice and disclaimer, and writes nothing unless every title arrives under the name it expects.search buildindexes such a root, andsearch query,defineandrefsread the index only with--source qld; without it, and with a Commonwealth index, nothing changes.search define --jsonprints a first line with"defined": falsewhen the term has no definition of its own in the index, or in the--titleAct, with a count of the longer terms beginning with it that follow. Text output says when the terms listed only begin with the one asked for. A run that defines the term is unchanged.search query,search defineandsearch refstake--limitand--max-charscaps on what they print, by default 10, 20 or 100 rows and 20,000 characters of JSON, and mark any rows they withhold with[truncated]in text or atruncatedobject in JSON.--max-charsaccepts 1,000 to 100,000. Output under both caps is unchanged; larger output is now cut, with the marker.search refsandsearch define --followbind a title named after the last item of a list to every item in it, so each ofsubsections 6(1) and (4) and 6BA(5) and section 94L of the Income Tax Assessment Act 1936cites the ITAA 1936, not the citing title. A singular or modal verb straight after the title, as insection 6 and section 7 of the X Act applies, marks the last item as a clause of its own, so the earlier items keep the citing title. On thecorpus-2026-11-18snapshot, references resolved to another held title rise from 3,607 to 3,708 and the index holds 32,522 references, up from 32,463. Rebuild a local index withsearch buildto pick them up; the corpus itself is unchanged.search defineandsearch refs --termsread defined terms of up to 30 words, up from 15, so entries such asdebit value, of a superannuation interest ...in ITAA 1997 s 995-1 are no longer skipped. On thecorpus-2026-11-18snapshot the index holds 3,843 definitions, up from 3,825, and unresolved asterisks fall from 2,075 to 2,043 in the ITAA 1997 and from 223 to 195 in the TAA 1953 (docs/build-evidence.md).search defineandsearch refs --termsread dictionary entries that have no defining verb, such ashead company:before its paragraphs,IRU is ...andmarket value has a meaning affected by Subdivision 960-S. On thecorpus-2026-11-18snapshot the index holds 3,825 definitions, up from 3,678, and unresolved asterisks in the ITAA 1997 fall from 4,972 to 2,075 (docs/build-evidence.md). Rebuild a local index withsearch buildto pick them up; the corpus itself is unchanged.search define --followlists the provisions each definition cites, with the rows they reach, so the GST Act'staxable supplyreaches sections 9-5, 78-50, 84-5 and 105-5.search refs --termslists the asterisked defined terms a row uses and where each is defined, reading where each term ends from the title's own definitions (the ITAA 1997's for Schedule 1 to the TAA 1953). Both read the existing index; no rebuild is needed. Coverage is measured indocs/build-evidence.md.search queryalso matches other English forms of each word, sotaxable suppliesreachestaxable supply. Rows holding the words as typed are favoured; a row only a word form matched is marked*in text andstemmed: truein JSON.--exactkeeps the earlier exact-only search;--stemis unchanged. Measured indocs/build-evidence.md: base-form top-five hits stay at 21 of 32, and inflected top-ten hits rise from 1 to 7 of 14.versions --in-force-onfalls back to a filtered history request when the Register's first history page cannot reach the requested date, and refuses failed, incomplete or ambiguous lookups before replacing the manifest (#327).quick --in-force-onretains genuine historical compilation omissions per requested date insources.json, including dates with no separate compilation folder, anddistpreserves and validates those omission records (#329).distanddist_verifyscan decoded JSON and JSONL text of rulings runs, excluding machine counts and 64-character hex digests from phone-pattern matching whilst still scanning every other member (#335).rulingsstrips markup fromDC.Title, trims titles containingDCTERMS.descriptionwhere that description ends, and refuses (anddistleaves out) titles still holding<or>or running past 400 characters (#336).llms.txtandREADME.mdroute to thecorpus-2026-11-23snapshot (#341).- Dependencies and builds:
rusqlite0.42.0 (#325),fancy-regex0.20.2 (#324),ruff0.17.4 (#322); release Cargo builds enablestrip = true, anddeny.tomlchecks crate licences and sources (#338). - Relicensed Ryan Duguid's original work under Apache-2.0. Earlier releases keep their original terms.
v0.7.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
quick --in-force-ontakes any date asYYYY-MM-DD, where it took only a 1 July, and holds each preset Act's compilation in force on that date: the one starting on or before it and ending after it, so on the day one compilation ends the one starting that day applies. Compilations do not start only on 1 July: the Income Tax Assessment Act 1997's newest 3 started on 1 July, 27 August and 1 October 2026. A date that is not a validYYYY-MM-DDis refused with its reason before anything is fetched.rulings_targets FEED --out TARGETS.jsonwrites arulingstarget list from an ATO Legal Database RSS feed, such as 'ATO - All Rulings and Determinations', from a saved copy or one fetch of its URL. It lists, in the feed's order and up to 100, each docid in a familyrulingsaccepts, and prints each item it refuses (a draft, another family, a repeat or one past the cap) with its reason. An item whose link it cannot read is printed as malformed and makes it exit 1 after writing the rest; a feed whose items cannot be told apart, or with a namespace-prefixed item tag, writes nothing.
v0.6.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
rulingsreads a page that declares UTF-8 but holds single Windows-1252 bytes, as PCG 2021/4 does, where it refused it as not UTF-8. Each such byte is read as Windows-1252, the manifest records the count in the document'swindows_1252_bytesand the run prints atranscodedline. A byte Windows-1252 leaves undefined or a UTF-16 byte order mark is still refused.distpublishes eachrulingsrun under the corpus'srulings/<run>/todist/rulings/<run>/: its rows, manifest and reuse notice, without the raw pages, andrulings/sources.jsonwith each file's SHA-256. A document the ATO's copyright notice does not cover (another family, a page that did not print the notice, a label its docid contradicts, or text carrying a copyright notice of its own), and any edited version of private advice, is left out and listed in the manifest andREMOVED.md; a row holding a contact or a name beside a registration number stopsdist.LICENCE-NOTICE.mdgains anATO rulingssection quoting the notice, anddist_verifyadds 7 checks. A corpus withoutrulings/publishes as before (docs/rulings.md, 'Publishing a run'; #313).rulingslabels Law Companion Rulings (COG/LCR...) asLaw Companion Ruling, where it usedPractical Compliance Guideline, and accepts GST determinations underGSDasGoods and Services Tax Determination, the Legal Database's name for them.aus-accounting-mcp0.9.0 does not yet know either label and refuses a run that holds one (#313).quick --in-force-on YYYY-07-01, repeatable, also holds each preset Act's compilation in force on that 1 July undercompilations/<date>/, for answers about past income years, andversions --in-force-on YYYY-MM-DDresolves those versions. A title with nothing earlier to fetch is listed with its reason and left out. The build stops before publishing if a date lacks rows for a title it fetched or 2 compilations of a title have overlapping windows. The search index,finalizeandas_atread only the current compilations.versionsnow refuses arguments it used to ignore. Without the option the build is unchanged (#305).distcarries each date'smarkdown/todist/compilations/<date>/with asources.jsongiving each compilation's source, window, retrieval date and file digests, and lists the titles it leaves out;dist_verifyadds 8 checks on them.quicktreats an open and a closed window from the same start as an overlap, where it raisedTypeError(#307).- The privacy checks in
distanddist_verifyread every decoded string and number in a row, keys and nested values included, so a JSON escape cannot hide a contact or a name beside a registration number.distrefuses a title with no rows and a listed title name that holds either.as_ataccepts a compilation supers...
Corpus snapshot 2026-11-23 (9 principal Acts and 8 ATO rulings)
Corpus snapshot: 9 Commonwealth tax Acts downloaded from the Federal Register of Legislation on 18 November 2026, with earlier compilations, and 8 ATO Legal Database documents captured on 23 November 2026.
This is a data release, not a builder release. It is not a current or validated corpus: dist_verify passed on the built tree and again on a tree unpacked from the attached archive, and nothing stronger is claimed. Nothing here is the authorised text.
Assets
| Asset | Bytes | SHA-256 |
|---|---|---|
au-tax-legislation-corpus-dist-2026-11-23.tar.gz |
45,221,614 | 97733cd95606668bd8a447d422706e345552d55adf03239c472857452d1adc80 |
SHA256SUMS |
115 | f08da127743f69e15ee52cb404f7241de0660a3d54f5c35d567b88024630f9f0 |
Built with fadden dist from commit 06503a2. The archive is reproducible: archiving the unpacked tree again gave the same SHA-256.
Legislation
The legislation is licensed under CC BY 4.0 by the Federal Register of Legislation, not under this repository's licence. The Commonwealth Coat of Arms and any third-party material are excluded from that licence; the snapshot holds no EPUBs and no images.
Based on content from the Federal Register of Legislation at 18 November 2026. For the latest information on Australian Government legislation please go to https://www.legislation.gov.au.
Changes: converted from EPUB to markdown, contents pages removed, endnotes separated, images replaced by their descriptive alt text, compilation cover pages and running headers omitted. Authorised versions are PDF only, stamped under sections 15ZA and 15ZB of the Legislation Act 2003; this text derives from the EPUB reading view and is not the authorised text.
Counts as dist reports them: 9 titles (9 Acts, 0 instruments), 9,439 rows (9,400 section rows, 39 container rows), 2,408,000 words, 1,664 rates entries.
Current compilations
Earlier compilations (compilations/)
Each folder holds the compilations in force on that date, under the same licence, attribution and exclusions, retrieved on 18 November 2026.
In force on 1 July 2020:
In force on 1 July 2021:
In force on 1 July 2022:
In force on 1 July 2023:
In force on 1 July 2024:
| Title | Compilation | Compilation date | Register link |
|---|---|---|---|
| A New Tax System (Goods and Services Tax) Act 1999 | No. 91 | 1 October 2023 | https://www.legislation.gov.au/C2004A00446/2023-10-01/2023-10-01/text/original/epub |
| Fringe Benefits Tax Assessment Act 1986 | No. 93 | 15 September 2023 | https://www.legislation.gov.au/C2004A03280/2023-09-15/2023-09-15/text/original/epub |
| Income Tax (Transitional Provisions) Act 1997 | No. 99 | 1 July 2024 | https://www.legislation.gov.au/C2004A05128/2024-07-01/2024-07-01/text/original/epub |
| Income Tax Assessment Act 1936 | No. 184 | 1 July 2024 | https://www.legislation.gov.au/C1936A00027/2024-07-01/2024-07-01/text/original/epub |
| Income Tax Assessment Act 1997 | No. 250 | 1 July 2024 | https://www.legislation.gov.au/C2004A05138/2024-07-01/2024-07-01/text/original/epub |
| Income Tax Rates Act 1986 | No. 63 | 1 July 2024 | https://www.legislation.gov.au/C2004A03... |
v0.7.0
v0.7.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
quick --in-force-ontakes any date asYYYY-MM-DD, where it took only a 1 July, and holds each preset Act's compilation in force on that date: the one starting on or before it and ending after it, so on the day one compilation ends the one starting that day applies. Compilations do not start only on 1 July: the Income Tax Assessment Act 1997's newest 3 started on 1 July, 27 August and 1 October 2026. A date that is not a validYYYY-MM-DDis refused with its reason before anything is fetched.rulings_targets FEED --out TARGETS.jsonwrites arulingstarget list from an ATO Legal Database RSS feed, such as 'ATO - All Rulings and Determinations', from a saved copy or one fetch of its URL. It lists, in the feed's order and up to 100, each docid in a familyrulingsaccepts, and prints each item it refuses (a draft, another family, a repeat or one past the cap) with its reason. An item whose link it cannot read is printed as malformed and makes it exit 1 after writing the rest; a feed whose items cannot be told apart, or with a namespace-prefixed item tag, writes nothing.
v0.6.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
rulingsreads a page that declares UTF-8 but holds single Windows-1252 bytes, as PCG 2021/4 does, where it refused it as not UTF-8. Each such byte is read as Windows-1252, the manifest records the count in the document'swindows_1252_bytesand the run prints atranscodedline. A byte Windows-1252 leaves undefined or a UTF-16 byte order mark is still refused.distpublishes eachrulingsrun under the corpus'srulings/<run>/todist/rulings/<run>/: its rows, manifest and reuse notice, without the raw pages, andrulings/sources.jsonwith each file's SHA-256. A document the ATO's copyright notice does not cover (another family, a page that did not print the notice, a label its docid contradicts, or text carrying a copyright notice of its own), and any edited version of private advice, is left out and listed in the manifest andREMOVED.md; a row holding a contact or a name beside a registration number stopsdist.LICENCE-NOTICE.mdgains anATO rulingssection quoting the notice and saying neither the ATO nor the Commonwealth endorses the corpus, anddist_verifyadds 7 checks. A corpus withoutrulings/publishes as before (docs/rulings.md, 'Publishing a run'; #313).rulingslabels Law Companion Rulings (COG/LCR...) asLaw Companion Ruling, where it usedPractical Compliance Guideline, and accepts GST determinations underGSDasGoods and Services Tax Determination, the Legal Database's name for them.aus-accounting-mcp0.9.0 does not yet know either label and refuses a run that holds one (#313).quick --in-force-on YYYY-07-01, repeatable, also holds each preset Act's compilation in force on that 1 July undercompilations/<date>/, for answers about past income years, andversions --in-force-on YYYY-MM-DDresolves those versions. A title with nothing earlier to fetch is listed with its reason and left out. The build stops before publishing if a date lacks rows for a title it fetched or 2 compilations of a title have overlapping windows. The search index,finalizeandas_atread only the current compilations.versionsnow refuses arguments it used to ignore. Without the option the build is unchanged (#305).distcarries each date'smarkdown/todist/compilations/<date>/with asources.jsongiving each compilation's source, window, retrieval date and file digests, and lists the titles it leaves out;dist_verifyadds 8 checks on them.quicktreats an open and a closed window from the same start as an overlap, where it raisedTypeError(#307).- The privacy checks in
distanddist_verifyread every decoded string and number in a row, keys and nested values included, so a JSON escape cannot hide a contact or a name beside a registration number.distrefuses a title with no rows and a listed title name that holds either.as_ataccepts a compilation superseded on the day it starts, which holds no date (#308). - The contact scan also reads each text with HTML character references decoded and NFKC-normalised, so a full-width
@, full-width digits or a reference such as@no longer hides an email address or phone number wherever the scan runs,distanddist_verifyincluded (#309). - The contact scan also reads each text with invisible characters removed, then with controls removed too, and as it displays: in bidirectional order, with a non-breaking hyphen, figure dash, en dash or minus sign read as
-. A zero-width space, soft hyphen, NUL from a JSON escape, a contact written backwards after a right-to-left override or a phone number with non-breaking hyphens no longer hides an email address, phone number or TFN from the scan,distordist_verify; a text that reads as a contact only these ways now fails them until reviewed. It does not find a contact broken by a character that shows as a gap or split across 2 strings (docs/scope.md). New dependency:unicode-bidi0.3.18 (#311). probe13no longer falls back to a version that starts after the current one, which gave the root row a window ending before it began (#306).- CI runs the samples demo on a debug build; pull requests skip the release compile, which pushes to
mainstill run (#304).
v0.5.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
search cite-check INDEX DRAFTchecks a draft's legislation citations against a build: each isresolved,assumedornot_held, with the nearest held sections for a provision the build lacks. It grades a quotation in a citation's sentence asexact,normalised,partialornone(#270, #286). It does not check citations of rulings.docs/build-evidence.mdadds a 46-query retrieval baseline on real law (#270).search quote INDEX ROW_ID QUOTATIONgrades one quotation against a chosen row by thecite-checkrules (#286).search build --rulings RUN_DIRindexes each rulings run's references to a section, Division or Subdivision named with its Act, andsearch refslists them undercited_by_rulingswith each paragraph's withdrawal status. The build refuses a run whoserulings.jsonldoes not match itsmanifest.json. Without--rulingsthe index holds no rulings tables (#286).authoritiesexports a build, and optionally a rulings run, as the closed list for DrDebits'gate --authorities(BUILD.md, 'Exporting an authorities list').--as-at DATEonsearch query,defineandcite-checkanswers only from titles whose status on that date iscapturedand refuses the rest by name. No superseded text is held (#284).quick --out FOLDERfetches, builds and indexes 9 principal Acts from the Register in one command and prints theAUS_ACCOUNTING_CORPUS_ROOTsetting;finalize --presetmarks such a build (#284).search query --stemadds English word-form matches, marked as stemmed; exact search stays the default. Everysearch buildnow also fills the stemmed index, so an index differs from one built by 0.4.0 (#285).- A re-run that reuses a cached EPUB records the compilation's resolved Register ID, where it copied the cached file's sidecar and could record
nullor another compilation's ID (#258). witnesscompares a fixed sample of titles' EPUB sections with the Register's Word rendition (#256).search refsresolves ITAA 1997, ITAA 1936, TAA 1953, GST Act and FBTAA 1986 through a closed table (#264), andqueryranks current titles above superseded ones (#246).discoveradds 3 Acts no tax keyword reaches from a reviewed list: the Major Bank Levy Act 2017, the Product Grants and Benefits Administration Act 2000 and the Venture Capital Act 2002. It stops if a listed title is no longer an in-force principal Act (docs/scope.md).distkeeps custom distribution notices and supports verified corpus snapshots; the first,corpus-2026-11-11, is a separate release (#292).- Licence: versions made available from 4 November 2026 are under the Ryan Duguid Public Attribution Licence 1.0, the FSL-1.1-ALv2 text with a public attribution condition; earlier releases keep their licences (#267).
compare_buildsrefuses a sections.jsonl row that repeats a JSON member at any depth, names another title, holds a container, section or heading that is neither text nor null (a lone surrogate counts as neither), holds a lone surrogate anywhere in its compilation number or date, or comes from a different compilation from the title's first row, and its text report lists the titles present in only one build. For such inputs it departs on purpose from the output of the Python stage at 43b5e0c.- Dependencies: rustix 1.1.6 for RUSTSEC-2026-0486 (#299); the fuzz workspace uses the patched SQLite (#289).
- The release workflow is pinned to release-policy
ca5492b(#281).
Known issues:
rulingslabels Law Companion Rulings, which the ATO lists underCOG, as Practical Compliance Guidelines, and does not capture GST determinations, listed underGSD(docs/rulings.md).- A
faddenstage holds its output until it exits, so a long stage shows no progress, and a panic or Ctrl+C loses what it would have printed.
v0.4.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
discoverrefuses to replacetitles_all.jsonandtitles_principal.jsonwhen the new list is missing any principal title or more than 1 in 20 of the titles the earliertitles_all.jsonheld: it exits 1, names the missing ids and leaves both files unchanged. A smaller loss is printed.--accept-missingoverrides and prints the accepted ids. Unknown arguments are now refused with argparse's usage error, wh...
Corpus snapshot 2026-11-18 (9 principal Acts, with the compilations in force on 7 dates)
Corpus snapshot 2026-11-18 (9 principal Acts, with the compilations in force on 7 dates)
A redistributable snapshot of 9 principal Commonwealth tax Acts, built with this repository's fadden (v0.7.0) and checked by dist_verify. Beside each Act's current compilation it holds the compilation in force on 1 July of each year from 2020 to 2026, except the Taxation Administration Act 1953 on 1 July 2020. Each is the text as it stood on that 1 July, not the text at every point in the income year that starts then. Use it to give an agent or search tool the law without building the corpus yourself.
It is a finding aid derived from the Register's EPUB reading view. It is not the authorised text (authorised versions are the Register's PDFs), not tax advice and not a conclusion about legal effect. It holds no instruments, rulings or case law, and a 'no match' from it says nothing about other titles.
Current compilations
| Register ID | Act | Compilation | Compilation date |
|---|---|---|---|
| C2004A05138 | Income Tax Assessment Act 1997 | 268 | 1 October 2026 |
| C1936A00027 | Income Tax Assessment Act 1936 | 193 | 1 October 2026 |
| C2004A00446 | A New Tax System (Goods and Services Tax) Act 1999 | 96 | 1 January 2026 |
| C1953A00001 | Taxation Administration Act 1953 | 227 | 1 October 2026 |
| C2004A03280 | Fringe Benefits Tax Assessment Act 1986 | 97 | 1 July 2026 |
| C2004A04402 | Superannuation Guarantee (Administration) Act 1992 | 78 | 1 July 2026 |
| C2004A05128 | Income Tax (Transitional Provisions) Act 1997 | 104 | 1 October 2026 |
| C2004A03348 | Income Tax Rates Act 1986 | 66 | 1 July 2026 |
| C2004A04633 | Superannuation Industry (Supervision) Act 1993 | 131 | 10 August 2026 |
All 9 were downloaded from the Register on 18 November 2026 as their Act's current compilation that day. 9,439 retrieval rows. Each row, current or earlier, carries its Register page, compilation and attribution. No EPUBs or images are included.
Earlier compilations
An Act's compilation in force on a date is the one starting on or before that date and superseded after it. dist/compilations/<date>/ holds only the compilations that date adds: one already held under the current compilations or an earlier date is not repeated, so a date's folder can lack an Act. To find an Act's text on one of the 7 dates, look for the compilation whose window covers the date in that date's folder, then in the earlier dates' folders, then among the current compilations. For example, on 1 July 2023 the Superannuation Guarantee (Administration) Act 1992 is compilation 76, held under 1 July 2022. sources.json in each date's folder gives each compilation's source, window, retrieval date and file digests. INDEX.md and the 9,439 retrieval rows above cover only the current compilations; the earlier ones add 61,220 rows under compilations/, each marked version_is_current: false, which only a reader of that folder answers from. All 53 were downloaded from the Register on 18 November 2026.
The Taxation Administration Act 1953 has no compilation for 1 July 2020: the builder looks back over an Act's 60 newest versions on the Register, and all 60 start after that date. Its earliest compilation here starts on 1 July 2021. Every other Act has exactly 1 compilation held for each date.
| In force on | Register ID | Act | Compilation | Compilation date | Superseded from |
|---|---|---|---|---|---|
| 1 July 2020 | C2004A05138 | Income Tax Assessment Act 1997 | 210 | 1 July 2020 | 6 September 2020 |
| 1 July 2020 | C1936A00027 | Income Tax Assessment Act 1936 | 169 | 1 July 2020 | 20 September 2020 |
| 1 July 2020 | C2004A00446 | A New Tax System (Goods and Services Tax) Act 1999 | 82 | 1 April 2020 | 6 September 2020 |
| 1 July 2020 | C2004A03280 | Fringe Benefits Tax Assessment Act 1986 | 86 | 1 July 2020 | 1 October 2020 |
| 1 July 2020 | C2004A04402 | Superannuation Guarantee (Administration) Act 1992 | 71 | 6 March 2020 | 4 September 2020 |
| 1 July 2020 | C2004A05128 | Income Tax (Transitional Provisions) Act 1997 | 90 | 1 July 2020 | 1 January 2021 |
| 1 July 2020 | C2004A03348 | Income Tax Rates Act 1986 | 55 | 1 July 2020 | 20 September 2020 |
| 1 July 2020 | C2004A04633 | Superannuation Industry (Supervision) Act 1993 | 105 | 23 June 2020 | 18 December 2020 |
| 1 July 2021 | C2004A05138 | Income Tax Assessment Act 1997 | 223 | 1 July 2021 | 11 August 2021 |
| 1 July 2021 | C1936A00027 | Income Tax Assessment Act 1936 | 175 | 4 April 2021 | 1 October 2021 |
| 1 July 2021 | C2004A00446 | A New Tax System (Goods and Services Tax) Act 1999 | 85 | 1 January 2021 | 1 September 2021 |
| 1 July 2021 | C1953A00001 | Taxation Administration Act 1953 | 181 | 1 July 2021 | 11 August 2021 |
| 1 July 2021 | C2004A03280 | Fringe Benefits Tax Assessment Act 1986 | 89 | 1 July 2021 | 1 October 2022 |
| 1 July 2021 | C2004A04402 | Superannuation Guarantee (Administration) Act 1992 | 75 | 23 June 2021 | 23 February 2022 |
| 1 July 2021 | C2004A05128 | Income Tax (Transitional Provisions) Act 1997 | 92 | 1 July 2021 | 8 December 2021 |
| 1 July 2021 | C2004A03348 | Income Tax Rates Act 1986 | 59 | 1 July 2021 | 23 February 2022 |
| 1 July 2021 | C2004A04633 | Superannuation Industry (Supervision) Act 1993 | 110 | 1 July 2021 | 8 December 2021 |
| 1 July 2022 | C2004A05138 | Income Tax Assessment Act 1997 | 234 | 1 July 2022 | 28 September 2022 |
| 1 July 2022 | C1936A00027 | Income Tax Assessment Act 1936 | 179A | 1 July 2022 | 1 October 2022 |
| 1 July 2022 | C2004A00446 | A New Tax System (Goods and Services Tax) Act 1999 | 89 | 22 June 2022 | 1 July 2023 |
| 1 July 2022 | C1953A00001 | Taxation Administration Act 1953 | 192A | 1 July 2022 | 10 August 2022 |
| 1 July 2022 | C2004A04402 | Superannuation Guarantee (Administration) Act 1992 | 76 | 23 February 2022 | 27 March 2026 |
| 1 July 2022 | C2004A05128 | Income Tax (Transitional Provisions) Act 1997 | 96 | 1 July 2022 | 24 June 2023 |
| 1 July 2022 | C2004A03348 | Income Tax Rates Act 1986 | 60 | 23 February 2022 | 20 October 2023 |
| 1 July 2022 | C2004A04633 | Superannuation Industry (Supervision) Act 1993 | 114 | 22 June 2022 | 28 September 2022 |
| 1 July 2023 | C2004A05138 | Income Tax Assessment Act 1997 | 243 | 1 July 2023 | 15 September 2023 |
| 1 July 2023 | C1936A00027 | Income Tax Assessment Act 1936 | 181 | 1 January 2023 | 20 October 2023 |
| 1 July 2023 | C2004A00446 | A New Tax System (Goods and Services Tax) Act 1999 | 90 | 1 July 2023 | 1 October 2023 |
| 1 July 2023 | C1953A00001 | Taxation Administration Act 1953 | 200 | 1 July 2023 | 15 September 2023 |
| 1 July 2023 | C2004A03280 | Fringe Benefits Tax Assessment Act 1986 | 92 | 1 July 2023 | 15 September 2023 |
| 1 July 2023 | C2004A05128 | Income Tax (Transitional Provisions) Act 1997 | 98 | 1 July 2023 | 1 July 2024 |
| 1 July 2023 | C2004A04633 | Superannuation Industry (Supervision) Act 1993 | 116 | 1 July 2023 | 15 September 2023 |
| 1 July 2024 | [C2004A05138](https://www.legislation.go... |
v0.6.0
v0.6.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
rulingsreads a page that declares UTF-8 but holds single Windows-1252 bytes, as PCG 2021/4 does, where it refused it as not UTF-8. Each such byte is read as Windows-1252, the manifest records the count in the document'swindows_1252_bytesand the run prints atranscodedline. A byte Windows-1252 leaves undefined or a UTF-16 byte order mark is still refused.distpublishes eachrulingsrun under the corpus'srulings/<run>/todist/rulings/<run>/: its rows, manifest and reuse notice, without the raw pages, andrulings/sources.jsonwith each file's SHA-256. A document the ATO's copyright notice does not cover (another family, a page that did not print the notice, a label its docid contradicts, or text carrying a copyright notice of its own), and any edited version of private advice, is left out and listed in the manifest andREMOVED.md; a row holding a contact or a name beside a registration number stopsdist.LICENCE-NOTICE.mdgains anATO rulingssection quoting the notice and saying neither the ATO nor the Commonwealth endorses the corpus, anddist_verifyadds 7 checks. A corpus withoutrulings/publishes as before (docs/rulings.md, 'Publishing a run'; #313).rulingslabels Law Companion Rulings (COG/LCR...) asLaw Companion Ruling, where it usedPractical Compliance Guideline, and accepts GST determinations underGSDasGoods and Services Tax Determination, the Legal Database's name for them.aus-accounting-mcp0.9.0 does not yet know either label and refuses a run that holds one (#313).quick --in-force-on YYYY-07-01, repeatable, also holds each preset Act's compilation in force on that 1 July undercompilations/<date>/, for answers about past income years, andversions --in-force-on YYYY-MM-DDresolves those versions. A title with nothing earlier to fetch is listed with its reason and left out. The build stops before publishing if a date lacks rows for a title it fetched or 2 compilations of a title have overlapping windows. The search index,finalizeandas_atread only the current compilations.versionsnow refuses arguments it used to ignore. Without the option the build is unchanged (#305).distcarries each date'smarkdown/todist/compilations/<date>/with asources.jsongiving each compilation's source, window, retrieval date and file digests, and lists the titles it leaves out;dist_verifyadds 8 checks on them.quicktreats an open and a closed window from the same start as an overlap, where it raisedTypeError(#307).- The privacy checks in
distanddist_verifyread every decoded string and number in a row, keys and nested values included, so a JSON escape cannot hide a contact or a name beside a registration number.distrefuses a title with no rows and a listed title name that holds either.as_ataccepts a compilation superseded on the day it starts, which holds no date (#308). - The contact scan also reads each text with HTML character references decoded and NFKC-normalised, so a full-width
@, full-width digits or a reference such as@no longer hides an email address or phone number wherever the scan runs,distanddist_verifyincluded (#309). - The contact scan also reads each text with invisible characters removed, then with controls removed too, and as it displays: in bidirectional order, with a non-breaking hyphen, figure dash, en dash or minus sign read as
-. A zero-width space, soft hyphen, NUL from a JSON escape, a contact written backwards after a right-to-left override or a phone number with non-breaking hyphens no longer hides an email address, phone number or TFN from the scan,distordist_verify; a text that reads as a contact only these ways now fails them until reviewed. It does not find a contact broken by a character that shows as a gap or split across 2 strings (docs/scope.md). New dependency:unicode-bidi0.3.18 (#311). probe13no longer falls back to a version that starts after the current one, which gave the root row a window ending before it began (#306).- CI runs the samples demo on a debug build; pull requests skip the release compile, which pushes to
mainstill run (#304).
v0.5.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
search cite-check INDEX DRAFTchecks a draft's legislation citations against a build: each isresolved,assumedornot_held, with the nearest held sections for a provision the build lacks. It grades a quotation in a citation's sentence asexact,normalised,partialornone(#270, #286). It does not check citations of rulings.docs/build-evidence.mdadds a 46-query retrieval baseline on real law (#270).search quote INDEX ROW_ID QUOTATIONgrades one quotation against a chosen row by thecite-checkrules (#286).search build --rulings RUN_DIRindexes each rulings run's references to a section, Division or Subdivision named with its Act, andsearch refslists them undercited_by_rulingswith each paragraph's withdrawal status. The build refuses a run whoserulings.jsonldoes not match itsmanifest.json. Without--rulingsthe index holds no rulings tables (#286).authoritiesexports a build, and optionally a rulings run, as the closed list for DrDebits'gate --authorities(BUILD.md, 'Exporting an authorities list').--as-at DATEonsearch query,defineandcite-checkanswers only from titles whose status on that date iscapturedand refuses the rest by name. No superseded text is held (#284).quick --out FOLDERfetches, builds and indexes 9 principal Acts from the Register in one command and prints theAUS_ACCOUNTING_CORPUS_ROOTsetting;finalize --presetmarks such a build (#284).search query --stemadds English word-form matches, marked as stemmed; exact search stays the default. Everysearch buildnow also fills the stemmed index, so an index differs from one built by 0.4.0 (#285).- A re-run that reuses a cached EPUB records the compilation's resolved Register ID, where it copied the cached file's sidecar and could record
nullor another compilation's ID (#258). witnesscompares a fixed sample of titles' EPUB sections with the Register's Word rendition (#256).search refsresolves ITAA 1997, ITAA 1936, TAA 1953, GST Act and FBTAA 1986 through a closed table (#264), andqueryranks current titles above superseded ones (#246).discoveradds 3 Acts no tax keyword reaches from a reviewed list: the Major Bank Levy Act 2017, the Product Grants and Benefits Administration Act 2000 and the Venture Capital Act 2002. It stops if a listed title is no longer an in-force principal Act (docs/scope.md).distkeeps custom distribution notices and supports verified corpus snapshots; the first,corpus-2026-11-11, is a separate release (#292).- Licence: versions made available from 4 November 2026 are under the Ryan Duguid Public Attribution Licence 1.0, the FSL-1.1-ALv2 text with a public attribution condition; earlier releases keep their licences (#267).
compare_buildsrefuses a sections.jsonl row that repeats a JSON member at any depth, names another title, holds a container, section or heading that is neither text nor null (a lone surrogate counts as neither), holds a lone surrogate anywhere in its compilation number or date, or comes from a different compilation from the title's first row, and its text report lists the titles present in only one build. For such inputs it departs on purpose from the output of the Python stage at 43b5e0c.- Dependencies: rustix 1.1.6 for RUSTSEC-2026-0486 (#299); the fuzz workspace uses the patched SQLite (#289).
- The release workflow is pinned to release-policy
ca5492b(#281).
Known issues:
rulingslabels Law Companion Rulings, which the ATO lists underCOG, as Practical Compliance Guidelines, and does not capture GST determinations, listed underGSD(docs/rulings.md).- A
faddenstage holds its output until it exits, so a long stage shows no progress, and a panic or Ctrl+C loses what it would have printed.
v0.4.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
discoverrefuses to replacetitles_all.jsonandtitles_principal.jsonwhen the new list is missing any principal title or more than 1 in 20 of the titles the earliertitles_all.jsonheld: it exits 1, names the missing ids and leaves both files unchanged. A smaller loss is printed.--accept-missingoverrides and prints the accepted ids. Unknown arguments are now refused with argparse's usage error, where they were ignored (#235).- Relicensed from Apache-2.0 to FSL-1.1-ALv2 (Functional Source License, with Apache-2.0 as the future licence). Released versions keep their licence (#228).
- Breaking: a finalised corpus no longer carries the builder's Python scripts in
build/.finalizewritesbuild/build-record.jsoninstead (BUILD.md, "The build record": the run's time, the program's version and SHA-256, the size and SHA-256 of every file it read, and the shipped checker's digests, with unknown provenance recorded asnulland a reason) and README.md gains a "Build record" section. It still copiescheck_current.py,corpus_paths.pyandhttp_fetch.pyto the corpus root. It refuses, before writing anything, abuild/holdingdiscover.py,versions.py,download.py,extract.pyorfinalize.pyfrom an earlier run. Re-run stages from a source checkout (#224). capture_registerremoves only a staging directory it created, so a name that already existed is left alone (cleanup still trusts the output parent and its ancestors: an account that can write there could replace the directory between its creation and cleanup), and on Linux it promotes the capture with `renameat2(RENAME_NO...
v0.5.0
v0.5.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
search cite-check INDEX DRAFTchecks a draft's legislation citations against a build: each isresolved,assumedornot_held, with the nearest held sections for a provision the build lacks. It grades a quotation in a citation's sentence asexact,normalised,partialornone(#270, #286). It does not check citations of rulings.docs/build-evidence.mdadds a 46-query retrieval baseline on real law (#270).search quote INDEX ROW_ID QUOTATIONgrades one quotation against a chosen row by thecite-checkrules (#286).search build --rulings RUN_DIRindexes each rulings run's references to a section, Division or Subdivision named with its Act, andsearch refslists them undercited_by_rulingswith each paragraph's withdrawal status. The build refuses a run whoserulings.jsonldoes not match itsmanifest.json. Without--rulingsthe index holds no rulings tables (#286).authoritiesexports a build, and optionally a rulings run, as the closed list for DrDebits'gate --authorities(BUILD.md, 'Exporting an authorities list').--as-at DATEonsearch query,defineandcite-checkanswers only from titles whose status on that date iscapturedand refuses the rest by name. No superseded text is held (#284).quick --out FOLDERfetches, builds and indexes 9 principal Acts from the Register in one command and prints theAUS_ACCOUNTING_CORPUS_ROOTsetting;finalize --presetmarks such a build (#284).search query --stemadds English word-form matches, marked as stemmed; exact search stays the default. Everysearch buildnow also fills the stemmed index, so an index differs from one built by 0.4.0 (#285).- A re-run that reuses a cached EPUB records the compilation's resolved Register ID, where it copied the cached file's sidecar and could record
nullor another compilation's ID (#258). witnesscompares a fixed sample of titles' EPUB sections with the Register's Word rendition (#256).search refsresolves ITAA 1997, ITAA 1936, TAA 1953, GST Act and FBTAA 1986 through a closed table (#264), andqueryranks current titles above superseded ones (#246).discoveradds 3 Acts no tax keyword reaches from a reviewed list: the Major Bank Levy Act 2017, the Product Grants and Benefits Administration Act 2000 and the Venture Capital Act 2002. It stops if a listed title is no longer an in-force principal Act (docs/scope.md).distkeeps custom distribution notices and supports verified corpus snapshots; the first,corpus-2026-11-11, is a separate release (#292).- Licence: versions made available from 4 November 2026 are under the Ryan Duguid Public Attribution Licence 1.0, the FSL-1.1-ALv2 text with a public attribution condition; earlier releases keep their licences (#267).
compare_buildsrefuses a sections.jsonl row that repeats a JSON member at any depth, names another title, holds a container, section or heading that is neither text nor null (a lone surrogate counts as neither), holds a lone surrogate anywhere in its compilation number or date, or comes from a different compilation from the title's first row, and its text report lists the titles present in only one build. For such inputs it departs on purpose from the output of the Python stage at 43b5e0c.- Dependencies: rustix 1.1.6 for RUSTSEC-2026-0486 (#299); the fuzz workspace uses the patched SQLite (#289).
- The release workflow is pinned to release-policy
ca5492b(#281).
Known issues:
rulingslabels Law Companion Rulings, which the ATO lists underCOG, as Practical Compliance Guidelines, and does not capture GST determinations, listed underGSD(docs/rulings.md).- A
faddenstage holds its output until it exits, so a long stage shows no progress, and a panic or Ctrl+C loses what it would have printed.
v0.4.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
discoverrefuses to replacetitles_all.jsonandtitles_principal.jsonwhen the new list is missing any principal title or more than 1 in 20 of the titles the earliertitles_all.jsonheld: it exits 1, names the missing ids and leaves both files unchanged. A smaller loss is printed.--accept-missingoverrides and prints the accepted ids. Unknown arguments are now refused with argparse's usage error, where they were ignored (#235).- Relicensed from Apache-2.0 to FSL-1.1-ALv2 (Functional Source License, with Apache-2.0 as the future licence). Released versions keep their licence (#228).
- Breaking: a finalised corpus no longer carries the builder's Python scripts in
build/.finalizewritesbuild/build-record.jsoninstead (BUILD.md, "The build record": the run's time, the program's version and SHA-256, the size and SHA-256 of every file it read, and the shipped checker's digests, with unknown provenance recorded asnulland a reason) and README.md gains a "Build record" section. It still copiescheck_current.py,corpus_paths.pyandhttp_fetch.pyto the corpus root. It refuses, before writing anything, abuild/holdingdiscover.py,versions.py,download.py,extract.pyorfinalize.pyfrom an earlier run. Re-run stages from a source checkout (#224). capture_registerremoves only a staging directory it created, so a name that already existed is left alone (cleanup still trusts the output parent and its ancestors: an account that can write there could replace the directory between its creation and cleanup), and on Linux it promotes the capture withrenameat2(RENAME_NOREPLACE), refusing where the C library lacks it, so an empty directory that appears at the destination is never replaced.export_live_evidence_bundlesgives Windows the UTF-16 length of each capture path component, so a component holding a character outside the Basic Multilingual Plane no longer stops the export. The Python stages and the binary change together (#224).- Breaking: the review queue is a standalone Rust binary,
tax-radar-au1.0.0, built withcargo build --locked --release. Its commands, options, exit statuses, stdout and stderr lines, output file bytes (CRLF on Windows), digests and argparse usage and error text match the Python radar at 43b5e0c. Thetax_radar_auimport package, itssample_pathhelper and the wheel's console script are removed; the samples moved tosamples/. The Python wheel carries the corpus builder only (#224). - Documented differences from the Python radar:
- stdout and stderr are always UTF-8. Python on a non-UTF-8 Windows code page printed an unencodable
--outpath backslash-escaped with a note on stderr; Python 3.15's UTF-8 mode behaves like the binary. rulingsfetches with its own HTTP client, a port of theurllib.requestandhttp.clientcode it used: the request it sends, redirects, environment proxies, response framing and the exception names it reports match. It checks certificates with rustls against the operating system's store, where Python used OpenSSL with the system's root certificates. It does not read the Windows Internet Settings or macOS System Configuration proxy, which Python used when no proxy variable was set (setHTTPS_PROXYinstead); a redirect or proxy to an FTP, file or data URL fails asURLError; and a non-ASCII host name is not IDNA-encoded.dist_verifystill exits 2 when the checks could not run, but prints only the traceback's last line where Python printed it whole.dist_verifylists unapproved contact findings in its FAIL detail sorted by title and digest; Python listed them in set order, which follows string hashes and varied from run to run. Where two values that cannot be ordered meet in a sort (a non-string collection beside string ones), the TypeError can name the two types in the other order, as Python's own runs could.- An argument that is not valid Unicode (possible on Windows) is refused with
tax-radar-au: blocked: every argument must be valid Unicode.and exit 2, where Python accepted it and failed later on the path. - Resolving an output path whose existing component cannot be opened (access denied, sharing violation) keeps that component's letter case as given; Python asked Windows for its stored name.
- stdout and stderr are always UTF-8. Python on a non-UTF-8 Windows code page printed an unencodable
- The
as_at,compare_builds,discover,dist,dist_verify,export_monitor_contract,export_publication_bundles,extract,finalize,pii_scan,pii_scan2,probe13,rates,rulings,searchandversionscorpus stages are the Rustfaddenbinary. Their Python modulesfadden/discover.py,versions.py,extract.pyandfinalize.pyare removed, with the Python tests of their internals. The publication export reads its inputs through the radar's snapshot loader, sofadden/source_snapshot.pyis removed. The privacy patterns they share aresrc/fadden/pii.rs;fadden/pii_patterns.pyis removed, and the fuzzing workflow runs a cargo-fuzz target on nightly Rust instead of the Atheris one.python -m faddenruns it with the same arguments, and it keeps their command lines, output bytes and exit statuses. Documented differences:- An exception the Python stage did not catch printed a traceback; the binary prints only its last line, with the same exit status 1.
- A search index records the bundled SQLite's version (3.53.2) in its file header, so the file differs from Python's in those 4 header bytes only.
- An argument that is not valid Unicode (possible on Windows) is refused with
fadden: every argument must be valid Unicode.and exit 2, as the radar does. - A file or directory name that is not valid Unicode (bytes that are not UTF-8 on Linux, a lone surrogate on Windows) in a tree a stage lists stops the stage with
ValueError: file name is not valid Unicode: '<path>', exit 1, or exit 2 fromdist_verify. Python carried such a name through as a surrogate-escaped string. The exception...
Corpus snapshot 2026-11-11 (9 principal Acts)
Corpus snapshot 2026-11-11 (9 principal Acts)
A redistributable snapshot of 9 principal Commonwealth tax Acts, built with this repository's fadden and checked by dist_verify. Use it to give an agent or search tool the law without building the corpus yourself.
It is a finding aid derived from the Register's EPUB reading view. It is not the authorised text (authorised versions are the Register's PDFs), not tax advice and not a conclusion about legal effect. It holds no instruments, rulings or case law, and a 'no match' from it says nothing about other titles.
Contents
| Register ID | Act | Compilation | Compilation date |
|---|---|---|---|
| C2004A05138 | Income Tax Assessment Act 1997 | 268 | 1 October 2026 |
| C1936A00027 | Income Tax Assessment Act 1936 | 193 | 1 October 2026 |
| C2004A00446 | A New Tax System (Goods and Services Tax) Act 1999 | 96 | 1 January 2026 |
| C1953A00001 | Taxation Administration Act 1953 | 227 | 1 October 2026 |
| C2004A03280 | Fringe Benefits Tax Assessment Act 1986 | 97 | 1 July 2026 |
| C2004A04402 | Superannuation Guarantee (Administration) Act 1992 | 78 | 1 July 2026 |
| C2004A05128 | Income Tax (Transitional Provisions) Act 1997 | 104 | 1 October 2026 |
| C2004A03348 | Income Tax Rates Act 1986 | 66 | 1 July 2026 |
| C2004A04633 | Superannuation Industry (Supervision) Act 1993 | 131 | 10 August 2026 |
All 9 were downloaded from the Register on 11 November 2026, and each was its Act's current compilation when checked against the Register that day. dist_verify passed on the snapshot and on a copy unpacked from the archive. 9,439 retrieval rows; 1,664 rate and threshold entries. Each row carries its Register page, compilation and attribution. No EPUBs or images are included.
Download and verify
au-tax-legislation-corpus-dist-2026-11-11.tar.gz, 6,227,238 bytes (44,602,353 bytes and 34 files unpacked).
SHA-256 7a612ce0850033b11ea8b30fde85e4f5c836c1e65d145dcfd067306714ef058a
sha256sum -c SHA256SUMS
tar -xzf au-tax-legislation-corpus-dist-2026-11-11.tar.gzTo rerun the publication checks on the unpacked tree, make a build/ folder beside dist/ holding pii_contact_allowlist.json from this repository's fadden/ folder and a pii_flagged.json containing []. Then, from the folder holding both, with a fadden built from this repository on your PATH:
FADDEN_MODULE_DIR="$PWD/build" fadden dist_verifyIt prints RESULT: all checks passed and exits 0 when every check passes.
Licence and attribution
The snapshot's legislative content is licensed under Creative Commons Attribution 4.0 International by the Federal Register of Legislation. It is not covered by this repository's code licence, and this project adds no further terms. The Commonwealth Coat of Arms and any third-party material are excluded from that licence; the snapshot contains no images.
Based on content from the Federal Register of Legislation at 11 November 2026. For the latest information on Australian Government legislation please go to https://www.legislation.gov.au. Changes: converted from EPUB to markdown, contents pages removed, endnotes separated, images replaced by their descriptive alt text, compilation cover pages and running headers omitted.
The Federal Register of Legislation and the Office of Parliamentary Counsel do not endorse this project or its use of the content.
v0.4.0
v0.4.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
discoverrefuses to replacetitles_all.jsonandtitles_principal.jsonwhen the new list is missing any principal title or more than 1 in 20 of the titles the earliertitles_all.jsonheld: it exits 1, names the missing ids and leaves both files unchanged. A smaller loss is printed.--accept-missingoverrides and prints the accepted ids. Unknown arguments are now refused with argparse's usage error, where they were ignored (#235).- Relicensed from Apache-2.0 to FSL-1.1-ALv2 (Functional Source License, with Apache-2.0 as the future licence). Released versions keep their licence (#228).
- Breaking: a finalised corpus no longer carries the builder's Python scripts in
build/.finalizewritesbuild/build-record.jsoninstead (BUILD.md, "The build record": the run's time, the program's version and SHA-256, the size and SHA-256 of every file it read, and the shipped checker's digests, with unknown provenance recorded asnulland a reason) and README.md gains a "Build record" section. It still copiescheck_current.py,corpus_paths.pyandhttp_fetch.pyto the corpus root. It refuses, before writing anything, abuild/holdingdiscover.py,versions.py,download.py,extract.pyorfinalize.pyfrom an earlier run. Re-run stages from a source checkout (#224). capture_registerremoves only a staging directory it created, so a name that already existed is left alone (cleanup still trusts the output parent and its ancestors: an account that can write there could replace the directory between its creation and cleanup), and on Linux it promotes the capture withrenameat2(RENAME_NOREPLACE), refusing where the C library lacks it, so an empty directory that appears at the destination is never replaced.export_live_evidence_bundlesgives Windows the UTF-16 length of each capture path component, so a component holding a character outside the Basic Multilingual Plane no longer stops the export. The Python stages and the binary change together (#224).- Breaking: the review queue is a standalone Rust binary,
tax-radar-au1.0.0, built withcargo build --locked --release. Its commands, options, exit statuses, stdout and stderr lines, output file bytes (CRLF on Windows), digests and argparse usage and error text match the Python radar at 43b5e0c. Thetax_radar_auimport package, itssample_pathhelper and the wheel's console script are removed; the samples moved tosamples/. The Python wheel carries the corpus builder only (#224). - Documented differences from the Python radar:
- stdout and stderr are always UTF-8. Python on a non-UTF-8 Windows code page printed an unencodable
--outpath backslash-escaped with a note on stderr; Python 3.15's UTF-8 mode behaves like the binary. rulingsfetches with its own HTTP client, a port of theurllib.requestandhttp.clientcode it used: the request it sends, redirects, environment proxies, response framing and the exception names it reports match. It checks certificates with rustls against the operating system's store, where Python used OpenSSL with the system's root certificates. It does not read the Windows Internet Settings or macOS System Configuration proxy, which Python used when no proxy variable was set (setHTTPS_PROXYinstead); a redirect or proxy to an FTP, file or data URL fails asURLError; and a non-ASCII host name is not IDNA-encoded.dist_verifystill exits 2 when the checks could not run, but prints only the traceback's last line where Python printed it whole.dist_verifylists unapproved contact findings in its FAIL detail sorted by title and digest; Python listed them in set order, which follows string hashes and varied from run to run. Where two values that cannot be ordered meet in a sort (a non-string collection beside string ones), the TypeError can name the two types in the other order, as Python's own runs could.- An argument that is not valid Unicode (possible on Windows) is refused with
tax-radar-au: blocked: every argument must be valid Unicode.and exit 2, where Python accepted it and failed later on the path. - Resolving an output path whose existing component cannot be opened (access denied, sharing violation) keeps that component's letter case as given; Python asked Windows for its stored name.
- stdout and stderr are always UTF-8. Python on a non-UTF-8 Windows code page printed an unencodable
- The
as_at,compare_builds,discover,dist,dist_verify,export_monitor_contract,export_publication_bundles,extract,finalize,pii_scan,pii_scan2,probe13,rates,rulings,searchandversionscorpus stages are the Rustfaddenbinary. Their Python modulesfadden/discover.py,versions.py,extract.pyandfinalize.pyare removed, with the Python tests of their internals. The publication export reads its inputs through the radar's snapshot loader, sofadden/source_snapshot.pyis removed. The privacy patterns they share aresrc/fadden/pii.rs;fadden/pii_patterns.pyis removed, and the fuzzing workflow runs a cargo-fuzz target on nightly Rust instead of the Atheris one.python -m faddenruns it with the same arguments, and it keeps their command lines, output bytes and exit statuses. Documented differences:- An exception the Python stage did not catch printed a traceback; the binary prints only its last line, with the same exit status 1.
- A search index records the bundled SQLite's version (3.53.2) in its file header, so the file differs from Python's in those 4 header bytes only.
- An argument that is not valid Unicode (possible on Windows) is refused with
fadden: every argument must be valid Unicode.and exit 2, as the radar does. - A file or directory name that is not valid Unicode (bytes that are not UTF-8 on Linux, a lone surrogate on Windows) in a tree a stage lists stops the stage with
ValueError: file name is not valid Unicode: '<path>', exit 1, or exit 2 fromdist_verify. Python carried such a name through as a surrogate-escaped string. The exception is the stale-title refusal infinalize,ratesandsearch, which names such an entry as Python does (each unpaired surrogate written\udXXX). - When an observation fact carries several fields its state requires to be null,
export_monitor_contractnames the first alphabetically; Python named one in set order, which followed string hashes. - Without a
VERSIONfile beside the package,export_publication_bundleslooks for the installed distribution's metadata in that directory only, where Python'simportlib.metadatasearched everysys.pathentry. Within that directory it reads the metadata asimportlib.metadatadoes: a.dist-infobefore an.egg-info, theVersionheader in any letter case and its value unaltered. - A Python stage interrupted with Ctrl+C ran its recovery; the binary stops at once. For
export_monitor_contractthe publisher lock and any.bakfiles then stay for operator recovery, as after a failed rollback. export_monitor_contractkeeps writing its lock token after a short write, where Python made oneos.writecall and could leave a truncated token. A write error part way through still leaves the bytes written so far if the lock then cannot be removed. A failure to close a lock, staged or bundle file once its bytes are written is not reported; Python would have reported it.
- The
faddenbinary also carriescapture_registerandexport_live_evidence_bundles, verified against the Python stages, whichpython -m faddenand the publication workflow still run. Their new directories get the private DACL CPython 3.13 and later giveos.mkdir(path, 0o700)on Windows. Documented differences:- A Register response nested more than 1,000 levels deep is recorded as
INVALID_ODATA_SHAPEwithout the rest of its syntax being checked; Python parsed it to its C-stack limit, so a later syntax error or duplicate member made itINVALID_JSON, and past that limit it raisedRecursionError. - Timestamp offsets follow CPython 3.15, which refuses offset minutes past 59 that 3.14 accepted.
- Interrupted with Ctrl+C, the binary stops at once; a capture's staging directory, or a live export's staging directory and its held files, stay behind for removal, where Python ran its cleanup.
- The HTTP client allows 90 seconds for each address tried, each socket read and the whole TLS handshake, as Python's socket timeout does, and 90 seconds for each socket write, where Python gave sending the request one 90-second limit.
- When closing one of the live export's pinned capture directories fails, the binary still closes the others; Python left them open until it exited. On Linux a failed close of a pinned descriptor is not reported.
- A Register response nested more than 1,000 levels deep is recorded as
- JSON nested more than 1,000 levels deep raises
RecursionError: maximum recursion depth exceeded while decoding a JSON array from a unicode string(orobject). CPython 3.15 raises it only where its C stack runs low, above 13,000 levels on Windows, and words the message by the stack used.- Writing indented JSON stops at the nesting where Python's encoder reaches its recursion limit under
python -m fadden(about 990 containers, by stage), with the sameRecursionErrorand notes, and leaves the part Python wrote. Python started another way, with more or fewer frames below the stage, stops at another depth. - Sorts follow CPython 3.15. Where 64 or more items include values that do not order (or NaNs), CPython 3.14 forms its runs differently and can meet a different pair of types, or leave NaNs elsewhere, as 3.14 and 3.15 differ from each other.
- Writing indented JSON stops at the nesting where Python's encoder reaches its recursion limit under
- A
searchstage builds a local SQLite FTS5 index over a finished corpus after checking every row againstsources.json, and answersquery,defineandrefsfrom it (#202). It records a decimal citation label only when the label is complete. rulingsgives each row, and the manifest's document record, awithdrawal_status(`NOTICE_...
v0.3.0
v0.3.0
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
- Breaking: the builder and radar require Python 3.14 or later; 0.2.1 remains the last release for Python 3.11 to 3.13 (#166).
- Licence: Apache-2.0 replaces MIT for the code, with a
NOTICEfile whose attribution anyone redistributing the code or a derivative must keep (#179). Releases before 0.3.0 stay under MIT. - A
compare_buildsstage lists the sections added, removed and changed between two local builds, title by title, and the titles present in only one of them (#170). - Stage 2 resolves up to eight principal titles in each paced request, keeps record order, and falls back to single-title requests when batching is unavailable. A malformed response or unresolved title leaves
acts_resolved.jsonunchanged (#175). - EPUB tables keep source-cell columns under
rowspan, overlapping row groups are refused, and the parser checks expanded, buffered and padded allocations against its limits (#178). - The dot-leader pattern in title extraction no longer backtracks (#192).
- The release also carries its signed provenance bundle,
au-tax-legislation-corpus-builder-0.3.0.intoto.jsonl(#191). - This release contains builder source only, without a corpus or live evidence.
v0.2.1
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
- No v0.2.0 release exists. The v0.2.0 tag (5 October 2026) stopped at the release preflight because the release workflow listed its Python 3.11 check twice; it now lists it once, and a test refuses a repeated check. 0.2.1 carries every change below.
- Breaking: the builder and radar require Python 3.11 or later; 0.1.7 remains the last release for Python 3.10 (#162).
- An
as_atstage checks a compilation's point in time, each row carries its compilation window, and a literal quotation check compares quoted text with the source (#154). - Archive and table extraction are bounded, Register identities and timestamps are validated, and existing corpus and radar outputs survive a failed staging or promotion (#159).
- The radar keeps its input files when an output path names one of them, directly or through a link (#149), bounds its companion reads and rejects control characters in profile labels (#150), and reports a non-string observation schema version as blocked input with exit 2 (#155).
- The extractor treats a valueless
classattribute as empty instead of stopping (#161), and the rulings fetch closes HTTP error responses before retrying (#160). - CodeQL runs from a repository workflow so a release can require it (#152).
- This release contains builder source only, without a corpus or live evidence.
v0.1.7
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
- A rulings stage collects ATO Legal Database documents into a collection of their own (#139).
- Rate rows carry their provenance, discovery reads the Register's status before anything else, and the guides and labels are corrected (#114).
- A rebuild refuses titles the list no longer names instead of carrying them forward, the PII scan no longer takes decimal rate factors for phone numbers, five licence-restricted standards stay out of distributions, and a failed first build rolls back without discarding complete new downloads (#144).
- Corpus content is preserved and evidence publication requires review (#132); draft publication is retry-safe and title lists are written atomically (#118); a failed check is reported apart from a verifier that could not run (#119).
- Live-evidence tagging and publication run in a protected environment (#143), and a builder release now requires the mandatory
mainchecks to have passed for its commit (#131). - The radar gains an exposure command for pseudonymous client profiles (#145).
- This release contains builder source only, without a corpus or live evidence.
v0.1.6
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
- Display the full queue digest and reject Markdown companions that differ from the JSON rendering.
- Record per-title EPUB metadata failures before refusing manifest publication.
- Validate the required PII summary before replacing publication artefacts.
- This release contains builder source only, without a corpus or live evidence.
v0.1.5
This is a release of the corpus builder, not a prebuilt legislation corpus.
The v0.1.4 tag was pushed on 7 September 2026 and its release preflight
failed before anything was published, so that tag carries no GitHub release.
A pushed tag is never moved, so v0.1.5 is the same tree plus the fix.
Changes since v0.1.3:
- The release-policy preflight runs unittest discovery over the whole
tests
tree on a runner without pytest, and since the tax-radar-au merge that tree
holds a pytest-only radar suite.tests/radar/__init__.pynow withholds
that package from unittest discovery, and a corpus test re-runs the
preflight discovery with pytest hidden so it stays that way. - The release workflow calls the shared release-policy archive workflow,
pinned to a commit reachable from that repository'smain
(99a6314), after 2 repoints that followed release-policy's history
rewrite. Dependabot no longer proposes bumps to that pin; the pin moves
only through a reviewed change.setup-uvis pinned by commit, the
evidence publisher runs without a cache, and every workflow carries a
concurrency group and a job timeout. - A repealed row that the Register still lists as current is recorded as no
longer in force;C2004A00982is re-resolved against current Register
metadata;observed_atis read without PowerShell datetime coercion; the
distribution figures and stale documentation are corrected, raw HTML in
radar Markdown is escaped, and the affected test paths are repaired. - Documentation states the source-only package lifecycle, names GitHub
Releases as the canonical release history and says what a release carries,
adds cross-runtime contributor guidance for the corpus, and leads with a
synthetic change-review export.
v0.1.3
This is a release of the corpus builder, not a prebuilt legislation corpus.
First release cut from the repository's current history, restoring the full
verification story (gh release verify and gh attestation verify) that the
history rewrite broke for v0.1.1 and v0.1.2.
python -m fadden <stage>works from a source checkout: the dispatcher puts
the package directory onsys.pathso the stages' flat imports resolve, and
a forwarded retrieval date now reachesextract. A real-import test over
every stage guards the entry point.- BUILD.md documents the mandatory PII scan stages and no longer claims the
source checkout ships the regenerated intermediates. - RELEASING.md and the sibling references use the current repository names;
the release workflow and its pinning test point at reachable
release-policy history;tools/build_release_archives.pyis synchronised
with the shared script the release actually runs.
v0.1.2
This is a release of the corpus builder, not a prebuilt legislation corpus.
Changes since v0.1.1:
- apply both privacy predicates to every declared title representation: Markdown, optional endnotes and JSONL
- reject undeclared title files, nested directories, invalid UTF-8, binary control data, symbolic links, junctions and other Windows reparse points
- make TFNs permanently non-allowlistable and reject allowlist reasons that contain a raw contact identifier
- turn malformed JSON, rate records and manipulated manifest paths into named publication failures rather than tracebacks
- derive and verify README and distribution-index counts independently from the validated output.
The corrected builder passed 112 tests and 2 complete builds from the public
4 August 2026 source snapshot. Both builds produced the same validated 2,105-file
distribution: 934 redistributed titles and 21,596 rows, that snapshot's 946
titles and 21,784 rows less the 12 titles pii_flagged.json names. Those 12
titles hold 188 rows between them, of which 169 are recorded as naming private
individuals. The build drops a flagged title whole rather than row by row, so
all 188 of its rows leave the distribution, not only the 169.
Those figures describe that validation run, not a promise that the underlying
legislation remains current after the snapshot date.
No downloaded EPUB, extracted legislation, corpus output or client data is included. Rebuild from the Federal Register of Legislation under the controls in BUILD.md and review the resulting licence notice before redistribution.
VirusTotal
v0.2.1
v0.2.1
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
- No v0.2.0 release exists. The v0.2.0 tag (5 October 2026) stopped at the release preflight because the release workflow listed its Python 3.11 check twice; it now lists it once, and a test refuses a repeated check. 0.2.1 carries every change below.
- Breaking: the builder and radar require Python 3.11 or later; 0.1.7 remains the last release for Python 3.10 (#162).
- An
as_atstage checks a compilation's point in time, each row carries its compilation window, and a literal quotation check compares quoted text with the source (#154). - Archive and table extraction are bounded, Register identities and timestamps are validated, and existing corpus and radar outputs survive a failed staging or promotion (#159).
- The radar keeps its input files when an output path names one of them, directly or through a link (#149), bounds its companion reads and rejects control characters in profile labels (#150), and reports a non-string observation schema version as blocked input with exit 2 (#155).
- The extractor treats a valueless
classattribute as empty instead of stopping (#161), and the rulings fetch closes HTTP error responses before retrying (#160). - CodeQL runs from a repository workflow so a release can require it (#152).
- This release contains builder source only, without a corpus or live evidence.
v0.1.7
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
- A rulings stage collects ATO Legal Database documents into a collection of their own (#139).
- Rate rows carry their provenance, discovery reads the Register's status before anything else, and the guides and labels are corrected (#114).
- A rebuild refuses titles the list no longer names instead of carrying them forward, the PII scan no longer takes decimal rate factors for phone numbers, five licence-restricted standards stay out of distributions, and a failed first build rolls back without discarding complete new downloads (#144).
- Corpus content is preserved and evidence publication requires review (#132); draft publication is retry-safe and title lists are written atomically (#118); a failed check is reported apart from a verifier that could not run (#119).
- Live-evidence tagging and publication run in a protected environment (#143), and a builder release now requires the mandatory
mainchecks to have passed for its commit (#131). - The radar gains an exposure command for pseudonymous client profiles (#145).
- This release contains builder source only, without a corpus or live evidence.
v0.1.6
This candidate contains the corpus builder source. It excludes generated legislation and live evidence.
- Display the full queue digest and reject Markdown companions that differ from the JSON rendering.
- Record per-title EPUB metadata failures before refusing manifest publication.
- Validate the required PII summary before replacing publication artefacts.
- This release contains builder source only, without a corpus or live evidence.
v0.1.5
This is a release of the corpus builder, not a prebuilt legislation corpus.
The v0.1.4 tag was pushed on 7 September 2026 and its release preflight
failed before anything was published, so that tag carries no GitHub release.
A pushed tag is never moved, so v0.1.5 is the same tree plus the fix.
Changes since v0.1.3:
- The release-policy preflight runs unittest discovery over the whole
tests
tree on a runner without pytest, and since the tax-radar-au merge that tree
holds a pytest-only radar suite.tests/radar/__init__.pynow withholds
that package from unittest discovery, and a corpus test re-runs the
preflight discovery with pytest hidden so it stays that way. - The release workflow calls the shared release-policy archive workflow,
pinned to a commit reachable from that repository'smain
(99a6314), after 2 repoints that followed release-policy's history
rewrite. Dependabot no longer proposes bumps to that pin; the pin moves
only through a reviewed change.setup-uvis pinned by commit, the
evidence publisher runs without a cache, and every workflow carries a
concurrency group and a job timeout. - A repealed row that the Register still lists as current is recorded as no
longer in force;C2004A00982is re-resolved against current Register
metadata;observed_atis read without PowerShell datetime coercion; the
distribution figures and stale documentation are corrected, raw HTML in
radar Markdown is escaped, and the affected test paths are repaired. - Documentation states the source-only package lifecycle, names GitHub
Releases as the canonical release history and says what a release carries,
adds cross-runtime contributor guidance for the corpus, and leads with a
synthetic change-review export.
v0.1.3
This is a release of the corpus builder, not a prebuilt legislation corpus.
First release cut from the repository's current history, restoring the full
verification story (gh release verify and gh attestation verify) that the
history rewrite broke for v0.1.1 and v0.1.2.
python -m fadden <stage>works from a source checkout: the dispatcher puts
the package directory onsys.pathso the stages' flat imports resolve, and
a forwarded retrieval date now reachesextract. A real-import test over
every stage guards the entry point.- BUILD.md documents the mandatory PII scan stages and no longer claims the
source checkout ships the regenerated intermediates. - RELEASING.md and the sibling references use the current repository names;
the release workflow and its pinning test point at reachable
release-policy history;tools/build_release_archives.pyis synchronised
with the shared script the release actually runs.
v0.1.2
This is a release of the corpus builder, not a prebuilt legislation corpus.
Changes since v0.1.1:
- apply both privacy predicates to every declared title representation: Markdown, optional endnotes and JSONL
- reject undeclared title files, nested directories, invalid UTF-8, binary control data, symbolic links, junctions and other Windows reparse points
- make TFNs permanently non-allowlistable and reject allowlist reasons that contain a raw contact identifier
- turn malformed JSON, rate records and manipulated manifest paths into named publication failures rather than tracebacks
- derive and verify README and distribution-index counts independently from the validated output.
The corrected builder passed 112 tests and 2 complete builds from the public
4 August 2026 source snapshot. Both builds produced the same validated 2,105-file
distribution: 934 redistributed titles and 21,596 rows, that snapshot's 946
titles and 21,784 rows less the 12 titles pii_flagged.json names. Those 12
titles hold 188 rows between them, of which 169 are recorded as naming private
individuals. The build drops a flagged title whole rather than row by row, so
all 188 of its rows leave the distribution, not only the 169.
Those figures describe that validation run, not a promise that the underlying
legislation remains current after the snapshot date.
No downloaded EPUB, extracted legislation, corpus output or client data is included. Rebuild from the Federal Register of Legislation under the controls in BUILD.md and review the resulting licence notice before redistribution.