838 B
838 B
0048 Composers check publish standing and publish idempotently
Status: Superseded by 0060 · Area: architecture · Date: 2026-10-09 · Decided by: agent
Context
A pending, rejected or suspended creator could open a composer by URL and fail only on publish. A retried publish could duplicate a post.
Decision
/compose/postand/compose/predictionread the creator's standing and render the locked state (page or 420 dialog) with the board's actions; a 403 on publish re-reads the standing.- Every publish sends an
Idempotency-Keythat stays the same while the body is unchanged and is renewed after any change orIDEMPOTENCY_KEY_REUSED.
Alternatives
- Rely on the API's 403 alone: the creator writes a whole post first.
Consequences
Published predictions can't be edited or deleted (API PREDICTION_LOCKED).