ShtukbaseStandard
package page→ /work/tasks.md

pages/work/tasks.md

132 lines, 6.7 KB. As a page.

  1. ---
  2. type: Collection
  3. title: Agent tasks
  4. icon: "🤖"
  5. description: "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."
  6. itemType: AgentTask
  7. items: {mode: path, path: /work/tasks, recursive: false}
  8. writeTo: /work/tasks
  9. properties:
  10. taskId: {kind: text, label: "Number", pinned: true}
  11. status: {kind: phase, contour: /work/contours/tasks, label: "State"}
  12. initiative: {kind: relation, collection: /work/initiatives, label: "Initiative"}
  13. owner: {kind: relation, collection: /business/people, label: "Responsible"}
  14. priority:
  15. kind: select
  16. label: "Priority"
  17. options:
  18. - {name: P0, label: "P0: now", color: red}
  19. - {name: P1, label: "P1: next", color: orange}
  20. - {name: P2, label: "P2: later", color: blue}
  21. size:
  22. kind: select
  23. label: "Size"
  24. options:
  25. - {name: S, label: "S: an hour or two", color: green}
  26. - {name: M, label: "M: half a day", color: yellow}
  27. - {name: L, label: "L: a day or more", color: purple}
  28. executor:
  29. kind: select
  30. label: "Who does it"
  31. options:
  32. - {name: person, label: "Person", color: gray}
  33. - {name: professional, label: "Professional agent of the direction", color: blue}
  34. - {name: worker, label: "Worker agent", color: green}
  35. milestone: {kind: relation, collection: /work/milestones, label: "Milestone"}
  36. dependsOn: {kind: relation, collection: /work/tasks, multiple: true, label: "Depends on"}
  37. stream: {kind: text, label: "Stream"}
  38. profile: {kind: text, label: "Launch profile (model, effort)"}
  39. doneWhen: {kind: text, label: "Done when"}
  40. evidence: {kind: text, label: "Confirmed by"}
  41. holdReason: {kind: text, label: "Why on hold"}
  42. implements: {kind: relation, collection: /product/requirements, multiple: true, label: "Implements requirements"}
  43. value: {kind: text, label: "What changes for the user"}
  44. kind:
  45. kind: select
  46. label: "Task kind"
  47. options:
  48. - {name: chore, label: "Technical: serves a task with benefit", color: gray}
  49. enables: {kind: relation, collection: /work/tasks, multiple: true, label: "Serves tasks"}
  50. stage: {kind: relation, collection: /deal/stages, label: "Deal stage"}
  51. fulfills: {kind: relation, collection: /deal/obligations, label: "Fulfills an obligation"}
  52. waitsFor: {kind: relation, collection: /deal/obligations, multiple: true, label: "Waits for an obligation"}
  53. waitsForOwner: {kind: relation, collection: /work/owner-tasks, multiple: true, label: "Waits for the owner"}
  54. waitsForAnswer: {kind: relation, collection: /knowledge/questions, multiple: true, label: "Waits for an answer"}
  55. waitsForDecision: {kind: relation, collection: /knowledge/decisions, multiple: true, label: "Waits for a decision"}
  56. mitigates: {kind: relation, collection: /deal/risks, multiple: true, label: "Reduces risks"}
  57. views:
  58. - id: tasks--board
  59. name: By state
  60. layout: board
  61. fields: {}
  62. board:
  63. preview: page-content
  64. cardSize: small
  65. wrap: true
  66. grouping:
  67. by: status
  68. colorBy: status
  69. sorting:
  70. - {propertyId: priority, direction: ascending}
  71. properties:
  72. - {name: title, visible: true}
  73. - {name: taskId, visible: true}
  74. - {name: priority, visible: true}
  75. - {name: size, visible: true}
  76. - {name: initiative, visible: true}
  77. - {name: owner, visible: true}
  78. - id: tasks--table
  79. name: All tasks
  80. layout: table
  81. fields: {}
  82. sorting:
  83. - {propertyId: taskId, direction: ascending}
  84. properties:
  85. - {name: title, visible: true, width: 420}
  86. - {name: taskId, visible: true}
  87. - {name: status, visible: true}
  88. - {name: initiative, visible: true}
  89. - {name: priority, visible: true}
  90. - {name: size, visible: true}
  91. - {name: owner, visible: true}
  92. - {name: dependsOn, visible: true}
  93. - {name: implements, visible: true}
  94. - {name: stage, visible: true}
  95. - id: tasks--waiting
  96. name: Waiting
  97. layout: table
  98. fields: {}
  99. filters:
  100. - {id: waiting, type: condition, propertyId: status, operator: equals, value: waiting}
  101. properties:
  102. - {name: title, visible: true, width: 420}
  103. - {name: taskId, visible: true}
  104. - {name: waitsFor, visible: true}
  105. - {name: waitsForOwner, visible: true}
  106. - {name: waitsForAnswer, visible: true}
  107. - {name: waitsForDecision, visible: true}
  108. - {name: doneWhen, visible: true}
  109. ---
  110. An agent task is work done by an agent. What a person must do themselves lies separately, in [owner tasks](/work/owner-tasks.md).
  111. 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".
  112. Why a task is needed can be seen from the links upward:
  113. - "Implements requirements" — which product behavior it builds;
  114. - "Deal stage" — which handover it belongs to;
  115. - "Fulfills an obligation" — which of our promises it closes;
  116. - "Reduces risks" — which risk it lowers.
  117. Every task has benefit for the product — one of three:
  118. 1. "Implements requirements" (`implements`) leads to a product requirement or capability.
  119. 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.
  120. 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.
  121. 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.
  122. 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](/work/contours/tasks.md).
  123. 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.