17 lines
838 B
Markdown
17 lines
838 B
Markdown
# 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/post` and `/compose/prediction` read 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-Key` that stays the same while the body is unchanged and is renewed after any change or `IDEMPOTENCY_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`).
|