question Card

Question Cards

A question card asks the user something and routes the answer back for processing. An answer has two products, and both are worth capturing when they apply: the immediate effect (directive: — what to do with this one answer) and durable knowledge (learning: — the belief the answer confirms or denies, going forward). Today's placement is the small part; the rule the boxholder just taught you is usually the valuable part.

Frontmatter

After the user answers, the system fills in:

Dismissing sets dismissed-at:; the aging sweep expiring a question sets expired-at:.

provisional: — {decision, reasoning, undo, decided-at}: what the box decided in place of an answer. It is not the person's answer, and only bbx question decide writes it. A later answer keeps it as history; before recording that answer (any --via), reverse what the box did where the answer differs, as far as undo and git allow, and say what you reversed.

For select questions, make options mutually exclusive. For confirm questions, make the prompt unambiguous about what "yes" means.

The contains: field

Give this card a one-sentence contains: — the prime retrieval field for bbx search and listings. How to write a good one (carry the information when it's concise, never a list of parts, under 200 characters) is in the agent guide's ABOUT_CARDS section.

Templates

question

A multiple-choice question card

bbx create <path>.question.card -t question

Template: question Description: A multiple-choice question card Card types: question

Arguments: memo: Context/background for the question prompt: The question to ask options (array — repeat key or use JSON: key='["a","b"]'): Answer options (at least 2) directive (optional): What to do with the answer — creates a follow-up job using this text as instructions learning (optional): Durable belief the answer teaches: {sink: guide|briefing|personality, ref?, proposal} expires-after (optional): ISO-8601 duration overriding the default expiry window (e.g. P30D, PT12H)

question-text

A free-text question card

bbx create <path>.question.card -t question-text

Template: question-text Description: A free-text question card Card types: question

Arguments: memo: Context/background for the question prompt: The question to ask directive (optional): What to do with the answer — creates a follow-up job using this text as instructions learning (optional): Durable belief the answer teaches: {sink: guide|briefing|personality, ref?, proposal} expires-after (optional): ISO-8601 duration overriding the default expiry window (e.g. P30D, PT12H)

question-confirm

A yes/no confirmation question card

bbx create <path>.question.card -t question-confirm

Template: question-confirm Description: A yes/no confirmation question card Card types: question

Arguments: memo: Context/background for the question prompt: The question to ask directive (optional): What to do with the answer — creates a follow-up job using this text as instructions learning (optional): Durable belief the answer teaches: {sink: guide|briefing|personality, ref?, proposal} expires-after (optional): ISO-8601 duration overriding the default expiry window (e.g. P30D, PT12H)