ShtukbaseStandard
collection/work/tasks.md

Agent tasks

The agents' work: what to do, when it is done, what we are waiting for, and which requirement, stage, obligation or risk stands behind it.

Page fields (6)
icon🤖
itemTypeAgentTask
items{mode: path,path: /work/tasks,recursive: false}
writeTo/work/tasks
properties{taskId: {kind: text,label: Number,pinned: true},status: {kind: phase,contour: /work/contours/tasks,label: State},initiative: {kind: relation,collection: /work/initiatives,label: Initiative},owner: {kind: relation,collection: /business/people,label: Responsible},priority: {kind: select,label: Priority,options: [{name: P0,label: "P0: now",color: red},{name: P1,label: "P1: next",color: orange},{name: P2,label: "P2: later",color: blue}]},size: {kind: select,label: Size,options: [{name: S,label: "S: an hour or two",color: green},{name: M,label: "M: half a day",color: yellow},{name: L,label: "L: a day or more",color: purple}]},executor: {kind: select,label: Who does it,options: [{name: person,label: Person,color: gray},{name: professional,label: Professional agent of the direction,color: blue},{name: worker,label: Worker agent,color: green}]},milestone: {kind: relation,collection: /work/milestones,label: Milestone},dependsOn: {kind: relation,collection: /work/tasks,multiple: true,label: Depends on},stream: {kind: text,label: Stream},profile: {kind: text,label: "Launch profile (model, effort)"},doneWhen: {kind: text,label: Done when},evidence: {kind: text,label: Confirmed by},holdReason: {kind: text,label: Why on hold},implements: {kind: relation,collection: /product/requirements,multiple: true,label: Implements requirements},value: {kind: text,label: What changes for the user},kind: {kind: select,label: Task kind,options: [{name: chore,label: "Technical: serves a task with benefit",color: gray}]},enables: {kind: relation,collection: /work/tasks,multiple: true,label: Serves tasks},stage: {kind: relation,collection: /deal/stages,label: Deal stage},fulfills: {kind: relation,collection: /deal/obligations,label: Fulfills an obligation},waitsFor: {kind: relation,collection: /deal/obligations,multiple: true,label: Waits for an obligation},waitsForOwner: {kind: relation,collection: /work/owner-tasks,multiple: true,label: Waits for the owner},waitsForAnswer: {kind: relation,collection: /knowledge/questions,multiple: true,label: Waits for an answer},waitsForDecision: {kind: relation,collection: /knowledge/decisions,multiple: true,label: Waits for a decision},mitigates: {kind: relation,collection: /deal/risks,multiple: true,label: Reduces risks}}
views[{id: tasks--board,name: By state,layout: board,fields: {},board: {preview: page-content,cardSize: small,wrap: true},grouping: {by: status,colorBy: status},sorting: [{propertyId: priority,direction: ascending}],properties: [{name: title,visible: true},{name: taskId,visible: true},{name: priority,visible: true},{name: size,visible: true},{name: initiative,visible: true},{name: owner,visible: true}]},{id: tasks--table,name: All tasks,layout: table,fields: {},sorting: [{propertyId: taskId,direction: ascending}],properties: [{name: title,visible: true,width: 420},{name: taskId,visible: true},{name: status,visible: true},{name: initiative,visible: true},{name: priority,visible: true},{name: size,visible: true},{name: owner,visible: true},{name: dependsOn,visible: true},{name: implements,visible: true},{name: stage,visible: true}]},{id: tasks--waiting,name: Waiting,layout: table,fields: {},filters: [{id: waiting,type: condition,propertyId: status,operator: equals,value: waiting}],properties: [{name: title,visible: true,width: 420},{name: taskId,visible: true},{name: waitsFor,visible: true},{name: waitsForOwner,visible: true},{name: waitsForAnswer,visible: true},{name: waitsForDecision,visible: true},{name: doneWhen,visible: true}]}]

An agent task is work done by an agent. What a person must do themselves lies separately, in owner tasks.

A task answers the question "what to do and when it is done". The done condition is written in the field "Done when", and the confirmation in the field "Confirmed by".

Why a task is needed can be seen from the links upward:

  • "Implements requirements" — which product behavior it builds;
  • "Deal stage" — which handover it belongs to;
  • "Fulfills an obligation" — which of our promises it closes;
  • "Reduces risks" — which risk it lowers.

Every task has benefit for the product — one of three:

  1. "Implements requirements" (implements) leads to a product requirement or capability.
  2. There is no specification yet: the field "What changes for the user" (value) is one phrase, and implements leads to a draft requirement with status: proposal created alongside. The specification grows from tasks; the owner then confirms the draft.
  3. A technical task with no product meaning (move a file, bump a dependency): "Task kind" kind: chore and "Serves tasks" (enables) — a task with the benefit that it serves. "Move a file" is not a task by itself.

A task without benefit is found by the check w16 (the package action task-value: bun .shtukbase/packages/tasks/checks/w16_task_value.ts): it writes what is missing and which of the three paths to choose. The dispatcher does not launch such a task: it goes to the coordinator for a decision with the same reason.

If a task waits for inputs from another party, the obligation is given in the field "Waits for an obligation". If it waits for a step by the person themselves (access, an answer, an approval), it is an owner task in the field "Waits for the owner". The answer to a question is the field "Waits for an answer", a decision is the field "Waits for a decision". Until they are done, the task cannot go to work: it stays in the state "Waiting". In more detail — in the task contour.

The fields "Implements requirements", "Deal stage", "Fulfills an obligation", "Waits for an obligation" and "Reduces risks" lead into the Product and Deal layers. They are filled in if those layers are installed. A task's direction is visible through its initiative. A milestone is set on a task only if it is earlier than its initiative's milestone.

The package Tasks puts this page at /work/tasks.md.Source text