@radicaltools/cli 0.3.0 → 0.3.2

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 +332 -44
  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 +449 -210
  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 +287 -131
  9. package/dist/hub-catalogue/concern/concern-audit-trail.radical +1096 -0
  10. package/dist/hub-catalogue/concern/concern-authentication.radical +247 -37
  11. package/dist/hub-catalogue/concern/concern-authorization.radical +311 -89
  12. package/dist/hub-catalogue/concern/concern-availability.radical +287 -63
  13. package/dist/hub-catalogue/concern/concern-backend-stack.radical +300 -381
  14. package/dist/hub-catalogue/concern/concern-backup-recovery.radical +385 -129
  15. package/dist/hub-catalogue/concern/concern-caching.radical +1294 -0
  16. package/dist/hub-catalogue/concern/concern-capacity.radical +194 -81
  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 +473 -167
  22. package/dist/hub-catalogue/concern/concern-data-classification.radical +970 -0
  23. package/dist/hub-catalogue/concern/concern-data-consistency.radical +339 -308
  24. package/dist/hub-catalogue/concern/concern-data-store.radical +480 -158
  25. package/dist/hub-catalogue/concern/concern-decomposition.radical +260 -85
  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 +343 -92
  30. package/dist/hub-catalogue/concern/concern-encryption.radical +339 -76
  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 +467 -160
  34. package/dist/hub-catalogue/concern/concern-incident-management.radical +1204 -0
  35. package/dist/hub-catalogue/concern/concern-infrastructure.radical +1300 -268
  36. package/dist/hub-catalogue/concern/concern-integration-resilience.radical +88 -51
  37. package/dist/hub-catalogue/concern/concern-messaging.radical +173 -140
  38. package/dist/hub-catalogue/concern/concern-module-boundaries.radical +162 -159
  39. package/dist/hub-catalogue/concern/concern-observability.radical +224 -275
  40. package/dist/hub-catalogue/concern/concern-operational-readiness.radical +1249 -0
  41. package/dist/hub-catalogue/concern/concern-personal-data.radical +637 -122
  42. package/dist/hub-catalogue/concern/concern-quality-priorities.radical +1091 -0
  43. package/dist/hub-catalogue/concern/concern-rate-limiting.radical +433 -141
  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 +332 -74
  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 +257 -183
  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 +271 -137
  54. package/dist/hub-catalogue/concern/concern-test-strategy.radical +243 -224
  55. package/dist/hub-catalogue/concern/concern-threat-modelling.radical +1143 -0
  56. package/dist/index.js +10608 -6579
  57. package/package.json +1 -1
