ShtukbaseStandard

Decisions

decisions · version 0.2.0
Shtukbase Basicin Basic2 norms2 checks

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

IDNormLevelModeEnforcer
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

NameWhat it doesFileWhen
recordAn accepted decision: who decided, when, about what, and the text
norm DEC-R01
checks/d01_record.ts
check
supersedesA 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.

Package files 3

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