Skip to content

chant workspace points

llms.txt lists every page for an agent
chant workspace points [--open] [--kind <kind file>] [--at <rev>] [--json]
chant workspace points ask <point> --inputs <file|-|json> [--candidates <file|-|json>] [--response <file>] [--subject <id>] [--store <tree|ledger>] [--kind <kind file>] [--dry-run]
chant workspace points answer <id> --answer <value> --by <name> [--by <name>...] [--note <text>] [--relayed-by <principal>] [--kind <kind file>] [--resume] [--dry-run]
chant workspace points retract <id> --by <name> [--by <name>...] [--note <text>] [--kind <kind file>] [--dry-run]
chant workspace points withdraw <id> --by <name> [--by <name>...] [--note <text>] [--kind <kind file>] [--dry-run]

A decision point is a question the workspace asks of its own graph again and again, declared in a points file that an answer kind names (ws-058). Decision Points shows how to declare one. This page is the command reference.

chant workspace points reads every record kind the declaration names with an answers block, or the one --kind names. For each kind it lists the declared points and the questions asked of them. Each question is one answer record. It is open while it is escalated to people or proposed by a model and not yet confirmed, unless it was withdrawn. --open lists only the open ones. --at <rev> reads the points file and the records at a commit, as records --at does.

slice-tier choice Which builder tier builds this work item (table, model, quorum)
ship-skip noul May this release skip the human gate (table, quorum)
slice-tier-01eb5382958d answered Which builder tier builds this work item (W-001): small
slice-tier-074b660bbaad proposed Which builder tier builds this work item (W-002): medium, proposed model "medium" at 0.865
2 questions, 1 open

It never writes and never calls a model.

