Yellow Theme

Next start · October 2026

Notes / 08

2026-09-12

A retry has to return the first answer

We disabled the submit button. A second POST of the same brief still produced a second confirmation number.

Thesis: The form mints one token when it opens and sends that token with the POST. The first call stores the answer. A retry with the same token returns that answer and does not open a second record.

What we tried first

Every successful POST minted a new confirmation. The browser showed two numbers after a double submit. Disabling the button stopped the impatient click. It did not stop a replay: the same body, sent again from the network log, created another record.

The working shape

The token is the boundary, not the button.

form opened → mint token
POST { ..., token }
first call → store the answer
same token → return the stored answer

Checklist

How we deliver: methodology.

Engineering commentary only — not audit, legal, or certification advice.