DecidrHolon Design Kit

Action types and task types

Task types

Compose wholesale task types from ordered action types, bounded context, one output attribute, one evaluation criterion, and explicit variant pricing.

A task type is one wholesale unit of repeating work built by chaining action types inside a deterministic container. Every task type declares one goal, bounded ordered context, one output attribute, one evaluation criterion, a repeating frequency, and a Product and Variant price in dollars and cents. Doctrine §5 Wireframe spec B Ruling 52

Because a task type declares the shape of its context rather than hardcoding an organisation or table, Makers define it once and install it across organisations. A question is a typed specialisation of a task type under the One-Table Rule, never a separate database table. Doctrine §6 Schema rules §4 Vocabulary term 44

Best practices

  • Decompose until each task type produces one typed output. Breaking large workflows into small repeating units makes each step tractable, swappable across fillers, and observable as scored event history. Doctrine §5 Ruling 4
  • Scope inputs strictly with the Tail-Light Rule. Pass only the minimum ordered attributes and prior cells the task needs, never an organisation's full record. Ruling 18 Wireframe spec B
  • Always price by Product, Variant, and unit. Show the full Product · Variant · $X.XX / unit line on definitions and feed cards; never show a bare Product or an unlabelled price. Ruling 52 Wireframe review B12
  • Choose the execution variant in deterministic code. The flow path selects code_only, standard, reviewed, live, or fixed; a model never chooses its own billing variant. Reference: task-types.mjs Reference: flow.mjs
  • Hold approvals and person-confirmed outputs in code. Any step targeting a person-confirmed or approval attribute stops deterministically until a person submits confirmation with reasoning. Constitution 1.7 Wireframe review C5
  • Charge zero tokens for deterministic steps. Rule checks, input screening, storage, and roll-ups run in pure code at $0.00 model cost. Ruling 4 Reference: task-types.json

The three slots

Every task type chains action types across three deterministic slots:

  1. Intake (read, watch, listen, or observe): Pulls the minimum required context under the Tail-Light Rule into the left column of the task page or into the deterministic input payload. Wireframe spec B Ruling 34
  2. Deliberation (consider): Holds absorbed context beside prior period cells and rules, labels deterministic rule logic separately from logical reasoning, and captures qualitative reasoning text whenever inference is used. Wireframe spec B Ruling 27
  3. Commitment (select, enter, upload, create or update, confirm, or count): Records one typed value, linked entity id, or goal result range (with Other and Not applicable on closed questions), emits one immutable event, and appends one period-stamped cell. Wireframe spec B Ruling 4 Wireframe review B17

Three worked task types

The 25 Nov wireframe specification works through three end-to-end task types spanning a holon console, an internal team member, and an external vendor. Wireframe spec B

1. Profile an organisation (holon console)

FieldSpecification
Task typeProfile an organisation (kind: model, step profile.checks) Wireframe spec B Reference: task-types.json
AssigneeOrganisation holon for EFS (Greenwich NSW) Wireframe spec B
PriceProfile an organisation · Standard · $0.02 / organisation Reference: task-types.json Wireframe review B12
IntakeRead public website snapshot and ABN record Wireframe spec B
DeliberationConsider closed question bank with logical-reasoning trace and zero public confidence score Wireframe spec B Ruling 17
CommitmentSelect controlled industry, service-type, and size linked entity ids into cells; log missing required fields as unknown for a person Wireframe spec B Constitution, article 2

2. Set a quarterly capacity goal (team member)

FieldSpecification
Task typeSet quarterly advisory capacity goal (kind: question) Wireframe spec B
Assignee[Practice lead] at EFS (Greenwich NSW) Wireframe spec B
PriceGoal setting · Internal · $0.00 / goal or Goal setting · Managed · $12.50 / goal Wireframe spec B Wireframe review B12
IntakeRead prior four quarters roll-up and active client count; Watch 60-second quarterly briefing Wireframe spec B
DeliberationConsider utilisation trend and record staffing constraints in the text reasoning box Wireframe spec B Ruling 27
CommitmentSelect Q1 2027 min, mid, and max result range and period, appending one goal cell Wireframe spec B Wireframe spec W06 Wireframe review B4

3. Sign off a lease review (vendor)