points ask <point> --inputs <file> asks the point’s deciders in order and records the answer in the answer kind’s records directory. The inputs are a JSON object keyed by the point’s declared input names, read from a file, from standard input (-), or given as the JSON itself when the value starts with {. An input the point does not declare is refused with point-inputs-invalid.

DeciderWhat it does
tableThe first row whose conditions all hold answers. The record is answered.
modelIts answer at or above its threshold is a proposal, and the record is proposed. Below the threshold, the next decider is asked.
quorumAlways last. The record is escalated, open for people.

chant calls no model. --response <file> hands it a POST /v1/systemone response the caller already got from a backend, { "model": ..., "answers": { "<point>": ... } }, and a model decider reads its answer there. It is observed only when model is the pinned id the decider names. An answer may carry reason, the model’s own explanation of its choice (#3345). chant keeps it as reason beside a proposal, or as model_reason in the escalation of an answer below the threshold. A workspace whose answer.schema.json copy predates these fields keeps no reason, and copying point-answer.schema.json anew turns them on. Without --response a model decider is not asked, so the question moves on to the quorum. The decide Op activity makes the call from an Op and passes the answer the same way.

The record’s id is the point’s name and the first 12 hex digits of the sha256 of the point, its declaration and the inputs. So the same question is answered once. Asking again returns the record that is there, with reused: true, when it is proposed or answered. An escalated record is asked again, since a backend may answer now. It is rewritten only when the chain no longer escalates.

In a steward’s turn, including a points ask that an Op’s step runs while CHANT_STEWARD is set, the record goes on the chant/lifecycle branch instead, under _answers/<kind name>/<id>.md in the ledger of the member that owns the answer kind (#2786). The checkout’s working tree is left alone, since it belongs to the coding agent. The question’s ledger gives the place on the branch, such as chant/lifecycle:_answers/answer/slice-tier-0c1d2e3f4a5b.md, which git show reads. A question already on the ledger stays there when it is asked again, and points answer writes people’s answer there too. Both push the branch when there is a remote, and neither fails when the push does.

Outside a steward’s turn, --store ledger puts a new question on the ledger the same way (#3815). Use it where the checkout does not outlive the run, such as a CI job: the question is pushed with chant/lifecycle, and --store tree, the default there, would leave it in a working tree the job throws away. points answer and points retract fetch chant/lifecycle before they look for the question, so a clone that never ran the job finds it, and the answer is pushed back. The next run’s ask, from a fresh checkout, reads it.

--subject <id> says what the question is about, such as a work item’s id, and is written to the record’s constrains. --dry-run prints the document with the text it would write, and writes nothing.

A point declared adhoc has no candidates of its own (#3403). Each ask brings the question’s text and its candidates with --candidates, as an agent’s question to the people working with it does. The value is a file, - for standard input, or the JSON itself:

chant workspace points ask agent-question \
--inputs '{"ask.id":"req-7f3a","ask.by":"hud:chat-12"}' \
--candidates - --subject hud:chat-12 <<'EOF'
{ "question": "Which language should the importer be written in?",
"criteria": { "ts": "TypeScript: matches the rest of the repo.", "py": "Python: the parser library is better." } }
EOF

criteria has the shape of the point’s question type: true and false with what each means for a noul, 2 to 255 options with what each means for a choice, and 2 to 10 distinct ordered levels for a score. The record keeps them as asked, with the candidates they give, and its title is the question’s text. They are part of the inputs hash, so the same ask returns the same question, and one with other options is another question. Only one of --inputs and --candidates reads standard input.

An ad-hoc point is decided by people alone: its chain is one quorum. points answer checks the answer against the candidates the question was asked with, so an option the ask did not offer is answer-not-candidate, and points retract takes it back as it does any answer. An ad-hoc point asked without --candidates, a declared point given them, or candidates that don’t fit the point’s question type are point-candidates-invalid. A workspace whose answer.schema.json copy has no asked field refuses an ad-hoc ask with answer-field-unsupported.

points answer <id> --answer <value> --by <name> records people’s answer to an open question. The answer is one of the question’s candidates, and for a noul it is true, false, yes or no. Each --by names one person who answered. The point’s quorum counts distinct people, after trimming and lower-casing. It leaves out anyone holding the agent role in the trust policy at base, the steward that asked the question, and when the quorum names roles, anyone holding none of them. Too few is quorum-not-met, and nothing is written. Over MCP or ACP, or from a process a session on one started, an answer counts nobody toward the quorum. If the question’s gate is neverOverMcp, that answer is refused with answer-never-over-mcp (#3817). An answer given during a steward’s turn, or by a process the turn started, is refused with answer-in-steward-turn: a steward waits on a question and never answers it (Steward).

People who give the answer a model proposed confirm it, and the model stays the record’s decider. Any other answer is the quorum’s, and the model’s proposal moves into the record’s escalations, its reason as model_reason. Either way the record becomes answered, with answered_by and answered_on. --note <text> is kept as the record’s note (#3351). --relayed-by <principal> names who carried the answer to chant for the people in --by, such as a follower relaying a person’s answer through hud, and is kept as relayed_by (#3402). The relay never counts toward the quorum, and under identity.attribution: "identified" it must be a checkable principal, as each --by must. Once given, the record does not change in place. A second points answer is refused with record-closed, so people who want to change it retract it first.

--resume starts the CI job waiting at the gate the question names (gate:<op>/<gate> in its subject) again, once the answer is written and on the remote, and when the answer passes the gate. It does what chant approve --resume does for a plain gate, and prints on standard error, so the JSON document is unchanged. An answer in the working tree is not resumed on, because the job reads it only once it is committed and pushed (#3835, Resume the waiting job).

points retract <id> --by <name> takes people’s answer back (ws-084). The question is escalated to the point’s quorum again, open for people, and the record keeps the answer in retractions: its value, its decider, answered_by, answered_on and its note as answer_note, with by, on and note, who retracted it, when and why (--note). A relayed answer’s relayed_by moves into its retraction as answer_relayed_by. A model’s confirmed proposal goes back into escalations. People then answer it again with points answer, and each retraction stays in the record, oldest first. Asking a retracted question again returns it as it stands, with reused: true, since people took it back from the deciders.

Retracting counts --by toward the point’s quorum as an answer does, and a steward’s turn is refused with answer-in-steward-turn. A question that has no answer is answer-not-answered. --dry-run prints what would be written.

points withdraw <id> --by <name> closes an open question that no longer applies (#2888). The usual case is a work item its author changed while a question about it was escalated. The question’s id hashes the item’s fields, so the next ask about the item is a new question with a new id, and the first one would wait on people forever. Whoever asked, such as the factory, withdraws the earlier one:

chant workspace points withdraw understand-3f9a1c0d7e2b --by factory \
--note "W-001 changed; understand-8b21e4f6a903 asks it now"

The record keeps its state, escalated or proposed, and gains a withdrawn block holding who withdrew it (by), the day (on) and the reason (note). Its title ends in withdrawn. It is no longer open, so points --open and hud leave it out, and points answer refuses it with record-closed. If the item changes back, asking with the same inputs opens the question again and drops the block.

A withdrawal answers nothing and passes no gate, so it needs no quorum, and a steward or an MCP client may withdraw its own question. An answered question is refused with record-closed, since people retract an answer instead, and so is one withdrawn already. Under identity.attribution: "identified" each --by must be a checkable principal. With --dry-run the document carries the new text and the file is left alone.

chant does not withdraw a question on its own when a new one about the same subject and point is asked. Two open questions about one subject can both stand, such as two runs waiting at the same gate, or two ad-hoc asks kept apart by a request id, so only the asker knows the earlier one no longer applies.

A workspace whose answer.schema.json copy predates note and retractions refuses --note on an answer, and any retraction, with answer-field-unsupported, rather than drop what a person wrote. A copy that predates relayed_by refuses --relayed-by the same way, and one that predates withdrawn refuses points withdraw. Copying point-answer.schema.json anew turns them on.

--json prints the read-contract document of points.schema.json. Its sources hold one entry per answer kind read, with a reason when that kind could not be read. points lists each declared point with its inputs and deciders, its candidates, and their criteria, what each candidate means, as the points file declares it: an object of strings for noul and choice, an array of ordered level descriptions for score. An ad-hoc point lists adhoc: true, no candidates, and empty criteria, since its asks bring them. questions lists each answer record, including those held on the ledger, which carry ledger. A record on the ledger wins over a file of the same name in the tree. --at reads a commit of the working branch, so it lists the tree’s records only.

FieldMeaning
state, openescalated, proposed or answered. Open until answered or withdrawn.
answer, deciderThe answer and who gave it: a table row, a model with its backend and model id, or a quorum with who answered.
reasonThe model’s explanation of a proposal, or of a proposal a person confirmed. null when the model gave none or a model did not decide.
modelAny model’s answer, with confidence, threshold, model, observed and reason. It is observed for a proposal. For an escalated question it is the last answer below a threshold.
escalationsEach decider asked before the one that answered, and why it did not (reason), with a model’s own explanation as model_reason.
noteWhat the people who answered wrote with their answer, or null.
relayedByWho relayed the answer for the people who gave it (--relayed-by), or null.
retractionsEach answer people took back, oldest first: answer, decider, answeredBy, answeredOn, answerNote, answerRelayedBy, and the retraction’s by, on and note. Empty when none was.
withdrawnWho withdrew the question, when and why: { by, on, note }, or null. A withdrawn question keeps its state and is not open. summary.withdrawn counts them.
askedAn ad-hoc question’s text and criteria, as its ask gave them: { question, criteria }. null for a declared point’s question.
currentThe point is still declared as it was when asked.
warningsThe answer- codes: the points file can’t be read, the point is gone, or it changed.

ask, answer, retract and withdraw print one document of points-write.schema.json, with verb, the question as points lists it, reused and written. A refusal has error: { code, message } and exits 1.

CodeWhen
points-undeclaredNo answer kind is declared or named with --kind.
points-invalidThe points file can’t be read or is not valid.
point-unknownNo points file declares the point.
point-inputs-invalidThe inputs are not an object of the declared inputs.
point-candidates-invalidAn ad-hoc point was asked without --candidates, a declared point with them, or they don’t fit the question type.
point-decider-failedA model decider declared unreachable: "fail" could not answer.
answer-not-candidateThe answer is not a candidate.
quorum-not-metToo few people count toward the quorum.
answer-in-steward-turnThe answer came from a steward’s turn, which never answers a question.
answer-never-over-mcpThe answer came over MCP or ACP, and the question’s gate is never resolved there.
record-closedThe question is already answered, so retract the answer first, or it was withdrawn.
answer-not-answeredretract names a question with no answer.
answer-field-unsupportedThe kind’s schema copy has no note, retractions, relayed_by, asked or withdrawn field.

chant serve mcp serves the read as the workspace-points tool, the answer as points-answer and the retraction as points-retract. Its points-withdraw tool withdraws a question.

chant