Skip to content

content: add NZ pre-arrival bank account canon, close ACC coverage gaps - #168

Merged
dbwls99706 merged 2 commits into
mainfrom
claude/nifty-goldberg-rjycyh
Aug 18, 2026
Merged

content: add NZ pre-arrival bank account canon, close ACC coverage gaps#168
dbwls99706 merged 2 commits into
mainfrom
claude/nifty-goldberg-rjycyh

Conversation

@dbwls99706

@dbwls99706 dbwls99706 commented Aug 15, 2026

Copy link
Copy Markdown
Owner

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 to banking/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:

  • ACC's exclusions. It covers accidental injury in New Zealand and nothing else — not illness, not injuries in transit to or from NZ, not emergency travel home or overseas rehabilitation. That canon's existing tradeoff note implied ACC removed the need for accident and evacuation cover, which is not safe advice; it is now corrected.
  • Australia/UK reciprocal health agreements, which give limited cover for treatment that becomes immediately necessary during a temporary visit — narrower than a domestic patient's entitlement.

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:

  • Dropped food-safety/undeclared-food-instant-fine-at-border/nzcontent: add 4 New Zealand country canons, re-verify 3 aging code canons #173's food-safety/undeclared-biosecurity-goods/nz covers the same NZD $400 instant-fine dead end.
  • Dropped legal/landlord-must-lodge-bond-with-tenancy-services/nzcontent: add 3 New Zealand canons (raw milk, tenancy bond, rip currents) #172 carries the same dead end under legal/bond-must-be-lodged-with-tenancy-services/nz. Keeping one avoids two near-identical slugs racing to merge.
  • Dropped medical/visitor-healthcare-not-free-acc-covers-accidents-only/nz as a standalone canon; its two non-overlapping findings became the correction described above.
  • Dropped the aging-canon re-verification and took main's version of all three files. 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, i.e. unavailable on 20 LTS — wrong), and Pydantic v2 field validators take an optional ValidationInfo argument rather than a required FieldValidationInfo.

Checks

  • ruff check generator/ tests/ — clean
  • python -m pytest tests/ -q — 337 passed
  • python -m generator.validate --data-only — PASSED (2481 canons, 0 stale)
  • python -m generator.build_site + --site-only — PASSED

Verified this branch merges cleanly alongside #165, #166, and #172 in any order.

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.
@vercel

vercel Bot commented Aug 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
deadends-dev Ready Ready Preview Aug 18, 2026 1:03am

…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
@dbwls99706 dbwls99706 changed the title content: add 4 New Zealand country canons, re-verify 3 aging code canons content: add NZ pre-arrival banking canon; re-verify 3 aging code canons Aug 18, 2026
@dbwls99706
dbwls99706 merged commit ad83cea into main Aug 18, 2026
4 checks passed
@dbwls99706 dbwls99706 changed the title content: add NZ pre-arrival banking canon; re-verify 3 aging code canons content: add NZ pre-arrival bank account canon, close ACC coverage gaps 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.
@dbwls99706
dbwls99706 deleted the claude/nifty-goldberg-rjycyh branch August 21, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants