@radicaltools/cli 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-SBQRTX3Y.js → chunk-KLTSABHI.js} +1 -1
- package/dist/{dist-LSHMW73I.js → dist-5LSJ4CQ3.js} +2 -2
- package/dist/hub-catalogue/concern/concern-accessibility.radical +85 -1
- package/dist/hub-catalogue/concern/concern-api-collections.radical +78 -1
- package/dist/hub-catalogue/concern/concern-api-errors.radical +78 -1
- package/dist/hub-catalogue/concern/concern-api-evolution.radical +78 -1
- package/dist/hub-catalogue/concern/concern-api-idempotency.radical +121 -3
- package/dist/hub-catalogue/concern/concern-api-resource-design.radical +78 -1
- package/dist/hub-catalogue/concern/concern-api-style-guide.radical +78 -1
- package/dist/hub-catalogue/concern/concern-architecture-style.radical +83 -7
- package/dist/hub-catalogue/concern/concern-audit-trail.radical +77 -1
- package/dist/hub-catalogue/concern/concern-authentication.radical +178 -8
- package/dist/hub-catalogue/concern/concern-authorization.radical +133 -7
- package/dist/hub-catalogue/concern/concern-availability.radical +156 -6
- package/dist/hub-catalogue/concern/concern-backend-stack.radical +71 -8
- package/dist/hub-catalogue/concern/concern-backup-recovery.radical +136 -6
- package/dist/hub-catalogue/concern/concern-caching.radical +73 -1
- package/dist/hub-catalogue/concern/concern-capacity.radical +124 -5
- package/dist/hub-catalogue/concern/concern-ci-cd-pipeline.radical +154 -15
- package/dist/hub-catalogue/concern/concern-code-documentation.radical +131 -13
- package/dist/hub-catalogue/concern/concern-code-quality-gate.radical +116 -7
- package/dist/hub-catalogue/concern/concern-code-review-branching.radical +174 -13
- package/dist/hub-catalogue/concern/concern-code-style.radical +148 -16
- package/dist/hub-catalogue/concern/concern-communication-style.radical +94 -7
- package/dist/hub-catalogue/concern/concern-data-classification.radical +77 -1
- package/dist/hub-catalogue/concern/concern-data-consistency.radical +87 -5
- package/dist/hub-catalogue/concern/concern-data-store.radical +87 -5
- package/dist/hub-catalogue/concern/concern-decomposition.radical +78 -1
- package/dist/hub-catalogue/concern/concern-definition-of-done.radical +150 -11
- package/dist/hub-catalogue/concern/concern-delivery-metrics.radical +130 -5
- package/dist/hub-catalogue/concern/concern-dependency-hygiene.radical +127 -10
- package/dist/hub-catalogue/concern/concern-deployment.radical +113 -9
- package/dist/hub-catalogue/concern/concern-encryption.radical +146 -5
- package/dist/hub-catalogue/concern/concern-error-handling-logging.radical +118 -12
- package/dist/hub-catalogue/concern/concern-eu-dora.radical +69 -1
- package/dist/hub-catalogue/concern/concern-frontend-stack.radical +148 -9
- package/dist/hub-catalogue/concern/concern-incident-management.radical +122 -1
- package/dist/hub-catalogue/concern/concern-infrastructure.radical +54 -1
- package/dist/hub-catalogue/concern/concern-integration-resilience.radical +110 -5
- package/dist/hub-catalogue/concern/concern-messaging.radical +89 -2
- package/dist/hub-catalogue/concern/concern-mobile-performance.radical +67 -1
- package/dist/hub-catalogue/concern/concern-module-boundaries.radical +92 -5
- package/dist/hub-catalogue/concern/concern-observability.radical +105 -1
- package/dist/hub-catalogue/concern/concern-operational-readiness.radical +140 -5
- package/dist/hub-catalogue/concern/concern-personal-data.radical +206 -7
- package/dist/hub-catalogue/concern/concern-quality-priorities.radical +104 -12
- package/dist/hub-catalogue/concern/concern-rate-limiting.radical +110 -1
- package/dist/hub-catalogue/concern/concern-release-versioning.radical +99 -7
- package/dist/hub-catalogue/concern/concern-retention.radical +130 -9
- package/dist/hub-catalogue/concern/concern-secrets.radical +196 -12
- package/dist/hub-catalogue/concern/concern-secure-coding.radical +122 -1
- package/dist/hub-catalogue/concern/concern-secure-development.radical +118 -1
- package/dist/hub-catalogue/concern/concern-security-detection.radical +124 -1
- package/dist/hub-catalogue/concern/concern-supply-chain.radical +116 -1
- package/dist/hub-catalogue/concern/concern-technical-debt.radical +162 -19
- package/dist/hub-catalogue/concern/concern-technology-lifecycle.radical +152 -18
- package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +111 -1
- package/dist/hub-catalogue/concern/concern-test-strategy.radical +83 -7
- package/dist/hub-catalogue/concern/concern-threat-modelling.radical +120 -1
- package/dist/hub-catalogue/concern/concern-usability.radical +84 -5
- package/dist/index.js +68 -18
- package/dist/{pdfjs-WWNLOMK2.js → pdfjs-NDGKK4BL.js} +1 -1
- package/dist/{undici-53QU2XSN.js → undici-BOSAZUPY.js} +1 -1
- package/package.json +1 -1
|
@@ -17,7 +17,84 @@
|
|
|
17
17
|
"id": "quality-priorities",
|
|
18
18
|
"trigger": "LIST NODES WHERE type = \"system\" AND external != true",
|
|
19
19
|
"why": "this system has several quality goals that pull against each other, so which one gives way in a conflict has to be decided before the conflict comes.",
|
|
20
|
-
"group": "architecture"
|
|
20
|
+
"group": "architecture",
|
|
21
|
+
"scope": {
|
|
22
|
+
"group": "architecture",
|
|
23
|
+
"questions": [
|
|
24
|
+
{
|
|
25
|
+
"key": "TEAMS",
|
|
26
|
+
"label": "How many teams build it?",
|
|
27
|
+
"default": "one",
|
|
28
|
+
"hint": "Several teams need the system cut into parts each can own and change alone.",
|
|
29
|
+
"options": [
|
|
30
|
+
{
|
|
31
|
+
"value": "one",
|
|
32
|
+
"label": "one team or fewer",
|
|
33
|
+
"description": "One person or one team builds all of it."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"value": "several",
|
|
37
|
+
"label": "several teams",
|
|
38
|
+
"description": "Several teams each own parts of it."
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"key": "SCALE",
|
|
44
|
+
"label": "How large is it?",
|
|
45
|
+
"default": "small",
|
|
46
|
+
"hint": "Caches, queues and split services pay for themselves only at some scale.",
|
|
47
|
+
"options": [
|
|
48
|
+
{
|
|
49
|
+
"value": "small",
|
|
50
|
+
"label": "small",
|
|
51
|
+
"description": "One site or one team's users; up to some thousands of users or requests a day."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"value": "medium",
|
|
55
|
+
"label": "medium",
|
|
56
|
+
"description": "Several sites or a region; tens of thousands of users a day, or peaks it must be sized for."
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"value": "large",
|
|
60
|
+
"label": "large",
|
|
61
|
+
"description": "Hundreds of thousands of users or more, several regions, load that scales out and back."
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"key": "INTEGRATIONS",
|
|
67
|
+
"label": "How many other systems does it depend on?",
|
|
68
|
+
"default": "few",
|
|
69
|
+
"hint": "Every system it calls can be slow or down; many of them need resilience patterns.",
|
|
70
|
+
"options": [
|
|
71
|
+
{
|
|
72
|
+
"value": "few",
|
|
73
|
+
"label": "a few",
|
|
74
|
+
"description": "Up to two or three external systems (a payment provider, an e-mail service)."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"value": "many",
|
|
78
|
+
"label": "many",
|
|
79
|
+
"description": "Many external or internal systems it calls or exchanges data with."
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"when": [
|
|
85
|
+
{
|
|
86
|
+
"SCALE": [
|
|
87
|
+
"medium",
|
|
88
|
+
"large"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"TEAMS": [
|
|
93
|
+
"several"
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
21
98
|
},
|
|
22
99
|
"sources": [
|
|
23
100
|
{
|
|
@@ -102,7 +179,12 @@
|
|
|
102
179
|
"label": "a ranking of the characteristics only",
|
|
103
180
|
"description": "Only the order of the characteristics, each of the top three pointing to the requirement that holds its number; no scenarios. Pick it for a small system or a first step, knowing that it says which quality wins, not by how much."
|
|
104
181
|
}
|
|
105
|
-
]
|
|
182
|
+
],
|
|
183
|
+
"scopeWhen": {
|
|
184
|
+
"TEAMS": [
|
|
185
|
+
"several"
|
|
186
|
+
]
|
|
187
|
+
}
|
|
106
188
|
},
|
|
107
189
|
{
|
|
108
190
|
"key": "TRADEOFFS",
|
|
@@ -121,7 +203,12 @@
|
|
|
121
203
|
"label": "no trade-off line in the ADRs",
|
|
122
204
|
"description": "ADRs describe their consequences in prose and nothing compares them with the ranking. Pick it only while ADRs are few and one architect writes them all."
|
|
123
205
|
}
|
|
124
|
-
]
|
|
206
|
+
],
|
|
207
|
+
"scopeWhen": {
|
|
208
|
+
"TEAMS": [
|
|
209
|
+
"several"
|
|
210
|
+
]
|
|
211
|
+
}
|
|
125
212
|
},
|
|
126
213
|
{
|
|
127
214
|
"key": "REVIEW",
|
|
@@ -140,7 +227,12 @@
|
|
|
140
227
|
"label": "at every major release",
|
|
141
228
|
"description": "A major release is refused unless the ranking was reviewed since the previous one. Pick it when the product ships major versions (a new major version is when priorities shift)."
|
|
142
229
|
}
|
|
143
|
-
]
|
|
230
|
+
],
|
|
231
|
+
"scopeWhen": {
|
|
232
|
+
"TEAMS": [
|
|
233
|
+
"several"
|
|
234
|
+
]
|
|
235
|
+
}
|
|
144
236
|
},
|
|
145
237
|
{
|
|
146
238
|
"key": "APPROVERS",
|
|
@@ -533,7 +625,7 @@
|
|
|
533
625
|
"status": "accepted",
|
|
534
626
|
"date": "",
|
|
535
627
|
"context": "This system has to meet several quality goals at once, and they pull against each other. The forces: every redundant zone, encryption hop, cache or abstraction buys one quality with another or with money; a conflict settled when it arrives, under a deadline, is settled by whoever is in the room; \"fast\", \"secure\" and \"easy to change\" mean different things to different people until they carry a number; a ranking agreed once drifts from the product as the market, the regulator and the load change; and a decision that quietly gives up a quality is found out only when that quality fails. The numbers themselves are set in the packs that own each quality (Availability, Capacity and scaling, Backup and recovery, Encryption in transit and at rest, Authentication, Delivery metrics and the others); this pack decides which of them gives way. Legal obligations (the Personal data pack, a regulator's rules) are constraints, not qualities to rank: no ranking lowers them.",
|
|
536
|
-
"decision": "Reliability leads. In the ranking of the system (quality/<system>/ranking.json, signed by {{APPROVERS}}) reliability, with faultlessness, availability, fault tolerance and recoverability (ISO/IEC 25010:2023), comes first; the other characteristics and cost follow in the order recorded there. When reliability conflicts with another quality, reliability wins: a feature, a latency gain or a saving that would put at risk the availability target of the Availability pack or the recovery objectives of the Backup and recovery pack waits until it no longer does, and redundancy, tested failover and backups that restore are paid for before optimisations.
|
|
628
|
+
"decision": "Reliability leads. In the ranking of the system (quality/<system>/ranking.json, signed by {{APPROVERS}}) reliability, with faultlessness, availability, fault tolerance and recoverability (ISO/IEC 25010:2023), comes first; the other characteristics and cost follow in the order recorded there. When reliability conflicts with another quality, reliability wins: a feature, a latency gain or a saving that would put at risk the availability target of the Availability pack or the recovery objectives of the Backup and recovery pack waits until it no longer does, and redundancy, tested failover and backups that restore are paid for before optimisations. ",
|
|
537
629
|
"consequences": "• Every conflict with reliability has a known answer, decided in minutes instead of argued in each design review.\n• More infrastructure per request (replicas in several zones, standby capacity) and slower delivery: changes pass more gates and roll out more carefully.\n• A feature that needs a weaker dependency waits until degradation or redundancy is built around it.\n• The other qualities still meet the numbers their own packs set; they give way only where both cannot be met.\n• Favours: reliability / At the cost of: maintainability, cost",
|
|
538
630
|
"alternatives": "1. Maintainability first: faster change and more operational risk; right while the product is still finding its market.\n2. Cost first: a smaller bill and outages the users have to accept.\n3. No ranking, each conflict on its merits: flexible on paper, and in practice decided by whoever is under the most pressure that day.",
|
|
539
631
|
"hubWhen": {
|
|
@@ -552,7 +644,7 @@
|
|
|
552
644
|
"status": "accepted",
|
|
553
645
|
"date": "",
|
|
554
646
|
"context": "This system has to meet several quality goals at once, and they pull against each other. The forces: every redundant zone, encryption hop, cache or abstraction buys one quality with another or with money; a conflict settled when it arrives, under a deadline, is settled by whoever is in the room; \"fast\", \"secure\" and \"easy to change\" mean different things to different people until they carry a number; a ranking agreed once drifts from the product as the market, the regulator and the load change; and a decision that quietly gives up a quality is found out only when that quality fails. The numbers themselves are set in the packs that own each quality (Availability, Capacity and scaling, Backup and recovery, Encryption in transit and at rest, Authentication, Delivery metrics and the others); this pack decides which of them gives way. Legal obligations (the Personal data pack, a regulator's rules) are constraints, not qualities to rank: no ranking lowers them.",
|
|
555
|
-
"decision": "Maintainability leads, for time to market. In the ranking of the system (quality/<system>/ranking.json, signed by {{APPROVERS}}) maintainability, with modularity, analysability and modifiability (ISO/IEC 25010:2023), comes first; the other characteristics and cost follow in the order recorded there. When maintainability conflicts with another quality, it wins: the simpler design that can be changed next week beats the faster or more redundant one, the team accepts a modest availability target in the Availability pack and more operational risk, and the speed this buys is measured by the lead time for changes of the Delivery metrics pack.
|
|
647
|
+
"decision": "Maintainability leads, for time to market. In the ranking of the system (quality/<system>/ranking.json, signed by {{APPROVERS}}) maintainability, with modularity, analysability and modifiability (ISO/IEC 25010:2023), comes first; the other characteristics and cost follow in the order recorded there. When maintainability conflicts with another quality, it wins: the simpler design that can be changed next week beats the faster or more redundant one, the team accepts a modest availability target in the Availability pack and more operational risk, and the speed this buys is measured by the lead time for changes of the Delivery metrics pack. ",
|
|
556
648
|
"consequences": "• Features reach users sooner, and the design stays easy to change while the product finds its market.\n• More incidents and slower pages than a reliability- or performance-led design would have; users notice.\n• The ranking has to change when the product matures, or the system keeps the risk profile of a prototype.\n• The other qualities still meet the numbers their own packs set; they give way only where both cannot be met.\n• Favours: maintainability / At the cost of: reliability, performance efficiency",
|
|
557
649
|
"alternatives": "1. Reliability first: fewer incidents, slower change.\n2. Performance efficiency first: faster responses, code that is harder to change.\n3. No ranking: the cost of each shortcut is argued again each time.",
|
|
558
650
|
"hubWhen": {
|
|
@@ -571,7 +663,7 @@
|
|
|
571
663
|
"status": "accepted",
|
|
572
664
|
"date": "",
|
|
573
665
|
"context": "This system has to meet several quality goals at once, and they pull against each other. The forces: every redundant zone, encryption hop, cache or abstraction buys one quality with another or with money; a conflict settled when it arrives, under a deadline, is settled by whoever is in the room; \"fast\", \"secure\" and \"easy to change\" mean different things to different people until they carry a number; a ranking agreed once drifts from the product as the market, the regulator and the load change; and a decision that quietly gives up a quality is found out only when that quality fails. The numbers themselves are set in the packs that own each quality (Availability, Capacity and scaling, Backup and recovery, Encryption in transit and at rest, Authentication, Delivery metrics and the others); this pack decides which of them gives way. Legal obligations (the Personal data pack, a regulator's rules) are constraints, not qualities to rank: no ranking lowers them.",
|
|
574
|
-
"decision": "Security leads. In the ranking of the system (quality/<system>/ranking.json, signed by {{APPROVERS}}) security, with confidentiality, integrity, non-repudiation, accountability, authenticity and resistance (ISO/IEC 25010:2023), comes first; the other characteristics and cost follow in the order recorded there. When security conflicts with another quality, security wins: an extra hop for encryption or an authorisation check is paid in latency, a second factor in convenience, a reviewed release in speed of change. The controls themselves are set in the Authentication, Authorization, Encryption in transit and at rest, Secrets and Data classification packs; this decision says that they win a conflict.
|
|
666
|
+
"decision": "Security leads. In the ranking of the system (quality/<system>/ranking.json, signed by {{APPROVERS}}) security, with confidentiality, integrity, non-repudiation, accountability, authenticity and resistance (ISO/IEC 25010:2023), comes first; the other characteristics and cost follow in the order recorded there. When security conflicts with another quality, security wins: an extra hop for encryption or an authorisation check is paid in latency, a second factor in convenience, a reviewed release in speed of change. The controls themselves are set in the Authentication, Authorization, Encryption in transit and at rest, Secrets and Data classification packs; this decision says that they win a conflict. ",
|
|
575
667
|
"consequences": "• A proposal that weakens a control for speed or convenience has a known answer: no, unless the signers approve an exception.\n• Slower responses, more steps for users and slower delivery than an unconstrained design.\n• Security work is planned capacity, not what is left over after features.\n• The other qualities still meet the numbers their own packs set; they give way only where both cannot be met.\n• Favours: security / At the cost of: interaction capability, performance efficiency, maintainability",
|
|
576
668
|
"alternatives": "1. Reliability first, with security held at the floor its packs set: right when the data is not regulated.\n2. Treating security as a constraint only: the floor is met, and every conflict above it is lost to features.",
|
|
577
669
|
"hubWhen": {
|
|
@@ -590,7 +682,7 @@
|
|
|
590
682
|
"status": "accepted",
|
|
591
683
|
"date": "",
|
|
592
684
|
"context": "This system has to meet several quality goals at once, and they pull against each other. The forces: every redundant zone, encryption hop, cache or abstraction buys one quality with another or with money; a conflict settled when it arrives, under a deadline, is settled by whoever is in the room; \"fast\", \"secure\" and \"easy to change\" mean different things to different people until they carry a number; a ranking agreed once drifts from the product as the market, the regulator and the load change; and a decision that quietly gives up a quality is found out only when that quality fails. The numbers themselves are set in the packs that own each quality (Availability, Capacity and scaling, Backup and recovery, Encryption in transit and at rest, Authentication, Delivery metrics and the others); this pack decides which of them gives way. Legal obligations (the Personal data pack, a regulator's rules) are constraints, not qualities to rank: no ranking lowers them.",
|
|
593
|
-
"decision": "Performance efficiency leads. In the ranking of the system (quality/<system>/ranking.json, signed by {{APPROVERS}}) performance efficiency, with time behaviour, resource utilisation and capacity (ISO/IEC 25010:2023), comes first; the other characteristics and cost follow in the order recorded there. When it conflicts with another quality, it wins: caches, precomputed and denormalised read models and hand-tuned queries are accepted although they make the code harder to change, and headroom is bought before the latency budget is spent. The latency and throughput numbers are set in the Capacity and scaling pack, the shape of read models in the Architecture style pack.
|
|
685
|
+
"decision": "Performance efficiency leads. In the ranking of the system (quality/<system>/ranking.json, signed by {{APPROVERS}}) performance efficiency, with time behaviour, resource utilisation and capacity (ISO/IEC 25010:2023), comes first; the other characteristics and cost follow in the order recorded there. When it conflicts with another quality, it wins: caches, precomputed and denormalised read models and hand-tuned queries are accepted although they make the code harder to change, and headroom is bought before the latency budget is spent. The latency and throughput numbers are set in the Capacity and scaling pack, the shape of read models in the Architecture style pack. ",
|
|
594
686
|
"consequences": "• Latency and throughput are protected in every design review, so the product stays fast as it grows.\n• More hardware and more complex code: caches to invalidate, read models to rebuild, optimisations to keep.\n• Changes take longer, because each one is measured against the latency budget before it is merged.\n• The other qualities still meet the numbers their own packs set; they give way only where both cannot be met.\n• Favours: performance efficiency / At the cost of: maintainability, flexibility, cost",
|
|
595
687
|
"alternatives": "1. Maintainability first, with performance held at the numbers of the Capacity and scaling pack: right when speed is not what users pay for.\n2. Cost first: smaller machines and slower answers.",
|
|
596
688
|
"hubWhen": {
|
|
@@ -609,7 +701,7 @@
|
|
|
609
701
|
"status": "accepted",
|
|
610
702
|
"date": "",
|
|
611
703
|
"context": "This system has to meet several quality goals at once, and they pull against each other. The forces: every redundant zone, encryption hop, cache or abstraction buys one quality with another or with money; a conflict settled when it arrives, under a deadline, is settled by whoever is in the room; \"fast\", \"secure\" and \"easy to change\" mean different things to different people until they carry a number; a ranking agreed once drifts from the product as the market, the regulator and the load change; and a decision that quietly gives up a quality is found out only when that quality fails. The numbers themselves are set in the packs that own each quality (Availability, Capacity and scaling, Backup and recovery, Encryption in transit and at rest, Authentication, Delivery metrics and the others); this pack decides which of them gives way. Legal obligations (the Personal data pack, a regulator's rules) are constraints, not qualities to rank: no ranking lowers them.",
|
|
612
|
-
"decision": "Cost leads. ISO/IEC 25010:2023 has no cost characteristic, so the ranking of the system (quality/<system>/ranking.json, signed by {{APPROVERS}}) puts cost first as a business driver, followed by the nine characteristics in the order recorded there. When cost conflicts with another quality, the cheaper option wins as long as that quality still meets the number its own pack sets: the lowest availability target users accept (Availability pack), a small fixed fleet or scale to zero (Capacity and scaling pack), and managed services only where they are cheaper at the expected load. The cost-centre tags of the Infrastructure pack make the bill per system visible.
|
|
704
|
+
"decision": "Cost leads. ISO/IEC 25010:2023 has no cost characteristic, so the ranking of the system (quality/<system>/ranking.json, signed by {{APPROVERS}}) puts cost first as a business driver, followed by the nine characteristics in the order recorded there. When cost conflicts with another quality, the cheaper option wins as long as that quality still meets the number its own pack sets: the lowest availability target users accept (Availability pack), a small fixed fleet or scale to zero (Capacity and scaling pack), and managed services only where they are cheaper at the expected load. The cost-centre tags of the Infrastructure pack make the bill per system visible. ",
|
|
613
705
|
"consequences": "• A smaller bill, and every proposal that adds running cost has to show what it buys.\n• Lower availability and slower responses than the users might like; the numbers in the other packs are set at the floor.\n• Savings found later (reserved capacity, smaller instances) are easy to take; quality lost to them is harder to win back.\n• Favours: cost / At the cost of: reliability, performance efficiency",
|
|
614
706
|
"alternatives": "1. Reliability first: a higher bill and fewer outages.\n2. Leaving cost out of the ranking: the bill grows one well-argued decision at a time.",
|
|
615
707
|
"hubWhen": {
|
|
@@ -628,7 +720,7 @@
|
|
|
628
720
|
"status": "accepted",
|
|
629
721
|
"date": "",
|
|
630
722
|
"context": "This system has to meet several quality goals at once, and they pull against each other. The forces: every redundant zone, encryption hop, cache or abstraction buys one quality with another or with money; a conflict settled when it arrives, under a deadline, is settled by whoever is in the room; \"fast\", \"secure\" and \"easy to change\" mean different things to different people until they carry a number; a ranking agreed once drifts from the product as the market, the regulator and the load change; and a decision that quietly gives up a quality is found out only when that quality fails. The numbers themselves are set in the packs that own each quality (Availability, Capacity and scaling, Backup and recovery, Encryption in transit and at rest, Authentication, Delivery metrics and the others); this pack decides which of them gives way. Legal obligations (the Personal data pack, a regulator's rules) are constraints, not qualities to rank: no ranking lowers them.",
|
|
631
|
-
"decision": "The quality goals are made concrete with an ATAM-style utility tree (CMU/SEI-2000-TR-004, step 5): in a workshop with {{APPROVERS}} and the architects, each characteristic of the ranking is refined into concerns and those into quality attribute scenarios, each rated H, M or L for importance to the system and for risk to achieve. Each leaf becomes a requirement of the architecture model in the six parts of Bass, Clements and Kazman (source, stimulus, environment, artifact, response, response measure), at least {{LEAD_SCENARIOS}} of them for {{LEAD}}; the tree is kept in quality/<system>/utility-tree.yaml and names its leaves by the requirements' labels. The (H,H) leaves are the first the architecture is evaluated against and the first to get tests. The workshop is repeated at each review of the ranking.",
|
|
723
|
+
"decision": "The quality goals are made concrete with an ATAM-style utility tree (CMU/SEI-2000-TR-004, step 5): in a workshop with {{APPROVERS}} and the architects, each characteristic of the ranking is refined into concerns and those into quality attribute scenarios, each rated H, M or L for importance to the system and for risk to achieve. Each leaf becomes a requirement of the architecture model in the six parts of Bass, Clements and Kazman (source, stimulus, environment, artifact, response, response measure), at least {{LEAD_SCENARIOS}} of them for {{LEAD}}; the tree is kept in quality/<system>/utility-tree.yaml and names its leaves by the requirements' labels. The (H,H) leaves are the first the architecture is evaluated against and the first to get tests. The workshop is repeated at each review of the ranking. Trade-offs: {{TRADEOFFS}}.",
|
|
632
724
|
"consequences": "• Stakeholders rank concrete scenarios instead of words, and often find qualities they had not named.\n• Half a day to two days of the signers' time at each review.\n• The tree, the requirements and the ranking are three records to keep in step; the checks hold them together.\n• Favours: none / At the cost of: none",
|
|
633
725
|
"alternatives": "1. Scenarios written by the architects and reviewed: cheaper, with less agreement from the people who pay.\n2. A ranking only: settles which quality wins, not by how much.\n3. A full ATAM evaluation by an outside team: all nine steps with risk and trade-off analysis, worth it before a large commitment that cannot be undone.",
|
|
634
726
|
"hubWhen": {
|
|
@@ -647,7 +739,7 @@
|
|
|
647
739
|
"status": "accepted",
|
|
648
740
|
"date": "",
|
|
649
741
|
"context": "This system has to meet several quality goals at once, and they pull against each other. The forces: every redundant zone, encryption hop, cache or abstraction buys one quality with another or with money; a conflict settled when it arrives, under a deadline, is settled by whoever is in the room; \"fast\", \"secure\" and \"easy to change\" mean different things to different people until they carry a number; a ranking agreed once drifts from the product as the market, the regulator and the load change; and a decision that quietly gives up a quality is found out only when that quality fails. The numbers themselves are set in the packs that own each quality (Availability, Capacity and scaling, Backup and recovery, Encryption in transit and at rest, Authentication, Delivery metrics and the others); this pack decides which of them gives way. Legal obligations (the Personal data pack, a regulator's rules) are constraints, not qualities to rank: no ranking lowers them.",
|
|
650
|
-
"decision": "The quality goals are made concrete as quality attribute scenarios written by the architects: each is a requirement of the architecture model in the six parts of Bass, Clements and Kazman (source, stimulus, environment, artifact, response, response measure), labelled with its characteristic, at least {{LEAD_SCENARIOS}} of them for {{LEAD}}; the architecture documentation lists them by characteristic (arc42 section 10). {{APPROVERS}} approve each new or changed scenario in the pull request that adds it. There is no workshop.",
|
|
742
|
+
"decision": "The quality goals are made concrete as quality attribute scenarios written by the architects: each is a requirement of the architecture model in the six parts of Bass, Clements and Kazman (source, stimulus, environment, artifact, response, response measure), labelled with its characteristic, at least {{LEAD_SCENARIOS}} of them for {{LEAD}}; the architecture documentation lists them by characteristic (arc42 section 10). {{APPROVERS}} approve each new or changed scenario in the pull request that adds it. There is no workshop. Trade-offs: {{TRADEOFFS}}.",
|
|
651
743
|
"consequences": "• Measurable goals at the cost of the architects' writing time and a review, not a meeting.\n• The scenarios reflect what the architects thought of; a quality nobody raised can stay missing until a workshop or an incident finds it.\n• Each scenario is a requirement, so it can be verified by a test like any other.\n• Favours: none / At the cost of: none",
|
|
652
744
|
"alternatives": "1. An ATAM utility tree from a workshop: more agreement and better coverage, at the cost of the stakeholders' time.\n2. A ranking only: no numbers of its own, and no way to tell whether a goal is met.",
|
|
653
745
|
"hubWhen": {
|
|
@@ -666,7 +758,7 @@
|
|
|
666
758
|
"status": "accepted",
|
|
667
759
|
"date": "",
|
|
668
760
|
"context": "This system has to meet several quality goals at once, and they pull against each other. The forces: every redundant zone, encryption hop, cache or abstraction buys one quality with another or with money; a conflict settled when it arrives, under a deadline, is settled by whoever is in the room; \"fast\", \"secure\" and \"easy to change\" mean different things to different people until they carry a number; a ranking agreed once drifts from the product as the market, the regulator and the load change; and a decision that quietly gives up a quality is found out only when that quality fails. The numbers themselves are set in the packs that own each quality (Availability, Capacity and scaling, Backup and recovery, Encryption in transit and at rest, Authentication, Delivery metrics and the others); this pack decides which of them gives way. Legal obligations (the Personal data pack, a regulator's rules) are constraints, not qualities to rank: no ranking lowers them.",
|
|
669
|
-
"decision": "The characteristics are ranked and nothing more: this pack adds no scenarios. In the ranking file, each of the three highest-ranked characteristics points to the requirement of the architecture model that holds its number, set by the pack that owns that quality. The limits are recorded here: a ranking says which quality wins a conflict, not by how much; two neighbours in the ranking are decided as if one were far above the other; and nothing checks that the numbers of the other packs fit the order. The first conflict the ranking cannot settle supersedes this decision with scenarios or a utility tree.",
|
|
761
|
+
"decision": "The characteristics are ranked and nothing more: this pack adds no scenarios. In the ranking file, each of the three highest-ranked characteristics points to the requirement of the architecture model that holds its number, set by the pack that owns that quality. The limits are recorded here: a ranking says which quality wins a conflict, not by how much; two neighbours in the ranking are decided as if one were far above the other; and nothing checks that the numbers of the other packs fit the order. The first conflict the ranking cannot settle supersedes this decision with scenarios or a utility tree. Trade-offs: {{TRADEOFFS}}.",
|
|
670
762
|
"consequences": "• Cheap to set up: one file, signed.\n• Conflicts between neighbouring qualities are decided by their order alone, which can be wrong when the higher one is already well met.\n• Below the top three, nothing ties a quality to a number.\n• Favours: none / At the cost of: none",
|
|
671
763
|
"alternatives": "1. Quality attribute scenarios written by the architects: numbers for every quality that matters.\n2. An ATAM utility tree: numbers, weights and the stakeholders' agreement.",
|
|
672
764
|
"hubWhen": {
|
|
@@ -18,7 +18,116 @@
|
|
|
18
18
|
"trigger": "LIST RELATIONS WHERE (source.type = \"person\" OR source.external = true) AND target.external != true AND (target.type = \"system\" OR target.type = \"container\" OR target.type = \"webapp\" OR target.type = \"component\")",
|
|
19
19
|
"applyTo": "target",
|
|
20
20
|
"why": "these elements take requests from outside, so how much one caller may ask, and what stops abuse, has to be decided.",
|
|
21
|
-
"group": "security"
|
|
21
|
+
"group": "security",
|
|
22
|
+
"scope": {
|
|
23
|
+
"group": "security",
|
|
24
|
+
"questions": [
|
|
25
|
+
{
|
|
26
|
+
"key": "EXPOSURE",
|
|
27
|
+
"label": "Who can reach it?",
|
|
28
|
+
"default": "customers",
|
|
29
|
+
"hint": "The more strangers can reach it, the more attacks it meets that need no inside knowledge (Microsoft SDL asks this first).",
|
|
30
|
+
"options": [
|
|
31
|
+
{
|
|
32
|
+
"value": "staff",
|
|
33
|
+
"label": "only our own staff",
|
|
34
|
+
"description": "An internal system: everyone who reaches it works for the organisation that runs it, from its network or with its accounts."
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"value": "customers",
|
|
38
|
+
"label": "our customers and staff",
|
|
39
|
+
"description": "People who come to us for a service (to book, order, pay, look something up) and our staff; there is no open sign-up, community or API for strangers."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"value": "public",
|
|
43
|
+
"label": "anyone, at scale",
|
|
44
|
+
"description": "Open sign-up, a public API, content anyone can post, or so many users that bots and automated abuse come with them."
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"key": "DATA",
|
|
50
|
+
"label": "What would a leak of its data harm?",
|
|
51
|
+
"default": "ordinary",
|
|
52
|
+
"hint": "The most sensitive data it keeps decides (FIPS 199 confidentiality; GDPR Art. 9 for special categories).",
|
|
53
|
+
"options": [
|
|
54
|
+
{
|
|
55
|
+
"value": "none",
|
|
56
|
+
"label": "nothing: nothing private",
|
|
57
|
+
"description": "Public information only, and staff sign-in."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"value": "ordinary",
|
|
61
|
+
"label": "little: ordinary personal or business data",
|
|
62
|
+
"description": "Names, e-mail addresses, orders, ordinary business documents: a leak is unpleasant, not ruinous."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"value": "confidential",
|
|
66
|
+
"label": "a lot: confidential data",
|
|
67
|
+
"description": "Financial or account data, identity numbers, location, private messages, trade secrets or customer lists: a leak seriously harms people or the business."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"value": "special",
|
|
71
|
+
"label": "people deeply: special categories",
|
|
72
|
+
"description": "Health, biometrics, genetic data, religion, politics, sexual orientation, union membership, criminal records, or children's data (GDPR Art. 9 and 10)."
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"key": "TENANCY",
|
|
78
|
+
"label": "How many customer organisations does one running copy serve?",
|
|
79
|
+
"default": "one",
|
|
80
|
+
"hint": "Several organisations in one deployment means one missed filter shows one customer another's data (AWS SaaS Lens).",
|
|
81
|
+
"options": [
|
|
82
|
+
{
|
|
83
|
+
"value": "one",
|
|
84
|
+
"label": "one organisation",
|
|
85
|
+
"description": "It serves one organisation (a shop, a company, a public body), however many people use it."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"value": "shared",
|
|
89
|
+
"label": "several, sharing",
|
|
90
|
+
"description": "Several customer organisations (tenants) share the same deployment and data stores, kept apart by the software."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"value": "separate",
|
|
94
|
+
"label": "several, each its own",
|
|
95
|
+
"description": "Several customer organisations, each with its own database or its own copy of the system."
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"key": "CAPACITY",
|
|
101
|
+
"label": "Who looks after its IT and security?",
|
|
102
|
+
"default": "ig1",
|
|
103
|
+
"hint": "What an organisation can run decides how much security practice it can keep up (CIS Controls Implementation Groups 1 to 3).",
|
|
104
|
+
"options": [
|
|
105
|
+
{
|
|
106
|
+
"value": "ig1",
|
|
107
|
+
"label": "the people who build it",
|
|
108
|
+
"description": "A few people who build it; nobody works on IT or security full time (CIS IG1)."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"value": "ig2",
|
|
112
|
+
"label": "people who run IT",
|
|
113
|
+
"description": "There are people whose job includes running and protecting the infrastructure; several departments rely on it (CIS IG2)."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"value": "ig3",
|
|
117
|
+
"label": "security specialists",
|
|
118
|
+
"description": "A security team or specialists of their own (security operations, penetration testers), under regulators' eyes (CIS IG3)."
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"when": [
|
|
124
|
+
{
|
|
125
|
+
"EXPOSURE": [
|
|
126
|
+
"public"
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
22
131
|
},
|
|
23
132
|
"sources": [
|
|
24
133
|
{
|
|
@@ -19,7 +19,83 @@
|
|
|
19
19
|
"id": "release-versioning",
|
|
20
20
|
"trigger": "LIST NODES WHERE (type = \"container\" OR type = \"webapp\") AND external != true",
|
|
21
21
|
"why": "these elements are built and released, so how a release is numbered, described, approved and supported has to be decided.",
|
|
22
|
-
"group": "sdlc"
|
|
22
|
+
"group": "sdlc",
|
|
23
|
+
"scope": {
|
|
24
|
+
"group": "sdlc",
|
|
25
|
+
"questions": [
|
|
26
|
+
{
|
|
27
|
+
"key": "USE",
|
|
28
|
+
"label": "What is the software for?",
|
|
29
|
+
"default": "business",
|
|
30
|
+
"hint": "Software for one's own use can be built by hand; an organisation that runs or ships it needs a repeatable way to build, release and deploy.",
|
|
31
|
+
"options": [
|
|
32
|
+
{
|
|
33
|
+
"value": "personal",
|
|
34
|
+
"label": "our own or home use",
|
|
35
|
+
"description": "A hobby project or a tool for oneself or a household; nobody else depends on it."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"value": "business",
|
|
39
|
+
"label": "a system an organisation runs",
|
|
40
|
+
"description": "A company or public body runs it for its staff or customers (an internal tool, an online shop, a booking system)."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"value": "product",
|
|
44
|
+
"label": "a product we ship to others",
|
|
45
|
+
"description": "Software sold or handed to customers who install or run it themselves, or offered to many organisations."
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"key": "TEAM",
|
|
51
|
+
"label": "Who builds it?",
|
|
52
|
+
"default": "small",
|
|
53
|
+
"hint": "Review, a Definition of Done and delivery metrics need more than one or two people.",
|
|
54
|
+
"options": [
|
|
55
|
+
{
|
|
56
|
+
"value": "small",
|
|
57
|
+
"label": "one or two people",
|
|
58
|
+
"description": "One or two developers."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"value": "team",
|
|
62
|
+
"label": "a team",
|
|
63
|
+
"description": "A team of its own."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"value": "teams",
|
|
67
|
+
"label": "several teams",
|
|
68
|
+
"description": "Several teams contributing to it."
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"when": [
|
|
74
|
+
{
|
|
75
|
+
"USE": [
|
|
76
|
+
"product"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"TEAM": [
|
|
81
|
+
"team",
|
|
82
|
+
"teams"
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"scopeAnswers": [
|
|
88
|
+
{
|
|
89
|
+
"when": {
|
|
90
|
+
"TEAM": [
|
|
91
|
+
"small"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"answers": {
|
|
95
|
+
"SHOWN": "endpoint"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
]
|
|
23
99
|
},
|
|
24
100
|
"sources": [
|
|
25
101
|
{
|
|
@@ -126,7 +202,12 @@
|
|
|
126
202
|
"label": "notes generated from pull request labels",
|
|
127
203
|
"description": "Every pull request carries one release label (breaking-change, feature, deprecation, fix or internal) and GitHub generates the notes from the merged pull requests, grouped by label through .github/release.yml. Pick it when commit messages are free-form but every change goes through a pull request with a title worth reading."
|
|
128
204
|
}
|
|
129
|
-
]
|
|
205
|
+
],
|
|
206
|
+
"scopeWhen": {
|
|
207
|
+
"USE": [
|
|
208
|
+
"product"
|
|
209
|
+
]
|
|
210
|
+
}
|
|
130
211
|
},
|
|
131
212
|
{
|
|
132
213
|
"key": "SUPPORT",
|
|
@@ -145,7 +226,12 @@
|
|
|
145
226
|
"label": "security fixes for the newest release lines (LTS)",
|
|
146
227
|
"description": "The newest lines (two by default) get security fixes, cherry-picked from main onto a maintenance branch per line and released within days. Pick it when customers run the element themselves and cannot take a new line as fast as you ship one: on-premises installs, regulated environments, SDK users."
|
|
147
228
|
}
|
|
148
|
-
]
|
|
229
|
+
],
|
|
230
|
+
"scopeWhen": {
|
|
231
|
+
"USE": [
|
|
232
|
+
"product"
|
|
233
|
+
]
|
|
234
|
+
}
|
|
149
235
|
},
|
|
150
236
|
{
|
|
151
237
|
"key": "APPROVAL",
|
|
@@ -164,7 +250,13 @@
|
|
|
164
250
|
"label": "the release owner's approval of each release",
|
|
165
251
|
"description": "The job that publishes a release waits in a protected GitHub environment until a member of the release-owner team approves it; with release-please, merging its release pull request starts that job. Pick it with the Deployment pack's weekly release train, or when a person must read the notes before customers do."
|
|
166
252
|
}
|
|
167
|
-
]
|
|
253
|
+
],
|
|
254
|
+
"scopeWhen": {
|
|
255
|
+
"TEAM": [
|
|
256
|
+
"team",
|
|
257
|
+
"teams"
|
|
258
|
+
]
|
|
259
|
+
}
|
|
168
260
|
},
|
|
169
261
|
{
|
|
170
262
|
"key": "SHOWN",
|
|
@@ -809,7 +901,7 @@
|
|
|
809
901
|
"status": "accepted",
|
|
810
902
|
"date": "",
|
|
811
903
|
"context": "This element is released again and again, and each release is read by people who were not in the room: operators deciding whether to deploy it, customers deciding whether to upgrade, support asking which version a user runs. The forces: a version number is a promise, and one that says \"patch\" over a breaking change costs more trust than no number at all; numbers typed by hand drift, while numbers computed from the history are only as right as the history; notes generated from commits are complete but read like commits, notes written by hand read well but get forgotten; every older line kept in support multiplies the work of each security fix, while supporting only the latest line makes every user keep up; a person approving each release catches what no check describes but makes every release wait for that person; and a release whose tag can move after publication is not one anybody can rely on. Neighbouring packs own the rest: the commit message format and the branching model are decided in the Code review and branching pack, release cadence, rollout and rollback in the Deployment pack, how an API names and retires its versions in the API evolution pack, signing, provenance and SBOMs of what is released in the Software supply chain pack, and how dependencies are pinned in the Dependency hygiene pack.",
|
|
812
|
-
"decision": "Every release of the element is numbered by Semantic Versioning 2.0.0 and tagged vMAJOR.MINOR.PATCH on the commit it was built from. A breaking change to what users rely on (its API, configuration, data formats, command line or image contract) raises MAJOR, new functionality or a deprecation raises MINOR, a fix raises PATCH; while MAJOR is 0 a breaking change raises MINOR, and 1.0.0 is declared when the element is stable. The number is computed from the same categories the release notes are grouped by (commit types, changelog categories or pull request labels), never typed by hand, and a check compares the number with the notes on every release. Every release is a GitHub release, with immutable releases turned on for the repository, so a published tag never moves and a correction is always a new version. The running element answers GET /version with its version and commit. Where the running version is shown: {{SHOWN}}. GET /version answers in every case. Where the interface shows it, the footer of every page (or the About page) holds an element marked data-testid=\"app-version\" whose text gives the version and the first 7 characters of the commit and whose data-version and data-commit attributes hold both in full, filled from the same build values as GET /version, and a browser test after every deploy compares them with the build the deploy job deployed. Where responses and logs carry it too, every HTTP response has the headers App-Version and App-Commit (without the X- prefix RFC 6648 retired), and every log line the fields version and commit, set once in the logger's base fields at start; the rest of the line is shaped as the Error handling and logging conventions pack decides.
|
|
904
|
+
"decision": "Every release of the element is numbered by Semantic Versioning 2.0.0 and tagged vMAJOR.MINOR.PATCH on the commit it was built from. A breaking change to what users rely on (its API, configuration, data formats, command line or image contract) raises MAJOR, new functionality or a deprecation raises MINOR, a fix raises PATCH; while MAJOR is 0 a breaking change raises MINOR, and 1.0.0 is declared when the element is stable. The number is computed from the same categories the release notes are grouped by (commit types, changelog categories or pull request labels), never typed by hand, and a check compares the number with the notes on every release. Every release is a GitHub release, with immutable releases turned on for the repository, so a published tag never moves and a correction is always a new version. The running element answers GET /version with its version and commit. Where the running version is shown: {{SHOWN}}. GET /version answers in every case. Where the interface shows it, the footer of every page (or the About page) holds an element marked data-testid=\"app-version\" whose text gives the version and the first 7 characters of the commit and whose data-version and data-commit attributes hold both in full, filled from the same build values as GET /version, and a browser test after every deploy compares them with the build the deploy job deployed. Where responses and logs carry it too, every HTTP response has the headers App-Version and App-Commit (without the X- prefix RFC 6648 retired), and every log line the fields version and commit, set once in the logger's base fields at start; the rest of the line is shaped as the Error handling and logging conventions pack decides. A breaking change to an API the element serves is also a MAJOR release here; how that API names its own versions is decided in the API evolution pack.",
|
|
813
905
|
"consequences": "• Users and their tools (Renovate, Dependabot, version ranges) can tell from the number alone whether an upgrade may break them.\n• Someone decides what counts as breaking: the categories put that decision on each change, with its author, and a wrong category makes a wrong number.\n• Breaking changes become visible and expensive, which pushes towards additive changes and deprecations first.\n• Immutable releases forbid fixing a release in place: a bad release is followed by a new one, never replaced, and assets have to be attached to a draft before it is published.\n• A service that nobody pins gains little from the number beyond the order of its releases.",
|
|
814
906
|
"alternatives": "1. Calendar versions: they say how old a release is, not whether it breaks anything.\n2. A commit SHA per build: nothing to number, but nothing for an installer or a dependency bot to compare.\n3. Numbers chosen by hand at release time: where most teams start, and how a breaking change ends up in a patch release.",
|
|
815
907
|
"hubWhen": {
|
|
@@ -828,7 +920,7 @@
|
|
|
828
920
|
"status": "accepted",
|
|
829
921
|
"date": "",
|
|
830
922
|
"context": "This element is released again and again, and each release is read by people who were not in the room: operators deciding whether to deploy it, customers deciding whether to upgrade, support asking which version a user runs. The forces: a version number is a promise, and one that says \"patch\" over a breaking change costs more trust than no number at all; numbers typed by hand drift, while numbers computed from the history are only as right as the history; notes generated from commits are complete but read like commits, notes written by hand read well but get forgotten; every older line kept in support multiplies the work of each security fix, while supporting only the latest line makes every user keep up; a person approving each release catches what no check describes but makes every release wait for that person; and a release whose tag can move after publication is not one anybody can rely on. Neighbouring packs own the rest: the commit message format and the branching model are decided in the Code review and branching pack, release cadence, rollout and rollback in the Deployment pack, how an API names and retires its versions in the API evolution pack, signing, provenance and SBOMs of what is released in the Software supply chain pack, and how dependencies are pinned in the Dependency hygiene pack.",
|
|
831
|
-
"decision": "Every release of the element is numbered by calendar versioning as vYYYY.M.MICRO (CalVer) and tagged on the commit it was built from. YYYY.M is the UTC year and month in which the release line's first release is published, with no leading zero on the month, so the number stays valid for semantic-versioning tools; MICRO is 0 for that first release and counts the line's later releases. A release with new functionality, a deprecation or a breaking change starts a new line; a release with fixes only is the next MICRO of the newest line. The release workflow computes the tag from the date and the existing tags, since release-please and semantic-release compute semantic versions only. The notes carry a breaking-changes section whenever a release breaks something, because the number does not say so. Every release is a GitHub release, with immutable releases turned on for the repository, so a published tag never moves and a correction is always a new version. The running element answers GET /version with its version and commit. Where the running version is shown: {{SHOWN}}. GET /version answers in every case. Where the interface shows it, the footer of every page (or the About page) holds an element marked data-testid=\"app-version\" whose text gives the version and the first 7 characters of the commit and whose data-version and data-commit attributes hold both in full, filled from the same build values as GET /version, and a browser test after every deploy compares them with the build the deploy job deployed. Where responses and logs carry it too, every HTTP response has the headers App-Version and App-Commit (without the X- prefix RFC 6648 retired), and every log line the fields version and commit, set once in the logger's base fields at start; the rest of the line is shaped as the Error handling and logging conventions pack decides.
|
|
923
|
+
"decision": "Every release of the element is numbered by calendar versioning as vYYYY.M.MICRO (CalVer) and tagged on the commit it was built from. YYYY.M is the UTC year and month in which the release line's first release is published, with no leading zero on the month, so the number stays valid for semantic-versioning tools; MICRO is 0 for that first release and counts the line's later releases. A release with new functionality, a deprecation or a breaking change starts a new line; a release with fixes only is the next MICRO of the newest line. The release workflow computes the tag from the date and the existing tags, since release-please and semantic-release compute semantic versions only. The notes carry a breaking-changes section whenever a release breaks something, because the number does not say so. Every release is a GitHub release, with immutable releases turned on for the repository, so a published tag never moves and a correction is always a new version. The running element answers GET /version with its version and commit. Where the running version is shown: {{SHOWN}}. GET /version answers in every case. Where the interface shows it, the footer of every page (or the About page) holds an element marked data-testid=\"app-version\" whose text gives the version and the first 7 characters of the commit and whose data-version and data-commit attributes hold both in full, filled from the same build values as GET /version, and a browser test after every deploy compares them with the build the deploy job deployed. Where responses and logs carry it too, every HTTP response has the headers App-Version and App-Commit (without the X- prefix RFC 6648 retired), and every log line the fields version and commit, set once in the logger's base fields at start; the rest of the line is shaped as the Error handling and logging conventions pack decides.",
|
|
832
924
|
"consequences": "• Users and support see at a glance how old a release is and how far behind a customer runs.\n• The number says nothing about compatibility: breaking changes are read in the notes, and dependency bots treat every new line as an upgrade of unknown risk.\n• A fix to a line keeps the line's date (2026.10.3 may ship in December), which surprises people who read the number as a release date.\n• No standard release tool computes the number: the release workflow does, and a check holds it to the rule.\n• Immutable releases forbid fixing a release in place; a bad release is followed by a new one.",
|
|
833
925
|
"alternatives": "1. Semantic versions: they say whether an upgrade breaks, not how old a release is.\n2. A zero-padded month (YYYY.0M): sorts as text, but is not a valid semantic version, which strict tools such as Cargo and Go refuse (CalVer).\n3. The full date as the version (2026.10.29): no room for two releases a day or for a fix to a line.",
|
|
834
926
|
"hubWhen": {
|
|
@@ -847,7 +939,7 @@
|
|
|
847
939
|
"status": "accepted",
|
|
848
940
|
"date": "",
|
|
849
941
|
"context": "This element is released again and again, and each release is read by people who were not in the room: operators deciding whether to deploy it, customers deciding whether to upgrade, support asking which version a user runs. The forces: a version number is a promise, and one that says \"patch\" over a breaking change costs more trust than no number at all; numbers typed by hand drift, while numbers computed from the history are only as right as the history; notes generated from commits are complete but read like commits, notes written by hand read well but get forgotten; every older line kept in support multiplies the work of each security fix, while supporting only the latest line makes every user keep up; a person approving each release catches what no check describes but makes every release wait for that person; and a release whose tag can move after publication is not one anybody can rely on. Neighbouring packs own the rest: the commit message format and the branching model are decided in the Code review and branching pack, release cadence, rollout and rollback in the Deployment pack, how an API names and retires its versions in the API evolution pack, signing, provenance and SBOMs of what is released in the Software supply chain pack, and how dependencies are pinned in the Dependency hygiene pack. Here the team deploys the element itself, continuously, and nobody outside installs or pins it.",
|
|
850
|
-
"decision": "The element has no version numbers and no releases: every build is named by the full SHA of the commit it was built from. The image is tagged with that SHA, the deployment references it by that tag or by digest and never by a mutable tag such as latest, and every production deploy is recorded as a GitHub deployment of its SHA, so what changed between two deploys is GitHub's compare view of their SHAs. The running element answers GET /version with that SHA as its version and its commit.
|
|
942
|
+
"decision": "The element has no version numbers and no releases: every build is named by the full SHA of the commit it was built from. The image is tagged with that SHA, the deployment references it by that tag or by digest and never by a mutable tag such as latest, and every production deploy is recorded as a GitHub deployment of its SHA, so what changed between two deploys is GitHub's compare view of their SHAs. The running element answers GET /version with that SHA as its version and its commit. No release tool, changelog file or version tag is kept, and nothing older than the latest build is supported. When anyone outside the team starts to install or pin the element, or to be told about its releases, this decision is superseded by semantic or calendar versions.",
|
|
851
943
|
"consequences": "• Nothing to number, write or approve: the build id costs nothing and is never wrong.\n• What changed in a deploy is a list of pull requests in a compare view, readable by the team and nobody else.\n• Users and support cannot name a release in words; they quote a SHA or a date.\n• Only the latest build runs, so there is no older release to support or to fix.",
|
|
852
944
|
"alternatives": "1. Semantic versions with automatic releases: a number for every merge at the cost of a release tool, worth it once someone outside depends on the element.\n2. Calendar versions: a readable date per release, for products released on a calendar.\n3. The pipeline's run number as the version: readable, but tied to one CI system and to nothing in the source.",
|
|
853
945
|
"hubWhen": {
|