content: add NZ pre-arrival bank account canon, close ACC coverage gaps - #168
Merged
Conversation
New Zealand (nz) coverage: pre-arrival bank accounts staying restricted until AML/CFT identity verification is completed in person or via a trusted referee (banking), landlords being legally required to lodge tenant bonds with Tenancy Services rather than holding them privately (legal), NZ public healthcare and ACC not covering illness or general visitor costs (medical), and MPI's instant $400 infringement fee for undeclared food at the border regardless of intent (food-safety). Re-verified the 3 oldest untouched aging canons (last_confirmed 2026-02-01): typescript/ts1360-satisfies-type-error and node/err-unsupported-esm-url-scheme still hold as documented. The pydantic-v2-field-validation-error canon's claims also still hold, but its three docs.pydantic.dev source URLs now 301-redirect to pydantic.dev/docs/validation/latest/... and have been updated to the current canonical locations.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…existing canon main (#173) landed New Zealand coverage for biosecurity declarations and public-healthcare eligibility, and re-verified the same three code canons this branch had refreshed. - Dropped food-safety/undeclared-food-instant-fine-at-border/nz: main's food-safety/undeclared-biosecurity-goods/nz covers it. - Dropped legal/landlord-must-lodge-bond-with-tenancy-services/nz: the same dead end is carried on branch canon/nz-banking-food-legal-safety, which keeps one copy instead of two near-identical slugs. - Dropped medical/visitor-healthcare-not-free-acc-covers-accidents-only/nz as a standalone canon and folded its two non-overlapping findings into main's medical/public-healthcare-work-visa-2yr/nz instead: ACC's exclusions (illness, in-transit injury, repatriation, overseas rehab) and the limited Australia/UK reciprocal-agreement cover. This also corrects that canon's existing tradeoff note, which implied ACC removed the need for accident and evacuation cover. - Took main's version of the three re-verified code canons. main is more accurate on two of them: import.meta.dirname was backported to Node 20.11.0 (this branch still said 21.2+ only), and Pydantic v2 validators take an optional ValidationInfo rather than a required FieldValidationInfo. Remaining new canon: pre-arrival NZ bank accounts staying restricted under AML/CFT customer due diligence until identity is verified in person. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ksw62KukVY7Ft7e8zZGhrp
This was referenced Aug 18, 2026
dbwls99706
added a commit
that referenced
this pull request
Aug 18, 2026
Four PRs (#165, #166, #168, #172) sat unmergeable at once with green CI, blocked by the content workflow itself in three ways. 1. Every cycle re-verified "the canons with the oldest last_confirmed", a deterministic rule, so parallel cycles picked the same files and all but the first to merge conflicted on the date fields they came to refresh. generator.reverify now assigns each cycle a bucket fixed by hashing the canon ID - not by position in the aging list, which would shift its boundaries whenever a merge aged canons in or refreshed them and let two cycles land on overlapping-but-unequal slices. Two seeds now own the same bucket or share nothing; a partial overlap cannot occur. It also excludes canons other pushed branches touch, and reports when that scan could not read every branch rather than passing an unchecked scan off as clean. 2. Nothing said to check open PRs before picking a target, so three sessions each chose New Zealand off the same view of main. Step 2 now claims a target against the open PR list first. 3. The duplicate check grepped for an identical slug, while every duplicate that shipped used a different slug for the same dead end. The check is now by topic, and partial overlap gets narrowed and cross-linked or folded into the existing canon. Also documents the re-verification contract: re-read every source before bumping any date.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
New canon
banking/pre-arrival-account-restricted-until-id-verified/nz— a NZ bank account opened remotely before arrival stays restricted (often no card, limited withdrawals and transfers) until identity is verified in person or through a certified trusted referee, under AML/CFT Act 2009 customer due diligence rules. Cross-linked tobanking/rwt-non-declaration-rate/nz, since clearing the identity block and clearing the IRD-number block are two different things.Correction to an existing canon
medical/public-healthcare-work-visa-2yr/nz(landed by #173) covers visa-based eligibility well but left two gaps, both now folded in rather than shipped as a competing canon:Sources:
acc.co.nz(visitor injury page),healthnz.govt.nz(reciprocal health agreements),govt.nz(publicly funded health services),immigration.govt.nz,rbnz.govt.nz(AML/CFT reporting entity requirements),bnz.co.nz(ID requirements).Rebased onto main — what changed since the original version
This branch was opened before #173 merged and was five commits behind. Reconciling:
food-safety/undeclared-food-instant-fine-at-border/nz— content: add 4 New Zealand country canons, re-verify 3 aging code canons #173'sfood-safety/undeclared-biosecurity-goods/nzcovers the same NZD $400 instant-fine dead end.legal/landlord-must-lodge-bond-with-tenancy-services/nz— content: add 3 New Zealand canons (raw milk, tenancy bond, rip currents) #172 carries the same dead end underlegal/bond-must-be-lodged-with-tenancy-services/nz. Keeping one avoids two near-identical slugs racing to merge.medical/visitor-healthcare-not-free-acc-covers-accidents-only/nzas a standalone canon; its two non-overlapping findings became the correction described above.import.meta.dirnamewas backported to Node 20.11.0 (this branch still said 21.2+ only, i.e. unavailable on 20 LTS — wrong), and Pydantic v2 field validators take an optionalValidationInfoargument rather than a requiredFieldValidationInfo.Checks
ruff check generator/ tests/— cleanpython -m pytest tests/ -q— 337 passedpython -m generator.validate --data-only— PASSED (2481 canons, 0 stale)python -m generator.build_site+--site-only— PASSEDVerified this branch merges cleanly alongside #165, #166, and #172 in any order.