ShtukbaseStandard

Owner questions and tasks

owner · version 0.2.0
Shtukbase Basicin Basic1 norm1 check

Questions to the owner and tasks done by a person, not an agent, with their contours; a check that a provisional decision is marked and waits for an answer.

About the package

What waits for a person: questions (one record is one question) and owner tasks: get access, ask the customer, agree, sign, check a result. The collections and contours are taken unchanged from the old layer packages knowledge (questions) and work (owner tasks).

From the old norms package base-autonomy one rule is taken whose enforcer is a check: AUT-R01: a decision made without the owner is recorded as provisional (provisional: true) with a basis (provisionalBasis) and what it waits for (waitsFor); when the answer comes, the mark is removed. The fields provisional, provisionalBasis and waitsFor are not yet described in the decisions schema: the check reads them from the record.

The readiness condition and the result of an owner task are checked by task-chain of the package tasks, if it is installed.

Boundary: decisions are in the package decisions; there is no hook that checks a question before it is asked, and no "what waits for the owner" lens.

Norms 1

IDNormLevelModeEnforcer
AUT-R01
A decision that an agent made itself on a question where an answer from the owner or the customer may still come is recorded with the mark provisional, a basis (why this answer was chosen) and what it waits for; after the answer the mark is removed or the decision is redone.
MUST blocks
check

"Blocks": the enforcer stops a violation. "Observes": it only notes it. Level MUST means required; SHOULD means yes by default.

Actions 1

NameWhat it doesFileWhen
provisionalA provisional decision with its basis and what it waits for
norm AUT-R01
checks/provisional.ts
check

shtuk check runs the checks; shtuk run owner <name> runs any action. "After install" actions run by themselves only if the package comes from a trusted source.

Pages 12

They go into the project at these paths.

Package files 2

They go into .shtukbase/packages/owner/; actions run from there.