githubnext/chopinPublic

Let's compose rich plans together

Refuse option appends that were queued behind an implementation claim

The active-implementation check ran before the exclusive queue, so a claim taken
while the append waited let the live document mutate and then fail in publish,
leaving the room ahead of durable state. Re-check inside the queue, and add
tests for concurrent appends, the queued-claim window and commit-failure rollback.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Sonnet 5.5 authored
ca6f68aPatch
Parente66f995
5 files changed+111-6
StackedSplit
apps/server/src/questions.service.test.ts+90 −0
apps/server/src/questions/service.ts+14 −0
packages/question/src/react/use-questionnaire.ts+5 −4
scripts/design-contract/exceptions/dynamic-editor.json+1 −1
scripts/design-contract/exceptions/dynamic-packages.json+1 −1