Skip to content
Toolkit

ADR-0064 — The handle the arm read was never the one collected

  • Status: Accepted
  • Date: 2026-08-27
  • Deciders: Repository owner, track 003 phase 02 (d)
  • Follows: ADR-0055 (derived addresses are served, not built on the client), ADR-0062 (a fall-through is not a shared shape; no control wired to nothing), ADR-0063 (an arm reading a shape nothing writes)

Context

cashapp and venmo are the last two server-url descriptors, and they shared an arm that built its own URLs on the client:

const handle = (s.username || s.handle || '').replace(/^[@$]/, '')
const href = handle ? (isCashapp ? `https://cash.app/$${handle}` : …) : block.location_url
if (!href) return null

venmo's field spec collects username, so venmo worked. cashapp's collects cashtag — and handle is collected by neither. So for every cashapp block ever placed, handle was '', href fell back to a location_url its field spec does not collect either, and the arm returned null. A free-plan payment block that has never drawn anything.

The crosswalk carried the same mistake in prose: derive: href = https://cash.app/${settings.username|handle}.

The kit's tip-jar is the named counterpart and is a different object: a quantity picker that multiplies a unitPrice by a selectable counts and then hands off to a tipping page. Cardsite collects one suggested amount, no counts, and no checkout of its own — the tip happens on Cash App's or Venmo's page.

Decision

1. The address is derived where every other derived address is. Both types join models.BlockEmbedURL (ADR-0055), reading the setting each field spec actually collects — cashtag and username — and the payload serves the result as embed_url. The handles are escaped for the path segment they occupy, which the renderer's template literals never did.

That is the whole fix for cashapp: it is not that the arm's template was wrong, it is that the arm asked for a setting nobody collects. Naming the setting in one server-side table, next to the other five, is what stops the next one going unnoticed — the table is checked against the block registry by TestBlockEmbedURL_EveryDerivedTypeIsRegistered.

2. The tip-jar kind draws the link, not the picker. Label, handle, suggested amount, one anchor — what the arm drew. Quantity buttons over a tip that is taken on someone else's page would be a control wired to nothing (ADR-0062), and counts, supporters and brandStyle have no Cardsite setting behind them.

3. The sigil comes off provider, not off the block type. $ for Cash App and @ for Venmo is brand presentation, and provider is the kit prop that carries brand identity. Keying the kind on it — rather than on block.type — is what keeps this one kind instead of two cases wearing one name. An author who typed their own sigil still gets exactly one.

Consequences

check:block-registry: 11 → 9 by case, 74 → 76 by render spec. check:block-model is unmoved; both descriptors were already server-url, and what they carried was prose — including the wrong setting name.

handle has no kit prop (the kit's tip-jar shows no account name), so it joins the upstream feed as row 10. currency is collected by neither block, so the '$' default in the binding is the only value it can ever take; that is honest for two US-only services and is not worth a field.

This is the sixth arm in phase 02 (d) found reading something no author can set (instagram_feed, youtube_feed, social_proof, review, socials, now cashapp), and the third that therefore drew nothing at all. Six of seven such findings are on free- or Pro-plan blocks. The census classified arms by what they drew; nobody checked that what they read exists. The sweep SESSION.md carries is where that gets counted, once 02 (d) closes.

Source: docs/decisions/0064-the-handle-the-arm-read-was-never-the-one-collected.md

Library