Risks
A single risk register for the "Quality" layer: a collection with a schema and a contour, what counts as a risk and how to rate it, three norms: a risk has an owner, a rating, a signal and a measure; an accepted risk is accepted with a reason; ratings are reviewed by a judge.
About the package
One risk register per project: agents, technology, access, data, people, the deal. The collection /quality/risks (type SystemRisk) and its contour (open → mitigated, accepted, occurred or closed) come from the "Quality" layer of an earlier product, where the register holds a hundred risks; the labels are generalized here. The page What a risk is draws the border with a bug, a task and a decision and says which risk is serious.
Norms
- RSK-R01: a live risk has an owner, a probability, a severity, a signal and a measure. The enforcer is the
risk-heldcheck. - RSK-R02: an accepted risk is accepted with a reason (
acceptedBecause) or a decision (decision). The enforcer is therisk-acceptedcheck. - RSK-R03: ratings are reviewed against facts. The enforcer is a judge (
judges/risk-review.md): the person responsible for quality, or a reviewing agent they appoint. The mode is "watches".
Whether a serious risk is covered by a test is a norm of the testing package.
Where the boundary is
- A risk that came true is a bug or an incident (the
bugspackage); a measure is a task (thetaskspackage); a decision to accept a risk is a record of thedecisionspackage. - The bridge fields into the "Product", "Technology", "Deal", "Business" and "Knowledge" layers sleep while those layers are absent.
Which lenses are needed
The package brings no lenses. Needed: a risk map "probability × severity" with filters by category and state; a list of serious unclosed risks with coverage (tests, indicators, decision).
Norms 3
| ID | Norm | Level | Mode | Enforcer |
|---|---|---|---|---|
| RSK-R01 | MUST | blocks | check |
|
| RSK-R02 | MUST | blocks | check |
|
| RSK-R03 | SHOULD | observes | judge |
"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 |
|---|---|---|---|
| placement | Add the SystemRisk kind to the "Where things live" placement map | actions/place.ts | after install after update |
| risk-held | A risk has an owner, a rating, a signal and a measure norm RSK-R01 | checks/r01_risk_held.ts | check |
| risk-accepted | An accepted risk is accepted with a reason or a decision norm RSK-R02 | checks/r02_risk_accepted.ts | check |
shtuk check runs the checks; shtuk run risks <name> runs any action. "After install" actions run by themselves only if the package comes from a trusted source.
Pages 11
They go into the project at these paths.
- /norms/rules/risks/
- A risk has an owner, a rating, a signal and a measure RSK-R01
- An accepted risk is accepted with a reason or a decision RSK-R02
- Risk ratings are reviewed against facts RSK-R03
- /quality/
- What a risk is page
- Risks collection
- /quality/contours/
- Risks contour
- /quality/contours/risks/
- Accepted contour phase
- Closed contour phase
- Mitigated contour phase
- Occurred contour phase
- Open contour phase
Package files 5
They go into .shtukbase/packages/risks/; actions run from there.