0071. Jev payee check sends the landlord’s account name and the receipt payee to TypeSafe
Status: Accepted (2026-10-02)Context
When a tenant uploads a payment receipt, the payee check asks TypeSafe Jev whether the payee name on the receipt is the same person or company as the landlord’s pay-to account name (design:docs/superpowers/specs/2026-09-30-payment-proof-double-check-design.md;
OpenSpec: backend/go/openspec/changes/payment-proof-double-check/).
ADR-0064 and ADR-0067 accepted sending addresses. This check sends names:
A personal name tied to a bank account is personal data. The TypeSafe terms from
ADR-0064 still apply: no training on customer data, no fixed retention on the standard
plan, US hosting.
The backend OpenSpec
design.md listed this as an open question.
Decision
Send the two names, unredacted, as the Jev state{receipt_payee, account_name}
(BuildPayeeState). Never send ids, amounts, references, dates, tenant names or emails.
Masking was declined: Jev must see the real strings to judge initials, truncation and
“SDN BHD” / “ENTERPRISE” suffixes. Gremlin is the accountable owner of this
trade-off, as in ADR-0064.
TYPESAFE_RENTAL_PAYEE_ENABLED is separate from the other TypeSafe switches and stays
off by default. Turning it on outside UAT is gated on:
- Gremlin confirming the landlord-facing disclosure covers the pay-to account name being sent to TypeSafe, and the tenant-facing disclosure covers the receipt payee.
- Threshold calibration:
PayeeThresholds["jev"](0.7, borrowed from the duplicate check) confirmed or changed withcmd/replay-typesafe --feature payee_checkon logged UAT calls, under ADR-0068. Real names in replay are gated on the same Gremlin confirmation.
Consequences
- With the switch off, no name leaves the platform. Exact names (after normalizing)
match locally; other pairs are
unknown. The period rule and the differs list work regardless. - With the switch on, there is one call per receipt at upload, only when the names differ after normalizing. There are zero calls at submit. Data already sent cannot be recalled.
- Setting the pay-to name sends nothing. Names go out only when a receipt is uploaded.
- Names are stored in
typesafe_callslike other features’ inputs, so ADR-0068 replay and its 90-day retention apply to them. - A zero-retention plan or a decision to send less data would supersede this ADR.