@radicaltools/cli 0.2.0 → 0.3.1

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.
Files changed (57) hide show
  1. package/README.md +353 -33
  2. package/dist/hub-catalogue/concern/concern-api-collections.radical +1136 -0
  3. package/dist/hub-catalogue/concern/concern-api-errors.radical +1180 -0
  4. package/dist/hub-catalogue/concern/concern-api-evolution.radical +1174 -0
  5. package/dist/hub-catalogue/concern/concern-api-idempotency.radical +1218 -0
  6. package/dist/hub-catalogue/concern/concern-api-resource-design.radical +1102 -0
  7. package/dist/hub-catalogue/concern/concern-api-style-guide.radical +1210 -0
  8. package/dist/hub-catalogue/concern/concern-architecture-style.radical +1268 -0
  9. package/dist/hub-catalogue/concern/concern-audit-trail.radical +1096 -0
  10. package/dist/hub-catalogue/concern/concern-authentication.radical +895 -0
  11. package/dist/hub-catalogue/concern/concern-authorization.radical +1686 -0
  12. package/dist/hub-catalogue/concern/concern-availability.radical +1028 -0
  13. package/dist/hub-catalogue/concern/concern-backend-stack.radical +1037 -0
  14. package/dist/hub-catalogue/concern/concern-backup-recovery.radical +1560 -0
  15. package/dist/hub-catalogue/concern/concern-caching.radical +1294 -0
  16. package/dist/hub-catalogue/concern/concern-capacity.radical +915 -0
  17. package/dist/hub-catalogue/concern/concern-code-documentation.radical +1397 -0
  18. package/dist/hub-catalogue/concern/concern-code-quality-gate.radical +1409 -0
  19. package/dist/hub-catalogue/concern/concern-code-review-branching.radical +1416 -0
  20. package/dist/hub-catalogue/concern/concern-code-style.radical +1058 -0
  21. package/dist/hub-catalogue/concern/concern-communication-style.radical +1508 -0
  22. package/dist/hub-catalogue/concern/concern-data-classification.radical +970 -0
  23. package/dist/hub-catalogue/concern/concern-data-consistency.radical +1112 -0
  24. package/dist/hub-catalogue/concern/concern-data-store.radical +1282 -0
  25. package/dist/hub-catalogue/concern/concern-decomposition.radical +1318 -0
  26. package/dist/hub-catalogue/concern/concern-definition-of-done.radical +1214 -0
  27. package/dist/hub-catalogue/concern/concern-delivery-metrics.radical +966 -0
  28. package/dist/hub-catalogue/concern/concern-dependency-hygiene.radical +1345 -0
  29. package/dist/hub-catalogue/concern/concern-deployment.radical +1203 -0
  30. package/dist/hub-catalogue/concern/concern-encryption.radical +1318 -0
  31. package/dist/hub-catalogue/concern/concern-error-handling-logging.radical +1197 -0
  32. package/dist/hub-catalogue/concern/concern-eu-dora.radical +1321 -0
  33. package/dist/hub-catalogue/concern/concern-frontend-stack.radical +1647 -0
  34. package/dist/hub-catalogue/concern/concern-incident-management.radical +1204 -0
  35. package/dist/hub-catalogue/concern/concern-infrastructure.radical +2183 -0
  36. package/dist/hub-catalogue/concern/concern-integration-resilience.radical +1116 -0
  37. package/dist/hub-catalogue/concern/concern-messaging.radical +973 -0
  38. package/dist/hub-catalogue/concern/concern-module-boundaries.radical +867 -0
  39. package/dist/hub-catalogue/concern/concern-observability.radical +997 -0
  40. package/dist/hub-catalogue/concern/concern-operational-readiness.radical +1249 -0
  41. package/dist/hub-catalogue/concern/concern-personal-data.radical +1949 -0
  42. package/dist/hub-catalogue/concern/concern-quality-priorities.radical +1091 -0
  43. package/dist/hub-catalogue/concern/concern-rate-limiting.radical +1445 -0
  44. package/dist/hub-catalogue/concern/concern-release-versioning.radical +1358 -0
  45. package/dist/hub-catalogue/concern/concern-retention.radical +1399 -0
  46. package/dist/hub-catalogue/concern/concern-secrets.radical +1284 -0
  47. package/dist/hub-catalogue/concern/concern-secure-coding.radical +1379 -0
  48. package/dist/hub-catalogue/concern/concern-secure-development.radical +1245 -0
  49. package/dist/hub-catalogue/concern/concern-security-detection.radical +1153 -0
  50. package/dist/hub-catalogue/concern/concern-supply-chain.radical +1386 -0
  51. package/dist/hub-catalogue/concern/concern-technical-debt.radical +1450 -0
  52. package/dist/hub-catalogue/concern/concern-technology-lifecycle.radical +1145 -0
  53. package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +1440 -0
  54. package/dist/hub-catalogue/concern/concern-test-strategy.radical +1212 -0
  55. package/dist/hub-catalogue/concern/concern-threat-modelling.radical +1143 -0
  56. package/dist/index.js +12712 -7144
  57. package/package.json +5 -3
