Private beta, by invitation. It may change without warning. While the beta lasts, some paid features are free. See pricing

trumlyspec GitHub
Try trumly

← Packs

governance

VerifiedCore1.2.0

Use when: Whenever a choice would be hard or costly to reverse, or someone would ask why it was made.

Why the design is the way it is: decisions with the options weighed and what followed, and the principles choices are checked against. Rules ask for two options, exactly one chosen, a recorded consequence and a clean supersedes chain.

Add it

Open it in trumly cloud to start a project with this pack already in. In an existing project, open the editor's Packs tab, choose governance, then Add. Nodes you change after adding are kept when the pack is upgraded.

From a known source. Reviewed by us, and the publisher is known.

Explore is a read-only demo in your browser: nothing to sign in to, and nothing is saved.

Namespace
gov--
Size
23 nodes
Needs
links@^1.0.0, define@^1.0.0, design@^1.0.0
Publisher
trumly
Versions
1.2.0·1.1.0·1.0.0
Checksum
da83b115b23928cc…

Examples 1

  • Choosing the databaseA starting point

    A decision with two options, what followed from it and the principle it follows.

    18 nodes17 typesneeds define, design

    Show the 18 nodes
    • Jobs listedacceptance-criterionacceptance-criterion-jobs-listed
    • Ops staffactoractor-ops-staff
    • Job volume stays modestassumptionassumption-job-volume
    • View job statuscapabilitycapability-view-job-status
    • Ops APIcomponentcomponent-ops-api
    • Jobconceptconcept-job
    • Vertical scalingconsequenceconsequence-one-engine
    • Data stays in UK/EUconstraintconstraint-uk-eu-data
    • Ops dbdatastoredatastore-ops-db
    • Managed document storedecision-optiondecision-option-document-store
    • Managed PostgreSQLdecision-optiondecision-option-managed-postgres
    • Database choicedecisiondecision-use-postgres
    • Productionenvironmentenvironment-production
    • Timely ops visibilitygoalgoal-timely-visibility
    • Ops APIinterfaceinterface-ops-api
    • Job status agemetricmetric-status-freshness
    • Prefer managed servicesprincipleprinciple-prefer-managed
    • List jobsrequirementrequirement-list-jobs

Patterns 1

Small fragments you lift into a project of your own. In the editor or through an agent, insert one under its root node.

  • Record a decisionA choice between two options, with what it costs you. Write down why while it is fresh; link it to what it governs afterwards.Hangs from a decision.

Planes 1

  • Decisions

Types 4

  • consequenceUse for something that follows from a decision, good or bad.
  • decisionUse to record a choice that shaped the design, with the options weighed and what follows from it. Record one whenever a choice would be hard or costly to reverse, or someone would ask why.
  • decision-optionUse for one way a decision could go. Mark the one that was picked as chosen.
  • principleUse for a standing rule that choices are checked against, such as "prefer managed services". Use a constraint for something imposed from outside and a decision for a single choice.

Link types 4

  • complies-withdecision → principleUse to say that a decision follows a principle.
  • considersdecision → decision-optionUse to say which options a decision weighed.
  • departs-fromdecision → principleUse to say that a decision knowingly breaks a principle.
  • has-consequencedecision → consequenceUse to say what follows from a decision.

Rules 14

  • WarningAn accepted decision records a consequence
  • ErrorAn accepted decision has not been superseded
  • WarningAn accepted decision governs at least one node
  • ErrorAn accepted decision chose exactly one option
  • WarningAn accepted decision derives from a requirement, constraint or principle
  • WarningAn accepted decision has a review-by date
  • WarningEvery consequence follows from a decision
  • InfoEvery datastore is governed by a decision
  • WarningEvery decision weighs at least two options
  • InfoEvery external is governed by a decision
  • WarningEvery decision option is considered by a decision
  • InfoEvery principle is followed or departed from by a decision
  • ErrorA superseded decision has a newer decision that supersedes it
  • ErrorDecisions never supersede each other in a loop