Skip to content

Add written answers to decision cards - #607

Draft
MaggieAppleton wants to merge 7 commits into
mainfrom
maggie/open-ended-decisions
Draft

MaggieAppleton wants to merge 7 commits into
mainfrom
maggie/open-ended-decisions

Conversation

@MaggieAppleton

@MaggieAppleton MaggieAppleton commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

People can now create a question from Decisions → New decision, then write an answer and press the existing Save button. This supports decisions whose answer is prose rather than a choice from predefined options.

The card contains the question, optional context, and one shared answer field. Saving records the answer and who saved it; Reopen and Discard preserve history. Existing choice cards keep their behavior.

Written answers use the existing shared drafts and authoritative decision records. Creation is durable and idempotent, and saving retains the existing revision claim and persistence-before-publication ordering. The Planner can create these cards with open_decision or ask; it cannot save an answer for someone. Written decisions reject options throughout the document and record boundaries.

In the app

Start in the Decisions panel, create a question, then write and save its answer. These are screenshots of the running application using sample content.

Create a question in Decisions, then write an answer and use Save

Validation

  • 410 focused unit, domain, and render tests; workspace type checks, CI/design checks, and production build.
  • 13 browser scenarios pass without retries: shared editing, reload, saving, reopening, discarding, read-only access, and phone controls, plus the existing choice-card phone flows.
  • PostgreSQL checks reconstruct the draft, saved answer, attribution, and reopened history across five fresh processes.
  • Independent review found no actionable issues. Planner tool contracts were tested; live-model behavior was not evaluated.

All 24 GitHub CI jobs pass at d8a5e4aaccd0a9df50f5e5611a920f43371f7ff8 (run). Decision-card cases pass on the first attempt. Two other browser cases require retries: investigation evidence after disconnect and Back navigation during research-child opening.

@MaggieAppleton
MaggieAppleton force-pushed the maggie/open-ended-decisions branch from e448294 to d8a5e4a Compare October 15, 2026 10:30
@MaggieAppleton MaggieAppleton changed the title Add open-ended decisions with explicit human confirmation Add written answers to decision cards Oct 15, 2026
@MaggieAppleton
MaggieAppleton marked this pull request as draft October 15, 2026 11:09

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant