Decisions
A collection of decisions with a contour; checks that an accepted decision is recorded with an author, a date and a subject, and that decisions are changed by replacement, not by rewriting.
About the package
One record is one decision. The decisions collection and its contour (proposed, accepted, replaced, rejected) are taken unchanged from the old knowledge layer package.
From the old norms package base-decisions two rules are taken whose enforcer is a check of this package: DEC-R01 (a decision is recorded as a page; the check sees the fields and the presence of text, but does not judge whether the text has options and a reason) and DEC-R03 (a decision is not rewritten after the fact; the check watches the chain of replacements, and does not see an edit of the text without history).
Boundary: questions to the owner are in the package owner; the documents and the ontology of the Knowledge layer are not part of it; there is no lens for decisions.
Norms 2
| ID | Norm | Level | Mode | Enforcer |
|---|---|---|---|---|
| DEC-R01 | A significant decision is recorded as a page in the project decisions: what was decided, which options were considered, why this one was chosen, who decided, the date, about which records; if the decision applies a norm, a link to it (followsFrom). |
MUST | blocks | check |
| DEC-R03 | An accepted decision is not edited in substance: a new decision replaces the old one with a "supersedes" link, and a rejected one stays with the state "rejected". |
SHOULD | blocks | check |
"Blocks": the enforcer stops a violation. "Observes": it only notes it. Level MUST means required; SHOULD means yes by default.
Actions 2
| Name | What it does | File | When |
|---|---|---|---|
| record | An accepted decision: who decided, when, about what, and the text norm DEC-R01 | checks/d01_record.ts | check |
| supersedes | A decision is changed by replacement: the supersedes chain is whole norm DEC-R03 | checks/d03_supersedes.ts | check |
shtuk check runs the checks; shtuk run decisions <name> runs any action. "After install" actions run by themselves only if the package comes from a trusted source.
Pages 8
They go into the project at these paths.
- /knowledge/
- Decisions collection
- /knowledge/contours/
- Decisions contour contour
- /knowledge/contours/decisions/
- Accepted contour phase
- Proposed contour phase
- Rejected contour phase
- Replaced contour phase
- /norms/rules/decisions/
- A decision is a page with options and a reason DEC-R01
- A decision is not rewritten after the fact DEC-R03
Package files 3
They go into .shtukbase/packages/decisions/; actions run from there.