Layer 7 · collaboration
question
A message that needs an answer. A question offers lettered options and names either the option it takes by default and a deadline, past which the default is taken, or neither: a question without a default never takes one and waits until it is answered. Only the addressee, or a delegate acting for it, answers. A reply that could not be read is recorded as could not read, and the default is not taken in its place. An approval is a question whose two options are approve and reject. A decision taken is changed by revising the answer to another offered option. Which decisions never take a default is set by policy, not by the asker: the policy registers decision kinds, a question names its kind, and a kind that never defaults refuses a default when asked and when the clock comes; a kind may take an answer after the deadline while no default was taken.
Depends on
- channel · layer 7 · 16 references
- work · layer 5 · 5 references
- delegation · layer 1 · 11 references
- shared · layer 0 · 9 references
Used by
- derivation · layer 7 · 9 references
Entities
DecisionKind
A kind of decision whose rules the policy sets, not the asker: whether a question of it ever takes a default on silence, whether an answer after the deadline is still taken while no default was taken, and whether the option the asker recommends is shown apart from the options.
Identified by decision_kind_id (DecisionKindId).
| field | type | meaning |
|---|---|---|
name | Name | What the decisions of this kind are about (money, secrets, architecture, routine). |
no_default | boolean | A question of this kind never takes a default; it is asked with none. |
answer_until_default | boolean | An answer after the deadline is still taken while no default was taken. |
recommended_separate | boolean | The option the asker recommends is shown apart from the options offered. |
proof | optional Proof | How an answer to a question of this kind is shown to come from the addressee. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Lifecycle: one state, Registered; a recorded DecisionKind does not change.
Question
One question from one party to another.
Identified by question_id (QuestionId).
| field | type | meaning |
|---|---|---|
kind | QuestionKind | |
asked_by | PartyId | |
addressee | PartyId | |
text | Content | |
options | list of AnswerOption | |
default_option | optional OptionLetter | The option taken once the deadline passes; absent, the question never defaults. |
deadline | optional timestamp | When the default is taken; present exactly when the default option is. |
chosen | optional OptionLetter | The option answered, or the default once taken. |
answered_by | optional PartyId | |
answered_via | optional DelegationId | The delegation the answering party acted under, when it is not the addressee. |
topic | optional Name | What the decision is about (money, architecture, text for outside readers), by which rules choose its addressee. The default option is the option the asker recommends. |
decision_kind | optional DecisionKindId | The decision kind whose rules the question follows: whether it may take a default, and whether an answer after its deadline is still taken. |
no_default | optional boolean | The rule of its decision kind, copied when it is asked; true, it never takes a default. |
answer_until_default | optional boolean | The rule of its decision kind, copied when it is asked; true, an answer after the deadline is still taken while no default was taken. |
run_id | optional RunId | The run that waits on the question, suspended AwaitingAnswer, when a step of a run asks it. |
control_act_id | optional ControlActId | The click on a control post that asked the question, recorded before it is asked. |
read_failure | optional string | Why the reply could not be read, when it could not (CouldNotRead). The question then has no chosen option: an unreadable reply is never read as empty or as the default. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
runreferences Run of work (one, byrun_id)produced_byreferences ControlAct of channel (one, bycontrol_act_id)answered_underreferences Delegation of delegation (one, byanswered_via)kind_rulesreferences DecisionKind (one, bydecision_kind)
Lifecycle of Question
Answered, CouldNotRead, DefaultTaken, Withdrawn.Commands
Answer
Answer a question. The addressee, or a delegate acting for it, chooses one offered option.
Called by: Answerer.
| field | type |
|---|---|
question_id | QuestionId |
option | OptionLetter |
delegation_id | optional DelegationId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown refused | no such Question | Unknown: No question has this identity. |
not-the-addressee refused | addressee != caller. and not (defined(delegation_ | Not: The caller is not the addressee and names no delegation to act for it. |
option-not-offered refused | not (some o in options with o. | Option: The option answered is not one the question offers. |
deadline-passed refused | defined(deadline) and deadline <= now and not (defined(answer_ | Deadline: The deadline has passed, so the question takes its default and no answer; nothing was recorded. |
unknown-delegation refused | no Delegation for delegation_ | Unknown: No delegation of this identity was granted; nothing was recorded. |
delegation-not-for-answers refused | the Delegation of delegation_ has (action != Answer | Delegation: The delegation is not an active delegation to answer questions (agentic.delegation, action AnswerQuestions); nothing was recorded. |
answered | otherwise | moves the Question Open → Answered; emits Question |
wrong-state refused | the Question is in a state that does not allow it | Question: The question is no longer Open. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Ask
Ask a question. The caller asks the addressee to choose one of the lettered options by the deadline.
Called by: Asker.
| field | type |
|---|---|
addressee | PartyId |
kind | QuestionKind |
text | Content |
options | list of AnswerOption |
default_option | optional OptionLetter |
deadline | optional timestamp |
topic | optional Name |
run_id | optional RunId |
control_act_id | optional ControlActId |
decision_kind | optional DecisionKindId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
no-options refused | options. | No: The question offers no option. |
duplicate-option refused | not (each o in options has its own o. | Duplicate: Two options carry the same letter. |
incomplete-default refused | (defined(default_ | Incomplete: A question names its default option and its deadline together, or neither; nothing was recorded. |
default-not-offered refused | defined(default_ | Default: The default option is not one of the options offered. |
approval-not-two-options refused | kind == Approval and options. | Not: An approval offers exactly two options, one meaning Approve and one meaning Reject. |
approval-without-approve refused | kind == Approval and every o in options has o. | Not: An approval offers exactly two options, one meaning Approve and one meaning Reject. |
approval-without-reject refused | kind == Approval and every o in options has o. | Not: An approval offers exactly two options, one meaning Approve and one meaning Reject. |
unknown-decision-kind refused | no DecisionKind for decision_ | Unknown: No decision kind of this identity was registered; nothing was recorded. |
default-forbidden-for-kind refused | the DecisionKind of decision_ has no_ | Default: The question's decision kind never takes a default, so the question names no default option and no deadline; nothing was recorded. |
asked | otherwise | creates a Question in Open; emits Question |
More columns: swipe horizontally, or focus the table and use the arrow keys.
RecordUnreadableAnswer
Record that an answer could not be read.
Called by: Answerer.
| field | type |
|---|---|
question_id | QuestionId |
read_failure | string |
delegation_id | optional DelegationId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown refused | no such Question | Unknown: No question has this identity. |
not-the-addressee refused | addressee != caller. and not (defined(delegation_ | Not: The caller is not the addressee and names no delegation to act for it. |
deadline-passed refused | defined(deadline) and deadline <= now | Deadline: The deadline has passed, so the question takes its default and no answer; nothing was recorded. |
unknown-delegation refused | no Delegation for delegation_ | Unknown: No delegation of this identity was granted; nothing was recorded. |
delegation-not-for-answers refused | the Delegation of delegation_ has (action != Answer | Delegation: The delegation is not an active delegation to answer questions (agentic.delegation, action AnswerQuestions); nothing was recorded. |
recorded | otherwise | moves the Question Open → Could; emits Answer |
wrong-state refused | the Question is in a state that does not allow it | Question: The question is no longer Open. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
RegisterDecisionKind
Register a decision kind. The policy sets the rules of a kind of decision, which the questions of that kind follow.
Called by: Policy.
| field | type |
|---|---|
decision_kind_id | DecisionKindId |
name | Name |
no_default | boolean |
answer_until_default | boolean |
recommended_separate | boolean |
proof | optional Proof |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
registered | otherwise | creates a DecisionKind in Registered; emits Decision |
More columns: swipe horizontally, or focus the table and use the arrow keys.
ReviseAnswer
Revise an answer. The addressee, or a delegate acting for it, changes the decision to another offered option.
Called by: Answerer.
| field | type |
|---|---|
question_id | QuestionId |
option | OptionLetter |
delegation_id | optional DelegationId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown refused | no such Question | Unknown: No question has this identity. |
not-the-addressee refused | addressee != caller. and not (defined(delegation_ | Not: The caller is not the addressee and names no delegation to act for it. |
option-not-offered refused | not (some o in options with o. | Option: The option answered is not one the question offers. |
unchanged refused | defined(chosen) and chosen == input. | Answer: The option is the one the question already holds; nothing was recorded. |
unknown-delegation refused | no Delegation for delegation_ | Unknown: No delegation of this identity was granted; nothing was recorded. |
delegation-not-for-answers refused | the Delegation of delegation_ has (action != Answer | Delegation: The delegation is not an active delegation to answer questions (agentic.delegation, action AnswerQuestions); nothing was recorded. |
revised | otherwise | moves the Question Answered, Default → Answered; emits Answer |
wrong-state refused | the Question is in a state that does not allow it | Question: The question is no longer Open. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
TakeDefault
Take the default. Past its deadline an Open question takes its default option; a question without one is refused.
Called by: Clock.
| field | type |
|---|---|
question_id | QuestionId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown refused | no such Question | Unknown: No question has this identity. |
no-default-for-kind refused | defined(no_ | No: The question's decision kind never takes a default; the question stays Open until it is answered, withdrawn or recorded as could not read. |
no-default refused | not (defined(default_ | No: The question was asked without a default, so none is ever taken; it stays Open until it is answered, withdrawn or recorded as could not read. |
not-yet refused | defined(deadline) and deadline > now | Deadline: The deadline has not passed; the default is not taken yet. |
taken | otherwise | moves the Question Open → Default; emits Default |
wrong-state refused | the Question is in a state that does not allow it | Question: The question is no longer Open. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Withdraw
Withdraw a question.
Called by: Asker.
| field | type |
|---|---|
question_id | QuestionId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown refused | no such Question | Unknown: No question has this identity. |
not-the-asker refused | asked_ | Not: Only the party that asked withdraws a question. |
deadline-passed refused | defined(deadline) and deadline <= now | Deadline: The deadline has passed, so the question takes its default and no answer; nothing was recorded. |
withdrawn | otherwise | moves the Question Open → Withdrawn; emits Question |
wrong-state refused | the Question is in a state that does not allow it | Question: The question is no longer Open. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Events
| event | fields | emitted by |
|---|---|---|
AnswerNotRead | question_ QuestionId, read_ string, answered_ PartyId, answered_ optional DelegationId | Record |
AnswerRevised | question_ QuestionId, option OptionLetter, previous optional OptionLetter, answered_ PartyId, answered_ optional DelegationId | Revise |
DecisionKindRegistered | decision_ DecisionKindId, name Name, no_ boolean, answer_ boolean, recommended_ boolean, proof optional Proof | Register |
DefaultTaken | question_ QuestionId, option OptionLetter | Take |
QuestionAnswered | question_ QuestionId, option OptionLetter, answered_ PartyId, answered_ optional DelegationId | Answer |
QuestionAsked | question_ QuestionId, kind QuestionKind, asked_ PartyId, addressee PartyId, default_ optional OptionLetter, deadline optional timestamp, topic optional Name, run_ optional RunId, control_ optional ControlActId, decision_ optional DecisionKindId | Ask |
QuestionWithdrawn | question_ QuestionId | Withdraw |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Views
| view | rows | fields |
|---|---|---|
DecisionKindsDecision kinds | each DecisionKind | decision_ DecisionKindId, name Name, no_ boolean, answer_ boolean, recommended_ boolean, proof optional Proof, state State |
OpenQuestionsOpen questions of an addressee | each Question with state == Open and addressee == param.asked with addressee PartyId | question_ QuestionId, asked_ PartyId, kind QuestionKind, default_ optional OptionLetter, deadline optional timestamp |
QuestionsQuestions | each Question | question_ QuestionId, kind QuestionKind, asked_ PartyId, addressee PartyId, text Content, options list of AnswerOption, default_ optional OptionLetter, deadline optional timestamp, chosen optional OptionLetter, answered_ optional PartyId, answered_ optional DelegationId, topic optional Name, run_ optional RunId, control_ optional ControlActId, read_ optional string, decision_ optional DecisionKindId, state State |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Types
| type | is | values or fields |
|---|---|---|
AnswerOption | a record | letter OptionLetter, label string, meaning OptionMeaning, binds optional Content |
OptionLetterThe letter an option is chosen by. | an identifier or value | string |
OptionMeaningAn approval's two options mean Approve and Reject; every other option is a Choice. | one of | Approve, Reject, Choice |
QuestionKind | one of | Choice, Approval |
More columns: swipe horizontally, or focus the table and use the arrow keys.
KPIs
7 KPIs from the KPI catalogue. A gate must be zero for a variant of an architecture to count.
Correctness
| KPI | unit | better | gate | status |
|---|---|---|---|---|
default_taken_wronglyQuestions that took their default and the default was later overruled. How: DefaultTaken events whose subject is later decided differently by the principal (a later QuestionAnswered with another option) or whose deliverable was rejected. Must be 0. | count | lower | gate | planned source: design |
question_open_past_deadlineQuestions still open after their deadline. How: QuestionAsked events with a deadline in the past and none of QuestionAnswered, DefaultTaken, QuestionWithdrawn. Must be 0. | count | lower | gate | planned source: design |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Quality
| KPI | unit | better | gate | status |
|---|---|---|---|---|
questions_askedQuestions agents asked. How: QuestionAsked events in the window. By work mode: autonomous: lower, pairing: ignore, review: ignore | count | lower | – | simulated source: design |
questions_defaultedQuestions that took their default at the deadline. How: DefaultTaken events in the window. Read with default_taken_wrongly. A default that proceeds is the rule, a wrong one is the fault. | count | lower | – | simulated source: design |
question_round_trip_p90_seconds90th percentile of the time from a question to its answer. How: Seconds between QuestionAsked and QuestionAnswered of the same question, 90th percentile. Questions that took their default are left out. | seconds | lower | – | planned source: research/2611.00689 |
answers_not_read_shareShare of questions whose answer could not be read. How: AnswerNotRead events divided by QuestionAsked events, per addressee. A reply that could not be read ends the question; its default is never taken in its place. | share | lower | – | planned source: design |
wrong_assumptionsDefaults taken in place of an answer that turned out wrong. How: DefaultTaken events whose assumption proved wrong and cost rework. The simulator draws a wrong default with the role's default_wrong chance. | count | lower | – | simulated source: design |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Settings
The settings a part of this block carries in an architecture document. agenticspec sim check refuses any other setting (setting_unknown) and a value outside its type (setting_invalid), and a part that lacks a setting marked required in the default column; the contract copies a setting into the ports it narrows. The last rows of each table are the settings every part takes. What no setting here types (a file, a path, an audience, the use of a model) goes into the part's notes, a map with free keys and values that the check takes as written and nothing reads.
A part question:
| setting | type | unit | default | contract | what |
|---|---|---|---|---|---|
default | string | The letter of the option a question of this part takes when no answer comes by its deadline; the question offers it. Named with default_after or not at all: without both, a question of this part never takes a default and waits until it is answered. | |||
default_after | duration of at least 0s | How long a question waits for an answer, from the time it is asked, before its default is taken: its deadline. Named with default or not at all: without both, it waits until answered. | |||
decision_kind | string | The decision kind of the questions of this part, by its name under the architecture's decision_kinds, whose rules the policy sets: whether a question of it ever takes a default (no_default), and whether an answer after the deadline is still taken while no default was taken (answer_until_default). A kind with no_default takes no default setting. | |||
count | integer of at least 1 | 1 | How many copies of the part run. | ||
per | part | One copy of the part for each copy of the named part. | |||
notes | notes | Free notes on the part, a map with keys and values of any kind: what no setting of its block types. The check takes any map; the simulator, the search and the contract never read it. |
More columns: swipe horizontally, or focus the table and use the arrow keys.