Skip to content

feat(workspace): the intent walk's decision points, a note on points answer, and points retract - #3404

Merged
lex00 merged 7 commits into
mainfrom
ws-3351-intent-points
Oct 4, 2026
Merged

lex00 merged 7 commits into
mainfrom
ws-3351-intent-points

Conversation

@lex00

@lex00 lex00 commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

hud's intent walk asks one of three questions at each node of a region (origin, judgment, disposition), keeps the person's answer with a note, and lets the person clear it. arugula-salad/hud#729 moves those answers out of .hud/events.db into the repo, and chant had no points for the questions, no note on an answer, and no way to take an answer back. This adds all three, recorded as ws-084.

The reference workspace's decisions/points.json declares intent-origin (carried-out-decision, incidental, unknown), intent-judgment (drift, unwritten-supersession, decision-wrong, no-gap, not-decidable) and intent-disposition (handled, skipped, needs-discussion), the answer sets of hud's ANSWER_SETS. Each reads region.id and node.id and is decided by a quorum of one, so asking it escalates to the person walking. node is a new point input output: any node of graph --intent. The guide documents how a workspace declares its own points with these inputs when it wants other answer sets.

points answer --note <text> keeps the note as the record's note. points retract <id> --by <name> [--note <why>] takes an answer back under the point's quorum and refuses a steward's turn, as an answer does. The question goes back to escalated with the quorum as its decider, and the answer, its decider, who gave it, when and its note move into a new retractions list with who retracted it, when and why. A confirmed model proposal goes back into escalations. People answer again with points answer, and asking the point again returns the retracted question unchanged. point-answer.schema.json gains note and retractions. A workspace whose copy predates them gets answer-field-unsupported for a note or a retraction rather than losing what a person wrote. Retracting an open question is answer-not-answered. points --json and the write documents carry note and retractions on each question, and the write document's verb takes retract. The MCP server gains points-retract and a note on points-answer.

The writer conformance suite adds the points retract action. Its script answers with a note, retracts, and answers again, and the read-back checks that points --json lists the retraction. The writer fixture's answer schema and points stay copies of the reference workspace's.

This leaves #3403 open: the record already carries the candidates it was asked with, and the new input and verbs don't assume a points file fixes them.

Verified with core tsc, the targeted unit tests (decide, points, reason codes, read contract, writer, MCP tools, boundary roster, reference workspace), the unit project, the writer conformance e2e, and docs-check. I also ran a manual ask, answer with a note, retract and re-answer against a copy of the reference workspace.

Closes #3351

lex00 added 2 commits October 3, 2026 16:51
…answer, and points retract

The reference workspace declares hud's three intent-walk questions as
quorum-only points (intent-origin, intent-judgment, intent-disposition)
over region.id and node.id, with node a new point input naming any node
of graph --intent. points answer takes --note, kept as the record's note.
points retract takes an answer back under the point's quorum: the
question is escalated to people again and the answer, its note, and who
retracted it, when and why move into the record's retractions (ws-084).
The MCP server gains points-retract, and the writer conformance suite
covers the new action.

Closes #3351
@lex00 lex00 added the area:workspace chant workspace epic (#2525) label Oct 3, 2026
lex00 added 5 commits October 3, 2026 16:59
# Conflicts:
#	docs/src/content/docs/reference/boundary.mdx
#	docs/src/content/docs/reference/workspace-writer-conformance.mdx
# Conflicts:
#	docs/design/decisions/README.md
# Conflicts:
#	docs/design/decisions/README.md
#	docs/src/content/docs/reference/boundary.mdx
#	docs/src/content/docs/reference/workspace-writer-conformance.mdx
#	packages/core/src/workspace/conformance/writer.test.ts
# Conflicts:
#	docs/design/decisions/README.md
#	docs/src/content/docs/reference/boundary.mdx
#	docs/src/content/docs/reference/workspace-read-contract.mdx
#	packages/core/src/workspace/decide.ts
#	packages/core/src/workspace/points-write.schema.json
@lex00
lex00 merged commit b00b8b1 into main Oct 4, 2026
22 of 24 checks passed
@lex00
lex00 deleted the ws-3351-intent-points branch October 4, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:workspace chant workspace epic (#2525)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

reference workspace: decision points for hud's intent walk, a note on points answer, and clearing an answer

1 participant