FieldSpecification
Task typeSign off a commercial lease review (kind: action) Wireframe spec B
Assignee[Legal partner] member working for [Organisation] (never delegated to a holon) Wireframe spec B Constitution 1.7
PriceCommercial lease review · Partner sign-off · $150.00 / lease (flat legal fee) Wireframe spec B Ruling 51
IntakeListen to recorded review summary; Read current extracted cells (7-year term, make-good clause, risk rating) Wireframe spec B
DeliberationConsider legal conditions and capture sign-off reasoning Wireframe spec B Ruling 27
CommitmentSelect (or proposed Confirm) Yes, signed off or Return for revision; never approved by a holon Wireframe spec B Wireframe review B17 Constitution 1.7

Reference holon task types and flow steps

In the working reference holon, task-types.json defines every step-level service as data rather than code. At startup, task-types.mjs validates that every (flow, step) pair in FLOW_STEPS maps to one task type and that every allowed variant carries a non-negative integer price_cents and unit; an invalid catalogue halts startup. Reference: task-types.json Reference: task-types.mjs

During a run, flow.mjs calls taskTypes.price(flow, step, variant) using the variant determined by code path. Failed steps bill $0.00 while retaining raw model micro-cost strictly on the internal ledger. Reference: flow.mjs Reference: task-types.mjs

Flow stepTask typeKindProduct · Variant · Draft price
message.receiveReceive a messagecodeReceive a message · Code only · $0.00 / message Reference: task-types.json
message.screenScreen a messagecodeScreen a message · Code only · $0.00 / message Reference: task-types.json
message.checksClassify a messagemodelClassify a message · Standard · $0.01 / message Reference: task-types.json
message.rulesApply the rulescodeApply the rules · Code only · $0.00 / message Reference: task-types.json
message.replyPrepare a reply (display label)modelPrepare a reply · Reviewed · $0.05 / reply, Live · $0.06 / reply, or Fixed · $0.00 / reply Reference: task-types.json Wireframe review C2
message.reviewCheck a replymodelCheck a reply · Standard · $0.01 / reply or Code only · $0.00 / reply Reference: task-types.json
message.storedStore the recordcodeStore the record · Code only · $0.00 / run Reference: task-types.json

Mapping operational task kinds to action chains and variants

Across an active BusinessOS function such as EFS Delivery, every operational task kind maps to a predictable action-type chain and priced Product Variant clearing the measured model cost floor. Wireframe review C2

Task kindAction-type chainProduct · Variant · Draft priceCost and control basis
RuleRead, then Consider (rule check), then Select or SendDelivery rule step · Code only · $0.00 / run (or Connector sync · $0.01 / run) Wireframe review C2Pure code runs at zero LLM tokens. Ruling 4 Wireframe review C2
AI SpecialistRead, then Consider (decisions checks), then Select (or Create reviewed draft)Classify delivery request · Standard · $0.02 / request (or Prepare service line narrative · Reviewed · $0.07 / narrative) Wireframe review C2Clears classification ($0.01) and review ($0.01), or full reviewed narrative ($0.07). Wireframe review C2
AI Specialist, person confirmsRead, then Consider (holon reasoning), then Select (proposal), then hand off to person Consider and ConfirmAssisted delivery step · Holon draft and team confirm · $0.08 / step (or Managed confirm · $4.50 / step) Wireframe review C2Code holds at hold_for_review until a person confirms with reasoning; internal confirmation is $0.00. Wireframe review C2 Wireframe review C5
PersonRead, Watch, or Listen, then Consider (with reasoning box), then Select or ConfirmPractice team task · In-house team · $0.00 / task (or External specialist · $15.00 / pack) Wireframe review C2Zero model cost unless an optional holon check runs; legal vendor variants use flat fees only. Wireframe review C2 Ruling 51
Do

Display Product, Variant, and unit price together on every task type. People and organisations always see the exact variant being metered before a run starts. Ruling 52 Wireframe review B12

Classify a message
Classify a message · Standard · $0.01 / message
HTML
<div class="hx-card hx-stack">
  <div class="hx-title">Classify a message</div>
  <div class="hx-price">Classify a message · Standard · $0.01 / message</div>
</div>
Don’t

Do not show a bare Product name or an unlabelled price. A customer page never displays a bare parent Product or an unexplained dollar figure. Ruling 52 Wireframe review B12

Classify a message
$0.01
HTML
<div class="hx-card hx-stack">
  <div class="hx-title">Classify a message</div>
  <div class="hx-small hx-muted">$0.01</div>
</div>

Open questions