Tasks
Directions, initiatives and agent tasks with their contours; what counts as a task; checks that a task brings benefit to the product, is tied to an initiative and is closed properly.
About the package
Who does what: directions (why all the work), initiatives (a group of tasks with one result) and agent tasks. The collections and contours of tasks and initiatives are taken from the old work layer package unchanged. The page What a task is draws the owner's boundary: a task has product meaning, moving a file to a folder is not a task.
Three rules whose enforcer is a check of this package were taken from the old norm package std-work-tracking: WRK-R07, WRK-R08 and WRK-R16. The checks are copies of w07, w08 and w16 from the standard's check set; w16 without the Product layer accepts a task with a single value. Page parsing is the library of the collections package.
The boundary: milestones (/work/milestones), owner tasks and bugs are in other packages (milestones are not in Basic). Fields of tasks and initiatives that lead into the Product, Deal and Quality layers stay in the schema and are filled in if those layers are installed. The package has no agent hooks (work-hooks) and no commit trailer check.
Norms 3
| ID | Norm | Level | Mode | Enforcer |
|---|---|---|---|---|
| WRK-R07 | SHOULD | blocks | check |
|
| WRK-R08 | SHOULD | blocks | check |
|
| WRK-R16 | Every agent task has benefit for the product: a requirement, a draft requirement with value, or a chore with enables |
MUST | blocks | check |
"Blocks": the enforcer stops a violation. "Observes": it only notes it. Level MUST means required; SHOULD means yes by default.
Actions 3
| Name | What it does | File | When |
|---|---|---|---|
| task-chain | A task has a live initiative and a done condition, a finished one has evidence norm WRK-R07 | checks/w07_task_chain.ts | check |
| initiative-closure | A finished initiative holds no open tasks norm WRK-R08 | checks/w08_init_closure.ts | check |
| task-value | An agent task has benefit for the product norm WRK-R16 | checks/w16_task_value.ts | check |
shtuk check runs the checks; shtuk run tasks <name> runs any action. "After install" actions run by themselves only if the package comes from a trusted source.
Pages 20
They go into the project at these paths.
- /norms/rules/tasks/
- A task has a live initiative WRK-R07
- A closed initiative is closed properly WRK-R08
- Every agent task has benefit for the product WRK-R16
- /work/
- Directions collection
- Initiatives collection
- What a task is page
- Agent tasks collection
- /work/contours/
- Initiative contour contour
- Agent task contour contour
- /work/contours/initiatives/
- Cancelled contour phase
- Done contour phase
- Not started contour phase
- Proposed contour phase
- Under way contour phase
- Waiting contour phase
- /work/contours/tasks/
- Doing contour phase
- Done contour phase
- On hold contour phase
- Queued contour phase
- Waiting contour phase
Package files 5
They go into .shtukbase/packages/tasks/; actions run from there.