ShtukbaseStandard
collection/quality/risks.md

Risks

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.

Page fields (6)
icon🛡️
itemTypeSystemRisk
items{mode: path,path: /quality/risks,recursive: false}
writeTo/quality/risks
properties{status: {kind: phase,contour: /quality/contours/risks,label: State,required: true},category: {kind: select,label: Category,options: [{name: agents,label: Agents,color: red},{name: tech,label: Technology and external services,color: blue},{name: access,label: Access and secrets,color: orange},{name: data,label: Data and quality,color: yellow},{name: people,label: People and process,color: purple},{name: deal,label: Deal,color: gray}]},agentCategory: {kind: select,label: Agent risk kind,options: [{name: injection,label: Command injection,color: red},{name: leak,label: Leak of secrets and data,color: red},{name: scope,label: Rights and scope,color: orange},{name: destructive,label: Destructive actions,color: orange},{name: publish,label: Publishing outward,color: yellow},{name: truth,label: Facts and sources,color: yellow},{name: cost,label: Cost and looping,color: green},{name: external,label: External systems and platforms,color: blue},{name: legal,label: Law,color: purple},{name: model,label: Model and provider,color: gray},{name: memory,label: "Memory, templates, database",color: green},{name: autonomy,label: Chains and work without a human,color: blue},{name: recovery,label: "Rollback, backup, journal",color: gray},{name: people,label: People and trust,color: purple}]},likelihood: {kind: select,label: Probability,options: [{name: "1",label: 1 - almost impossible,color: gray},{name: "2",label: 2 - rare,color: green},{name: "3",label: 3 - happens,color: yellow},{name: "4",label: 4 - often,color: orange},{name: "5",label: 5 - almost certain,color: red}]},impact: {kind: select,label: Severity,options: [{name: "1",label: 1 - no harm,color: gray},{name: "2",label: "2 - internal, reversible",color: green},{name: "3",label: 3 - visible to colleagues,color: yellow},{name: "4",label: 4 - visible to outsiders or hard to undo,color: orange},{name: "5",label: 5 - critical,color: red}]},coverage: {kind: select,label: Closed by,options: [{name: closed,label: Closed,color: green},{name: partial,label: Partly,color: yellow},{name: open,label: Not closed,color: red}]},side: {kind: select,label: Whose side reduces it,options: [{name: customer,label: Customer,color: blue},{name: executor,label: Contractor,color: purple},{name: both,label: Both,color: gray}]},hurts: {kind: select,multiple: true,label: Whom it harms,options: [{name: customer,label: Customer,color: blue},{name: executor,label: Contractor,color: purple},{name: public,label: Third parties,color: red}]},owner: {kind: relation,collection: /business/people,label: Who is responsible},signal: {kind: text,label: How we will notice},mitigation: {kind: text,label: How we reduce it},decision: {kind: relation,collection: /knowledge/decisions,label: Decision about the risk},acceptedBecause: {kind: text,label: Why it is accepted},agents: {kind: relation,collection: /product/agents,multiple: true,label: Agents},actions: {kind: relation,collection: /product/actions,multiple: true,label: Actions},components: {kind: relation,collection: /tech/components,multiple: true,label: Components},requirements: {kind: relation,collection: /product/requirements,multiple: true,label: Requirements that reduce it},related: {kind: relation,collection: /quality/risks,multiple: true,label: Related risks},threatensGoals: {kind: relation,collection: /business/goals,multiple: true,label: Threatens goals},threatensStages: {kind: relation,collection: /deal/stages,multiple: true,label: Threatens stages},sourceDocs: {kind: relation,collection: /knowledge/documents,multiple: true,label: "Source: documents"},quote: {kind: text,label: Quote from the source},sources: {kind: url,multiple: true,label: External sources}}
views[{id: risks--table,name: All risks,layout: table,fields: {},sorting: [{propertyId: impact,direction: descending},{propertyId: likelihood,direction: descending}],properties: [{name: title,visible: true,width: 420},{name: category,visible: true},{name: likelihood,visible: true},{name: impact,visible: true},{name: coverage,visible: true},{name: owner,visible: true},{name: status,visible: true}]},{id: risks--by-category,name: By category,layout: board,fields: {},board: {preview: page-content,cardSize: small,wrap: true},grouping: {by: category,colorBy: impact},properties: [{name: title,visible: true},{name: impact,visible: true},{name: likelihood,visible: true},{name: coverage,visible: true}]},{id: risks--gaps,name: Not closed,layout: table,fields: {},filters: [{id: f0,type: condition,propertyId: coverage,operator: equals,value: open}],properties: [{name: title,visible: true,width: 420},{name: category,visible: true},{name: impact,visible: true},{name: likelihood,visible: true},{name: owner,visible: true}]}]

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.

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.

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.

States are in the risks contour.

The package Risks puts this page at /quality/risks.md.Source text