The address format that outlived its network: building 4x35 with Kiro
This post is my entry for the Kiroween 2026 hackathon (Resurrection). It is about a dead technology that refuses to stay dead, and about a tool that brings its addresses back in a modern form.
The dead technology
Swift's MT messages carried a creditor's address as free text: the four 35-character free-text address lines. Name, street, number, postcode, town and country were typed into those lines in whatever order the sender's system or clerk preferred. MT is being retired in favour of ISO 20022 messages, but the addresses written for it did not go anywhere. They live in ERP vendor tables, payroll systems and treasury master data, and they are still being copied into new payment files.
ISO 20022 wants structure: a town name, a country, a street name, a building number, each in its own element. Banks are moving in that direction at different speeds. Swift postponed the removal of unstructured addresses on 27 Aug 2026, and no new date is set. Some market infrastructures keep their own dates: Taiwan 5 Oct 2026, Korea and Philippines 14 Nov 2026, Malaysia Feb 2027 (as listed in Danske Bank's postal address notice). Several bank guides still state 14/15 Nov 2026. So the cleanup is not a single deadline; it is a long tail of files that some banks already refuse or ignore.
What 4x35 does
4x35 takes a list of addresses (a CSV or XLSX, a pain.001 file or an MT101 file) and turns the free text into ISO 20022 structured or hybrid addresses, with a human reviewing every field that needs it. Then it checks the payment file against a published bank rule pack and exports a corrected payment file, the corrected list in its original layout, and an audit report.
It never invents a value
An address tool that guesses is worse than no tool: a wrong postcode in a payment file is a silent error. So the central rule of 4x35 is that every field value carries a provenance, and a field with no provenance stays empty and goes to review. The kinds are:
- span: the value is a substring of the input text.
- transform: a deterministic change of a span, such as normalising case or a country name.
- dataset: a value from reference data (GeoNames, Japan Post, chromium-i18n), used only on a unique match that is backed by a span in the input.
- inferred: a rule-based inference.
- human: a reviewer typed or approved it.
- external: a value from an outside lookup.
Dataset, inferred and external values are never auto-approvable; a person looks at them. Over-length is never fixed by truncation: it is reported as a finding. The optional LLM labeller is opt-in per workspace and returns labels and substrings only, never values. It was run live on 2026-12-03 with 0 invented values; that run measures agreement with recorded responses and cost, not accuracy.
The rule is enforced by property tests with fast-check: never invent, exact spans, no truncation, and never auto-approve a dataset value. Each property has a planted bug that the test must catch, so a green run means the test can actually fail.
How Kiro built it
This is where the hackathon's required tool did real work. The full account, with counts and evidence, is in the repository (docs/kiro-writeup.md). In short:
- Specs. Every capability has a Kiro spec: EARS requirements, a design with named properties, and tasks. Work on a capability started from its tasks rather than from a blank prompt.
- Steering. Steering files hold the ISO 20022 address rules and the never-invent rule, and they load when Kiro touches the core or rule pack packages. The rule is in the context where code is written.
- Hooks. Agent hooks re-run the pack tests and the property tests on save, and log finished spec tasks, so the evidence trail builds itself.
-
A custom agent. The
rulepack-authoragent drafts bank rule packs from published guides and then checks its own output for copied guide text. Rules are encoded; guide text is never copied. - MCP. The project's own MCP server is wired into Kiro, so the IDE can call the same checks the app runs.
-
A power. The
4x35Kiro power packages the steering, the MCP server and the workflows. - The Crew app. A separate small app, with its own repository, is the chat surface around the tool.
The README discloses other tools: Claude Code ran the ticket workflow and the reviews; in the recorded spec sessions Kiro wrote the specs and Claude Code wrote and ran the code around them. Claude (Opus 5.5) drafted the 211 labels of the hand-labelled accuracy reference from the written rules, without running or reading the pipeline.
Measured results
I only quote numbers that are in the repository's claims ledger, each with the file that states it.
The walk-through uses a contractor list of 500 synthetic records. All data in the demo is synthetic.
Checked against a published pack:
- Health of the list, structured form: before review: 0 pass / 500 fail; after review: 171 pass / 329 fail.
- Review: 81 auto-approvable, bulk-approved; then by keyboard 378 approved and 41 marked unknown.
- Link: 482 matched, 6 ambiguous, 7 none.
- Pre-flight of the payment file: 494 transactions; before: 494 red; after: 337 red, 10 amber, 147 green.
- Export: the corrected pain.001 is valid against the XSD with 0 findings.
The records that still fail come from rows whose text has no country and from a charset rule: the tool does not invent a country to turn a red into a green.
Accuracy is reported per country with n in the README, against a hand-labelled set in which Claude drafted the labels and I reviewed a 20-record sample. It is a reference set, not a benchmark of real bank traffic, and the README says so.
What it does not do
- It does not say what a bank will do with a file. It reports a file as "checked against" a named pack and version, and a pack is an encoding of a published guide, not the bank itself.
- It does not touch a payment file beyond the address ranges: XML is edited by byte splice of the address elements only, and a document with a DOCTYPE is rejected.
- It gives no cost-per-repair figure and no production speed or load figure.
Links
- App: https://fourx35-7k5q.onrender.com (judge sandboxes reset nightly)
- Repository: https://github.com/swapnaliss/4x35
- Crew app: https://github.com/swapnaliss/4x35-crew
- Video: link to be added by the owner when M4-03 is done
Thanks to the Kiroween 2026 hackathon organisers for a theme that made a retired format the main character.
Top comments (0)