Resend a client's link
On /forges, each client that has not claimed its forge has a Resend link button. It opens a page that says who the link is for and that the earlier link stops working; nothing changes until you confirm. The new link is shown once.
- The old link answers "This link has been replaced" (410), never a secret.
- The row's receipt reads "link replaced <when> · new link works until <when>", from the
forge.claim_reissuedevent. - MCP:
forgeswithaction: "resend"andforge; a dry run (the default) previews,dryRun: falsereplaces. - Terminal: the claim-link screen (
src/tui/screens/claim_link.ts) does the same, behind the same confirm. - The POST is same-origin only; the link token is never logged.
- A link unopened for three days says so in the button's title ("Not opened in 3 days: send it again").
- Only the one link before the current one is remembered (its hash, field
p). A link replaced twice answers the same plain 404 as a made-up link, not "replaced"; a short list was left out to keep one hash.