githubnext/chopinPublic

Let's compose rich plans together

Tie the decided line's write-up label to its prose job

The settled decision line said "writing up…" for every conversation
decision without prose, even after the prose job failed. Card metadata now
carries the current saved generation's prose job while it is queued,
running, or failed. The line shows "Writing up…" only while work is
pending, "Couldn't write this up" with Retry (the existing job retry) on
failure, and nothing once the job finishes. Chat's collapsed decision
line now names the owner as @handle like the document.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
51f5947Patch
Parent9701f3d
13 files changed+208-27
StackedSplit
apps/server/src/conversation-plan/prose-job.test.ts+31 −1
apps/server/src/conversation-plan/prose-job.ts+21 −0
apps/server/src/questions/card-notifications.ts+3 −0
apps/web/src/chat/decision-entry.test.tsx+3 −3
apps/web/src/chat/decision-entry.tsx+1 −1
e2e/conversation-plan-prompts.e2e.ts+3 −3
e2e/conversation-plan-stress.e2e.ts+3 −3
e2e/decision-prose.e2e.ts+34 −3
e2e/sidecar-card-states.e2e.ts+2 −2
packages/editor/src/widgets/questionnaire-collapse-settled.test.tsx+34 −5
packages/editor/src/widgets/questionnaire.tsx+11 −6
packages/editor/src/widgets/writeup-status.tsx+60 −0
packages/protocol/question.d.ts+2 −0