githubnext/chopinPublic

Let's compose rich plans together

Jev 3: add decision records and shared draft primitives #255

MergedMaggieAppletonmerged 2 commits intomainfromrefs/pull/255/head
  1. MA

    This third slice of #241 adds stable question and option IDs, canonical decision-record validation, and shared-draft operations for appending options, suggestions, retitling, and reopening. Selected answers retain option IDs alongside their readable labels; existing persisted custom answers still derive correctly. Duplicate option IDs are refused without changing existing draft selections.

    The existing keyed “Add an option” path stays in use. It is adapted to the wider stored definition type, with its persistence and retry tests retained. Canonical records remain a separate module until the later runtime layer connects them to the document and durable sidecar.

    **Review scope:** 33 files; +876/−74 source lines and +1,173/−5 test lines. Merge after the replay layer. This introduces no new route or automatic Save behavior.

    **Validation:** 137 focused question, record, Store, existing service, and agent-tool tests pass (515 assertions); full workspace/E2E types, repository CI, and formatting pass.

    ![Decision records and shared drafts: stable option IDs, preserved selections, and retained keyed API](https://github.com/user-attachments/assets/4bead0e1-6762-4679-a7b4-7c8374d92f17)

  2. MaggieAppletonadded-to-stacklast month on GitHub

  3. MaggieAppletonrenamed Add durable decision primitives and shared draft support to Jev 3: add decision records and shared draft primitiveslast month on GitHub

  4. MaggieAppletonreferenced this in Jev conversation-to-document workflow #241last month on GitHub

  5. MaggieAppletonready-for-reviewlast month on GitHub

  6. MaggieAppletonhead-ref-force-pushed dafa13fb8d62last month on GitHub

  7. MaggieAppletonhead-ref-force-pushed 7605c2fc94a9last month on GitHub

  8. MaggieAppletonautomatic-base-change-succeededlast month on GitHub

  9. MaggieAppletonhead-ref-force-pushed 45a5ac7ae442last month on GitHub

  10. MaggieAppletonmerged eaf1b706c871last month on GitHub

  11. MaggieAppletonclosedlast month on GitHub

  12. MaggieAppletonhead-ref-deletedlast month on GitHub