@@ -0,0 +1,1145 @@
1
+ {
2
+ "hub": {
3
+ "id": "concern-technology-lifecycle",
4
+ "category": "concern",
5
+ "name": "Technology lifecycle",
6
+ "description": "How the organisation's technologies move through the radar rings (Adopt, Trial, Assess, Hold), who decides, and what Hold means for the systems that still use a technology. The radar is computed from the ADRs of the architecture model; the snippets are Node scripts and GitHub Actions steps over that folder.",
7
+ "tags": [
8
+ "technology",
9
+ "tech radar",
10
+ "technology lifecycle",
11
+ "governance",
12
+ "adr",
13
+ "deprecation"
14
+ ],
15
+ "requiredMetamodel": "c4-ddd-governance-builtin",
16
+ "concern": {
17
+ "id": "technology-lifecycle",
18
+ "trigger": "LIST NODES WHERE type = \"system\" AND external != true",
19
+ "why": "these systems are built on technologies the organisation chooses, tries and retires, so how a technology moves between rings and what Hold means for them has to be decided.",
20
+ "group": "technology"
21
+ },
22
+ "sources": [
23
+ {
24
+ "title": "Thoughtworks Technology Radar: FAQ (rings, quadrants, the Technology Advisory Board)",
25
+ "url": "https://www.thoughtworks.com/radar/faq"
26
+ },
27
+ {
28
+ "title": "Neal Ford: Build your own Technology Radar (Thoughtworks Insights)",
29
+ "url": "https://www.thoughtworks.com/insights/blog/build-your-own-technology-radar"
30
+ },
31
+ {
32
+ "title": "Thoughtworks: Build your own Radar",
33
+ "url": "https://www.thoughtworks.com/radar/byor"
34
+ },
35
+ {
36
+ "title": "thoughtworks/build-your-own-radar (source, CSV and JSON input format, Docker image)",
37
+ "url": "https://github.com/thoughtworks/build-your-own-radar"
38
+ },
39
+ {
40
+ "title": "Zalando Tech Radar (ring definitions and ring change proposals)",
41
+ "url": "https://opensource.zalando.com/tech-radar/"
42
+ },
43
+ {
44
+ "title": "Michael Nygard: Documenting Architecture Decisions",
45
+ "url": "https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions"
46
+ },
47
+ {
48
+ "title": "GitHub Docs: About code owners",
49
+ "url": "https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners"
50
+ }
51
+ ],
52
+ "templateParams": [
53
+ {
54
+ "key": "BOARD",
55
+ "title": "Ring moves",
56
+ "label": "Who moves a technology between rings?",
57
+ "hint": "A ring move changes what every team may pick next. This decides who weighs one team's choice against the others, and how fast a proposal is answered.",
58
+ "defaultValue": "rfc",
59
+ "options": [
60
+ {
61
+ "value": "board",
62
+ "label": "a technology board meeting on a cadence",
63
+ "description": "A small standing group of senior technologists decides every ring move at a meeting held every few months (every six by default), as the Thoughtworks Technology Advisory Board does for its radar; proposals wait for the next meeting. Pick it when several teams share technologies and someone has to weigh one team's choice against the others."
64
+ },
65
+ {
66
+ "value": "teams",
67
+ "label": "each team, for its own systems",
68
+ "description": "Each team moves the technologies of the systems it owns by changing its own ADRs; the organisation's radar is only their union, published for everyone, with the most recent ADR deciding where two disagree. Pick it for a few autonomous teams with little shared platform, where a central approval would only slow them down."
69
+ },
70
+ {
71
+ "value": "rfc",
72
+ "label": "a pull request to the radar, approved by named reviewers",
73
+ "description": "Anyone proposes a ring move as a pull request with its reasons; named reviewers approve it (two approvals by default), and it is answered within two weeks by default, much as Zalando's principal engineers vote on ring change proposals. Pick it when teams should propose freely but a few senior people still decide, without waiting for a meeting."
74
+ }
75
+ ]
76
+ },
77
+ {
78
+ "key": "HOLD",
79
+ "title": "Hold",
80
+ "label": "What does Hold mean for the systems that still use a technology?",
81
+ "hint": "Hold always means no new use. The question is whether the systems already on it must move off, and by when.",
82
+ "defaultValue": "migrate",
83
+ "options": [
84
+ {
85
+ "value": "migrate",
86
+ "label": "no new use, and existing use migrated by a deadline",
87
+ "description": "Nothing new may use it, and every system that still does has an open migration issue and a deadline (twelve months by default) by which the use is gone. Pick it when the reason for Hold is a risk that grows the longer it stays: an abandoned project, an ended vendor or licence, a security record."
88
+ },
89
+ {
90
+ "value": "freeze",
91
+ "label": "no new use, existing use kept",
92
+ "description": "Nothing new may use it; the systems that use it now keep it until they are rewritten or retired, and are listed so the list can only shrink. Pick it when the technology still works and is supported, and a forced migration would cost more than it saves."
93
+ }
94
+ ]
95
+ },
96
+ {
97
+ "key": "TRIAL",
98
+ "title": "Trial",
99
+ "label": "How does a technology enter Trial?",
100
+ "hint": "The ADR statuses cannot tell Trial from Assess, so Trial is set in the overrides file. Without an end, a trial becomes a second technology nobody chose.",
101
+ "defaultValue": "timebox",
102
+ "options": [
103
+ {
104
+ "value": "timebox",
105
+ "label": "a time-boxed trial in one system with written exit criteria",
106
+ "description": "A technology enters Trial in one named system, in production, with an owner, written exit criteria and a time box (three months by default); by its end the ADR is accepted, deprecated or superseded. Pick it by default: the trial produces evidence and a decision."
107
+ },
108
+ {
109
+ "value": "open",
110
+ "label": "any team's trial in its own systems",
111
+ "description": "Any team may try a technology in any of its systems; the trial is recorded with its systems, owner and start date, and the radar review asks for a decision, with no time box. Pick it when teams are few and experienced and a time box would only be paperwork."
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "key": "PUBLISH",
117
+ "title": "Publishing",
118
+ "label": "Where do people read the radar?",
119
+ "hint": "The radar is generated either way; this decides whether it is also shown as the familiar radar picture.",
120
+ "defaultValue": "file",
121
+ "options": [
122
+ {
123
+ "value": "byor",
124
+ "label": "a self-hosted Build Your Own Radar app",
125
+ "description": "Each change on the main branch builds an image of Thoughtworks' open-source Build Your Own Radar (AGPL-3.0, maintained) with the generated radar file inside, and people open the radar picture in the browser. Pick it when people outside the engineering teams read the radar, or it is shown at all-hands meetings and onboarding."
126
+ },
127
+ {
128
+ "value": "file",
129
+ "label": "the generated file in the repository",
130
+ "description": "The generated radar file is the radar: read in the repository and in the pull requests that change it, until Studio's radar view, which draws the same ADRs, arrives. Pick it when only engineers read the radar, or you would rather not run one more web app."
131
+ }
132
+ ]
133
+ },
134
+ {
135
+ "key": "REVIEW_MONTHS",
136
+ "label": "How often is the whole radar reviewed (months)?",
137
+ "defaultValue": "6",
138
+ "type": "number"
139
+ },
140
+ {
141
+ "key": "BOARD_MEMBERS",
142
+ "label": "Who sits on the technology board? (a technology board only)",
143
+ "defaultValue": "the principal engineers and one tech lead per product area"
144
+ },
145
+ {
146
+ "key": "RING_APPROVALS",
147
+ "label": "How many approvals from the listed approvers does a ring move need? (a board or pull requests to the radar)",
148
+ "defaultValue": "2",
149
+ "type": "number"
150
+ },
151
+ {
152
+ "key": "RFC_DAYS",
153
+ "label": "Within how many days is a pull request to the radar answered? (pull requests to the radar only)",
154
+ "defaultValue": "14",
155
+ "type": "number"
156
+ },
157
+ {
158
+ "key": "HOLD_MONTHS",
159
+ "label": "Within how many months is every use of a technology on Hold migrated? (migration by a deadline only)",
160
+ "defaultValue": "12",
161
+ "type": "number"
162
+ },
163
+ {
164
+ "key": "TRIAL_MONTHS",
165
+ "label": "How long may a trial run (months)? (a time-boxed trial only)",
166
+ "defaultValue": "3",
167
+ "type": "number"
168
+ }
169
+ ]
170
+ },
171
+ "nodes": [
172
+ {
173
+ "id": "need",
174
+ "type": "need",
175
+ "label": "Technologies move through the radar on purpose",
176
+ "x": 0,
177
+ "y": 0,
178
+ "kind": "brief",
179
+ "source": "Hub concern pack: Technology lifecycle",
180
+ "description": "Teams need to know which technologies to pick, which are being tried, and which to stay away from, and that answer has to come from the decisions the organisation has actually made, not from a slide that drifts from them. A technology should enter Trial with an owner and leave it with a decision, and Hold has to stop new use and say what happens to the old. The snippets assume the architecture model in architecture/ (ADRs as Markdown files with YAML front matter under architecture/nodes), radar/overrides.json beside it, the generated radar/radar.json, the scripts under scripts/, and GitHub with the gh CLI. A radar view in Studio, drawn from the same ADRs, is coming; until then the generated file is the radar."
181
+ },
182
+ {
183
+ "id": "req-radar-from-adrs",
184
+ "type": "requirement",
185
+ "label": "Radar derived from the ADRs",
186
+ "x": 260,
187
+ "y": 0,
188
+ "ears_type": "ubiquitous",
189
+ "action": "derive every entry of the radar from an ADR of the architecture model: its ring from the ADR's status (accepted: Adopt, proposed: Assess, deprecated: Hold, superseded: off the radar) unless the overrides file sets Trial, its quadrant from the ADR's pack, its name from the ADR's label or the technology name in the overrides, and the most recent ADR deciding where two name the same technology",
190
+ "rationale": "An ADR records a decision with its context and consequences when it is made (Nygard, Documenting Architecture Decisions); a radar drawn from those records cannot drift from them, while one kept by hand beside them says everything twice. The rings and quadrants are those of the Thoughtworks Technology Radar (FAQ)."
191
+ },
192
+ {
193
+ "id": "req-overrides-valid",
194
+ "type": "requirement",
195
+ "label": "Overrides name real ADRs",
196
+ "x": 260,
197
+ "y": 130,
198
+ "ears_type": "unwanted-behaviour",
199
+ "unwanted_condition": "an entry of radar/overrides.json names an ADR label that no ADR of the model carries, or a ring or quadrant outside the radar's four",
200
+ "action": "stop the radar's generation with an error naming the entry, and write no radar file",
201
+ "rationale": "The overrides name ADRs by label; an ADR renamed or removed would otherwise leave its Trial or Hold record behind without anyone noticing. Build Your Own Radar draws only four rings and four quadrants (build-your-own-radar README)."
202
+ },
203
+ {
204
+ "id": "req-radar-current",
205
+ "type": "requirement",
206
+ "label": "Committed radar matches the model",
207
+ "x": 260,
208
+ "y": 260,
209
+ "ears_type": "event-driven",
210
+ "trigger": "a pull request is opened or updated",
211
+ "action": "fail its checks unless the radar/radar.json it commits is exactly what scripts/radar.mjs generates from its architecture model and overrides",
212
+ "rationale": "A ring move is then visible in the pull request that makes it, as a changed line of the radar file next to the changed ADR status, and the radar people read is never older than the model."
213
+ },
214
+ {
215
+ "id": "req-review",
216
+ "type": "requirement",
217
+ "label": "Radar reviewed on a cadence",
218
+ "x": 260,
219
+ "y": 390,
220
+ "ears_type": "ubiquitous",
221
+ "action": "have the whole radar reviewed at least every {{REVIEW_MONTHS}} months, every entry kept, moved or removed, and the date of the review recorded as reviewed in radar/overrides.json",
222
+ "rationale": "Technology changes fast enough that a radar should be refreshed at least once a year, and twice is better (Ford, Build your own Technology Radar); the Thoughtworks radar itself is published twice a year (FAQ)."
223
+ },
224
+ {
225
+ "id": "req-ring-approval",
226
+ "type": "requirement",
227
+ "label": "Ring moves approved",
228
+ "x": 260,
229
+ "y": 520,
230
+ "ears_type": "event-driven",
231
+ "trigger": "a pull request moves a technology to another ring, onto the radar or off it",
232
+ "action": "label it radar and merge it only with at least {{RING_APPROVALS}} approvals from the approvers listed in radar/overrides.json on the main branch",
233
+ "rationale": "A ring move changes what every team may pick next, so it is decided by the people the organisation trusted with it: the Technology Advisory Board for the Thoughtworks radar (FAQ), the principal engineers voting on ring change proposals at Zalando (Zalando Tech Radar). Reading the approvers from the main branch keeps a pull request from approving itself.",
234
+ "hubWhen": {
235
+ "BOARD": [
236
+ "board",
237
+ "rfc"
238
+ ]
239
+ }
240
+ },
241
+ {
242
+ "id": "req-rfc-answered",
243
+ "type": "requirement",
244
+ "label": "Proposals answered in time",
245
+ "x": 260,
246
+ "y": 650,
247
+ "ears_type": "unwanted-behaviour",
248
+ "unwanted_condition": "a pull request labelled radar stays open for more than {{RFC_DAYS}} days",
249
+ "action": "fail the weekly radar check, naming the pull request, until it is merged or closed",
250
+ "rationale": "Ring change proposals are discussed and voted on (Zalando Tech Radar); a proposal nobody answers teaches teams to stop proposing and pick on their own.",
251
+ "hubWhen": {
252
+ "BOARD": [
253
+ "rfc"
254
+ ]
255
+ }
256
+ },
257
+ {
258
+ "id": "req-team-owned",
259
+ "type": "requirement",
260
+ "label": "Each ADR has an owning team",
261
+ "x": 260,
262
+ "y": 780,
263
+ "ears_type": "ubiquitous",
264
+ "action": "give every ADR file of the model, in CODEOWNERS, to the team that owns the systems it constrains, and require that team's review for any change to it on the main branch",
265
+ "rationale": "When each team moves the technologies of its own systems, the ownership has to be explicit, or anyone may move anyone's ring; code owners are requested for review automatically and can be required to approve (GitHub Docs, About code owners).",
266
+ "hubWhen": {
267
+ "BOARD": [
268
+ "teams"
269
+ ]
270
+ }
271
+ },
272
+ {
273
+ "id": "req-hold-no-new-use",
274
+ "type": "requirement",
275
+ "label": "No new use of a technology on Hold",
276
+ "x": 260,
277
+ "y": 910,
278
+ "ears_type": "unwanted-behaviour",
279
+ "unwanted_condition": "a package manifest, lockfile or container image file of the repository uses a package of a technology on Hold and is not among that technology's known uses in radar/overrides.json",
280
+ "action": "fail the pull request, naming the file, the package, the technology and what to use instead",
281
+ "rationale": "Hold means \"don't start anything new with this technology\" (Ford, Build your own Technology Radar), \"not recommended to be used for new projects\" (Zalando Tech Radar); without a check the next pull request adds it again."
282
+ },
283
+ {
284
+ "id": "req-hold-instead",
285
+ "type": "requirement",
286
+ "label": "Hold names its replacement",
287
+ "x": 260,
288
+ "y": 1040,
289
+ "ears_type": "ubiquitous",
290
+ "action": "name, for every technology on Hold, what to use in its place and the package names under which it appears in manifests, lockfiles and container images, in its entry of radar/overrides.json",
291
+ "rationale": "A Hold that says only no leaves every team to find its own way out; naming the successor, as a superseding ADR does (Nygard, Documenting Architecture Decisions), gives the migrations one direction, and the package names are what the no-new-use check looks for."
292
+ },
293
+ {
294
+ "id": "req-hold-migrated",
295
+ "type": "requirement",
296
+ "label": "Uses of Hold migrated by the deadline",
297
+ "x": 260,
298
+ "y": 1170,
299
+ "ears_type": "event-driven",
300
+ "trigger": "a technology moves to Hold",
301
+ "action": "record each of its known uses with an open migration issue, and remove every use within {{HOLD_MONTHS}} months of the date it moved to Hold",
302
+ "rationale": "A technology put on Hold for a risk stays a risk in every system that still runs it; an issue per use puts the migration on a backlog, and the deadline keeps it from losing to features in every sprint.",
303
+ "hubWhen": {
304
+ "HOLD": [
305
+ "migrate"
306
+ ]
307
+ }
308
+ },
309
+ {
310
+ "id": "req-trial-recorded",
311
+ "type": "requirement",
312
+ "label": "Trials recorded",
313
+ "x": 260,
314
+ "y": 1300,
315
+ "ears_type": "ubiquitous",
316
+ "action": "record every technology in Trial in radar/overrides.json with the systems trying it, an owner and the date the trial started, on an ADR whose status is still proposed",
317
+ "rationale": "The ADR statuses cannot tell Trial from Assess, so Trial is recorded beside them; a technology moves into Trial only once it is used in production somewhere (Thoughtworks Technology Radar FAQ), so the record names where."
318
+ },
319
+ {
320
+ "id": "req-trial-timebox",
321
+ "type": "requirement",
322
+ "label": "Trials end with a decision",
323
+ "x": 260,
324
+ "y": 1430,
325
+ "ears_type": "ubiquitous",
326
+ "action": "hold every trial to one system, written exit criteria and {{TRIAL_MONTHS}} months, and decide it by then: its ADR accepted, deprecated or superseded, and the Trial ring removed from the overrides",
327
+ "rationale": "Trial is for technologies ready for use but not yet proven (Thoughtworks Technology Radar FAQ); a time box and exit criteria written up front turn the trial into evidence for a decision instead of a second technology in production nobody chose.",
328
+ "hubWhen": {
329
+ "TRIAL": [
330
+ "timebox"
331
+ ]
332
+ }
333
+ },
334
+ {
335
+ "id": "req-published",
336
+ "type": "requirement",
337
+ "label": "Radar picture published",
338
+ "x": 260,
339
+ "y": 1560,
340
+ "ears_type": "event-driven",
341
+ "trigger": "a change to the architecture model or to radar/overrides.json reaches the main branch",
342
+ "action": "publish the regenerated radar as a new Build Your Own Radar image in the same pipeline run",
343
+ "rationale": "A radar is read by people who never open the repository; Build Your Own Radar draws one from a CSV or JSON file it serves itself (build-your-own-radar README; Thoughtworks, Build your own Radar).",
344
+ "hubWhen": {
345
+ "PUBLISH": [
346
+ "byor"
347
+ ]
348
+ }
349
+ },
350
+ {
351
+ "id": "sc-radar-from-adrs",
352
+ "type": "scenario",
353
+ "label": "Rings follow the statuses",
354
+ "x": 520,
355
+ "y": 0,
356
+ "given": "an accepted ADR of the Backend stack pack, a deprecated ADR of the Frontend stack pack and a superseded ADR of the Data store pack",
357
+ "when": "scripts/radar.mjs runs",
358
+ "then": "radar/radar.json holds the first in Adopt under Languages & Frameworks and the second in Hold, and does not hold the third"
359
+ },
360
+ {
361
+ "id": "sc-overrides-valid",
362
+ "type": "scenario",
363
+ "label": "Stale override refused",
364
+ "x": 520,
365
+ "y": 130,
366
+ "given": "radar/overrides.json with an entry for an ADR label the model no longer has",
367
+ "when": "scripts/radar.mjs runs",
368
+ "then": "it exits with an error naming the entry and radar/radar.json is not rewritten"
369
+ },
370
+ {
371
+ "id": "sc-radar-current",
372
+ "type": "scenario",
373
+ "label": "Stale radar fails the check",
374
+ "x": 520,
375
+ "y": 260,
376
+ "given": "a pull request that deprecates an ADR on the radar without regenerating radar/radar.json",
377
+ "when": "the radar workflow runs",
378
+ "then": "the check fails and names radar/radar.json"
379
+ },
380
+ {
381
+ "id": "sc-review",
382
+ "type": "scenario",
383
+ "label": "Overdue review fails",
384
+ "x": 520,
385
+ "y": 390,
386
+ "given": "radar/overrides.json whose reviewed date is more than {{REVIEW_MONTHS}} months old",
387
+ "when": "the weekly radar check runs",
388
+ "then": "it fails, naming the date of the last review and the date the next was due"
389
+ },
390
+ {
391
+ "id": "sc-ring-approval",
392
+ "type": "scenario",
393
+ "label": "Unapproved move blocked",
394
+ "x": 520,
395
+ "y": 520,
396
+ "given": "a pull request that changes an ADR from proposed to accepted",
397
+ "when": "it has one approval from a listed approver and one from someone else",
398
+ "then": "the approval check fails while fewer than {{RING_APPROVALS}} listed approvers have approved, and the pull request carries the label radar",
399
+ "hubWhen": {
400
+ "BOARD": [
401
+ "board",
402
+ "rfc"
403
+ ]
404
+ }
405
+ },
406
+ {
407
+ "id": "sc-rfc-answered",
408
+ "type": "scenario",
409
+ "label": "Forgotten proposal flagged",
410
+ "x": 520,
411
+ "y": 650,
412
+ "given": "a pull request labelled radar opened {{RFC_DAYS}} days and one hour ago",
413
+ "when": "the weekly radar check runs",
414
+ "then": "it fails and names the pull request",
415
+ "hubWhen": {
416
+ "BOARD": [
417
+ "rfc"
418
+ ]
419
+ }
420
+ },
421
+ {
422
+ "id": "sc-team-owned",
423
+ "type": "scenario",
424
+ "label": "Unowned ADR flagged",
425
+ "x": 520,
426
+ "y": 780,
427
+ "given": "an ADR file under architecture/nodes that no CODEOWNERS pattern matches",
428
+ "when": "the radar workflow runs",
429
+ "then": "it fails and names the file",
430
+ "hubWhen": {
431
+ "BOARD": [
432
+ "teams"
433
+ ]
434
+ }
435
+ },
436
+ {
437
+ "id": "sc-hold-no-new-use",
438
+ "type": "scenario",
439
+ "label": "New use refused",
440
+ "x": 520,
441
+ "y": 910,
442
+ "given": "a technology on Hold whose known uses list one manifest",
443
+ "when": "a pull request adds its package to another package.json",
444
+ "then": "the check fails naming that package.json, the package and the technology to use instead"
445
+ },
446
+ {
447
+ "id": "sc-hold-instead",
448
+ "type": "scenario",
449
+ "label": "Hold without a successor refused",
450
+ "x": 520,
451
+ "y": 1040,
452
+ "given": "an ADR deprecated today whose entry in radar/overrides.json names no packages or nothing to use instead",
453
+ "when": "the radar workflow runs",
454
+ "then": "it fails and names the technology"
455
+ },
456
+ {
457
+ "id": "sc-hold-migrated",
458
+ "type": "scenario",
459
+ "label": "Migration past its deadline",
460
+ "x": 520,
461
+ "y": 1170,
462
+ "given": "a technology on Hold since more than {{HOLD_MONTHS}} months ago with one known use left",
463
+ "when": "the weekly radar check runs",
464
+ "then": "it fails, naming the file, the technology and the deadline that passed",
465
+ "hubWhen": {
466
+ "HOLD": [
467
+ "migrate"
468
+ ]
469
+ }
470
+ },
471
+ {
472
+ "id": "sc-trial-recorded",
473
+ "type": "scenario",
474
+ "label": "Incomplete trial refused",
475
+ "x": 520,
476
+ "y": 1300,
477
+ "given": "an entry with \"ring\": \"Trial\" but no owner, and another on an ADR already accepted",
478
+ "when": "the radar workflow runs",
479
+ "then": "it fails and names both technologies"
480
+ },
481
+ {
482
+ "id": "sc-trial-timebox",
483
+ "type": "scenario",
484
+ "label": "Overdue trial flagged",
485
+ "x": 520,
486
+ "y": 1430,
487
+ "given": "a trial that started {{TRIAL_MONTHS}} months and one day ago on an ADR still proposed",
488
+ "when": "the weekly radar check runs",
489
+ "then": "it fails, naming the technology and the day its time box ended",
490
+ "hubWhen": {
491
+ "TRIAL": [
492
+ "timebox"
493
+ ]
494
+ }
495
+ },
496
+ {
497
+ "id": "sc-published",
498
+ "type": "scenario",
499
+ "label": "Merge publishes the radar",
500
+ "x": 520,
501
+ "y": 1560,
502
+ "given": "a pull request that accepts an ADR on the radar",
503
+ "when": "it is merged",
504
+ "then": "the publish job pushes an image tagged with the merge commit whose files/radar.json shows the technology in Adopt",
505
+ "hubWhen": {
506
+ "PUBLISH": [
507
+ "byor"
508
+ ]
509
+ }
510
+ },
511
+ {
512
+ "id": "adr-board",
513
+ "type": "adr",
514
+ "label": "A technology board moves technologies between rings",
515
+ "x": 780,
516
+ "y": 0,
517
+ "concern": "technology-lifecycle",
518
+ "status": "accepted",
519
+ "date": "",
520
+ "context": "The organisation builds on many technologies, and each was chosen in an ADR of one system or another; a tech radar puts them in rings (Adopt, Trial, Assess, Hold) so that the next team knows what is safe to pick, what is being tried, and what to stay away from. The forces: a radar kept by hand next to the ADRs says the same thing twice and drifts from them within months; a ring move decided by nobody in particular is not believed, and one decided by a committee that seldom meets is not waited for; Trial without an end becomes a second technology nobody chose; Hold without a check is a wish, because the next pull request adds the library again; and a migration off a technology on Hold competes with features for every sprint. The ADR statuses already say most of it: accepted is Adopt, proposed is Assess, deprecated is Hold, superseded is off the radar. Which version of a chosen runtime, framework or engine is still supported, and when it is upgraded, is decided in the Backend stack, Frontend stack, Data store and Infrastructure packs; dependency updates in the Dependency hygiene pack; known vulnerabilities and provenance in the Software supply chain pack.",
521
+ "decision": "The radar is drawn from the ADRs of the architecture model, not kept beside them: an ADR whose concern is a Tech Radar pack (Backend stack, Frontend stack, Data store, Infrastructure), or one that radar/overrides.json gives a technology name, is one entry. Its ring comes from its status (accepted: Adopt, proposed: Assess, deprecated: Hold; superseded: off the radar, its successor is on it), its quadrant from its pack (the two stacks: Languages & Frameworks; data store and infrastructure: Platforms; a tool named from another pack: Tools unless the overrides say otherwise), and its name from its label. Where two ADRs name one technology, the most recent decides. radar/overrides.json, a small file in the repository that names ADRs by label, holds what the statuses cannot say: Trial, a short technology name, the package names of a technology, its known uses once on Hold, the approvers and the date of the last review. scripts/radar.mjs writes radar/radar.json from both on every pull request, and nobody edits that file by hand; Studio's radar view will draw the same ADRs once it ships. A technology board of {{BOARD_MEMBERS}} decides every ring move. It meets at least every {{REVIEW_MONTHS}} months and walks through the whole radar, recording the date of the meeting as reviewed. Between meetings a ring move (the ADR's status changed, or its entry in the overrides) is a pull request, labelled radar by the check that sees it, which waits for the next meeting and is merged with at least {{RING_APPROVALS}} approvals from the board members listed as approvers in radar/overrides.json. Hold: {{HOLD}}. Trial: {{TRIAL}}. Where it is read: {{PUBLISH}}.",
522
+ "consequences": "• Ring moves are weighed across teams by people who see the whole estate, as the Thoughtworks Technology Advisory Board does.\n• A proposal can wait up to {{REVIEW_MONTHS}} months for a meeting; urgent Holds (a security record, an abandoned project) need the board to approve between meetings.\n• The board is a handful of people's time, twice a year at the least; its decisions are only as good as the proposals teams bring.\n• Every move is still a pull request, so the radar's history is the repository's.",
523
+ "alternatives": "1. Each team for its own systems: fast, but nobody weighs one team's choice against the others.\n2. Pull requests approved by named reviewers without meetings: quicker answers, but no moment where the whole radar is looked at together.\n3. A radar kept on slides by the board: familiar, and out of step with the ADRs within months.",
524
+ "hubWhen": {
525
+ "BOARD": [
526
+ "board"
527
+ ]
528
+ }
529
+ },
530
+ {
531
+ "id": "adr-teams",
532
+ "type": "adr",
533
+ "label": "Each team moves the technologies of its own systems",
534
+ "x": 780,
535
+ "y": 130,
536
+ "concern": "technology-lifecycle",
537
+ "status": "accepted",
538
+ "date": "",
539
+ "context": "The organisation builds on many technologies, and each was chosen in an ADR of one system or another; a tech radar puts them in rings (Adopt, Trial, Assess, Hold) so that the next team knows what is safe to pick, what is being tried, and what to stay away from. The forces: a radar kept by hand next to the ADRs says the same thing twice and drifts from them within months; a ring move decided by nobody in particular is not believed, and one decided by a committee that seldom meets is not waited for; Trial without an end becomes a second technology nobody chose; Hold without a check is a wish, because the next pull request adds the library again; and a migration off a technology on Hold competes with features for every sprint. The ADR statuses already say most of it: accepted is Adopt, proposed is Assess, deprecated is Hold, superseded is off the radar. Which version of a chosen runtime, framework or engine is still supported, and when it is upgraded, is decided in the Backend stack, Frontend stack, Data store and Infrastructure packs; dependency updates in the Dependency hygiene pack; known vulnerabilities and provenance in the Software supply chain pack.",
540
+ "decision": "The radar is drawn from the ADRs of the architecture model, not kept beside them: an ADR whose concern is a Tech Radar pack (Backend stack, Frontend stack, Data store, Infrastructure), or one that radar/overrides.json gives a technology name, is one entry. Its ring comes from its status (accepted: Adopt, proposed: Assess, deprecated: Hold; superseded: off the radar, its successor is on it), its quadrant from its pack (the two stacks: Languages & Frameworks; data store and infrastructure: Platforms; a tool named from another pack: Tools unless the overrides say otherwise), and its name from its label. Where two ADRs name one technology, the most recent decides. radar/overrides.json, a small file in the repository that names ADRs by label, holds what the statuses cannot say: Trial, a short technology name, the package names of a technology, its known uses once on Hold, the approvers and the date of the last review. scripts/radar.mjs writes radar/radar.json from both on every pull request, and nobody edits that file by hand; Studio's radar view will draw the same ADRs once it ships. Each team moves the technologies of the systems it owns by changing the status of the ADRs that constrain them; CODEOWNERS gives every ADR file under architecture/nodes to the owning team, and the main branch requires a code owner's review. The organisation's radar is the union, published as it comes out: where two teams' ADRs put one technology in different rings, the most recent ADR sets its ring. At least every {{REVIEW_MONTHS}} months the teams' tech leads walk through the radar together, settle conflicts and record the date as reviewed. Hold: {{HOLD}}. Trial: {{TRIAL}}. Where it is read: {{PUBLISH}}.",
541
+ "consequences": "• No approval outside the team: a ring move is as fast as a pull request.\n• The radar shows what teams decided, not what the organisation recommends; two teams can pull in opposite directions until the review settles it.\n• A technology one team puts on Hold stays open to another; Hold is binding only within the systems of the team that set it.\n• Every ADR needs an owning team in CODEOWNERS, kept current as teams change.",
542
+ "alternatives": "1. A technology board: decisions weighed across teams, at the price of waiting for meetings.\n2. Pull requests approved by named reviewers: a light central check without meetings.",
543
+ "hubWhen": {
544
+ "BOARD": [
545
+ "teams"
546
+ ]
547
+ }
548
+ },
549
+ {
550
+ "id": "adr-rfc",
551
+ "type": "adr",
552
+ "label": "Ring moves are pull requests approved by named reviewers",
553
+ "x": 780,
554
+ "y": 260,
555
+ "concern": "technology-lifecycle",
556
+ "status": "accepted",
557
+ "date": "",
558
+ "context": "The organisation builds on many technologies, and each was chosen in an ADR of one system or another; a tech radar puts them in rings (Adopt, Trial, Assess, Hold) so that the next team knows what is safe to pick, what is being tried, and what to stay away from. The forces: a radar kept by hand next to the ADRs says the same thing twice and drifts from them within months; a ring move decided by nobody in particular is not believed, and one decided by a committee that seldom meets is not waited for; Trial without an end becomes a second technology nobody chose; Hold without a check is a wish, because the next pull request adds the library again; and a migration off a technology on Hold competes with features for every sprint. The ADR statuses already say most of it: accepted is Adopt, proposed is Assess, deprecated is Hold, superseded is off the radar. Which version of a chosen runtime, framework or engine is still supported, and when it is upgraded, is decided in the Backend stack, Frontend stack, Data store and Infrastructure packs; dependency updates in the Dependency hygiene pack; known vulnerabilities and provenance in the Software supply chain pack.",
559
+ "decision": "The radar is drawn from the ADRs of the architecture model, not kept beside them: an ADR whose concern is a Tech Radar pack (Backend stack, Frontend stack, Data store, Infrastructure), or one that radar/overrides.json gives a technology name, is one entry. Its ring comes from its status (accepted: Adopt, proposed: Assess, deprecated: Hold; superseded: off the radar, its successor is on it), its quadrant from its pack (the two stacks: Languages & Frameworks; data store and infrastructure: Platforms; a tool named from another pack: Tools unless the overrides say otherwise), and its name from its label. Where two ADRs name one technology, the most recent decides. radar/overrides.json, a small file in the repository that names ADRs by label, holds what the statuses cannot say: Trial, a short technology name, the package names of a technology, its known uses once on Hold, the approvers and the date of the last review. scripts/radar.mjs writes radar/radar.json from both on every pull request, and nobody edits that file by hand; Studio's radar view will draw the same ADRs once it ships. Anyone may propose a ring move as a pull request: the ADR's status changed, or its entry in the overrides, with the reasons in the ADR's context and alternatives. The check that sees a move labels the pull request radar; it is merged with at least {{RING_APPROVALS}} approvals from the reviewers listed as approvers in radar/overrides.json (as the main branch has them), and it is answered, merged or closed, within {{RFC_DAYS}} days. At least every {{REVIEW_MONTHS}} months the approvers walk through the whole radar and record the date as reviewed. Hold: {{HOLD}}. Trial: {{TRIAL}}. Where it is read: {{PUBLISH}}.",
560
+ "consequences": "• Teams propose without waiting for a meeting, and every proposal has a written reason and an answer within {{RFC_DAYS}} days.\n• The approvers carry a steady trickle of reviews instead of two long meetings; the list in the overrides must name people who actually answer.\n• Proposals are judged one at a time; the periodic walk through the whole radar is what catches two moves that pull against each other.\n• A pull request cannot add its own approver: the list is read from the main branch.",
561
+ "alternatives": "1. A technology board meeting on a cadence: the whole radar weighed at once, but proposals wait for the meeting.\n2. Each team for its own systems: no approval at all, and no common recommendation.",
562
+ "hubWhen": {
563
+ "BOARD": [
564
+ "rfc"
565
+ ]
566
+ }
567
+ },
568
+ {
569
+ "id": "adr-hold-migrate",
570
+ "type": "adr",
571
+ "label": "Hold means migrating off by a deadline",
572
+ "x": 780,
573
+ "y": 390,
574
+ "concern": "technology-lifecycle",
575
+ "status": "accepted",
576
+ "date": "",
577
+ "context": "The organisation builds on many technologies, and each was chosen in an ADR of one system or another; a tech radar puts them in rings (Adopt, Trial, Assess, Hold) so that the next team knows what is safe to pick, what is being tried, and what to stay away from. The forces: a radar kept by hand next to the ADRs says the same thing twice and drifts from them within months; a ring move decided by nobody in particular is not believed, and one decided by a committee that seldom meets is not waited for; Trial without an end becomes a second technology nobody chose; Hold without a check is a wish, because the next pull request adds the library again; and a migration off a technology on Hold competes with features for every sprint. The ADR statuses already say most of it: accepted is Adopt, proposed is Assess, deprecated is Hold, superseded is off the radar. Which version of a chosen runtime, framework or engine is still supported, and when it is upgraded, is decided in the Backend stack, Frontend stack, Data store and Infrastructure packs; dependency updates in the Dependency hygiene pack; known vulnerabilities and provenance in the Software supply chain pack.",
578
+ "decision": "A technology on Hold (its ADR deprecated) may not be used anywhere new, and every existing use is gone within {{HOLD_MONTHS}} months. When its ADR is deprecated, its entry in radar/overrides.json gets holdSince (the date), instead (the technology to use in its place), packages (the names under which it appears in package manifests, lockfiles and container images) and uses: one line per manifest that still uses it, with the URL of an open migration issue. The pull request that removes a use closes its issue and removes its line. A deadline that cannot be met is moved only by a ring move like any other, with a new holdSince in a reviewed pull request. Which versions of a runtime, framework or engine are still supported is not a Hold: the version policies of the Backend stack, Frontend stack, Data store and Infrastructure packs decide that.",
579
+ "consequences": "• Hold has an end: the technology leaves the estate, with its skills, patching and base images.\n• Each use is a piece of work on some team's backlog, with a date; teams will ask for exceptions, and each one is a visible pull request.\n• The package names in the overrides have to be complete, or a use slips past the check.\n• The weekly check fails the radar workflow, not a product build, when a deadline passes: someone has to own the red.",
580
+ "alternatives": "1. No new use only: no forced migrations, and the technology stays in the estate for years.\n2. Removal in the next release: unrealistic for anything used widely, so it would be ignored.",
581
+ "hubWhen": {
582
+ "HOLD": [
583
+ "migrate"
584
+ ]
585
+ }
586
+ },
587
+ {
588
+ "id": "adr-hold-freeze",
589
+ "type": "adr",
590
+ "label": "Hold means no new use",
591
+ "x": 780,
592
+ "y": 520,
593
+ "concern": "technology-lifecycle",
594
+ "status": "accepted",
595
+ "date": "",
596
+ "context": "The organisation builds on many technologies, and each was chosen in an ADR of one system or another; a tech radar puts them in rings (Adopt, Trial, Assess, Hold) so that the next team knows what is safe to pick, what is being tried, and what to stay away from. The forces: a radar kept by hand next to the ADRs says the same thing twice and drifts from them within months; a ring move decided by nobody in particular is not believed, and one decided by a committee that seldom meets is not waited for; Trial without an end becomes a second technology nobody chose; Hold without a check is a wish, because the next pull request adds the library again; and a migration off a technology on Hold competes with features for every sprint. The ADR statuses already say most of it: accepted is Adopt, proposed is Assess, deprecated is Hold, superseded is off the radar. Which version of a chosen runtime, framework or engine is still supported, and when it is upgraded, is decided in the Backend stack, Frontend stack, Data store and Infrastructure packs; dependency updates in the Dependency hygiene pack; known vulnerabilities and provenance in the Software supply chain pack.",
597
+ "decision": "A technology on Hold (its ADR deprecated) may not be used anywhere new; the systems that use it when it moves to Hold may keep it until they are rewritten or retired. When its ADR is deprecated, its entry in radar/overrides.json gets holdSince (the date), instead (the technology to use in its place), packages (the names under which it appears in package manifests, lockfiles and container images) and uses: one line per manifest that uses it at that moment, with the reason it stays. Any other use fails the build, so the list can only shrink. Which versions of a runtime, framework or engine are still supported is not a Hold: the version policies of the Backend stack, Frontend stack, Data store and Infrastructure packs decide that, for the uses that stay too.",
598
+ "consequences": "• No forced migrations: Hold costs nothing until a system is rewritten.\n• The technology stays in the estate for years, with its skills, patching and base images; its version policy still applies to every use that stays.\n• The list of uses shows the remaining exposure at a glance, and a new use is a visible exception.",
599
+ "alternatives": "1. Migration by a deadline: the technology leaves the estate, at the price of work nobody planned.\n2. Hold as advice only: no check, and the next pull request adds it again.",
600
+ "hubWhen": {
601
+ "HOLD": [
602
+ "freeze"
603
+ ]
604
+ }
605
+ },
606
+ {
607
+ "id": "adr-trial-timebox",
608
+ "type": "adr",
609
+ "label": "Trials are time-boxed in one system",
610
+ "x": 780,
611
+ "y": 650,
612
+ "concern": "technology-lifecycle",
613
+ "status": "accepted",
614
+ "date": "",
615
+ "context": "The organisation builds on many technologies, and each was chosen in an ADR of one system or another; a tech radar puts them in rings (Adopt, Trial, Assess, Hold) so that the next team knows what is safe to pick, what is being tried, and what to stay away from. The forces: a radar kept by hand next to the ADRs says the same thing twice and drifts from them within months; a ring move decided by nobody in particular is not believed, and one decided by a committee that seldom meets is not waited for; Trial without an end becomes a second technology nobody chose; Hold without a check is a wish, because the next pull request adds the library again; and a migration off a technology on Hold competes with features for every sprint. The ADR statuses already say most of it: accepted is Adopt, proposed is Assess, deprecated is Hold, superseded is off the radar. Which version of a chosen runtime, framework or engine is still supported, and when it is upgraded, is decided in the Backend stack, Frontend stack, Data store and Infrastructure packs; dependency updates in the Dependency hygiene pack; known vulnerabilities and provenance in the Software supply chain pack.",
616
+ "decision": "A technology enters Trial in one named system, in production, for at most {{TRIAL_MONTHS}} months: its ADR is proposed, and its entry in radar/overrides.json has \"ring\": \"Trial\" and a trial record with the system, an owner, the start date and exit criteria written before it starts (measurable, such as \"p99 publish latency under 20 ms at 2,000 messages per second in production for four weeks\"). By the end of the time box the owner proposes the decision as a ring move: the ADR accepted (Adopt), or deprecated or superseded, and the Trial ring removed from the overrides in the same pull request.",
617
+ "consequences": "• Every trial ends in a decision with evidence behind it.\n• A second system wanting the technology waits for the decision, or the trial is moved to it.\n• A time box too short for the technology's real test (a full peak season, a data migration) forces a decision on thin evidence; the time box is a detail, set per organisation.",
618
+ "alternatives": "1. Any team's trial in its own systems: fewer rules, and trials that never end.\n2. Trials only in a sandbox, never in production: no production risk, and no evidence that counts (Thoughtworks moves a blip into Trial only after production use).",
619
+ "hubWhen": {
620
+ "TRIAL": [
621
+ "timebox"
622
+ ]
623
+ }
624
+ },
625
+ {
626
+ "id": "adr-trial-open",
627
+ "type": "adr",
628
+ "label": "Any team may trial a technology",
629
+ "x": 780,
630
+ "y": 780,
631
+ "concern": "technology-lifecycle",
632
+ "status": "accepted",
633
+ "date": "",
634
+ "context": "The organisation builds on many technologies, and each was chosen in an ADR of one system or another; a tech radar puts them in rings (Adopt, Trial, Assess, Hold) so that the next team knows what is safe to pick, what is being tried, and what to stay away from. The forces: a radar kept by hand next to the ADRs says the same thing twice and drifts from them within months; a ring move decided by nobody in particular is not believed, and one decided by a committee that seldom meets is not waited for; Trial without an end becomes a second technology nobody chose; Hold without a check is a wish, because the next pull request adds the library again; and a migration off a technology on Hold competes with features for every sprint. The ADR statuses already say most of it: accepted is Adopt, proposed is Assess, deprecated is Hold, superseded is off the radar. Which version of a chosen runtime, framework or engine is still supported, and when it is upgraded, is decided in the Backend stack, Frontend stack, Data store and Infrastructure packs; dependency updates in the Dependency hygiene pack; known vulnerabilities and provenance in the Software supply chain pack.",
635
+ "decision": "Any team may try a technology in any of its systems: its ADR is proposed, and its entry in radar/overrides.json has \"ring\": \"Trial\" and a trial record with the systems trying it, an owner and the start date. There is no time box; the radar review at least every {{REVIEW_MONTHS}} months asks each trial for a decision: its ADR accepted, deprecated or superseded, or the trial kept with a reason.",
636
+ "consequences": "• Teams try what they need without paperwork beyond one entry.\n• Trials can last for years; the review is the only thing that asks for a decision.\n• Several systems may be on a technology before anyone decides on it, which makes a later Hold more expensive.",
637
+ "alternatives": "1. A time-boxed trial in one system with exit criteria: a decision guaranteed, at the cost of a little process.\n2. No Trial ring: a technology goes from Assess straight to Adopt, without evidence from production.",
638
+ "hubWhen": {
639
+ "TRIAL": [
640
+ "open"
641
+ ]
642
+ }
643
+ },
644
+ {
645
+ "id": "ff-radar-generate",
646
+ "type": "fitness-fn",
647
+ "label": "Radar generated from the ADRs",
648
+ "x": 1040,
649
+ "y": 0,
650
+ "characteristic": "maintainability",
651
+ "scope": "atomic",
652
+ "cadence": "triggered",
653
+ "trigger": "pull-request",
654
+ "invocation": "automated",
655
+ "description": "A Node script reads the front matter of every Markdown file under architecture/nodes (type, label, status, date and concern, the keys the model's ADRs carry) and radar/overrides.json, and writes radar/radar.json: name, ring, quadrant, isNew and description as Build Your Own Radar reads them from JSON, plus adr and adrStatus (the ADR's label and status; not status, which Build Your Own Radar reads as the movement of a blip), all as strings. It exits with an error, writing nothing, when an override names no ADR or a ring or quadrant outside the four. Other packs that choose a named tool (a broker, a linter) come onto the radar by giving their ADR a technology name in the overrides.\n\nThreshold: radar/radar.json holds one entry per technology named by an ADR that is not superseded, its ring and quadrant derived as decided; 0 overrides naming a missing ADR or a ring or quadrant outside the four\n\nTool: Node.js 20 or later with js-yaml (npm i -D js-yaml)\n\n```js\n// scripts/radar.mjs: writes radar/radar.json, which Build Your Own Radar reads as it is\nimport { readFileSync, readdirSync, writeFileSync } from 'node:fs'\nimport { load, JSON_SCHEMA } from 'js-yaml'\n\nconst RING = { accepted: 'Adopt', proposed: 'Assess', deprecated: 'Hold' } // superseded: off the radar\nconst QUADRANT = { 'backend-stack': 'Languages & Frameworks', 'frontend-stack': 'Languages & Frameworks', 'data-store': 'Platforms', infrastructure: 'Platforms' }\nconst { entries = {} } = JSON.parse(readFileSync('radar/overrides.json', 'utf8'))\nconst adrs = readdirSync('architecture/nodes', { recursive: true }).filter((f) => f.endsWith('.md'))\n .map((f) => load(readFileSync(`architecture/nodes/${f}`, 'utf8').split(/^---$/m)[1] ?? '', { schema: JSON_SCHEMA }))\n .filter((n) => n?.type === 'adr').sort((a, b) => String(a.date).localeCompare(String(b.date)))\nconst errors = Object.keys(entries).filter((l) => !adrs.some((a) => a.label === l)).map((l) => `radar/overrides.json: no ADR is labelled \"${l}\"`)\nconst radar = new Map() // by technology name: the most recent ADR wins\nfor (const adr of adrs) {\n const o = entries[adr.label] ?? {}\n const quadrant = o.quadrant ?? QUADRANT[adr.concern] ?? (o.technology ? 'Tools' : undefined)\n const ring = o.ring ?? RING[adr.status]\n if (!quadrant || !RING[adr.status]) continue // not a technology choice, or superseded\n if (!['Adopt', 'Trial', 'Assess', 'Hold'].includes(ring) || !['Techniques', 'Tools', 'Platforms', 'Languages & Frameworks'].includes(quadrant)) errors.push(`${adr.label}: ring \"${ring}\", quadrant \"${quadrant}\"`)\n const isNew = Date.now() - Date.parse(adr.date) < {{REVIEW_MONTHS}} * 30.44 * 86_400_000\n const name = o.technology ?? adr.label\n radar.set(name, { name, ring, quadrant, isNew: isNew ? 'TRUE' : 'FALSE', description: `ADR \"${adr.label}\", ${adr.status} on ${adr.date}`, adr: adr.label, adrStatus: adr.status })\n}\nif (errors.length) { console.error(errors.join('\\n')); process.exit(1) }\nwriteFileSync('radar/radar.json', `${JSON.stringify([...radar.values()].sort((a, b) => a.name.localeCompare(b.name)), null, 2)}\\n`)\n```"
656
+ },
657
+ {
658
+ "id": "ff-radar-current",
659
+ "type": "fitness-fn",
660
+ "label": "Committed radar matches the model",
661
+ "x": 1040,
662
+ "y": 130,
663
+ "characteristic": "maintainability",
664
+ "scope": "atomic",
665
+ "cadence": "triggered",
666
+ "trigger": "pull-request",
667
+ "invocation": "automated",
668
+ "description": "The radar workflow runs on every pull request and every Monday: it regenerates the radar and fails when the committed file differs, then runs the Hold and Trial checks over it. It is a required check of the main branch, in the ruleset the Code review and branching pack keeps.\n\nThreshold: 0 differences between the committed radar/radar.json and what scripts/radar.mjs generates, on every pull request\n\nTool: GitHub Actions with Node.js\n\n```yaml\n# .github/workflows/radar.yml\nname: radar\non:\n pull_request:\n schedule:\n - cron: '0 6 * * 1'\njobs:\n radar:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4.2.2 # pin by commit SHA in your repository\n - uses: actions/setup-node@v4.1.0 # pin by commit SHA in your repository\n with: { node-version: 22, cache: npm }\n - run: npm ci\n - run: node scripts/radar.mjs\n - name: The committed radar is what the model gives\n run: git diff --exit-code radar/radar.json || { echo \"run node scripts/radar.mjs and commit radar/radar.json\"; exit 1; }\n - run: node scripts/radar-hold.mjs\n - run: node scripts/radar-trials.mjs\n```"
669
+ },
670
+ {
671
+ "id": "ff-hold-uses",
672
+ "type": "fitness-fn",
673
+ "label": "No new use of a technology on Hold",
674
+ "x": 1040,
675
+ "y": 260,
676
+ "characteristic": "maintainability",
677
+ "scope": "atomic",
678
+ "cadence": "triggered",
679
+ "trigger": "pull-request",
680
+ "invocation": "automated",
681
+ "description": "A Node script lists the repository's manifests, lockfiles and Dockerfiles with git ls-files, and for each technology in Hold searches them for the package names its entry in radar/overrides.json gives (as whole names, so moment does not match moment-timezone or @types/moment, and a transitive use is found in the lockfile); a file that uses one and is not among the entry's uses fails the check. Package names should be distinctive: a runtime such as node is better held by the version policy of its stack pack than by a name search.\n\nThreshold: 0 package manifests, lockfiles or container image files using a package of a technology on Hold outside its known uses; 0 technologies on Hold without packages and a replacement in the overrides\n\nTool: Node.js 20 or later (a step of the radar workflow)\n\n```js\n// scripts/radar-hold.mjs: a step of the radar workflow, on every pull request\nimport { execFileSync } from 'node:child_process'\nimport { readFileSync } from 'node:fs'\n\nconst radar = JSON.parse(readFileSync('radar/radar.json', 'utf8'))\nconst { entries = {} } = JSON.parse(readFileSync('radar/overrides.json', 'utf8'))\nconst MANIFEST = /(^|\\/)(package(-lock)?\\.json|pnpm-lock\\.yaml|yarn\\.lock|pom\\.xml|build\\.gradle(\\.kts)?|requirements[^/]*\\.txt|poetry\\.lock|go\\.mod|[^/]+\\.csproj|(Docker|Container)file[^/]*)$/\nconst files = execFileSync('git', ['ls-files'], { encoding: 'utf8' }).split('\\n').filter((f) => MANIFEST.test(f))\nconst escape = (s) => s.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&')\nconst errors = []\nfor (const blip of radar.filter((b) => b.ring === 'Hold')) {\n const { packages = [], uses = {}, instead } = entries[blip.adr] ?? {}\n if (!packages.length || !instead) errors.push(`${blip.name} is on Hold: its entry in radar/overrides.json needs packages and instead`)\n for (const pkg of packages) {\n const used = new RegExp(`(^|[^\\\\w@/.-]|node_modules/)${escape(pkg)}([^\\\\w/-]|$)`, 'm')\n for (const f of files) {\n if (used.test(readFileSync(f, 'utf8')) && !uses[f]) errors.push(`${f} uses ${pkg}: ${blip.name} is on Hold, use ${instead} instead`)\n }\n }\n}\nif (errors.length) { console.error(errors.join('\\n')); process.exit(1) }\n```"
682
+ },
683
+ {
684
+ "id": "ff-hold-migration",
685
+ "type": "fitness-fn",
686
+ "label": "Uses of Hold migrated by the deadline",
687
+ "x": 1040,
688
+ "y": 390,
689
+ "characteristic": "maintainability",
690
+ "scope": "atomic",
691
+ "cadence": "triggered",
692
+ "trigger": "weekly",
693
+ "invocation": "automated",
694
+ "description": "A weekly step of the radar workflow reads the uses of every technology in Hold from radar/overrides.json, fails when the deadline (holdSince plus {{HOLD_MONTHS}} months) has passed for any, and asks GitHub whether each use's migration issue is still open: a closed issue with its use still listed means the use was migrated without removing its line, or the issue closed without the migration.\n\nThreshold: 0 known uses of a technology on Hold past holdSince plus {{HOLD_MONTHS}} months; every known use has an open GitHub issue\n\nTool: jq, GNU date and the gh CLI (GH_TOKEN with read access to issues)\n\n```bash\n# a weekly step of the radar workflow, after node scripts/radar.mjs\nset -euo pipefail\ntoday=$(date -u +%F); fail=0\nwhile IFS=$'\\t' read -r name since file item; do\n [ -n \"$since\" ] || { echo \"$name: no holdSince in radar/overrides.json\"; fail=1; continue; }\n due=$(date -u -d \"$since +{{HOLD_MONTHS}} months\" +%F)\n [[ \"$today\" > \"$due\" ]] && { echo \"$file still uses $name, on Hold since $since: the deadline $due has passed\"; fail=1; }\n [[ \"$item\" == https://github.com/*/issues/* ]] || { echo \"$file: '$item' is no GitHub issue\"; fail=1; continue; }\n state=$(gh issue view \"$item\" --json state --jq .state)\n [ \"$state\" = OPEN ] || { echo \"$file uses $name, but its migration issue $item is $state\"; fail=1; }\ndone < <(jq -r --slurpfile radar radar/radar.json '.entries | to_entries[]\n | select(.key as $label | $radar[0] | any(.adr == $label and .ring == \"Hold\"))\n | .key as $label | .value as $e | ($e.uses // {}) | to_entries[]\n | [$e.technology // $label, $e.holdSince // \"\", .key, .value] | @tsv' radar/overrides.json)\nexit $fail\n```",
695
+ "hubWhen": {
696
+ "HOLD": [
697
+ "migrate"
698
+ ]
699
+ }
700
+ },
701
+ {
702
+ "id": "ff-trial-entries",
703
+ "type": "fitness-fn",
704
+ "label": "Trials recorded",
705
+ "x": 1040,
706
+ "y": 520,
707
+ "characteristic": "maintainability",
708
+ "scope": "atomic",
709
+ "cadence": "triggered",
710
+ "trigger": "pull-request",
711
+ "invocation": "automated",
712
+ "description": "A Node script over the generated radar and the overrides fails for a technology in Trial whose record lacks its systems, owner or start date, or whose ADR is no longer proposed (the decision was taken and the Trial ring left behind).\n\nThreshold: Every technology in Trial has systems, an owner and a start date in radar/overrides.json, and its ADR is proposed\n\nTool: Node.js 20 or later (a step of the radar workflow)\n\n```js\n// scripts/radar-trials.mjs: a step of the radar workflow\nimport { readFileSync } from 'node:fs'\n\nconst radar = JSON.parse(readFileSync('radar/radar.json', 'utf8'))\nconst { entries = {} } = JSON.parse(readFileSync('radar/overrides.json', 'utf8'))\nconst errors = []\nfor (const blip of radar.filter((b) => b.ring === 'Trial')) {\n const trial = entries[blip.adr]?.trial ?? {}\n if (blip.adrStatus !== 'proposed') errors.push(`${blip.name}: its ADR is ${blip.adrStatus}; remove \"ring\": \"Trial\" from its entry`)\n if (!trial.systems?.length || !trial.owner || !/^\\d{4}-\\d{2}-\\d{2}$/.test(trial.started ?? '')) {\n errors.push(`${blip.name}: a trial names its systems, an owner and the date it started (YYYY-MM-DD)`)\n }\n}\nif (errors.length) { console.error(errors.join('\\n')); process.exit(1) }\n```"
713
+ },
714
+ {
715
+ "id": "ff-trial-timebox",
716
+ "type": "fitness-fn",
717
+ "label": "Trials end with a decision",
718
+ "x": 1040,
719
+ "y": 650,
720
+ "characteristic": "maintainability",
721
+ "scope": "atomic",
722
+ "cadence": "triggered",
723
+ "trigger": "pull-request",
724
+ "invocation": "automated",
725
+ "description": "A Node script, run weekly and on every pull request after scripts/radar-trials.mjs, fails for a trial in more than one system, without exit criteria, or past its time box while its ADR is still proposed.\n\nThreshold: Every trial runs in 1 system, has exit criteria, and started no more than {{TRIAL_MONTHS}} months ago\n\nTool: Node.js 20 or later (a step of the radar workflow)\n\n```js\n// scripts/radar-trial-timebox.mjs: a step of the radar workflow, after radar-trials.mjs\nimport { readFileSync } from 'node:fs'\n\nconst MONTHS = {{TRIAL_MONTHS}}\nconst radar = JSON.parse(readFileSync('radar/radar.json', 'utf8'))\nconst { entries = {} } = JSON.parse(readFileSync('radar/overrides.json', 'utf8'))\nconst errors = []\nfor (const blip of radar.filter((b) => b.ring === 'Trial')) {\n const trial = entries[blip.adr]?.trial ?? {}\n if (trial.systems?.length !== 1) errors.push(`${blip.name}: a trial runs in one system`)\n if (!trial.exit?.trim()) errors.push(`${blip.name}: the trial has no written exit criteria`)\n const end = new Date(`${trial.started}T00:00:00Z`)\n end.setUTCMonth(end.getUTCMonth() + MONTHS)\n if (Number.isNaN(end.getTime())) errors.push(`${blip.name}: the trial has no start date`)\n else if (Date.now() > end.getTime()) errors.push(`${blip.name}: the time box ended on ${end.toISOString().slice(0, 10)}; accept, deprecate or supersede its ADR`)\n}\nif (errors.length) { console.error(errors.join('\\n')); process.exit(1) }\n```",
726
+ "hubWhen": {
727
+ "TRIAL": [
728
+ "timebox"
729
+ ]
730
+ }
731
+ },
732
+ {
733
+ "id": "ff-review-cadence",
734
+ "type": "fitness-fn",
735
+ "label": "Radar reviewed on a cadence",
736
+ "x": 1040,
737
+ "y": 780,
738
+ "characteristic": "maintainability",
739
+ "scope": "atomic",
740
+ "cadence": "temporal",
741
+ "every": "180d",
742
+ "invocation": "manual",
743
+ "description": "A weekly step of the radar workflow reads the date of the last review from the overrides and fails once the next review is overdue, so the red build is the reminder. The review itself is a pull request that moves what it decides and sets reviewed.\n\nThreshold: The reviewed date in radar/overrides.json is no more than {{REVIEW_MONTHS}} months old\n\nTool: jq and GNU date (a step of the radar workflow)\n\n```bash\n# a weekly step of the radar workflow\nset -euo pipefail\nreviewed=$(jq -r '.reviewed // empty' radar/overrides.json)\n[ -n \"$reviewed\" ] || { echo \"radar/overrides.json records no review (\\\"reviewed\\\": \\\"YYYY-MM-DD\\\")\"; exit 1; }\ndue=$(date -u -d \"$reviewed +{{REVIEW_MONTHS}} months\" +%F)\nif [[ \"$(date -u +%F)\" > \"$due\" ]]; then\n echo \"the radar was last reviewed on $reviewed; the next review was due by $due\"\n exit 1\nfi\necho \"radar reviewed on $reviewed; next review due by $due\"\n```"
744
+ },
745
+ {
746
+ "id": "ff-ring-approval",
747
+ "type": "fitness-fn",
748
+ "label": "Ring moves approved",
749
+ "x": 1040,
750
+ "y": 910,
751
+ "characteristic": "maintainability",
752
+ "scope": "atomic",
753
+ "cadence": "triggered",
754
+ "trigger": "pull-request",
755
+ "invocation": "manual",
756
+ "description": "A workflow on pull_request and pull_request_review regenerates the radar, compares each technology's ring with the radar on main, and when anything moved labels the pull request radar and counts the latest approving reviews by the approvers listed in radar/overrides.json as main has it. The job is a required check of the main branch, so the merge waits for the approvals.\n\nThreshold: A pull request that changes any technology's ring, or adds or removes one, carries the label radar and has at least {{RING_APPROVALS}} approvals from the approvers listed on main\n\nTool: GitHub Actions with jq and the gh CLI (checkout with fetch-depth: 0; GH_TOKEN with pull-requests: write; PR set to the pull request number)\n\n```bash\n# .github/workflows/radar-approval.yml runs this on pull_request and pull_request_review\nset -euo pipefail\nnode scripts/radar.mjs\npairs() { jq -r '.[] | \"\\(.name) in \\(.ring)\"' | sort; }\nmoves=$(comm -3 <(git show origin/main:radar/radar.json | pairs) <(pairs < radar/radar.json) | tr -d '\\t')\nif [ -z \"$moves\" ]; then echo \"no ring moves\"; exit 0; fi\necho \"ring moves:\"; echo \"$moves\"\ngh pr edit \"$PR\" --add-label radar\napprovers=$(git show origin/main:radar/overrides.json | jq -c '.approvers // []') # as on main: a pull request cannot add its own\ngot=$(gh pr view \"$PR\" --json latestReviews \\\n | jq --argjson ok \"$approvers\" '[.latestReviews[] | select(.state == \"APPROVED\") | .author.login | select(IN($ok[]))] | length')\n[ \"$got\" -ge {{RING_APPROVALS}} ] || { echo \"$got of {{RING_APPROVALS}} approvals from the radar's approvers\"; exit 1; }\n```",
757
+ "hubWhen": {
758
+ "BOARD": [
759
+ "board",
760
+ "rfc"
761
+ ]
762
+ }
763
+ },
764
+ {
765
+ "id": "ff-rfc-answered",
766
+ "type": "fitness-fn",
767
+ "label": "Proposals answered in time",
768
+ "x": 1040,
769
+ "y": 1040,
770
+ "characteristic": "maintainability",
771
+ "scope": "atomic",
772
+ "cadence": "triggered",
773
+ "trigger": "weekly",
774
+ "invocation": "automated",
775
+ "description": "A weekly step of the radar workflow lists the open pull requests labelled radar and fails for any opened more than {{RFC_DAYS}} days ago, naming them.\n\nThreshold: 0 open pull requests labelled radar older than {{RFC_DAYS}} days\n\nTool: gh CLI and jq, GNU date (GH_TOKEN with read access to pull requests)\n\n```bash\n# a weekly step of the radar workflow\nset -euo pipefail\ncutoff=$(date -u -d '{{RFC_DAYS}} days ago' +%Y-%m-%dT%H:%M:%SZ)\nstale=$(gh pr list --label radar --state open --limit 200 --json url,title,createdAt \\\n | jq -r --arg cutoff \"$cutoff\" '.[] | select(.createdAt < $cutoff) | \"\\(.url) \\(.title)\"')\nif [ -n \"$stale\" ]; then\n echo \"ring proposals open for more than {{RFC_DAYS}} days:\"; echo \"$stale\"\n exit 1\nfi\n```",
776
+ "hubWhen": {
777
+ "BOARD": [
778
+ "rfc"
779
+ ]
780
+ }
781
+ },
782
+ {
783
+ "id": "ff-team-owned",
784
+ "type": "fitness-fn",
785
+ "label": "Each ADR has an owning team",
786
+ "x": 1040,
787
+ "y": 1170,
788
+ "characteristic": "maintainability",
789
+ "scope": "atomic",
790
+ "cadence": "triggered",
791
+ "trigger": "pull-request",
792
+ "invocation": "automated",
793
+ "description": "A step of the radar workflow finds the ADR files by their front matter, asks the codeowners CLI which of them no CODEOWNERS pattern matches, and reads the main branch's rules from GitHub to check that a pull_request rule requires a code owner's review. With classic branch protection instead of rulesets, read required_pull_request_reviews.require_code_owner_reviews from the branch protection endpoint.\n\nThreshold: 0 ADR files under architecture/nodes without a code owner; the main branch requires a code owner's review\n\nTool: codeowners CLI (github.com/hmarr/codeowners) and the gh CLI\n\n```bash\n# a step of the radar workflow\nset -euo pipefail\nunowned=$(grep -rlx --include='*.md' 'type: \"adr\"' architecture/nodes | xargs -r codeowners -u)\n[ -z \"$unowned\" ] || { echo \"ADRs no team owns in CODEOWNERS:\"; echo \"$unowned\"; exit 1; }\nrequired=$(gh api \"repos/{owner}/{repo}/rules/branches/main\" \\\n --jq '[.[] | select(.type == \"pull_request\") | .parameters.require_code_owner_review] | any')\n[ \"$required\" = true ] || { echo \"main does not require a code owner's review\"; exit 1; }\n```",
794
+ "hubWhen": {
795
+ "BOARD": [
796
+ "teams"
797
+ ]
798
+ }
799
+ },
800
+ {
801
+ "id": "ff-byor-publish",
802
+ "type": "fitness-fn",
803
+ "label": "Radar picture published",
804
+ "x": 1040,
805
+ "y": 1300,
806
+ "characteristic": "maintainability",
807
+ "scope": "atomic",
808
+ "cadence": "triggered",
809
+ "trigger": "pull-request",
810
+ "invocation": "automated",
811
+ "description": "On every push to main that touches the model or the overrides, a job regenerates the radar and builds an image from the Build Your Own Radar image with radar/radar.json copied into the folder it serves as /files; people open the app and give it /files/radar.json. Deploying the image to the internal host is the platform's usual deployment. The app shows the ring Hold under the name Thoughtworks now gives it, Caution. Build Your Own Radar is AGPL-3.0: running it unmodified inside the organisation is fine; a modified copy offered to others must offer its source.\n\nThreshold: Every push to main that changes architecture/ or radar/ pushes a radar image tagged with its commit\n\nTool: GitHub Actions, Docker, the wwwthoughtworks/build-your-own-radar image, GitHub Container Registry\n\n```yaml\n# .github/workflows/radar-publish.yml (ghcr.io needs the repository name in lower case)\nname: radar-publish\non:\n push:\n branches: [main]\n paths: ['architecture/**', 'radar/**']\njobs:\n publish:\n runs-on: ubuntu-latest\n permissions: { contents: read, packages: write }\n steps:\n - uses: actions/checkout@v4.2.2 # pin by commit SHA in your repository\n - uses: actions/setup-node@v4.1.0 # pin by commit SHA in your repository\n with: { node-version: 22, cache: npm }\n - run: npm ci && node scripts/radar.mjs\n - name: Build and push the radar image\n run: |\n printf 'FROM wwwthoughtworks/build-your-own-radar:v1.2.1\\nCOPY radar/radar.json /opt/build-your-own-radar/files/radar.json\\n' > Dockerfile.radar\n echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login ghcr.io -u \"${{ github.actor }}\" --password-stdin\n docker build -f Dockerfile.radar -t \"ghcr.io/${{ github.repository }}/radar:${{ github.sha }}\" .\n docker push \"ghcr.io/${{ github.repository }}/radar:${{ github.sha }}\"\n```",
812
+ "hubWhen": {
813
+ "PUBLISH": [
814
+ "byor"
815
+ ]
816
+ }
817
+ }
818
+ ],
819
+ "relations": [
820
+ {
821
+ "id": "req-radar-from-adrs--derives--need",
822
+ "sourceId": "req-radar-from-adrs",
823
+ "targetId": "need",
824
+ "relationType": "derives"
825
+ },
826
+ {
827
+ "id": "req-overrides-valid--derives--need",
828
+ "sourceId": "req-overrides-valid",
829
+ "targetId": "need",
830
+ "relationType": "derives"
831
+ },
832
+ {
833
+ "id": "req-radar-current--derives--need",
834
+ "sourceId": "req-radar-current",
835
+ "targetId": "need",
836
+ "relationType": "derives"
837
+ },
838
+ {
839
+ "id": "req-review--derives--need",
840
+ "sourceId": "req-review",
841
+ "targetId": "need",
842
+ "relationType": "derives"
843
+ },
844
+ {
845
+ "id": "req-ring-approval--derives--need",
846
+ "sourceId": "req-ring-approval",
847
+ "targetId": "need",
848
+ "relationType": "derives"
849
+ },
850
+ {
851
+ "id": "req-rfc-answered--derives--need",
852
+ "sourceId": "req-rfc-answered",
853
+ "targetId": "need",
854
+ "relationType": "derives"
855
+ },
856
+ {
857
+ "id": "req-team-owned--derives--need",
858
+ "sourceId": "req-team-owned",
859
+ "targetId": "need",
860
+ "relationType": "derives"
861
+ },
862
+ {
863
+ "id": "req-hold-no-new-use--derives--need",
864
+ "sourceId": "req-hold-no-new-use",
865
+ "targetId": "need",
866
+ "relationType": "derives"
867
+ },
868
+ {
869
+ "id": "req-hold-instead--derives--need",
870
+ "sourceId": "req-hold-instead",
871
+ "targetId": "need",
872
+ "relationType": "derives"
873
+ },
874
+ {
875
+ "id": "req-hold-migrated--derives--need",
876
+ "sourceId": "req-hold-migrated",
877
+ "targetId": "need",
878
+ "relationType": "derives"
879
+ },
880
+ {
881
+ "id": "req-trial-recorded--derives--need",
882
+ "sourceId": "req-trial-recorded",
883
+ "targetId": "need",
884
+ "relationType": "derives"
885
+ },
886
+ {
887
+ "id": "req-trial-timebox--derives--need",
888
+ "sourceId": "req-trial-timebox",
889
+ "targetId": "need",
890
+ "relationType": "derives"
891
+ },
892
+ {
893
+ "id": "req-published--derives--need",
894
+ "sourceId": "req-published",
895
+ "targetId": "need",
896
+ "relationType": "derives"
897
+ },
898
+ {
899
+ "id": "sc-radar-from-adrs--verifies--req-radar-from-adrs",
900
+ "sourceId": "sc-radar-from-adrs",
901
+ "targetId": "req-radar-from-adrs",
902
+ "relationType": "verifies"
903
+ },
904
+ {
905
+ "id": "sc-overrides-valid--verifies--req-overrides-valid",
906
+ "sourceId": "sc-overrides-valid",
907
+ "targetId": "req-overrides-valid",
908
+ "relationType": "verifies"
909
+ },
910
+ {
911
+ "id": "sc-radar-current--verifies--req-radar-current",
912
+ "sourceId": "sc-radar-current",
913
+ "targetId": "req-radar-current",
914
+ "relationType": "verifies"
915
+ },
916
+ {
917
+ "id": "sc-review--verifies--req-review",
918
+ "sourceId": "sc-review",
919
+ "targetId": "req-review",
920
+ "relationType": "verifies"
921
+ },
922
+ {
923
+ "id": "sc-ring-approval--verifies--req-ring-approval",
924
+ "sourceId": "sc-ring-approval",
925
+ "targetId": "req-ring-approval",
926
+ "relationType": "verifies"
927
+ },
928
+ {
929
+ "id": "sc-rfc-answered--verifies--req-rfc-answered",
930
+ "sourceId": "sc-rfc-answered",
931
+ "targetId": "req-rfc-answered",
932
+ "relationType": "verifies"
933
+ },
934
+ {
935
+ "id": "sc-team-owned--verifies--req-team-owned",
936
+ "sourceId": "sc-team-owned",
937
+ "targetId": "req-team-owned",
938
+ "relationType": "verifies"
939
+ },
940
+ {
941
+ "id": "sc-hold-no-new-use--verifies--req-hold-no-new-use",
942
+ "sourceId": "sc-hold-no-new-use",
943
+ "targetId": "req-hold-no-new-use",
944
+ "relationType": "verifies"
945
+ },
946
+ {
947
+ "id": "sc-hold-instead--verifies--req-hold-instead",
948
+ "sourceId": "sc-hold-instead",
949
+ "targetId": "req-hold-instead",
950
+ "relationType": "verifies"
951
+ },
952
+ {
953
+ "id": "sc-hold-migrated--verifies--req-hold-migrated",
954
+ "sourceId": "sc-hold-migrated",
955
+ "targetId": "req-hold-migrated",
956
+ "relationType": "verifies"
957
+ },
958
+ {
959
+ "id": "sc-trial-recorded--verifies--req-trial-recorded",
960
+ "sourceId": "sc-trial-recorded",
961
+ "targetId": "req-trial-recorded",
962
+ "relationType": "verifies"
963
+ },
964
+ {
965
+ "id": "sc-trial-timebox--verifies--req-trial-timebox",
966
+ "sourceId": "sc-trial-timebox",
967
+ "targetId": "req-trial-timebox",
968
+ "relationType": "verifies"
969
+ },
970
+ {
971
+ "id": "sc-published--verifies--req-published",
972
+ "sourceId": "sc-published",
973
+ "targetId": "req-published",
974
+ "relationType": "verifies"
975
+ },
976
+ {
977
+ "id": "ff-radar-generate--implements--adr-board",
978
+ "sourceId": "ff-radar-generate",
979
+ "targetId": "adr-board",
980
+ "relationType": "implements"
981
+ },
982
+ {
983
+ "id": "ff-radar-generate--implements--adr-teams",
984
+ "sourceId": "ff-radar-generate",
985
+ "targetId": "adr-teams",
986
+ "relationType": "implements"
987
+ },
988
+ {
989
+ "id": "ff-radar-generate--implements--adr-rfc",
990
+ "sourceId": "ff-radar-generate",
991
+ "targetId": "adr-rfc",
992
+ "relationType": "implements"
993
+ },
994
+ {
995
+ "id": "ff-radar-current--implements--adr-board",
996
+ "sourceId": "ff-radar-current",
997
+ "targetId": "adr-board",
998
+ "relationType": "implements"
999
+ },
1000
+ {
1001
+ "id": "ff-radar-current--implements--adr-teams",
1002
+ "sourceId": "ff-radar-current",
1003
+ "targetId": "adr-teams",
1004
+ "relationType": "implements"
1005
+ },
1006
+ {
1007
+ "id": "ff-radar-current--implements--adr-rfc",
1008
+ "sourceId": "ff-radar-current",
1009
+ "targetId": "adr-rfc",
1010
+ "relationType": "implements"
1011
+ },
1012
+ {
1013
+ "id": "ff-hold-uses--implements--adr-board",
1014
+ "sourceId": "ff-hold-uses",
1015
+ "targetId": "adr-board",
1016
+ "relationType": "implements"
1017
+ },
1018
+ {
1019
+ "id": "ff-hold-uses--implements--adr-teams",
1020
+ "sourceId": "ff-hold-uses",
1021
+ "targetId": "adr-teams",
1022
+ "relationType": "implements"
1023
+ },
1024
+ {
1025
+ "id": "ff-hold-uses--implements--adr-rfc",
1026
+ "sourceId": "ff-hold-uses",
1027
+ "targetId": "adr-rfc",
1028
+ "relationType": "implements"
1029
+ },
1030
+ {
1031
+ "id": "ff-hold-uses--implements--adr-hold-migrate",
1032
+ "sourceId": "ff-hold-uses",
1033
+ "targetId": "adr-hold-migrate",
1034
+ "relationType": "implements"
1035
+ },
1036
+ {
1037
+ "id": "ff-hold-uses--implements--adr-hold-freeze",
1038
+ "sourceId": "ff-hold-uses",
1039
+ "targetId": "adr-hold-freeze",
1040
+ "relationType": "implements"
1041
+ },
1042
+ {
1043
+ "id": "ff-hold-migration--implements--adr-hold-migrate",
1044
+ "sourceId": "ff-hold-migration",
1045
+ "targetId": "adr-hold-migrate",
1046
+ "relationType": "implements"
1047
+ },
1048
+ {
1049
+ "id": "ff-trial-entries--implements--adr-board",
1050
+ "sourceId": "ff-trial-entries",
1051
+ "targetId": "adr-board",
1052
+ "relationType": "implements"
1053
+ },
1054
+ {
1055
+ "id": "ff-trial-entries--implements--adr-teams",
1056
+ "sourceId": "ff-trial-entries",
1057
+ "targetId": "adr-teams",
1058
+ "relationType": "implements"
1059
+ },
1060
+ {
1061
+ "id": "ff-trial-entries--implements--adr-rfc",
1062
+ "sourceId": "ff-trial-entries",
1063
+ "targetId": "adr-rfc",
1064
+ "relationType": "implements"
1065
+ },
1066
+ {
1067
+ "id": "ff-trial-entries--implements--adr-trial-timebox",
1068
+ "sourceId": "ff-trial-entries",
1069
+ "targetId": "adr-trial-timebox",
1070
+ "relationType": "implements"
1071
+ },
1072
+ {
1073
+ "id": "ff-trial-entries--implements--adr-trial-open",
1074
+ "sourceId": "ff-trial-entries",
1075
+ "targetId": "adr-trial-open",
1076
+ "relationType": "implements"
1077
+ },
1078
+ {
1079
+ "id": "ff-trial-timebox--implements--adr-trial-timebox",
1080
+ "sourceId": "ff-trial-timebox",
1081
+ "targetId": "adr-trial-timebox",
1082
+ "relationType": "implements"
1083
+ },
1084
+ {
1085
+ "id": "ff-review-cadence--implements--adr-board",
1086
+ "sourceId": "ff-review-cadence",
1087
+ "targetId": "adr-board",
1088
+ "relationType": "implements"
1089
+ },
1090
+ {
1091
+ "id": "ff-review-cadence--implements--adr-teams",
1092
+ "sourceId": "ff-review-cadence",
1093
+ "targetId": "adr-teams",
1094
+ "relationType": "implements"
1095
+ },
1096
+ {
1097
+ "id": "ff-review-cadence--implements--adr-rfc",
1098
+ "sourceId": "ff-review-cadence",
1099
+ "targetId": "adr-rfc",
1100
+ "relationType": "implements"
1101
+ },
1102
+ {
1103
+ "id": "ff-ring-approval--implements--adr-board",
1104
+ "sourceId": "ff-ring-approval",
1105
+ "targetId": "adr-board",
1106
+ "relationType": "implements"
1107
+ },
1108
+ {
1109
+ "id": "ff-ring-approval--implements--adr-rfc",
1110
+ "sourceId": "ff-ring-approval",
1111
+ "targetId": "adr-rfc",
1112
+ "relationType": "implements"
1113
+ },
1114
+ {
1115
+ "id": "ff-rfc-answered--implements--adr-rfc",
1116
+ "sourceId": "ff-rfc-answered",
1117
+ "targetId": "adr-rfc",
1118
+ "relationType": "implements"
1119
+ },
1120
+ {
1121
+ "id": "ff-team-owned--implements--adr-teams",
1122
+ "sourceId": "ff-team-owned",
1123
+ "targetId": "adr-teams",
1124
+ "relationType": "implements"
1125
+ },
1126
+ {
1127
+ "id": "ff-byor-publish--implements--adr-board",
1128
+ "sourceId": "ff-byor-publish",
1129
+ "targetId": "adr-board",
1130
+ "relationType": "implements"
1131
+ },
1132
+ {
1133
+ "id": "ff-byor-publish--implements--adr-teams",
1134
+ "sourceId": "ff-byor-publish",
1135
+ "targetId": "adr-teams",
1136
+ "relationType": "implements"
1137
+ },
1138
+ {
1139
+ "id": "ff-byor-publish--implements--adr-rfc",
1140
+ "sourceId": "ff-byor-publish",
1141
+ "targetId": "adr-rfc",
1142
+ "relationType": "implements"
1143
+ }
1144
+ ]
1145
+ }