ShtukbaseStandard
package page→ /quality/risks.md

pages/quality/risks.md

141 lines, 6.9 KB. As a page.

  1. ---
  2. type: Collection
  3. title: "Risks"
  4. icon: "🛡️"
  5. description: "A single register of risks of the product and of the work: agents, technology, access, data, people, the deal. Probability, severity, how we will notice, how we reduce it, who is responsible and what closes it."
  6. itemType: SystemRisk
  7. items: {mode: path, path: /quality/risks, recursive: false}
  8. writeTo: /quality/risks
  9. properties:
  10. status: {kind: phase, contour: /quality/contours/risks, label: "State", required: true}
  11. category:
  12. kind: select
  13. label: "Category"
  14. options:
  15. - {name: agents, label: "Agents", color: red}
  16. - {name: tech, label: "Technology and external services", color: blue}
  17. - {name: access, label: "Access and secrets", color: orange}
  18. - {name: data, label: "Data and quality", color: yellow}
  19. - {name: people, label: "People and process", color: purple}
  20. - {name: deal, label: "Deal", color: gray}
  21. agentCategory:
  22. kind: select
  23. label: "Agent risk kind"
  24. options:
  25. - {name: injection, label: "Command injection", color: red}
  26. - {name: leak, label: "Leak of secrets and data", color: red}
  27. - {name: scope, label: "Rights and scope", color: orange}
  28. - {name: destructive, label: "Destructive actions", color: orange}
  29. - {name: publish, label: "Publishing outward", color: yellow}
  30. - {name: truth, label: "Facts and sources", color: yellow}
  31. - {name: cost, label: "Cost and looping", color: green}
  32. - {name: external, label: "External systems and platforms", color: blue}
  33. - {name: legal, label: "Law", color: purple}
  34. - {name: model, label: "Model and provider", color: gray}
  35. - {name: memory, label: "Memory, templates, database", color: green}
  36. - {name: autonomy, label: "Chains and work without a human", color: blue}
  37. - {name: recovery, label: "Rollback, backup, journal", color: gray}
  38. - {name: people, label: "People and trust", color: purple}
  39. likelihood:
  40. kind: select
  41. label: "Probability"
  42. options:
  43. - {name: "1", label: "1 - almost impossible", color: gray}
  44. - {name: "2", label: "2 - rare", color: green}
  45. - {name: "3", label: "3 - happens", color: yellow}
  46. - {name: "4", label: "4 - often", color: orange}
  47. - {name: "5", label: "5 - almost certain", color: red}
  48. impact:
  49. kind: select
  50. label: "Severity"
  51. options:
  52. - {name: "1", label: "1 - no harm", color: gray}
  53. - {name: "2", label: "2 - internal, reversible", color: green}
  54. - {name: "3", label: "3 - visible to colleagues", color: yellow}
  55. - {name: "4", label: "4 - visible to outsiders or hard to undo", color: orange}
  56. - {name: "5", label: "5 - critical", color: red}
  57. coverage:
  58. kind: select
  59. label: "Closed by"
  60. options:
  61. - {name: closed, label: "Closed", color: green}
  62. - {name: partial, label: "Partly", color: yellow}
  63. - {name: open, label: "Not closed", color: red}
  64. side:
  65. kind: select
  66. label: "Whose side reduces it"
  67. options:
  68. - {name: customer, label: "Customer", color: blue}
  69. - {name: executor, label: "Contractor", color: purple}
  70. - {name: both, label: "Both", color: gray}
  71. hurts:
  72. kind: select
  73. multiple: true
  74. label: "Whom it harms"
  75. options:
  76. - {name: customer, label: "Customer", color: blue}
  77. - {name: executor, label: "Contractor", color: purple}
  78. - {name: public, label: "Third parties", color: red}
  79. owner: {kind: relation, collection: /business/people, label: "Who is responsible"}
  80. signal: {kind: text, label: "How we will notice"}
  81. mitigation: {kind: text, label: "How we reduce it"}
  82. decision: {kind: relation, collection: /knowledge/decisions, label: "Decision about the risk"}
  83. acceptedBecause: {kind: text, label: "Why it is accepted"}
  84. agents: {kind: relation, collection: /product/agents, multiple: true, label: "Agents"}
  85. actions: {kind: relation, collection: /product/actions, multiple: true, label: "Actions"}
  86. components: {kind: relation, collection: /tech/components, multiple: true, label: "Components"}
  87. requirements: {kind: relation, collection: /product/requirements, multiple: true, label: "Requirements that reduce it"}
  88. related: {kind: relation, collection: /quality/risks, multiple: true, label: "Related risks"}
  89. threatensGoals: {kind: relation, collection: /business/goals, multiple: true, label: "Threatens goals"}
  90. threatensStages: {kind: relation, collection: /deal/stages, multiple: true, label: "Threatens stages"}
  91. sourceDocs: {kind: relation, collection: /knowledge/documents, multiple: true, label: "Source: documents"}
  92. quote: {kind: text, label: "Quote from the source"}
  93. sources: {kind: url, multiple: true, label: "External sources"}
  94. views:
  95. - id: risks--table
  96. name: All risks
  97. layout: table
  98. fields: {}
  99. sorting:
  100. - {propertyId: impact, direction: descending}
  101. - {propertyId: likelihood, direction: descending}
  102. properties:
  103. - {name: title, visible: true, width: 420}
  104. - {name: category, visible: true}
  105. - {name: likelihood, visible: true}
  106. - {name: impact, visible: true}
  107. - {name: coverage, visible: true}
  108. - {name: owner, visible: true}
  109. - {name: status, visible: true}
  110. - id: risks--by-category
  111. name: By category
  112. layout: board
  113. fields: {}
  114. board: {preview: page-content, cardSize: small, wrap: true}
  115. grouping: {by: category, colorBy: impact}
  116. properties:
  117. - {name: title, visible: true}
  118. - {name: impact, visible: true}
  119. - {name: likelihood, visible: true}
  120. - {name: coverage, visible: true}
  121. - id: risks--gaps
  122. name: Not closed
  123. layout: table
  124. fields: {}
  125. filters:
  126. - {id: f0, type: condition, propertyId: coverage, operator: equals, value: open}
  127. properties:
  128. - {name: title, visible: true, width: 420}
  129. - {name: category, visible: true}
  130. - {name: impact, visible: true}
  131. - {name: likelihood, visible: true}
  132. - {name: owner, visible: true}
  133. ---
  134. A risk is whatever can go wrong in the product and around it: an agent made a mistake or was deceived, a server went down, the model provider ran out of money, a key expired, wrong data arrived, nobody confirmed, nobody is left to fix things after handover. There is one register for the whole project; agent risks are one of the categories. What counts as a risk and how to rate it: [What a risk is](/quality/risk-definition.md).
  135. **How to add one.** The file name is `rk-<category>-<essence>.md`, for agent risks `ar-<kind>-<essence>.md`. Write at once the category, probability, severity, how we will notice (`signal`), how we reduce it (`mitigation`) and who is responsible (`owner`). If the risk rests on a customer document, put a "Source" in the body with a quote or a link.
  136. **Our assumption.** The register is the contractor's assessment. The customer may not see it; what from the register goes to the customer is decided by the project owner.
  137. States are in the [risks contour](/quality/contours/risks.md).