Skip to content

Remove the one-time address translation task; form answers stay as typed - #2841

Open
maebeale wants to merge 9 commits into
mainfrom
maebeale/keep-form-answers-verbatim
Open

maebeale wants to merge 9 commits into
mainfrom
maebeale/keep-form-answers-verbatim

Conversation

@maebeale

@maebeale maebeale commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 deletes the one-time translation task + reverts three answer→address write points to main

Prod addresses were cleaned by hand on 2026-10-24/25, so the one-time address translation task is no longer needed; form answers now stay exactly as people typed them.

  • Removed: AddressServices::TranslateExisting and data:translate_addresses (plus specs).
    • On main the task also rewrote country/state form answers. That's gone too.
  • Kept: AddressTranslation and FmAddressAttributes.
  • No translation where answers become addresses. UpsertAddress, CaptureFromSubmission, ProfileDiff are unchanged from main.
    • Every form's state/country fields are dropdowns.
    • The old unlinked-org answers that could still become addresses were fixed by hand.
  • ADR-0009 records which kinds of prod data were cleaned on 2026-10-24/25 (not each change).
  • Heads-up for Import FileMaker organizations, programs, and affiliations #2788: it carries main's ADR-0009 and FormAnswer header, which mention TranslateExisting; expect a small doc conflict on rebase.

🤖 Generated with Claude Code

@maebeale maebeale changed the title WIP: Keep form answers verbatim; translate where answers become addresses Keep form answers verbatim; translate where answers become addresses Oct 25, 2026
@maebeale
maebeale marked this pull request as ready for review October 25, 2026 10:05
@maebeale
maebeale force-pushed the maebeale/keep-form-answers-verbatim branch from 2119eda to 8acfc82 Compare October 25, 2026 12:07
maebeale and others added 4 commits October 25, 2026 08:43
…resses

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
An answer is a record of what someone submitted, and the dashboards count addresses, not
answers. The one real risk of untranslated answers is link-organization and capture
re-reading an old "USA" into an address, so those two write points translate instead.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Country answers that translate to a dropdown country were rewritten once by hand and
logged, so the verbatim rule names its one exception and where the trail lives.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
UpsertAddress stores "Texas"/"USA" as TX/United States, but the answers stay as typed,
so link-organization's ProfileDiff reported the address it had just saved as a
difference. Comparing the answer through AddressTranslation lets them match.

Also clarifies in ADR-0009 how the 2026-10-25 hand pass logged address fills
differently from a data:translate_addresses run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/keep-form-answers-verbatim branch from 8acfc82 to 01ae747 Compare October 25, 2026 12:44
maebeale and others added 4 commits October 25, 2026 08:59
The prod cleanup was done by hand on addresses in the portal, superseding the console
script that would have rewritten country answers, so the docs no longer claim it did.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
They hadn't become addresses yet, so fixing them was the only way to keep their values off
the dropdown-backed address they'll turn into when an organization is linked.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The 2026-10-24/25 cleanup corrected addresses in the portal and fixed the few answers that
could still become addresses, so the one-time rewrite task and the translation at the
answer-to-address write points have nothing left to do. AddressTranslation stays for the
FileMaker and registration imports.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@maebeale maebeale changed the title Keep form answers verbatim; translate where answers become addresses Remove the one-time address translation task; form answers stay as typed Oct 25, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

1 participant