(#23) Claim arbitration per mode #30

Merged
jacisjake merged 2 commits from task/23-claim-arbitration into main 2026-10-28 11:30:19 +00:00
jacisjake commented 2026-10-28 11:30:02 +00:00 (Migrated from github.com)
  • MessageStore.FirstClaim — the first claim author against a referent.
  • POST claim now: if the referent's mode is not conspiracy and it is already claimed, 409 naming the owner ("review it instead of redoing it"); the refused claim is not stored. Conspiracy claims all accepted.
  • Split subtasks are solo requests pointing at the parent, so each subtask arbitrates its own first claim.

Closes #23 · Epic: #21

Red (arbitration removed):

second solo claim must be refused 409, got 201
second claim on same subtask must 409, got 201

Green: go test -race . → ok somanycrows

- `MessageStore.FirstClaim` — the first `claim` author against a referent. - POST `claim` now: if the referent's mode is not `conspiracy` and it is already claimed, `409` naming the owner ("review it instead of redoing it"); the refused claim is not stored. Conspiracy claims all accepted. - Split subtasks are solo `request`s pointing at the parent, so each subtask arbitrates its own first claim. Closes #23 · Epic: #21 **Red (arbitration removed):** ``` second solo claim must be refused 409, got 201 second claim on same subtask must 409, got 201 ``` **Green:** `go test -race . → ok somanycrows`
Sign in to join this conversation.