@@ -0,0 +1,1345 @@
1
+ {
2
+ "hub": {
3
+ "id": "concern-dependency-hygiene",
4
+ "category": "concern",
5
+ "name": "Dependency hygiene",
6
+ "description": "Keeping third-party dependencies current, pinned, used and licensed: how updates arrive, how versions are locked, what happens to an unused or abandoned dependency, which licences are allowed, and how far behind upstream the element may fall.",
7
+ "tags": [
8
+ "maintainability",
9
+ "dependencies",
10
+ "renovate",
11
+ "dependabot",
12
+ "lockfile",
13
+ "libyear",
14
+ "licences"
15
+ ],
16
+ "requiredMetamodel": "c4-ddd-governance-builtin",
17
+ "concern": {
18
+ "id": "dependency-hygiene",
19
+ "trigger": "LIST NODES WHERE (type = \"container\" OR type = \"webapp\") AND external != true",
20
+ "why": "these elements are built from third-party packages that keep moving, so how updates arrive, how versions are locked and what happens to unused, abandoned or wrongly licensed dependencies has to be decided; one decision usually covers a whole repository and is bound to every element built from it.",
21
+ "group": "coding"
22
+ },
23
+ "sources": [
24
+ {
25
+ "title": "Renovate docs: Automerge configuration and troubleshooting",
26
+ "url": "https://docs.renovatebot.com/key-concepts/automerge/"
27
+ },
28
+ {
29
+ "title": "Renovate docs: Configuration options, packageRules",
30
+ "url": "https://docs.renovatebot.com/configuration-options/#packagerules"
31
+ },
32
+ {
33
+ "title": "GitHub Docs: Dependabot options reference (groups, schedule, cooldown)",
34
+ "url": "https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference"
35
+ },
36
+ {
37
+ "title": "libyear: a simple measure of dependency freshness (Cox, Bouwers, van Eekelen, Visser: Measuring Dependency Freshness in Software Systems, ICSE 2015)",
38
+ "url": "https://libyear.com/"
39
+ },
40
+ {
41
+ "title": "Semantic Versioning 2.0.0",
42
+ "url": "https://semver.org/"
43
+ },
44
+ {
45
+ "title": "npm Docs: npm ci and package-lock.json",
46
+ "url": "https://docs.npmjs.com/cli/v10/commands/npm-ci"
47
+ },
48
+ {
49
+ "title": "SPDX License List",
50
+ "url": "https://spdx.org/licenses/"
51
+ },
52
+ {
53
+ "title": "Open Source Initiative: OSI Approved Licenses",
54
+ "url": "https://opensource.org/licenses"
55
+ },
56
+ {
57
+ "title": "Martin Fowler: Continuous Integration",
58
+ "url": "https://martinfowler.com/articles/continuousintegration.html"
59
+ },
60
+ {
61
+ "title": "Knip documentation",
62
+ "url": "https://knip.dev/"
63
+ },
64
+ {
65
+ "title": "OWASP Top 10 2021, A06: Vulnerable and Outdated Components",
66
+ "url": "https://owasp.org/Top10/A06_2021-Vulnerable_and_Outdated_Components/"
67
+ },
68
+ {
69
+ "title": "OpenSSF Scorecard checks: Maintained",
70
+ "url": "https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained"
71
+ }
72
+ ],
73
+ "templateParams": [
74
+ {
75
+ "key": "UPDATES",
76
+ "title": "Updates",
77
+ "label": "How do dependency updates arrive?",
78
+ "hint": "This decides most of the rest: how many pull requests people see, how far behind the element may drift, and how much the tests have to be trusted. Other packs (Backend stack, Frontend stack) take this answer as given.",
79
+ "defaultValue": "automerge-patch",
80
+ "options": [
81
+ {
82
+ "value": "automerge-patch",
83
+ "label": "a bot that merges patch and minor updates on its own",
84
+ "description": "Renovate opens a pull request per update; patch and minor updates of packages that follow semantic versioning (not 0.x) merge automatically once the required checks pass and the release is at least 3 days old, major updates wait for a person. Pick it when the test suite is one you would release on (see the Test strategy concern) and the team would rather review majors than click through dozens of minors."
85
+ },
86
+ {
87
+ "value": "weekly-batch",
88
+ "label": "one weekly pull request from a bot, merged by a person",
89
+ "description": "Renovate groups, or Dependabot grouped updates, open one pull request a week with every minor and patch update, and separate ones for majors; a person reviews and merges them within the week. Pick it when the tests are not yet trusted enough to merge unattended, or when the team wants to see what changed."
90
+ },
91
+ {
92
+ "value": "manual",
93
+ "label": "updates by hand on a cadence, from an outdated report",
94
+ "description": "No bot pull requests; on a cadence (every 14 days by default) a job publishes an outdated report as an issue and a person applies the updates in one change. Pick it for a small or frozen codebase with few dependencies, or where no bot may open pull requests."
95
+ }
96
+ ]
97
+ },
98
+ {
99
+ "key": "PINNING",
100
+ "title": "Pinning",
101
+ "label": "How are versions pinned?",
102
+ "hint": "The manifest says what is acceptable, the lockfile says what was installed; the question is which of the two the build obeys, and who decides when it moves. Integrity hashes and SHA-pinned CI actions belong to the Software supply chain concern, which takes this answer as given.",
103
+ "defaultValue": "lockfile-ranges",
104
+ "options": [
105
+ {
106
+ "value": "lockfile-ranges",
107
+ "label": "ranges in the manifest, exact versions in a committed lockfile",
108
+ "description": "The manifest declares caret ranges (except the formatter, which is pinned exactly, as the Code style and conventions pack decides), the committed lockfile fixes every version, transitive ones included, and CI installs exactly the lockfile (npm ci, pnpm install --frozen-lockfile, uv sync --locked, go mod verify). Pick it as the default for applications: reproducible builds, and updates arrive as lockfile changes the bot can open."
109
+ },
110
+ {
111
+ "value": "exact",
112
+ "label": "exact versions in the manifest and the lockfile",
113
+ "description": "The manifest holds no ^ or ~ ranges (save-exact), so every version change is a visible line in a reviewed diff, and the lockfile pins the transitive tree. Pick it when auditors or a platform team want each version change explicit in the manifest, or when a range has already let a surprise in."
114
+ },
115
+ {
116
+ "value": "floating",
117
+ "label": "ranges without a lockfile, resolved by each consumer",
118
+ "description": "A library declares the ranges it supports and commits no lockfile, so each consumer resolves its own tree; CI tests the range at its lowest and highest resolution. Pick it only for a published library; an application always locks."
119
+ }
120
+ ]
121
+ },
122
+ {
123
+ "key": "UNUSED",
124
+ "title": "Unused",
125
+ "label": "What happens to a dependency nobody imports?",
126
+ "hint": "A dependency nobody uses is still installed, scanned, patched and licensed; one that is imported but not declared works only by accident.",
127
+ "defaultValue": "forbidden",
128
+ "options": [
129
+ {
130
+ "value": "forbidden",
131
+ "label": "a failed build",
132
+ "description": "knip or depcheck (Node), deptry (Python) or go mod tidy -diff run on every pull request and fail it on a declared dependency nobody imports, an import nobody declared, or a dev dependency used in production code. Pick it as the default; the first run cleans the backlog, after that it costs nothing."
133
+ },
134
+ {
135
+ "value": "reviewed",
136
+ "label": "a report on a cadence, removed in a review",
137
+ "description": "A scheduled job publishes the unused-dependency report as an issue on a cadence (every 90 days by default) and the team removes or justifies each entry before the next one. Pick it when the analysis has too many false positives on the codebase (plugins loaded by name, dynamic requires) to be a gate yet."
138
+ }
139
+ ]
140
+ },
141
+ {
142
+ "key": "LICENCES",
143
+ "title": "Licences",
144
+ "label": "Which licences may a dependency carry?",
145
+ "hint": "A copyleft licence in a product that is shipped, or an unknown one, is a legal finding found late; what counts depends on whether the element leaves the organisation.",
146
+ "defaultValue": "allowlist",
147
+ "options": [
148
+ {
149
+ "value": "allowlist",
150
+ "label": "an allowlist of licences",
151
+ "description": "Every dependency, transitive ones included, must carry one of the allowed SPDX licences (MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause and ISC by default); an unknown, missing or copyleft licence fails the build until it is replaced or an exception for that package and version is recorded. Pick it for anything shipped to customers, embedded in a product or offered as a service outside the organisation."
152
+ },
153
+ {
154
+ "value": "denylist",
155
+ "label": "a denylist of forbidden licences",
156
+ "description": "The build fails only on the forbidden licences (GPL-2.0-only, GPL-3.0-only, AGPL-3.0-only and SSPL-1.0 by default); other licences, unknown ones included, pass and are listed in the report. Pick it for internal services where strong copyleft is the only real risk and an allowlist would block too much."
157
+ },
158
+ {
159
+ "value": "none",
160
+ "label": "no licence check, for an element that is never distributed",
161
+ "description": "No licence check; the element is never distributed, published or offered to anyone outside the organisation, which is what makes most licence terms moot, and a check keeps it that way. Pick it only for internal tools, and revisit the moment the element leaves the building."
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ "key": "AGE",
167
+ "title": "Freshness",
168
+ "label": "How far behind upstream may the element fall?",
169
+ "hint": "libyear counts, for each dependency, the time between the version used and the latest release; the total shows the upgrade debt in one number.",
170
+ "defaultValue": "max-age",
171
+ "options": [
172
+ {
173
+ "value": "max-age",
174
+ "label": "a libyear budget, in total and per dependency",
175
+ "description": "A job measures libyear on every pull request and fails when the total exceeds the budget (1 libyear by default) or one dependency is further behind its latest release than allowed (6 months by default). Pick it whenever the element is in active development; it keeps the big-bang upgrade from ever being needed."
176
+ },
177
+ {
178
+ "value": "none",
179
+ "label": "no freshness measure",
180
+ "description": "Freshness is not measured; updates arrive as the update process delivers them, and nothing fails when the element falls behind. Pick it for a frozen codebase that is only patched, and say so in the decision."
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "key": "MANUAL_CADENCE_DAYS",
186
+ "label": "Every how many days are dependencies updated by hand (manual updates)?",
187
+ "defaultValue": "14",
188
+ "type": "number"
189
+ },
190
+ {
191
+ "key": "UPDATE_DAY",
192
+ "label": "On which weekday does the weekly update pull request land (lower case, as Dependabot writes it)?",
193
+ "defaultValue": "monday"
194
+ },
195
+ {
196
+ "key": "REVIEW_CADENCE_DAYS",
197
+ "label": "Every how many days is the unused-dependency report reviewed?",
198
+ "defaultValue": "90",
199
+ "type": "number"
200
+ },
201
+ {
202
+ "key": "REPLACE_DAYS",
203
+ "label": "Within how many days must a deprecated or dormant dependency be replaced, forked or removed?",
204
+ "defaultValue": "90",
205
+ "type": "number"
206
+ },
207
+ {
208
+ "key": "ALLOWED_LICENCES",
209
+ "label": "Which licences are allowed (SPDX identifiers, comma-separated)?",
210
+ "defaultValue": "MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC"
211
+ },
212
+ {
213
+ "key": "DENIED_LICENCES",
214
+ "label": "Which licences are forbidden (SPDX identifiers, comma-separated)?",
215
+ "defaultValue": "GPL-2.0-only, GPL-3.0-only, AGPL-3.0-only, SSPL-1.0"
216
+ },
217
+ {
218
+ "key": "INTERNAL_REGISTRY",
219
+ "label": "Which host is the internal registry that artefacts may be published to (for an element never distributed)?",
220
+ "defaultValue": "registry.internal.example.com"
221
+ },
222
+ {
223
+ "key": "MAX_LIBYEARS",
224
+ "label": "How many libyears may all direct dependencies add up to?",
225
+ "defaultValue": "1.0",
226
+ "type": "number"
227
+ },
228
+ {
229
+ "key": "MAX_MONTHS_BEHIND",
230
+ "label": "How many months may one dependency be behind its latest release?",
231
+ "defaultValue": "6",
232
+ "type": "number"
233
+ }
234
+ ]
235
+ },
236
+ "nodes": [
237
+ {
238
+ "id": "need",
239
+ "type": "need",
240
+ "label": "Dependencies stay current, pinned, used and licensed",
241
+ "x": 0,
242
+ "y": 0,
243
+ "kind": "brief",
244
+ "source": "Hub concern pack: Dependency hygiene",
245
+ "description": "The element runs mostly on code we did not write, and that code keeps changing upstream. Updates must arrive in small steps that a build can prove safe, instead of one upgrade a year that breaks everything at once; every build must install the versions that were tested; what is installed must be what the code uses, with nothing abandoned or forgotten in it; and every package must carry a licence we may ship under. The security side of the same packages, known vulnerabilities, integrity and provenance, is decided by the Software supply chain concern."
246
+ },
247
+ {
248
+ "id": "req-automerge",
249
+ "type": "requirement",
250
+ "label": "Safe updates merge on their own",
251
+ "x": 260,
252
+ "y": 0,
253
+ "ears_type": "event-driven",
254
+ "trigger": "the update bot opens a patch or minor update of a package at version 1.0.0 or above and every required check passes",
255
+ "action": "merge it without a person, after the release has been public for at least 3 days, and leave major updates and updates of 0.x packages for a person to review",
256
+ "rationale": "Under semantic versioning a patch or minor release adds no breaking change, and 0.x versions promise nothing (semver.org 4, 6, 7); a short minimum release age lets a bad release be pulled before it is merged (Renovate docs, Automerge, minimumReleaseAge).",
257
+ "hubWhen": {
258
+ "UPDATES": [
259
+ "automerge-patch"
260
+ ]
261
+ }
262
+ },
263
+ {
264
+ "id": "req-weekly-batch",
265
+ "type": "requirement",
266
+ "label": "One update pull request a week",
267
+ "x": 260,
268
+ "y": 130,
269
+ "ears_type": "event-driven",
270
+ "trigger": "the weekly update run starts on {{UPDATE_DAY}}",
271
+ "action": "open at most one pull request with every pending patch and minor update and one per pending major update, and have a person merge or close each within 7 days",
272
+ "rationale": "One grouped pull request a week is reviewed; thirty single ones are ignored (GitHub Docs, Dependabot grouped updates; Fowler, Continuous Integration: everyone commits to the mainline every day).",
273
+ "hubWhen": {
274
+ "UPDATES": [
275
+ "weekly-batch"
276
+ ]
277
+ }
278
+ },
279
+ {
280
+ "id": "req-manual-cadence",
281
+ "type": "requirement",
282
+ "label": "Updates applied on a cadence",
283
+ "x": 260,
284
+ "y": 260,
285
+ "ears_type": "event-driven",
286
+ "trigger": "{{MANUAL_CADENCE_DAYS}} days have passed since the last dependency update",
287
+ "action": "publish an outdated report listing every dependency behind its latest release with current, wanted and latest version, and apply or defer each line in one reviewed change before the next report",
288
+ "rationale": "Without a bot, a fixed cadence and a report are what keep \"later\" from becoming \"never\" (Cox et al., Measuring Dependency Freshness: freshness decays unless updating is routine).",
289
+ "hubWhen": {
290
+ "UPDATES": [
291
+ "manual"
292
+ ]
293
+ }
294
+ },
295
+ {
296
+ "id": "req-same-checks",
297
+ "type": "requirement",
298
+ "label": "Updates pass the same checks",
299
+ "x": 260,
300
+ "y": 390,
301
+ "ears_type": "ubiquitous",
302
+ "action": "run every required check of an ordinary pull request on every dependency update, bot-made or by hand (labelled dependencies), and merge no update whose checks did not all succeed",
303
+ "rationale": "An update is a code change made by someone else; only the full build proves it safe, and automerge is only as safe as that build (Fowler, Continuous Integration; Renovate docs, Automerge: only with good test coverage)."
304
+ },
305
+ {
306
+ "id": "req-lockfile-install",
307
+ "type": "requirement",
308
+ "label": "Builds install the lockfile",
309
+ "x": 260,
310
+ "y": 520,
311
+ "ears_type": "unwanted-behaviour",
312
+ "unwanted_condition": "the committed lockfile does not match the manifest, a manifest has no lockfile beside it, or a build would resolve a version other than the one in it",
313
+ "action": "fail the build instead of updating the lockfile or installing something else",
314
+ "rationale": "A lockfile only reproduces the tested tree if the build refuses to drift from it (npm Docs, npm ci: fails when package.json and package-lock.json disagree). The Software supply chain pack takes this as given for its hashes and registry proxy.",
315
+ "hubWhen": {
316
+ "PINNING": [
317
+ "lockfile-ranges",
318
+ "exact"
319
+ ]
320
+ }
321
+ },
322
+ {
323
+ "id": "req-exact-versions",
324
+ "type": "requirement",
325
+ "label": "No ranges in the manifest",
326
+ "x": 260,
327
+ "y": 650,
328
+ "ears_type": "ubiquitous",
329
+ "action": "declare every dependency in the manifest with one exact version (workspace and alias protocols resolving to one version included), 0 caret, tilde, wildcard, comparison or hyphen ranges and 0 dist-tags, so that every version change is a visible line in a reviewed diff",
330
+ "rationale": "With exact versions a change in what is installed is always a change in the manifest; a range lets the lockfile move without a line in the file people read (semver.org; npm Docs, save-exact).",
331
+ "hubWhen": {
332
+ "PINNING": [
333
+ "exact"
334
+ ]
335
+ }
336
+ },
337
+ {
338
+ "id": "req-floating-range",
339
+ "type": "requirement",
340
+ "label": "Declared ranges are tested at both ends",
341
+ "x": 260,
342
+ "y": 780,
343
+ "ears_type": "ubiquitous",
344
+ "action": "commit no lockfile, declare for every dependency the lowest version the code works with as the range's lower bound, and test on every pull request against both the lowest and the highest resolution of the declared ranges",
345
+ "rationale": "A library imposes its ranges on every consumer; a lower bound nobody tested is a promise nobody kept (semver.org 8, 9; Cox et al., Measuring Dependency Freshness).",
346
+ "hubWhen": {
347
+ "PINNING": [
348
+ "floating"
349
+ ]
350
+ }
351
+ },
352
+ {
353
+ "id": "req-unused-fails",
354
+ "type": "requirement",
355
+ "label": "Unused dependencies fail the build",
356
+ "x": 260,
357
+ "y": 910,
358
+ "ears_type": "unwanted-behaviour",
359
+ "unwanted_condition": "a pull request leaves a declared dependency nobody imports, an import of a package nobody declared, or a dev dependency used in production code",
360
+ "action": "fail its required check naming the package",
361
+ "rationale": "Every installed package is attack surface, patch work and licence to carry; an undeclared import works only until a transitive dependency drops it (Knip documentation: unused and unlisted dependencies; OWASP Top 10 A06:2021).",
362
+ "hubWhen": {
363
+ "UNUSED": [
364
+ "forbidden"
365
+ ]
366
+ }
367
+ },
368
+ {
369
+ "id": "req-unused-review",
370
+ "type": "requirement",
371
+ "label": "Unused dependencies reviewed",
372
+ "x": 260,
373
+ "y": 1040,
374
+ "ears_type": "event-driven",
375
+ "trigger": "{{REVIEW_CADENCE_DAYS}} days have passed since the last unused-dependency review",
376
+ "action": "publish the unused-dependency report as an issue and remove or record a reason for every entry before the next report, so that 0 entries appear in two consecutive reports without a reason in dependency-exceptions.json",
377
+ "rationale": "A report nobody acts on is noise; the rule that nothing appears twice unexplained keeps the backlog from growing (Knip documentation; Fowler, Continuous Integration).",
378
+ "hubWhen": {
379
+ "UNUSED": [
380
+ "reviewed"
381
+ ]
382
+ }
383
+ },
384
+ {
385
+ "id": "req-abandoned",
386
+ "type": "requirement",
387
+ "label": "Abandoned dependencies replaced",
388
+ "x": 260,
389
+ "y": 1170,
390
+ "ears_type": "state-driven",
391
+ "precondition": "a direct dependency is marked deprecated on its registry, or its latest version was released more than 24 months ago",
392
+ "action": "fail the daily check naming it until it is replaced, forked or removed within {{REPLACE_DAYS}} days, or listed with an issue in dependency-exceptions.json",
393
+ "rationale": "A package nobody maintains gets no fix when the next vulnerability or runtime version arrives; finding out then is too late (OpenSSF Scorecard, Maintained check; Cox et al., Measuring Dependency Freshness)."
394
+ },
395
+ {
396
+ "id": "req-licence-allowlist",
397
+ "type": "requirement",
398
+ "label": "Only allowed licences",
399
+ "x": 260,
400
+ "y": 1300,
401
+ "ears_type": "unwanted-behaviour",
402
+ "unwanted_condition": "a production dependency, transitive ones included, carries a licence that is not one of {{ALLOWED_LICENCES}}, or no recognisable licence at all",
403
+ "action": "fail the build naming the package and its licence, unless an exception for that package and version is recorded in dependency-exceptions.json",
404
+ "rationale": "An allowlist of SPDX identifiers is a decision made once, instead of a lawyer's question at every release; an unknown licence is the riskiest of all (SPDX License List; OSI approved licences).",
405
+ "hubWhen": {
406
+ "LICENCES": [
407
+ "allowlist"
408
+ ]
409
+ }
410
+ },
411
+ {
412
+ "id": "req-licence-denylist",
413
+ "type": "requirement",
414
+ "label": "Forbidden licences refused",
415
+ "x": 260,
416
+ "y": 1430,
417
+ "ears_type": "unwanted-behaviour",
418
+ "unwanted_condition": "a production dependency, transitive ones included, carries one of {{DENIED_LICENCES}}",
419
+ "action": "fail the build naming the package and its licence, and list every other licence found in the build report",
420
+ "rationale": "Strong copyleft is the licence family that changes the terms of what links to it; a denylist stops it at the door without blocking the long tail of permissive licences (SPDX License List; OSI).",
421
+ "hubWhen": {
422
+ "LICENCES": [
423
+ "denylist"
424
+ ]
425
+ }
426
+ },
427
+ {
428
+ "id": "req-internal-only",
429
+ "type": "requirement",
430
+ "label": "Never distributed",
431
+ "x": 260,
432
+ "y": 1560,
433
+ "ears_type": "ubiquitous",
434
+ "action": "publish no package, image or binary of the element anywhere but {{INTERNAL_REGISTRY}}: the manifest is private, and every publish or push command in the pipelines names that host",
435
+ "rationale": "Not checking licences is safe only while nothing is distributed; a check over the publish targets is what turns the first external release into the licence question instead of a surprise (SPDX License List; OSI).",
436
+ "hubWhen": {
437
+ "LICENCES": [
438
+ "none"
439
+ ]
440
+ }
441
+ },
442
+ {
443
+ "id": "req-freshness",
444
+ "type": "requirement",
445
+ "label": "Freshness bounded",
446
+ "x": 260,
447
+ "y": 1690,
448
+ "ears_type": "ubiquitous",
449
+ "action": "keep the direct dependencies at most {{MAX_LIBYEARS}} libyears behind their latest releases in total, and no single one more than {{MAX_MONTHS_BEHIND}} months behind, measured on every pull request",
450
+ "rationale": "libyear turns upgrade debt into one number that can be bounded; systems with a low libyear count are upgraded in small steps instead of rewritten (Cox et al., Measuring Dependency Freshness; libyear.com).",
451
+ "hubWhen": {
452
+ "AGE": [
453
+ "max-age"
454
+ ]
455
+ }
456
+ },
457
+ {
458
+ "id": "sc-automerge",
459
+ "type": "scenario",
460
+ "label": "Minor update merges itself",
461
+ "x": 520,
462
+ "y": 0,
463
+ "given": "Renovate configured for the element and a dependency with a new minor release 3 days old and a new major release",
464
+ "when": "the update pull requests are opened and their checks pass",
465
+ "then": "the minor update is merged without a reviewer and the major one waits with the major-update label",
466
+ "hubWhen": {
467
+ "UPDATES": [
468
+ "automerge-patch"
469
+ ]
470
+ }
471
+ },
472
+ {
473
+ "id": "sc-weekly-batch",
474
+ "type": "scenario",
475
+ "label": "Weekly batch merged in time",
476
+ "x": 520,
477
+ "y": 130,
478
+ "given": "four pending minor updates and one pending major update",
479
+ "when": "the run on {{UPDATE_DAY}} opens the pull requests and the daily age check runs a week later",
480
+ "then": "one pull request carried the four minors and one the major, and none is still open after 7 days",
481
+ "hubWhen": {
482
+ "UPDATES": [
483
+ "weekly-batch"
484
+ ]
485
+ }
486
+ },
487
+ {
488
+ "id": "sc-manual-cadence",
489
+ "type": "scenario",
490
+ "label": "Report leads to an update",
491
+ "x": 520,
492
+ "y": 260,
493
+ "given": "the last dependency update is {{MANUAL_CADENCE_DAYS}} days old",
494
+ "when": "the report job runs",
495
+ "then": "an issue lists every outdated dependency, and the next run fails while that issue is still open",
496
+ "hubWhen": {
497
+ "UPDATES": [
498
+ "manual"
499
+ ]
500
+ }
501
+ },
502
+ {
503
+ "id": "sc-same-checks",
504
+ "type": "scenario",
505
+ "label": "Breaking update refused",
506
+ "x": 520,
507
+ "y": 390,
508
+ "given": "the dependency update pull requests merged in the last 30 days",
509
+ "when": "the weekly check reads their status checks",
510
+ "then": "every one has every check concluded success or skipped; one merged with a failed or missing check fails the job"
511
+ },
512
+ {
513
+ "id": "sc-lockfile-install",
514
+ "type": "scenario",
515
+ "label": "Drifted lockfile fails",
516
+ "x": 520,
517
+ "y": 520,
518
+ "given": "a manifest changed without regenerating the lockfile",
519
+ "when": "CI installs dependencies",
520
+ "then": "the install fails naming the package and the working tree is unchanged",
521
+ "hubWhen": {
522
+ "PINNING": [
523
+ "lockfile-ranges",
524
+ "exact"
525
+ ]
526
+ }
527
+ },
528
+ {
529
+ "id": "sc-exact-versions",
530
+ "type": "scenario",
531
+ "label": "Range refused",
532
+ "x": 520,
533
+ "y": 650,
534
+ "given": "a pull request that adds a dependency as ^2.1.0",
535
+ "when": "the manifest test runs",
536
+ "then": "it fails naming the dependency, and passes once the version is 2.1.0",
537
+ "hubWhen": {
538
+ "PINNING": [
539
+ "exact"
540
+ ]
541
+ }
542
+ },
543
+ {
544
+ "id": "sc-floating-range",
545
+ "type": "scenario",
546
+ "label": "Lower bound tested",
547
+ "x": 520,
548
+ "y": 780,
549
+ "given": "a library declaring a dependency as >=1.4",
550
+ "when": "the pull-request build runs",
551
+ "then": "one job installs 1.4 exactly and one the latest in range, both run the tests, and no lockfile is in the repository",
552
+ "hubWhen": {
553
+ "PINNING": [
554
+ "floating"
555
+ ]
556
+ }
557
+ },
558
+ {
559
+ "id": "sc-unused-fails",
560
+ "type": "scenario",
561
+ "label": "Orphan dependency refused",
562
+ "x": 520,
563
+ "y": 910,
564
+ "given": "a pull request that removes the last import of a package but not its manifest entry",
565
+ "when": "its checks run",
566
+ "then": "the dependency check fails naming the package",
567
+ "hubWhen": {
568
+ "UNUSED": [
569
+ "forbidden"
570
+ ]
571
+ }
572
+ },
573
+ {
574
+ "id": "sc-unused-review",
575
+ "type": "scenario",
576
+ "label": "Entry does not come back",
577
+ "x": 520,
578
+ "y": 1040,
579
+ "given": "a report naming an unused package",
580
+ "when": "the next report is published {{REVIEW_CADENCE_DAYS}} days later",
581
+ "then": "the package is gone from the manifest or dependency-exceptions.json carries its reason; otherwise the job fails naming it",
582
+ "hubWhen": {
583
+ "UNUSED": [
584
+ "reviewed"
585
+ ]
586
+ }
587
+ },
588
+ {
589
+ "id": "sc-abandoned",
590
+ "type": "scenario",
591
+ "label": "Deprecated package tracked",
592
+ "x": 520,
593
+ "y": 1170,
594
+ "given": "a direct dependency whose maintainer marks it deprecated",
595
+ "when": "the daily check runs",
596
+ "then": "it fails naming the package, and within {{REPLACE_DAYS}} days the package is no longer a dependency or dependency-exceptions.json names it with its issue"
597
+ },
598
+ {
599
+ "id": "sc-licence-allowlist",
600
+ "type": "scenario",
601
+ "label": "Copyleft dependency refused",
602
+ "x": 520,
603
+ "y": 1300,
604
+ "given": "a pull request adding a transitive dependency licensed GPL-3.0-only",
605
+ "when": "the licence check runs",
606
+ "then": "the build fails naming the package and the licence",
607
+ "hubWhen": {
608
+ "LICENCES": [
609
+ "allowlist"
610
+ ]
611
+ }
612
+ },
613
+ {
614
+ "id": "sc-licence-denylist",
615
+ "type": "scenario",
616
+ "label": "Forbidden licence refused",
617
+ "x": 520,
618
+ "y": 1430,
619
+ "given": "a pull request adding a dependency licensed AGPL-3.0-only",
620
+ "when": "the licence check runs",
621
+ "then": "the build fails naming the package and the licence, and the report lists the licences of the rest",
622
+ "hubWhen": {
623
+ "LICENCES": [
624
+ "denylist"
625
+ ]
626
+ }
627
+ },
628
+ {
629
+ "id": "sc-internal-only",
630
+ "type": "scenario",
631
+ "label": "No external artefact",
632
+ "x": 520,
633
+ "y": 1560,
634
+ "given": "the element's pipelines and manifest",
635
+ "when": "the publish-target check runs",
636
+ "then": "package.json is private and every publish or push command targets {{INTERNAL_REGISTRY}}; a push to another host fails the check",
637
+ "hubWhen": {
638
+ "LICENCES": [
639
+ "none"
640
+ ]
641
+ }
642
+ },
643
+ {
644
+ "id": "sc-freshness",
645
+ "type": "scenario",
646
+ "label": "Stale dependency fails",
647
+ "x": 520,
648
+ "y": 1690,
649
+ "given": "a dependency pinned to a version released {{MAX_MONTHS_BEHIND}} months and one week before its latest",
650
+ "when": "the libyear check runs",
651
+ "then": "it fails naming the dependency and its drift, and passes once the dependency is updated",
652
+ "hubWhen": {
653
+ "AGE": [
654
+ "max-age"
655
+ ]
656
+ }
657
+ },
658
+ {
659
+ "id": "adr-automerge",
660
+ "type": "adr",
661
+ "label": "Renovate merges patch and minor updates on its own",
662
+ "x": 780,
663
+ "y": 0,
664
+ "concern": "dependency-hygiene",
665
+ "status": "accepted",
666
+ "date": "",
667
+ "context": "This element is built from third-party packages that keep moving whether or not we follow. The forces: a dependency left alone for a year is upgraded in one painful jump, with every breaking change at once, while small frequent updates each cost minutes; a bot that merges on its own needs tests worth trusting, and one that only opens pull requests buries the team under them; a manifest with ranges and no lockfile builds something different each week, while exact pins turn every update into a commit someone has to make; a package nobody imports any more still gets installed, scanned and patched, and one whose maintainer left stops getting fixes without telling anyone; and a licence that forbids what we do with the code is found at the worst time, in due diligence. Vulnerability scanning and the deadlines to fix a vulnerable dependency, integrity hashes, where packages are fetched from, SBOMs and build provenance are decided by the Software supply chain concern; this one decides how the dependencies are kept current, pinned, used and licensed, and the Backend stack and Frontend stack packs refer here for updates and pinning. The snippets assume an npm project with package.json and package-lock.json at the root (one per workspace in a monorepo), the GitHub CLI, and dependency-exceptions.json at the root for recorded exceptions; each names the equivalent for Python, Go, the JVM and .NET.",
668
+ "decision": "Renovate (the Mend-hosted GitHub app, or the self-hosted runner) opens one pull request per dependency update from renovate.json in the repository, labelled dependencies. Patch and minor updates of packages at 1.0.0 or above merge automatically once the required checks pass and the release has been public for 3 days (minimumReleaseAge); major updates and updates of 0.x packages get a label and wait for a reviewer. Lockfile maintenance runs weekly. Pinning: {{PINNING}}. Unused dependencies: {{UNUSED}}. Licences: {{LICENCES}}. Freshness: {{AGE}}. Deprecated or dormant dependencies (no release for 24 months) are replaced, forked or removed within {{REPLACE_DAYS}} days. Renovate over Dependabot here because Dependabot cannot merge on its own (its cooldown covers the release age, not the merge).",
669
+ "consequences": "• Most updates land the day after release, in steps small enough that a failing one is easy to read.\n• The build is the only reviewer of a minor update: it has to be one the team would release on (Test strategy concern), or automerge is a way to ship breakage unattended.\n• A package that breaks semantic versioning in a minor release can still get through; the minimum release age and the tests are the defence, and such a package gets a packageRule that turns automerge off.\n• Renovate needs the app installed and permission to merge; the dependency dashboard issue is where paused and rate-limited updates show up.",
670
+ "alternatives": "1. One weekly grouped pull request a person merges: more control, more drift, one more chore a week.\n2. Dependabot with automerge through a GitHub Actions workflow: works, with the cooldown as the release age, but the merge logic lives in a workflow of our own.\n3. Manual updates from an outdated report: fine for a frozen codebase, a year of drift for a living one.",
671
+ "hubWhen": {
672
+ "UPDATES": [
673
+ "automerge-patch"
674
+ ]
675
+ }
676
+ },
677
+ {
678
+ "id": "adr-weekly-batch",
679
+ "type": "adr",
680
+ "label": "One grouped update pull request a week",
681
+ "x": 780,
682
+ "y": 130,
683
+ "concern": "dependency-hygiene",
684
+ "status": "accepted",
685
+ "date": "",
686
+ "context": "This element is built from third-party packages that keep moving whether or not we follow. The forces: a dependency left alone for a year is upgraded in one painful jump, with every breaking change at once, while small frequent updates each cost minutes; a bot that merges on its own needs tests worth trusting, and one that only opens pull requests buries the team under them; a manifest with ranges and no lockfile builds something different each week, while exact pins turn every update into a commit someone has to make; a package nobody imports any more still gets installed, scanned and patched, and one whose maintainer left stops getting fixes without telling anyone; and a licence that forbids what we do with the code is found at the worst time, in due diligence. Vulnerability scanning and the deadlines to fix a vulnerable dependency, integrity hashes, where packages are fetched from, SBOMs and build provenance are decided by the Software supply chain concern; this one decides how the dependencies are kept current, pinned, used and licensed, and the Backend stack and Frontend stack packs refer here for updates and pinning. The snippets assume an npm project with package.json and package-lock.json at the root (one per workspace in a monorepo), the GitHub CLI, and dependency-exceptions.json at the root for recorded exceptions; each names the equivalent for Python, Go, the JVM and .NET.",
687
+ "decision": "An update bot opens one pull request every {{UPDATE_DAY}} with all pending patch and minor updates grouped, and a separate one per major update, labelled dependencies: Dependabot version updates with groups in .github/dependabot.yml on GitHub, or Renovate with a single groupName and a weekly schedule elsewhere. A person reviews the batch, reads the changelogs of anything that touches the public behaviour, and merges or closes it within 7 days; nothing merges without the required checks, and a daily job fails on an update pull request older than 7 days. Pinning: {{PINNING}}. Unused dependencies: {{UNUSED}}. Licences: {{LICENCES}}. Freshness: {{AGE}}. Deprecated or dormant dependencies (no release for 24 months) are replaced, forked or removed within {{REPLACE_DAYS}} days.",
688
+ "consequences": "• A week of drift at most, and the team sees what changed.\n• One batch is bisected by hand when it breaks: with many updates in it, finding the culprit takes a while, which is why majors stay separate.\n• The batch needs an owner each week or it goes stale and the next one conflicts with it.\n• Dependabot groups cannot merge on their own; moving to automerge later means moving to Renovate or adding a workflow.",
689
+ "alternatives": "1. Automerge of patch and minor updates with Renovate: less drift and no weekly chore, but the tests must be trusted.\n2. One pull request per update, unmerged: dozens of open pull requests that nobody reads.\n3. Manual updates from an outdated report: the same drift with more work.",
690
+ "hubWhen": {
691
+ "UPDATES": [
692
+ "weekly-batch"
693
+ ]
694
+ }
695
+ },
696
+ {
697
+ "id": "adr-manual",
698
+ "type": "adr",
699
+ "label": "Dependencies updated by hand on a cadence",
700
+ "x": 780,
701
+ "y": 260,
702
+ "concern": "dependency-hygiene",
703
+ "status": "accepted",
704
+ "date": "",
705
+ "context": "This element is built from third-party packages that keep moving whether or not we follow. The forces: a dependency left alone for a year is upgraded in one painful jump, with every breaking change at once, while small frequent updates each cost minutes; a bot that merges on its own needs tests worth trusting, and one that only opens pull requests buries the team under them; a manifest with ranges and no lockfile builds something different each week, while exact pins turn every update into a commit someone has to make; a package nobody imports any more still gets installed, scanned and patched, and one whose maintainer left stops getting fixes without telling anyone; and a licence that forbids what we do with the code is found at the worst time, in due diligence. Vulnerability scanning and the deadlines to fix a vulnerable dependency, integrity hashes, where packages are fetched from, SBOMs and build provenance are decided by the Software supply chain concern; this one decides how the dependencies are kept current, pinned, used and licensed, and the Backend stack and Frontend stack packs refer here for updates and pinning. The snippets assume an npm project with package.json and package-lock.json at the root (one per workspace in a monorepo), the GitHub CLI, and dependency-exceptions.json at the root for recorded exceptions; each names the equivalent for Python, Go, the JVM and .NET.",
706
+ "decision": "No bot opens pull requests. A scheduled job runs every {{MANUAL_CADENCE_DAYS}} days, produces the outdated report (npm outdated --json; pip list --outdated --format=json; go list -m -u all; mvn versions:display-dependency-updates; dotnet list package --outdated) and opens an issue with it labelled dependencies; a person updates or explicitly defers every line in one reviewed change, labelled dependencies, before the next report, and the job fails if the previous report's issue is still open. Pinning: {{PINNING}}. Unused dependencies: {{UNUSED}}. Licences: {{LICENCES}}. Freshness: {{AGE}}. Deprecated or dormant dependencies (no release for 24 months) are replaced, forked or removed within {{REPLACE_DAYS}} days. This decision fits a small or frozen codebase; when the element returns to active development it is superseded by a bot.",
707
+ "consequences": "• No bot, no app permissions, no stream of pull requests.\n• Up to {{MANUAL_CADENCE_DAYS}} days of drift, and the update is one larger change rather than many small ones.\n• Depends on a person doing the chore; the failing report job is the only thing that notices when they do not.\n• Security fixes in dependencies wait for the cadence unless the Software supply chain concern's deadlines pull them forward.",
708
+ "alternatives": "1. Renovate with automerge of patch and minor updates: continuous, needs trusted tests.\n2. A weekly grouped bot pull request: the same cadence with the diff prepared for you; preferable wherever a bot may run.",
709
+ "hubWhen": {
710
+ "UPDATES": [
711
+ "manual"
712
+ ]
713
+ }
714
+ },
715
+ {
716
+ "id": "ff-renovate-rules",
717
+ "type": "fitness-fn",
718
+ "label": "Renovate automerges only safe updates",
719
+ "x": 1040,
720
+ "y": 0,
721
+ "characteristic": "maintainability",
722
+ "scope": "atomic",
723
+ "cadence": "triggered",
724
+ "trigger": "pull-request",
725
+ "invocation": "automated",
726
+ "description": "The repository's renovate.json is validated in CI with renovate-config-validator, and its package rules are what decide the gate: automerge for patch and minor updates of stable packages, a minimum release age of 3 days, majors and 0.x packages labelled for a person. A test over the file (jq in the same step) fails on an automerge rule outside those. The file is renovate.json; CI runs `npx --package renovate renovate-config-validator renovate.json` and then `jq -e '[.packageRules[] | select(.automerge == true)] | all(.matchUpdateTypes == [\"patch\", \"minor\"] and .matchCurrentVersion == \"!/^0/\")' renovate.json`, which fails when any automerge rule reaches past patch and minor updates of stable packages.\n\nThreshold: renovate.json validates; its rules automerge patch and minor updates of packages at 1.0.0 or above after a 3-day minimum release age and label major and 0.x updates for a person; 0 other automerge rules\n\nTool: Renovate (renovate-config-validator and jq in CI)\n\n```json\n{\n \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n \"extends\": [\"config:recommended\"],\n \"labels\": [\"dependencies\"],\n \"minimumReleaseAge\": \"3 days\",\n \"lockFileMaintenance\": { \"enabled\": true, \"schedule\": [\"before 6am on monday\"] },\n \"packageRules\": [\n { \"matchUpdateTypes\": [\"patch\", \"minor\"], \"matchCurrentVersion\": \"!/^0/\",\n \"automerge\": true, \"automergeType\": \"pr\", \"platformAutomerge\": true },\n { \"matchUpdateTypes\": [\"major\"], \"automerge\": false, \"labels\": [\"dependencies\", \"major-update\"] },\n { \"matchCurrentVersion\": \"/^0/\", \"automerge\": false, \"labels\": [\"dependencies\", \"pre-1.0\"] }\n ]\n}\n```",
727
+ "hubWhen": {
728
+ "UPDATES": [
729
+ "automerge-patch"
730
+ ]
731
+ }
732
+ },
733
+ {
734
+ "id": "ff-weekly-groups",
735
+ "type": "fitness-fn",
736
+ "label": "Updates grouped weekly",
737
+ "x": 1040,
738
+ "y": 130,
739
+ "characteristic": "maintainability",
740
+ "scope": "atomic",
741
+ "cadence": "triggered",
742
+ "trigger": "nightly",
743
+ "invocation": "automated",
744
+ "description": "Dependabot groups every patch and minor update into one weekly pull request and keeps majors separate; a daily job lists the open pull requests labelled dependencies and fails when one is older than 7 days. With Renovate, the same is one packageRule with groupName \"weekly updates\" and schedule [\"before 6am on {{UPDATE_DAY}}\"].\n\nThreshold: dependabot.yml groups patch and minor updates into one weekly pull request on {{UPDATE_DAY}}; 0 update pull requests open longer than 7 days\n\nTool: Dependabot version updates (grouped) with the GitHub CLI\n\n```yaml\n# .github/dependabot.yml\nversion: 2\nupdates:\n - package-ecosystem: npm\n directory: /\n schedule: { interval: weekly, day: {{UPDATE_DAY}}, time: \"06:00\" }\n open-pull-requests-limit: 5\n groups:\n weekly-updates:\n patterns: [\"*\"]\n update-types: [\"minor\", \"patch\"]\n# daily job: no update pull request older than 7 days\n# gh pr list --label dependencies --state open --json createdAt \\\n# | jq -e '[.[] | select((now - (.createdAt | fromdateiso8601)) > 7 * 86400)] | length == 0'\n```",
745
+ "hubWhen": {
746
+ "UPDATES": [
747
+ "weekly-batch"
748
+ ]
749
+ }
750
+ },
751
+ {
752
+ "id": "ff-outdated-report",
753
+ "type": "fitness-fn",
754
+ "label": "Outdated report on schedule",
755
+ "x": 1040,
756
+ "y": 260,
757
+ "characteristic": "maintainability",
758
+ "scope": "atomic",
759
+ "cadence": "temporal",
760
+ "every": "{{MANUAL_CADENCE_DAYS}}d",
761
+ "invocation": "manual",
762
+ "description": "A scheduled workflow runs npm outdated --json, turns it into a table and opens an issue labelled dependencies; before opening it fails when the previous report is still open, which is the signal that the update did not happen. Python: pip list --outdated --format=json; Go: go list -m -u -json all; JVM: mvn versions:display-dependency-updates; .NET: dotnet list package --outdated.\n\nThreshold: A report issue labelled dependencies is opened every {{MANUAL_CADENCE_DAYS}} days; 0 report issues still open when the next one is due\n\nTool: npm outdated with the GitHub CLI (GitHub Actions schedule)\n\n```bash\n#!/usr/bin/env bash\n# runs on a schedule every {{MANUAL_CADENCE_DAYS}} days (for 14: cron '0 6 1,15 * *')\nset -euo pipefail\nopen=$(gh issue list --label dependencies --state open --json number --jq 'length')\n[ \"$open\" -eq 0 ] || { echo \"the previous dependency report is still open\"; exit 1; }\nnpm outdated --json > outdated.json || true # exits 1 when something is outdated\n{\n echo \"| package | current | wanted | latest |\"; echo \"|---|---|---|---|\"\n jq -r 'to_entries[] | \"| \\(.key) | \\(.value.current) | \\(.value.wanted) | \\(.value.latest) |\"' outdated.json\n} > report.md\ngh issue create --title \"Dependency update $(date +%F)\" --label dependencies --body-file report.md\n```",
763
+ "hubWhen": {
764
+ "UPDATES": [
765
+ "manual"
766
+ ]
767
+ }
768
+ },
769
+ {
770
+ "id": "ff-updates-checked",
771
+ "type": "fitness-fn",
772
+ "label": "Updates merged only with green checks",
773
+ "x": 1040,
774
+ "y": 390,
775
+ "characteristic": "maintainability",
776
+ "scope": "atomic",
777
+ "cadence": "triggered",
778
+ "trigger": "weekly",
779
+ "invocation": "automated",
780
+ "description": "A weekly job lists the pull requests labelled dependencies merged in the last 30 days (Renovate and Dependabot label theirs; a manual update is labelled by its author) and reads each one's status checks; a merged update with a failed, cancelled or missing check fails the job, which means a bypass or a check that is not required and belongs in the branch rules.\n\nThreshold: 0 pull requests labelled dependencies merged in the last 30 days with a status check that did not conclude success or skipped\n\nTool: GitHub CLI (gh pr list with statusCheckRollup) in a scheduled job\n\n```bash\n#!/usr/bin/env bash\n# weekly: every merged dependency update had every check green\nset -euo pipefail\nsince=$(date -u -d '30 days ago' +%F 2>/dev/null || date -u -v-30d +%F)\nbad=$(gh pr list --state merged --label dependencies --search \"merged:>=$since\" --limit 200 --json number,statusCheckRollup \\\n --jq '.[] | select((.statusCheckRollup | length) == 0 or any(.statusCheckRollup[]; (.conclusion // .state) as $c | $c != \"SUCCESS\" and $c != \"SKIPPED\" and $c != \"NEUTRAL\")) | \"#\\(.number)\"')\n[ -z \"$bad\" ] || { echo \"dependency updates merged without green checks:\"; echo \"$bad\"; exit 1; }\n```"
781
+ },
782
+ {
783
+ "id": "ff-lockfile-frozen",
784
+ "type": "fitness-fn",
785
+ "label": "Install refuses lockfile drift",
786
+ "x": 1040,
787
+ "y": 520,
788
+ "characteristic": "maintainability",
789
+ "scope": "atomic",
790
+ "cadence": "triggered",
791
+ "trigger": "pull-request",
792
+ "invocation": "automated",
793
+ "description": "CI installs with the frozen-lockfile command of each package manager and fails when the lockfile would change or is missing. Elsewhere: pnpm install --frozen-lockfile, uv sync --locked, poetry check --lock, go mod tidy -diff, mvn with the dependency lock plugin's check, dotnet restore --locked-mode. The lockfile's integrity hashes and where packages come from are the Software supply chain concern.\n\nThreshold: 0 builds in which the install changes the lockfile or a manifest has no lockfile beside it\n\nTool: npm ci with git diff (GitHub Actions); the frozen-lockfile install of each other package manager\n\n```bash\n#!/usr/bin/env bash\nset -euo pipefail\nfor manifest in $(git ls-files '*package.json' | grep -v node_modules); do\n dir=$(dirname \"$manifest\")\n [ -f \"$dir/package-lock.json\" ] || { echo \"$dir has no lockfile\"; exit 1; }\ndone\nnpm ci --ignore-scripts # fails when package.json and the lockfile disagree\ngit diff --exit-code -- '*package-lock.json' # and nothing may have rewritten it\n```",
794
+ "hubWhen": {
795
+ "PINNING": [
796
+ "lockfile-ranges",
797
+ "exact"
798
+ ]
799
+ }
800
+ },
801
+ {
802
+ "id": "ff-exact-versions",
803
+ "type": "fitness-fn",
804
+ "label": "Manifest holds exact versions",
805
+ "x": 1040,
806
+ "y": 650,
807
+ "characteristic": "maintainability",
808
+ "scope": "atomic",
809
+ "cadence": "triggered",
810
+ "trigger": "pull-request",
811
+ "invocation": "automated",
812
+ "description": "A unit test reads the manifest and fails on any dependency whose version is not exactly one semver version: caret, tilde, wildcard, comparison and hyphen ranges, dist-tags such as next, and aliases without a version all fail; workspace:* and npm:pkg@1.2.3 pass, as a monorepo needs. .npmrc sets save-exact so that npm install writes exact versions. Python: pin with == in pyproject; Go modules are exact by construction.\n\nThreshold: 0 dependencies declared with anything but one exact version (a workspace: or npm: alias resolving to one version counts as exact); save-exact is set so new installs stay exact\n\nTool: Vitest (a test over package.json) and .npmrc save-exact\n\n```ts\nimport { readFileSync } from 'node:fs'\nimport { expect, it } from 'vitest'\n\nconst pkg = JSON.parse(readFileSync('package.json', 'utf8'))\nconst SEMVER = /^\\d+\\.\\d+\\.\\d+(-[0-9A-Za-z.-]+)?(\\+[0-9A-Za-z.-]+)?$/\nconst exact = (v: string): boolean => SEMVER.test(v) || /^workspace:/.test(v) || /^npm:.+@\\d+\\.\\d+\\.\\d+$/.test(v)\nconst ranged = Object.entries({ ...pkg.dependencies, ...pkg.devDependencies }).filter(([, version]) => !exact(String(version)))\n\nit('every dependency is declared with one exact version', () => {\n expect(ranged).toEqual([])\n})\n// .npmrc: save-exact=true\n```",
813
+ "hubWhen": {
814
+ "PINNING": [
815
+ "exact"
816
+ ]
817
+ }
818
+ },
819
+ {
820
+ "id": "ff-range-matrix",
821
+ "type": "fitness-fn",
822
+ "label": "Ranges tested at both ends",
823
+ "x": 1040,
824
+ "y": 780,
825
+ "characteristic": "compatibility",
826
+ "scope": "atomic",
827
+ "cadence": "triggered",
828
+ "trigger": "pull-request",
829
+ "invocation": "automated",
830
+ "description": "A pull-request job fails when a lockfile is tracked, then installs the library twice, once resolving every direct dependency to the lowest version its range allows and once to the highest, and runs the tests on each. For a JavaScript library the same is pnpm install --config.resolution-mode=lowest-direct against the default.\n\nThreshold: The tests pass with the lowest-direct and with the highest resolution of the declared ranges; 0 lockfiles tracked in the repository\n\nTool: uv (resolution lowest-direct and highest) in GitHub Actions; pnpm resolution-mode for JavaScript\n\n```yaml\n# .github/workflows/range.yml\njobs:\n range:\n runs-on: ubuntu-latest\n strategy: { matrix: { resolution: [lowest-direct, highest] } }\n steps:\n - uses: actions/checkout@v4.2.2 # pin by commit SHA in your repository\n - run: |\n tracked=$(git ls-files uv.lock poetry.lock package-lock.json pnpm-lock.yaml yarn.lock)\n [ -z \"$tracked\" ] || { echo \"a library commits no lockfile: $tracked\"; exit 1; }\n - uses: astral-sh/setup-uv@v5.1.0 # pin by commit SHA in your repository\n - run: uv pip install --system --resolution ${{ matrix.resolution }} -e '.[test]'\n - run: pytest\n```",
831
+ "hubWhen": {
832
+ "PINNING": [
833
+ "floating"
834
+ ]
835
+ }
836
+ },
837
+ {
838
+ "id": "ff-knip",
839
+ "type": "fitness-fn",
840
+ "label": "Unused and unlisted dependencies fail",
841
+ "x": 1040,
842
+ "y": 910,
843
+ "characteristic": "maintainability",
844
+ "scope": "atomic",
845
+ "cadence": "triggered",
846
+ "trigger": "pull-request",
847
+ "invocation": "automated",
848
+ "description": "knip runs as a required check with dependency findings as errors; files and exports stay warnings until the backlog is clean. Python: deptry . with DEP001 to DEP004 in pyproject [tool.deptry]; Go: go mod tidy -diff fails when go.mod would change; JVM: the dependency:analyze goal of the Maven dependency plugin with failOnWarning. The file is knip.json; CI runs npx knip --reporter compact.\n\nThreshold: 0 unused dependencies, 0 unlisted imports, 0 unresolved imports on every pull request\n\nTool: knip; deptry for Python; go mod tidy -diff for Go; maven-dependency-plugin analyze for the JVM\n\n```json\n{\n \"$schema\": \"https://unpkg.com/knip@6/schema.json\",\n \"entry\": [\"src/index.ts\", \"src/cli.ts\"],\n \"project\": [\"src/**/*.ts\"],\n \"ignoreDependencies\": [],\n \"rules\": {\n \"dependencies\": \"error\",\n \"unlisted\": \"error\",\n \"unresolved\": \"error\",\n \"files\": \"warn\",\n \"exports\": \"warn\"\n }\n}\n```",
849
+ "hubWhen": {
850
+ "UNUSED": [
851
+ "forbidden"
852
+ ]
853
+ }
854
+ },
855
+ {
856
+ "id": "ff-unused-review",
857
+ "type": "fitness-fn",
858
+ "label": "Unused report is acted on",
859
+ "x": 1040,
860
+ "y": 1040,
861
+ "characteristic": "maintainability",
862
+ "scope": "atomic",
863
+ "cadence": "temporal",
864
+ "every": "{{REVIEW_CADENCE_DAYS}}d",
865
+ "invocation": "manual",
866
+ "description": "A scheduled workflow runs knip in report mode, opens the report as an issue, and fails when a package named in the previous report is named again without an entry in dependency-exceptions.json ([{ \"package\": \"left-pad\", \"reason\": \"loaded by name in plugins/\", \"issue\": 123 }]).\n\nThreshold: A report issue every {{REVIEW_CADENCE_DAYS}} days; 0 packages named in two consecutive reports without a reason in dependency-exceptions.json\n\nTool: knip (JSON reporter) with jq and the GitHub CLI\n\n```bash\n#!/usr/bin/env bash\n# scheduled every {{REVIEW_CADENCE_DAYS}} days (for 90: cron '0 6 1 */3 *')\nset -euo pipefail\nnpx knip --reporter json --include dependencies,unlisted > unused.json || true\njq -r '.issues[] | .dependencies[]?.name, .devDependencies[]?.name' unused.json | sort -u > now.txt\ngh issue list --label unused-dependencies --state all --limit 1 --json body --jq '.[0].body // \"\"' | grep -oE '^- \\S+' | cut -c3- | sort -u > before.txt\njq -r '.[].package' dependency-exceptions.json | sort -u > excused.txt\ncomm -12 now.txt before.txt | comm -23 - excused.txt > repeat.txt\n{ echo \"Unused dependencies as of $(date +%F):\"; sed 's/^/- /' now.txt; } > report.md\ngh issue create --title \"Unused dependencies $(date +%F)\" --label unused-dependencies --body-file report.md\ntest ! -s repeat.txt || { echo \"named twice without a reason:\"; cat repeat.txt; exit 1; }\n```",
867
+ "hubWhen": {
868
+ "UNUSED": [
869
+ "reviewed"
870
+ ]
871
+ }
872
+ },
873
+ {
874
+ "id": "ff-licence-allowlist",
875
+ "type": "fitness-fn",
876
+ "label": "Licences on the allowlist",
877
+ "x": 1040,
878
+ "y": 1170,
879
+ "characteristic": "other",
880
+ "scope": "atomic",
881
+ "cadence": "triggered",
882
+ "trigger": "pull-request",
883
+ "invocation": "automated",
884
+ "description": "The licence checker of each ecosystem runs on every pull request with the allowlist and exits non-zero on the first package outside it, unknown licences included; packages excused in dependency-exceptions.json (package and version, with a reason) are excluded by name and version. pip-licenses matches the classifier names packages declare, so its list is kept in those names next to the SPDX one.\n\nThreshold: 100 % of production dependencies carry one of {{ALLOWED_LICENCES}} or are excused by package and version in dependency-exceptions.json; the build fails on the first that does not\n\nTool: license-checker-rseidelsohn (npm); pip-licenses (Python); go-licenses (Go)\n\n```bash\n#!/usr/bin/env bash\nset -euo pipefail\nALLOWED=\"{{ALLOWED_LICENCES}}\" # SPDX identifiers\nexcused=$(jq -r '[.[] | select(.version) | \"\\(.package)@\\(.version)\"] | join(\";\")' dependency-exceptions.json)\n# npm: production tree, first licence outside the list exits 1; excused packages left out by name@version\nnpx license-checker-rseidelsohn --production --excludePrivatePackages --onlyAllow \"${ALLOWED//, /;}\" --excludePackages \"$excused\"\n# Go (--ignore takes module path prefixes)\ngo-licenses check ./... --allowed_licenses=\"${ALLOWED// /}\"\n# Python: classifier names as packages declare them (pip-licenses --from=classifier prints them)\npip-licenses --from=classifier --allow-only \"MIT License;Apache Software License;BSD License;ISC License (ISCL)\"\n```",
885
+ "hubWhen": {
886
+ "LICENCES": [
887
+ "allowlist"
888
+ ]
889
+ }
890
+ },
891
+ {
892
+ "id": "ff-licence-denylist",
893
+ "type": "fitness-fn",
894
+ "label": "Forbidden licences refused",
895
+ "x": 1040,
896
+ "y": 1300,
897
+ "characteristic": "other",
898
+ "scope": "atomic",
899
+ "cadence": "triggered",
900
+ "trigger": "pull-request",
901
+ "invocation": "automated",
902
+ "description": "The licence checker runs on every pull request with the denylist, fails on the first match and writes the full licence list as a build artefact for the record. go-licenses classifies GPL and LGPL as restricted and only AGPL and the like as forbidden, so both types are disallowed there.\n\nThreshold: 0 production dependencies carrying one of {{DENIED_LICENCES}}; every other licence listed in the build report\n\nTool: license-checker-rseidelsohn (npm); pip-licenses (Python); go-licenses (Go)\n\n```bash\n#!/usr/bin/env bash\nset -euo pipefail\nDENIED=\"{{DENIED_LICENCES}}\" # SPDX identifiers\n# npm: exits 1 on the first package with a forbidden licence; the report lists the rest\nnpx license-checker-rseidelsohn --production --csv --out reports/licences.csv --failOn \"${DENIED//, /;}\"\n# Go: GPL and LGPL are \"restricted\" in go-licenses' classification, AGPL and the like \"forbidden\"\ngo-licenses check ./... --disallowed_types=forbidden,restricted\n# Python: classifier names (pip-licenses --from=classifier)\npip-licenses --from=classifier --fail-on \"GNU General Public License v3 (GPLv3);GNU Affero General Public License v3\"\n```",
903
+ "hubWhen": {
904
+ "LICENCES": [
905
+ "denylist"
906
+ ]
907
+ }
908
+ },
909
+ {
910
+ "id": "ff-no-external-publish",
911
+ "type": "fitness-fn",
912
+ "label": "Nothing published outside the organisation",
913
+ "x": 1040,
914
+ "y": 1430,
915
+ "characteristic": "security",
916
+ "scope": "atomic",
917
+ "cadence": "triggered",
918
+ "trigger": "pull-request",
919
+ "invocation": "automated",
920
+ "description": "A CI step checks that the manifest is private and greps every workflow file for the commands that publish a package, image or binary; each found line must name the internal registry host, so the first line that would publish elsewhere fails the build and raises the licence question before the artefact leaves.\n\nThreshold: package.json is private; 0 publish or push commands in the pipelines (npm publish, docker push, twine upload, gh release upload, dotnet nuget push) that do not name {{INTERNAL_REGISTRY}}\n\nTool: git grep with jq in a CI step\n\n```bash\n#!/usr/bin/env bash\n# CI: the element is never distributed; every publish target is the internal registry\nset -euo pipefail\nREGISTRY='{{INTERNAL_REGISTRY}}'\njq -e '.private == true' package.json > /dev/null || { echo \"package.json is not private\"; exit 1; }\nexternal=$(git grep -nE 'npm publish|docker push|twine upload|gh release upload|dotnet nuget push' -- '.github/workflows' '*.yml' '*.yaml' 'Makefile' | grep -vF \"$REGISTRY\" || true)\n[ -z \"$external\" ] || { echo \"publishes outside $REGISTRY (decide licences first):\"; echo \"$external\"; exit 1; }\n```",
921
+ "hubWhen": {
922
+ "LICENCES": [
923
+ "none"
924
+ ]
925
+ }
926
+ },
927
+ {
928
+ "id": "ff-libyear",
929
+ "type": "fitness-fn",
930
+ "label": "Freshness within bounds",
931
+ "x": 1040,
932
+ "y": 1560,
933
+ "characteristic": "maintainability",
934
+ "scope": "atomic",
935
+ "cadence": "triggered",
936
+ "trigger": "pull-request",
937
+ "invocation": "automated",
938
+ "description": "libyear runs on every pull request and fails when the collective drift or any dependency's own drift crosses the bound (its limit flags), naming the dependencies behind. Python: the libyear package prints \"Your system is N libyears behind\" per requirements file; the job reads the number and compares the total (that tool has no per-dependency limit).\n\nThreshold: Direct dependencies at most {{MAX_LIBYEARS}} libyears behind in total; no single one more than {{MAX_MONTHS_BEHIND}} months behind\n\nTool: libyear (npm); libyear (PyPI) for Python\n\n```bash\n#!/usr/bin/env bash\nset -euo pipefail\n# npm: fails above either bound and lists the dependencies behind (limits in libyears)\nnpx libyear \\\n --limit-drift-collective={{MAX_LIBYEARS}} \\\n --limit-drift-individual=\"$(awk 'BEGIN { print {{MAX_MONTHS_BEHIND}} / 12 }')\"\n# Python: \"Your system is 4.95 libyears behind\" -> the number is the third field from the end\ntotal=$(libyear -r requirements.txt | awk '/libyears behind/ { print $(NF-2) }')\nawk -v t=\"$total\" 'BEGIN { exit (t > {{MAX_LIBYEARS}}) }' || { echo \"$total libyears behind, limit {{MAX_LIBYEARS}}\"; exit 1; }\n```",
939
+ "hubWhen": {
940
+ "AGE": [
941
+ "max-age"
942
+ ]
943
+ }
944
+ },
945
+ {
946
+ "id": "ff-abandoned",
947
+ "type": "fitness-fn",
948
+ "label": "No deprecated or dormant dependency",
949
+ "x": 1040,
950
+ "y": 1690,
951
+ "characteristic": "maintainability",
952
+ "scope": "atomic",
953
+ "cadence": "triggered",
954
+ "trigger": "nightly",
955
+ "invocation": "automated",
956
+ "description": "A daily job asks the registry about every direct dependency and fails on one that is deprecated or whose latest version (dist-tags.latest, not the metadata's modified date, which moves on any change) was released more than 24 months ago; each hit gets an issue and a deadline of {{REPLACE_DAYS}} days, recorded in dependency-exceptions.json while the replacement is under way. Python: the PyPI JSON API (releases and yanked flags); Go: go list -m -u -json for the latest version's time; .NET: dotnet list package --deprecated.\n\nThreshold: 0 direct dependencies marked deprecated on the registry or whose latest version was released more than 24 months ago, unless listed with an issue in dependency-exceptions.json\n\nTool: npm view with jq (GitHub Actions schedule)\n\n```bash\n#!/usr/bin/env bash\nset -euo pipefail\njq -r '(.dependencies + .devDependencies) | keys[]' package.json | while read -r pkg; do\n npm view \"$pkg\" --json | jq -r --arg pkg \"$pkg\" '\n ((now - (.time[.\"dist-tags\".latest] | sub(\"\\\\.[0-9]+Z$\"; \"Z\") | fromdateiso8601)) / 86400 | floor) as $days # npm writes milliseconds; jq reads none\n | if .deprecated then \"\\($pkg): deprecated: \\(.deprecated)\"\n elif $days > 730 then \"\\($pkg): latest release \\($days) days ago\"\n else empty end'\ndone | grep -v -F -f <(jq -r '.[].package' dependency-exceptions.json) | tee abandoned.txt\ntest ! -s abandoned.txt # each line gets an issue with a {{REPLACE_DAYS}}-day deadline, listed in dependency-exceptions.json meanwhile\n```"
957
+ }
958
+ ],
959
+ "relations": [
960
+ {
961
+ "id": "req-automerge--derives--need",
962
+ "sourceId": "req-automerge",
963
+ "targetId": "need",
964
+ "relationType": "derives"
965
+ },
966
+ {
967
+ "id": "req-weekly-batch--derives--need",
968
+ "sourceId": "req-weekly-batch",
969
+ "targetId": "need",
970
+ "relationType": "derives"
971
+ },
972
+ {
973
+ "id": "req-manual-cadence--derives--need",
974
+ "sourceId": "req-manual-cadence",
975
+ "targetId": "need",
976
+ "relationType": "derives"
977
+ },
978
+ {
979
+ "id": "req-same-checks--derives--need",
980
+ "sourceId": "req-same-checks",
981
+ "targetId": "need",
982
+ "relationType": "derives"
983
+ },
984
+ {
985
+ "id": "req-lockfile-install--derives--need",
986
+ "sourceId": "req-lockfile-install",
987
+ "targetId": "need",
988
+ "relationType": "derives"
989
+ },
990
+ {
991
+ "id": "req-exact-versions--derives--need",
992
+ "sourceId": "req-exact-versions",
993
+ "targetId": "need",
994
+ "relationType": "derives"
995
+ },
996
+ {
997
+ "id": "req-floating-range--derives--need",
998
+ "sourceId": "req-floating-range",
999
+ "targetId": "need",
1000
+ "relationType": "derives"
1001
+ },
1002
+ {
1003
+ "id": "req-unused-fails--derives--need",
1004
+ "sourceId": "req-unused-fails",
1005
+ "targetId": "need",
1006
+ "relationType": "derives"
1007
+ },
1008
+ {
1009
+ "id": "req-unused-review--derives--need",
1010
+ "sourceId": "req-unused-review",
1011
+ "targetId": "need",
1012
+ "relationType": "derives"
1013
+ },
1014
+ {
1015
+ "id": "req-abandoned--derives--need",
1016
+ "sourceId": "req-abandoned",
1017
+ "targetId": "need",
1018
+ "relationType": "derives"
1019
+ },
1020
+ {
1021
+ "id": "req-licence-allowlist--derives--need",
1022
+ "sourceId": "req-licence-allowlist",
1023
+ "targetId": "need",
1024
+ "relationType": "derives"
1025
+ },
1026
+ {
1027
+ "id": "req-licence-denylist--derives--need",
1028
+ "sourceId": "req-licence-denylist",
1029
+ "targetId": "need",
1030
+ "relationType": "derives"
1031
+ },
1032
+ {
1033
+ "id": "req-internal-only--derives--need",
1034
+ "sourceId": "req-internal-only",
1035
+ "targetId": "need",
1036
+ "relationType": "derives"
1037
+ },
1038
+ {
1039
+ "id": "req-freshness--derives--need",
1040
+ "sourceId": "req-freshness",
1041
+ "targetId": "need",
1042
+ "relationType": "derives"
1043
+ },
1044
+ {
1045
+ "id": "sc-automerge--verifies--req-automerge",
1046
+ "sourceId": "sc-automerge",
1047
+ "targetId": "req-automerge",
1048
+ "relationType": "verifies"
1049
+ },
1050
+ {
1051
+ "id": "sc-weekly-batch--verifies--req-weekly-batch",
1052
+ "sourceId": "sc-weekly-batch",
1053
+ "targetId": "req-weekly-batch",
1054
+ "relationType": "verifies"
1055
+ },
1056
+ {
1057
+ "id": "sc-manual-cadence--verifies--req-manual-cadence",
1058
+ "sourceId": "sc-manual-cadence",
1059
+ "targetId": "req-manual-cadence",
1060
+ "relationType": "verifies"
1061
+ },
1062
+ {
1063
+ "id": "sc-same-checks--verifies--req-same-checks",
1064
+ "sourceId": "sc-same-checks",
1065
+ "targetId": "req-same-checks",
1066
+ "relationType": "verifies"
1067
+ },
1068
+ {
1069
+ "id": "sc-lockfile-install--verifies--req-lockfile-install",
1070
+ "sourceId": "sc-lockfile-install",
1071
+ "targetId": "req-lockfile-install",
1072
+ "relationType": "verifies"
1073
+ },
1074
+ {
1075
+ "id": "sc-exact-versions--verifies--req-exact-versions",
1076
+ "sourceId": "sc-exact-versions",
1077
+ "targetId": "req-exact-versions",
1078
+ "relationType": "verifies"
1079
+ },
1080
+ {
1081
+ "id": "sc-floating-range--verifies--req-floating-range",
1082
+ "sourceId": "sc-floating-range",
1083
+ "targetId": "req-floating-range",
1084
+ "relationType": "verifies"
1085
+ },
1086
+ {
1087
+ "id": "sc-unused-fails--verifies--req-unused-fails",
1088
+ "sourceId": "sc-unused-fails",
1089
+ "targetId": "req-unused-fails",
1090
+ "relationType": "verifies"
1091
+ },
1092
+ {
1093
+ "id": "sc-unused-review--verifies--req-unused-review",
1094
+ "sourceId": "sc-unused-review",
1095
+ "targetId": "req-unused-review",
1096
+ "relationType": "verifies"
1097
+ },
1098
+ {
1099
+ "id": "sc-abandoned--verifies--req-abandoned",
1100
+ "sourceId": "sc-abandoned",
1101
+ "targetId": "req-abandoned",
1102
+ "relationType": "verifies"
1103
+ },
1104
+ {
1105
+ "id": "sc-licence-allowlist--verifies--req-licence-allowlist",
1106
+ "sourceId": "sc-licence-allowlist",
1107
+ "targetId": "req-licence-allowlist",
1108
+ "relationType": "verifies"
1109
+ },
1110
+ {
1111
+ "id": "sc-licence-denylist--verifies--req-licence-denylist",
1112
+ "sourceId": "sc-licence-denylist",
1113
+ "targetId": "req-licence-denylist",
1114
+ "relationType": "verifies"
1115
+ },
1116
+ {
1117
+ "id": "sc-internal-only--verifies--req-internal-only",
1118
+ "sourceId": "sc-internal-only",
1119
+ "targetId": "req-internal-only",
1120
+ "relationType": "verifies"
1121
+ },
1122
+ {
1123
+ "id": "sc-freshness--verifies--req-freshness",
1124
+ "sourceId": "sc-freshness",
1125
+ "targetId": "req-freshness",
1126
+ "relationType": "verifies"
1127
+ },
1128
+ {
1129
+ "id": "ff-renovate-rules--implements--adr-automerge",
1130
+ "sourceId": "ff-renovate-rules",
1131
+ "targetId": "adr-automerge",
1132
+ "relationType": "implements"
1133
+ },
1134
+ {
1135
+ "id": "ff-weekly-groups--implements--adr-weekly-batch",
1136
+ "sourceId": "ff-weekly-groups",
1137
+ "targetId": "adr-weekly-batch",
1138
+ "relationType": "implements"
1139
+ },
1140
+ {
1141
+ "id": "ff-outdated-report--implements--adr-manual",
1142
+ "sourceId": "ff-outdated-report",
1143
+ "targetId": "adr-manual",
1144
+ "relationType": "implements"
1145
+ },
1146
+ {
1147
+ "id": "ff-updates-checked--implements--adr-automerge",
1148
+ "sourceId": "ff-updates-checked",
1149
+ "targetId": "adr-automerge",
1150
+ "relationType": "implements"
1151
+ },
1152
+ {
1153
+ "id": "ff-updates-checked--implements--adr-weekly-batch",
1154
+ "sourceId": "ff-updates-checked",
1155
+ "targetId": "adr-weekly-batch",
1156
+ "relationType": "implements"
1157
+ },
1158
+ {
1159
+ "id": "ff-updates-checked--implements--adr-manual",
1160
+ "sourceId": "ff-updates-checked",
1161
+ "targetId": "adr-manual",
1162
+ "relationType": "implements"
1163
+ },
1164
+ {
1165
+ "id": "ff-lockfile-frozen--implements--adr-automerge",
1166
+ "sourceId": "ff-lockfile-frozen",
1167
+ "targetId": "adr-automerge",
1168
+ "relationType": "implements"
1169
+ },
1170
+ {
1171
+ "id": "ff-lockfile-frozen--implements--adr-weekly-batch",
1172
+ "sourceId": "ff-lockfile-frozen",
1173
+ "targetId": "adr-weekly-batch",
1174
+ "relationType": "implements"
1175
+ },
1176
+ {
1177
+ "id": "ff-lockfile-frozen--implements--adr-manual",
1178
+ "sourceId": "ff-lockfile-frozen",
1179
+ "targetId": "adr-manual",
1180
+ "relationType": "implements"
1181
+ },
1182
+ {
1183
+ "id": "ff-exact-versions--implements--adr-automerge",
1184
+ "sourceId": "ff-exact-versions",
1185
+ "targetId": "adr-automerge",
1186
+ "relationType": "implements"
1187
+ },
1188
+ {
1189
+ "id": "ff-exact-versions--implements--adr-weekly-batch",
1190
+ "sourceId": "ff-exact-versions",
1191
+ "targetId": "adr-weekly-batch",
1192
+ "relationType": "implements"
1193
+ },
1194
+ {
1195
+ "id": "ff-exact-versions--implements--adr-manual",
1196
+ "sourceId": "ff-exact-versions",
1197
+ "targetId": "adr-manual",
1198
+ "relationType": "implements"
1199
+ },
1200
+ {
1201
+ "id": "ff-range-matrix--implements--adr-automerge",
1202
+ "sourceId": "ff-range-matrix",
1203
+ "targetId": "adr-automerge",
1204
+ "relationType": "implements"
1205
+ },
1206
+ {
1207
+ "id": "ff-range-matrix--implements--adr-weekly-batch",
1208
+ "sourceId": "ff-range-matrix",
1209
+ "targetId": "adr-weekly-batch",
1210
+ "relationType": "implements"
1211
+ },
1212
+ {
1213
+ "id": "ff-range-matrix--implements--adr-manual",
1214
+ "sourceId": "ff-range-matrix",
1215
+ "targetId": "adr-manual",
1216
+ "relationType": "implements"
1217
+ },
1218
+ {
1219
+ "id": "ff-knip--implements--adr-automerge",
1220
+ "sourceId": "ff-knip",
1221
+ "targetId": "adr-automerge",
1222
+ "relationType": "implements"
1223
+ },
1224
+ {
1225
+ "id": "ff-knip--implements--adr-weekly-batch",
1226
+ "sourceId": "ff-knip",
1227
+ "targetId": "adr-weekly-batch",
1228
+ "relationType": "implements"
1229
+ },
1230
+ {
1231
+ "id": "ff-knip--implements--adr-manual",
1232
+ "sourceId": "ff-knip",
1233
+ "targetId": "adr-manual",
1234
+ "relationType": "implements"
1235
+ },
1236
+ {
1237
+ "id": "ff-unused-review--implements--adr-automerge",
1238
+ "sourceId": "ff-unused-review",
1239
+ "targetId": "adr-automerge",
1240
+ "relationType": "implements"
1241
+ },
1242
+ {
1243
+ "id": "ff-unused-review--implements--adr-weekly-batch",
1244
+ "sourceId": "ff-unused-review",
1245
+ "targetId": "adr-weekly-batch",
1246
+ "relationType": "implements"
1247
+ },
1248
+ {
1249
+ "id": "ff-unused-review--implements--adr-manual",
1250
+ "sourceId": "ff-unused-review",
1251
+ "targetId": "adr-manual",
1252
+ "relationType": "implements"
1253
+ },
1254
+ {
1255
+ "id": "ff-licence-allowlist--implements--adr-automerge",
1256
+ "sourceId": "ff-licence-allowlist",
1257
+ "targetId": "adr-automerge",
1258
+ "relationType": "implements"
1259
+ },
1260
+ {
1261
+ "id": "ff-licence-allowlist--implements--adr-weekly-batch",
1262
+ "sourceId": "ff-licence-allowlist",
1263
+ "targetId": "adr-weekly-batch",
1264
+ "relationType": "implements"
1265
+ },
1266
+ {
1267
+ "id": "ff-licence-allowlist--implements--adr-manual",
1268
+ "sourceId": "ff-licence-allowlist",
1269
+ "targetId": "adr-manual",
1270
+ "relationType": "implements"
1271
+ },
1272
+ {
1273
+ "id": "ff-licence-denylist--implements--adr-automerge",
1274
+ "sourceId": "ff-licence-denylist",
1275
+ "targetId": "adr-automerge",
1276
+ "relationType": "implements"
1277
+ },
1278
+ {
1279
+ "id": "ff-licence-denylist--implements--adr-weekly-batch",
1280
+ "sourceId": "ff-licence-denylist",
1281
+ "targetId": "adr-weekly-batch",
1282
+ "relationType": "implements"
1283
+ },
1284
+ {
1285
+ "id": "ff-licence-denylist--implements--adr-manual",
1286
+ "sourceId": "ff-licence-denylist",
1287
+ "targetId": "adr-manual",
1288
+ "relationType": "implements"
1289
+ },
1290
+ {
1291
+ "id": "ff-no-external-publish--implements--adr-automerge",
1292
+ "sourceId": "ff-no-external-publish",
1293
+ "targetId": "adr-automerge",
1294
+ "relationType": "implements"
1295
+ },
1296
+ {
1297
+ "id": "ff-no-external-publish--implements--adr-weekly-batch",
1298
+ "sourceId": "ff-no-external-publish",
1299
+ "targetId": "adr-weekly-batch",
1300
+ "relationType": "implements"
1301
+ },
1302
+ {
1303
+ "id": "ff-no-external-publish--implements--adr-manual",
1304
+ "sourceId": "ff-no-external-publish",
1305
+ "targetId": "adr-manual",
1306
+ "relationType": "implements"
1307
+ },
1308
+ {
1309
+ "id": "ff-libyear--implements--adr-automerge",
1310
+ "sourceId": "ff-libyear",
1311
+ "targetId": "adr-automerge",
1312
+ "relationType": "implements"
1313
+ },
1314
+ {
1315
+ "id": "ff-libyear--implements--adr-weekly-batch",
1316
+ "sourceId": "ff-libyear",
1317
+ "targetId": "adr-weekly-batch",
1318
+ "relationType": "implements"
1319
+ },
1320
+ {
1321
+ "id": "ff-libyear--implements--adr-manual",
1322
+ "sourceId": "ff-libyear",
1323
+ "targetId": "adr-manual",
1324
+ "relationType": "implements"
1325
+ },
1326
+ {
1327
+ "id": "ff-abandoned--implements--adr-automerge",
1328
+ "sourceId": "ff-abandoned",
1329
+ "targetId": "adr-automerge",
1330
+ "relationType": "implements"
1331
+ },
1332
+ {
1333
+ "id": "ff-abandoned--implements--adr-weekly-batch",
1334
+ "sourceId": "ff-abandoned",
1335
+ "targetId": "adr-weekly-batch",
1336
+ "relationType": "implements"
1337
+ },
1338
+ {
1339
+ "id": "ff-abandoned--implements--adr-manual",
1340
+ "sourceId": "ff-abandoned",
1341
+ "targetId": "adr-manual",
1342
+ "relationType": "implements"
1343
+ }
1344
+ ]
1345
+ }