@radicaltools/mcp 0.2.0 → 0.3.0

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 (159) hide show
  1. package/README.md +41 -23
  2. package/dist/{chunk-OGN3UW2D.js → chunk-Z7THA3L5.js} +670 -64
  3. package/dist/{elkLayout-S62RLGTO.js → elkLayout-TAUBPPVN.js} +1 -1
  4. package/dist/hub-catalogue/concern/concern-api-evolution.radical +935 -0
  5. package/dist/hub-catalogue/concern/concern-architecture-style.radical +1112 -0
  6. package/dist/hub-catalogue/concern/concern-authentication.radical +685 -0
  7. package/dist/hub-catalogue/concern/concern-authorization.radical +1464 -0
  8. package/dist/hub-catalogue/concern/concern-availability.radical +804 -0
  9. package/dist/hub-catalogue/concern/concern-backend-stack.radical +1118 -0
  10. package/dist/hub-catalogue/concern/concern-backup-recovery.radical +1304 -0
  11. package/dist/hub-catalogue/concern/concern-capacity.radical +802 -0
  12. package/dist/hub-catalogue/concern/concern-communication-style.radical +1202 -0
  13. package/dist/hub-catalogue/concern/concern-data-consistency.radical +1081 -0
  14. package/dist/hub-catalogue/concern/concern-data-store.radical +960 -0
  15. package/dist/hub-catalogue/concern/concern-decomposition.radical +1143 -0
  16. package/dist/hub-catalogue/concern/concern-deployment.radical +952 -0
  17. package/dist/hub-catalogue/concern/concern-encryption.radical +1055 -0
  18. package/dist/hub-catalogue/concern/concern-frontend-stack.radical +1340 -0
  19. package/dist/hub-catalogue/concern/concern-infrastructure.radical +1151 -0
  20. package/dist/hub-catalogue/concern/concern-integration-resilience.radical +1079 -0
  21. package/dist/hub-catalogue/concern/concern-messaging.radical +940 -0
  22. package/dist/hub-catalogue/concern/concern-module-boundaries.radical +864 -0
  23. package/dist/hub-catalogue/concern/concern-observability.radical +1048 -0
  24. package/dist/hub-catalogue/concern/concern-personal-data.radical +1434 -0
  25. package/dist/hub-catalogue/concern/concern-rate-limiting.radical +1153 -0
  26. package/dist/hub-catalogue/concern/concern-secrets.radical +1026 -0
  27. package/dist/hub-catalogue/concern/concern-supply-chain.radical +1312 -0
  28. package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +1306 -0
  29. package/dist/hub-catalogue/concern/concern-test-strategy.radical +1193 -0
  30. package/dist/index.js +9440 -3854
  31. package/package.json +1 -1
  32. package/dist/hub-catalogue/adr/adr-api-versioning.radical +0 -53
  33. package/dist/hub-catalogue/adr/adr-auth-strategy.radical +0 -53
  34. package/dist/hub-catalogue/adr/adr-caching-strategy.radical +0 -59
  35. package/dist/hub-catalogue/adr/adr-data-consistency-model.radical +0 -40
  36. package/dist/hub-catalogue/adr/adr-data-store.radical +0 -47
  37. package/dist/hub-catalogue/adr/adr-deployment-strategy.radical +0 -53
  38. package/dist/hub-catalogue/adr/adr-event-schema-evolution.radical +0 -53
  39. package/dist/hub-catalogue/adr/adr-integration-style.radical +0 -50
  40. package/dist/hub-catalogue/adr/adr-ledger-reconciliation-strategy.radical +0 -38
  41. package/dist/hub-catalogue/adr/adr-llm-provider-strategy.radical +0 -40
  42. package/dist/hub-catalogue/adr/adr-marketplace-payments-model.radical +0 -39
  43. package/dist/hub-catalogue/adr/adr-multi-region.radical +0 -60
  44. package/dist/hub-catalogue/adr/adr-multi-tenancy-strategy.radical +0 -41
  45. package/dist/hub-catalogue/adr/adr-observability.radical +0 -59
  46. package/dist/hub-catalogue/adr/adr-realtime-transport.radical +0 -38
  47. package/dist/hub-catalogue/adr/adr-tech-stack.radical +0 -45
  48. package/dist/hub-catalogue/adr/adr-zero-trust-network.radical +0 -40
  49. package/dist/hub-catalogue/blueprint/bp-ai-assistant-platform.radical +0 -1641
  50. package/dist/hub-catalogue/blueprint/bp-analytical-data-platform.radical +0 -1428
  51. package/dist/hub-catalogue/blueprint/bp-ecommerce-platform.radical +0 -1989
  52. package/dist/hub-catalogue/blueprint/bp-fintech-ledger-platform.radical +0 -1701
  53. package/dist/hub-catalogue/blueprint/bp-marketplace-platform.radical +0 -1792
  54. package/dist/hub-catalogue/blueprint/bp-realtime-collaboration.radical +0 -1421
  55. package/dist/hub-catalogue/blueprint/bp-saas-b2b-platform.radical +0 -1713
  56. package/dist/hub-catalogue/fitness-function/ff-accessibility-scan.radical +0 -34
  57. package/dist/hub-catalogue/fitness-function/ff-ai-eval-gate.radical +0 -52
  58. package/dist/hub-catalogue/fitness-function/ff-api-contract.radical +0 -36
  59. package/dist/hub-catalogue/fitness-function/ff-capacity-load-test.radical +0 -67
  60. package/dist/hub-catalogue/fitness-function/ff-carbon-footprint-guard.radical +0 -62
  61. package/dist/hub-catalogue/fitness-function/ff-change-failure-rate.radical +0 -45
  62. package/dist/hub-catalogue/fitness-function/ff-chaos-resilience-test.radical +0 -53
  63. package/dist/hub-catalogue/fitness-function/ff-cost-efficiency-guard.radical +0 -64
  64. package/dist/hub-catalogue/fitness-function/ff-coupling-guard.radical +0 -45
  65. package/dist/hub-catalogue/fitness-function/ff-data-integrity-check.radical +0 -51
  66. package/dist/hub-catalogue/fitness-function/ff-data-residency.radical +0 -43
  67. package/dist/hub-catalogue/fitness-function/ff-dependency-rules.radical +0 -37
  68. package/dist/hub-catalogue/fitness-function/ff-deploy-frequency.radical +0 -46
  69. package/dist/hub-catalogue/fitness-function/ff-dr-drill-success.radical +0 -52
  70. package/dist/hub-catalogue/fitness-function/ff-duplication-guard.radical +0 -53
  71. package/dist/hub-catalogue/fitness-function/ff-error-budget.radical +0 -59
  72. package/dist/hub-catalogue/fitness-function/ff-fail-safe-verification.radical +0 -34
  73. package/dist/hub-catalogue/fitness-function/ff-infra-drift.radical +0 -34
  74. package/dist/hub-catalogue/fitness-function/ff-latency-slo.radical +0 -59
  75. package/dist/hub-catalogue/fitness-function/ff-lead-time.radical +0 -44
  76. package/dist/hub-catalogue/fitness-function/ff-ledger-balance-integrity.radical +0 -45
  77. package/dist/hub-catalogue/fitness-function/ff-license-compliance.radical +0 -43
  78. package/dist/hub-catalogue/fitness-function/ff-mttr.radical +0 -45
  79. package/dist/hub-catalogue/fitness-function/ff-noisy-neighbor-guard.radical +0 -66
  80. package/dist/hub-catalogue/fitness-function/ff-sast-scan.radical +0 -35
  81. package/dist/hub-catalogue/fitness-function/ff-scale-out-verification.radical +0 -66
  82. package/dist/hub-catalogue/fitness-function/ff-security-scan.radical +0 -45
  83. package/dist/hub-catalogue/fitness-function/ff-startup-shutdown-check.radical +0 -66
  84. package/dist/hub-catalogue/fitness-function/ff-sync-convergence-test.radical +0 -45
  85. package/dist/hub-catalogue/fitness-function/ff-test-coverage.radical +0 -43
  86. package/dist/hub-catalogue/fitness-function/ff-web-vitals.radical +0 -57
  87. package/dist/hub-catalogue/pattern/pattern-anti-corruption-layer.radical +0 -88
  88. package/dist/hub-catalogue/pattern/pattern-api-gateway.radical +0 -168
  89. package/dist/hub-catalogue/pattern/pattern-bff.radical +0 -179
  90. package/dist/hub-catalogue/pattern/pattern-bulkhead.radical +0 -114
  91. package/dist/hub-catalogue/pattern/pattern-circuit-breaker.radical +0 -219
  92. package/dist/hub-catalogue/pattern/pattern-cqrs.radical +0 -195
  93. package/dist/hub-catalogue/pattern/pattern-crdt-sync.radical +0 -200
  94. package/dist/hub-catalogue/pattern/pattern-event-driven.radical +0 -210
  95. package/dist/hub-catalogue/pattern/pattern-event-sourced-ledger.radical +0 -211
  96. package/dist/hub-catalogue/pattern/pattern-hexagonal.radical +0 -196
  97. package/dist/hub-catalogue/pattern/pattern-microservices.radical +0 -262
  98. package/dist/hub-catalogue/pattern/pattern-rag-pipeline.radical +0 -213
  99. package/dist/hub-catalogue/pattern/pattern-rate-limiter.radical +0 -114
  100. package/dist/hub-catalogue/pattern/pattern-saga.radical +0 -208
  101. package/dist/hub-catalogue/pattern/pattern-sidecar.radical +0 -123
  102. package/dist/hub-catalogue/pattern/pattern-strangler-fig.radical +0 -227
  103. package/dist/hub-catalogue/pattern/pattern-transactional-outbox.radical +0 -209
  104. package/dist/hub-catalogue/requirement/req-accessibility.radical +0 -48
  105. package/dist/hub-catalogue/requirement/req-ai-autonomous-resolution.radical +0 -51
  106. package/dist/hub-catalogue/requirement/req-ai-groundedness.radical +0 -45
  107. package/dist/hub-catalogue/requirement/req-ai-human-handoff.radical +0 -46
  108. package/dist/hub-catalogue/requirement/req-alerting.radical +0 -52
  109. package/dist/hub-catalogue/requirement/req-api-response-time.radical +0 -51
  110. package/dist/hub-catalogue/requirement/req-api-standard.radical +0 -45
  111. package/dist/hub-catalogue/requirement/req-audit-logging.radical +0 -43
  112. package/dist/hub-catalogue/requirement/req-auth-response-time.radical +0 -45
  113. package/dist/hub-catalogue/requirement/req-auth.radical +0 -43
  114. package/dist/hub-catalogue/requirement/req-autoscaling.radical +0 -62
  115. package/dist/hub-catalogue/requirement/req-availability.radical +0 -50
  116. package/dist/hub-catalogue/requirement/req-backward-compatibility.radical +0 -46
  117. package/dist/hub-catalogue/requirement/req-batch-job-completion.radical +0 -50
  118. package/dist/hub-catalogue/requirement/req-carbon-efficiency.radical +0 -64
  119. package/dist/hub-catalogue/requirement/req-centralised-logging.radical +0 -45
  120. package/dist/hub-catalogue/requirement/req-ci-pipeline-time.radical +0 -43
  121. package/dist/hub-catalogue/requirement/req-code-complexity.radical +0 -43
  122. package/dist/hub-catalogue/requirement/req-config-propagation.radical +0 -45
  123. package/dist/hub-catalogue/requirement/req-data-integrity.radical +0 -35
  124. package/dist/hub-catalogue/requirement/req-data-retention.radical +0 -44
  125. package/dist/hub-catalogue/requirement/req-db-query-response.radical +0 -44
  126. package/dist/hub-catalogue/requirement/req-disaster-recovery.radical +0 -59
  127. package/dist/hub-catalogue/requirement/req-distributed-tracing.radical +0 -45
  128. package/dist/hub-catalogue/requirement/req-encryption.radical +0 -49
  129. package/dist/hub-catalogue/requirement/req-error-rate.radical +0 -45
  130. package/dist/hub-catalogue/requirement/req-error-recovery.radical +0 -34
  131. package/dist/hub-catalogue/requirement/req-event-schema-compatibility.radical +0 -37
  132. package/dist/hub-catalogue/requirement/req-fail-safe-default.radical +0 -55
  133. package/dist/hub-catalogue/requirement/req-fast-startup-graceful-shutdown.radical +0 -69
  134. package/dist/hub-catalogue/requirement/req-gdpr-erasure.radical +0 -44
  135. package/dist/hub-catalogue/requirement/req-graceful-degradation.radical +0 -39
  136. package/dist/hub-catalogue/requirement/req-health-checks.radical +0 -43
  137. package/dist/hub-catalogue/requirement/req-iac.radical +0 -36
  138. package/dist/hub-catalogue/requirement/req-idempotency.radical +0 -47
  139. package/dist/hub-catalogue/requirement/req-input-validation.radical +0 -37
  140. package/dist/hub-catalogue/requirement/req-least-privilege.radical +0 -47
  141. package/dist/hub-catalogue/requirement/req-ledger-immutability.radical +0 -38
  142. package/dist/hub-catalogue/requirement/req-mfa.radical +0 -36
  143. package/dist/hub-catalogue/requirement/req-ml-extraction-accuracy.radical +0 -42
  144. package/dist/hub-catalogue/requirement/req-onboarding-time.radical +0 -42
  145. package/dist/hub-catalogue/requirement/req-page-load-time.radical +0 -59
  146. package/dist/hub-catalogue/requirement/req-payout-latency.radical +0 -46
  147. package/dist/hub-catalogue/requirement/req-presence-latency.radical +0 -46
  148. package/dist/hub-catalogue/requirement/req-rate-limiting.radical +0 -45
  149. package/dist/hub-catalogue/requirement/req-report-generation.radical +0 -44
  150. package/dist/hub-catalogue/requirement/req-resource-efficiency.radical +0 -64
  151. package/dist/hub-catalogue/requirement/req-resource-headroom.radical +0 -53
  152. package/dist/hub-catalogue/requirement/req-resource-isolation.radical +0 -37
  153. package/dist/hub-catalogue/requirement/req-search-response-time.radical +0 -44
  154. package/dist/hub-catalogue/requirement/req-secrets-management.radical +0 -45
  155. package/dist/hub-catalogue/requirement/req-task-success-rate.radical +0 -42
  156. package/dist/hub-catalogue/requirement/req-test-coverage.radical +0 -42
  157. package/dist/hub-catalogue/requirement/req-throughput.radical +0 -55
  158. package/dist/hub-catalogue/requirement/req-vulnerability-scanning.radical +0 -52
  159. package/dist/hub-catalogue/requirement/req-zero-downtime-deploy.radical +0 -39
@@ -1,64 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "req-resource-efficiency",
4
- "category": "requirement",
5
- "name": "Resource Cost Efficiency",
6
- "description": "Ceiling on infrastructure cost per unit of useful work, so the system doesn't quietly become more expensive to run as it scales.",
7
- "tags": [
8
- "performance",
9
- "cost",
10
- "efficiency",
11
- "capacity"
12
- ],
13
- "requiredMetamodel": "c4-ddd-governance-builtin",
14
- "templateParams": [
15
- {
16
- "key": "COST_UNIT",
17
- "label": "Unit of work",
18
- "hint": "1,000 requests",
19
- "defaultValue": "1,000 requests"
20
- },
21
- {
22
- "key": "MAX_COST_PER_UNIT",
23
- "label": "Max cost per unit",
24
- "hint": "$0.05",
25
- "defaultValue": "$0.05"
26
- }
27
- ],
28
- "hubRefs": [
29
- "ff-cost-efficiency-guard",
30
- "req-throughput",
31
- "req-resource-headroom",
32
- "req-carbon-efficiency"
33
- ]
34
- },
35
- "nodes": [
36
- {
37
- "id": "req-resource-efficiency-1",
38
- "type": "requirement",
39
- "label": "Resource Cost Efficiency",
40
- "x": 0,
41
- "y": 0,
42
- "width": 260,
43
- "height": 80,
44
- "collapsed": false,
45
- "ears_type": "ubiquitous",
46
- "action": "keep infrastructure cost per {{COST_UNIT}} at or below {{MAX_COST_PER_UNIT}}, reviewed monthly against the trailing 3-month trend",
47
- "rationale": "Without an explicit ceiling, cost creep is invisible until the monthly bill spikes; tying it to a unit of work (per request, per tenant, per transaction) keeps the number meaningful as the system grows.",
48
- "templateParams": [
49
- {
50
- "key": "COST_UNIT",
51
- "label": "Unit of work",
52
- "hint": "1,000 requests",
53
- "defaultValue": "1,000 requests"
54
- },
55
- {
56
- "key": "MAX_COST_PER_UNIT",
57
- "label": "Max cost per unit",
58
- "hint": "$0.05",
59
- "defaultValue": "$0.05"
60
- }
61
- ]
62
- }
63
- ]
64
- }
@@ -1,53 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "req-resource-headroom",
4
- "category": "requirement",
5
- "name": "Compute Headroom",
6
- "description": "Keeps steady-state resource utilisation below a ceiling so that traffic spikes can be absorbed while scaling kicks in.",
7
- "tags": [
8
- "performance",
9
- "capacity",
10
- "infrastructure"
11
- ],
12
- "requiredMetamodel": "c4-ddd-governance-builtin",
13
- "templateParams": [
14
- {
15
- "key": "CPU_CEILING_PCT",
16
- "label": "Average CPU utilisation ceiling (%)",
17
- "hint": "70",
18
- "type": "number",
19
- "defaultValue": "70"
20
- },
21
- {
22
- "key": "MEMORY_CEILING_PCT",
23
- "label": "Average memory utilisation ceiling (%)",
24
- "hint": "75",
25
- "type": "number",
26
- "defaultValue": "75"
27
- }
28
- ],
29
- "hubRefs": [
30
- "req-autoscaling",
31
- "ff-capacity-load-test",
32
- "ff-scale-out-verification",
33
- "req-resource-efficiency"
34
- ]
35
- },
36
- "nodes": [
37
- {
38
- "id": "req-resource-headroom-1",
39
- "type": "requirement",
40
- "label": "Compute Headroom",
41
- "x": 0,
42
- "y": 0,
43
- "width": 200,
44
- "height": 80,
45
- "collapsed": false,
46
- "ears_type": "state-driven",
47
- "precondition": "the system is serving normal production traffic",
48
- "action": "keep average CPU utilisation below {{CPU_CEILING_PCT}}% and memory utilisation below {{MEMORY_CEILING_PCT}}% per node, treating sustained breaches as a capacity incident",
49
- "rationale": "Saturated nodes degrade non-linearly: queueing delay explodes as utilisation approaches 100%, and scale-out takes time to become effective."
50
- }
51
- ],
52
- "relations": []
53
- }
@@ -1,37 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "req-resource-isolation",
4
- "category": "requirement",
5
- "name": "Tenant / Workload Resource Isolation",
6
- "description": "One tenant's or workload's resource consumption must not degrade service for any other tenant or workload sharing the same infrastructure.",
7
- "tags": [
8
- "principle",
9
- "multi-tenancy",
10
- "isolation",
11
- "co-existence",
12
- "capacity"
13
- ],
14
- "requiredMetamodel": "c4-ddd-governance-builtin",
15
- "hubRefs": [
16
- "ff-noisy-neighbor-guard",
17
- "adr-multi-tenancy-strategy",
18
- "req-autoscaling"
19
- ]
20
- },
21
- "nodes": [
22
- {
23
- "id": "req-resource-isolation-1",
24
- "type": "requirement",
25
- "label": "Tenant / Workload Resource Isolation",
26
- "x": 0,
27
- "y": 0,
28
- "width": 260,
29
- "height": 80,
30
- "collapsed": false,
31
- "ears_type": "unwanted-behaviour",
32
- "unwanted_condition": "a single tenant or workload sustains resource consumption above its allotted share",
33
- "action": "throttle or shed that tenant's or workload's excess load before it measurably degrades latency or error rate for any other tenant",
34
- "rationale": "Shared infrastructure is only viable if no single occupant can starve the others; without an enforced ceiling, the noisiest tenant sets the experience for everyone."
35
- }
36
- ]
37
- }
@@ -1,44 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "req-search-response-time",
4
- "category": "requirement",
5
- "name": "Search Response Time",
6
- "description": "Latency target for user-initiated search queries.",
7
- "tags": [
8
- "performance",
9
- "search",
10
- "latency",
11
- "ux"
12
- ],
13
- "requiredMetamodel": "c4-ddd-governance-builtin",
14
- "templateParams": [
15
- {
16
- "key": "SEARCH_P95_MS",
17
- "label": "p95 search latency (ms)",
18
- "hint": "500",
19
- "type": "number",
20
- "defaultValue": "500"
21
- }
22
- ],
23
- "hubRefs": [
24
- "req-api-response-time"
25
- ]
26
- },
27
- "nodes": [
28
- {
29
- "id": "req-search-response-time-1",
30
- "type": "requirement",
31
- "label": "Search Response Time",
32
- "x": 0,
33
- "y": 0,
34
- "width": 200,
35
- "height": 80,
36
- "collapsed": false,
37
- "ears_type": "event-driven",
38
- "trigger": "a user submits a search query",
39
- "action": "return the first page of results within {{SEARCH_P95_MS}} ms at the 95th percentile, using pre-built indexes rather than full scans",
40
- "rationale": "Search is interactive and iterative; users refine queries several times, so each round trip must feel immediate or engagement drops sharply."
41
- }
42
- ],
43
- "relations": []
44
- }
@@ -1,45 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "req-secrets-management",
4
- "category": "requirement",
5
- "name": "Secrets Management",
6
- "description": "Credentials, keys and tokens live only in a managed secret store and are rotated on a schedule.",
7
- "tags": [
8
- "principle",
9
- "security",
10
- "secrets",
11
- "devops"
12
- ],
13
- "requiredMetamodel": "c4-ddd-governance-builtin",
14
- "templateParams": [
15
- {
16
- "key": "SECRET_ROTATION_DAYS",
17
- "label": "Maximum secret age (days)",
18
- "hint": "90",
19
- "type": "number",
20
- "defaultValue": "90"
21
- }
22
- ],
23
- "hubRefs": [
24
- "req-least-privilege",
25
- "req-iac",
26
- "ff-sast-scan"
27
- ]
28
- },
29
- "nodes": [
30
- {
31
- "id": "req-secrets-management-1",
32
- "type": "requirement",
33
- "label": "Secrets Management",
34
- "x": 0,
35
- "y": 0,
36
- "width": 200,
37
- "height": 80,
38
- "collapsed": false,
39
- "ears_type": "ubiquitous",
40
- "action": "store all credentials, API keys and certificates in a managed secret store, inject them at runtime rather than in source or images, and rotate each secret at least every {{SECRET_ROTATION_DAYS}} days",
41
- "rationale": "Secrets committed to repositories or baked into images cannot be revoked without a redeploy and tend to leak through logs and forks; a store with rotation makes exposure short-lived."
42
- }
43
- ],
44
- "relations": []
45
- }
@@ -1,42 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "req-task-success-rate",
4
- "category": "requirement",
5
- "name": "Primary Task Success Rate",
6
- "description": "Representative users can complete the primary workflow unaided, measured in usability testing.",
7
- "tags": [
8
- "usability",
9
- "ux",
10
- "research"
11
- ],
12
- "requiredMetamodel": "c4-ddd-governance-builtin",
13
- "templateParams": [
14
- {
15
- "key": "MIN_TASK_SUCCESS_PCT",
16
- "label": "Unassisted task success (%)",
17
- "hint": "90",
18
- "type": "number",
19
- "defaultValue": "90"
20
- }
21
- ],
22
- "hubRefs": [
23
- "req-onboarding-time"
24
- ]
25
- },
26
- "nodes": [
27
- {
28
- "id": "req-task-success-rate-1",
29
- "type": "requirement",
30
- "label": "Primary Task Success Rate",
31
- "x": 0,
32
- "y": 0,
33
- "width": 200,
34
- "height": 80,
35
- "collapsed": false,
36
- "ears_type": "ubiquitous",
37
- "action": "achieve at least {{MIN_TASK_SUCCESS_PCT}}% unassisted completion of the primary workflow in moderated usability tests with representative users, re-measured after significant UI changes",
38
- "rationale": "Task success is the most direct measure of whether the interface works; analytics show where users drop out but not why, and testing closes that gap."
39
- }
40
- ],
41
- "relations": []
42
- }
@@ -1,42 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "req-test-coverage",
4
- "category": "requirement",
5
- "name": "Automated Test Coverage",
6
- "description": "Business logic is protected by automated tests, with coverage enforced in the pipeline.",
7
- "tags": [
8
- "maintainability",
9
- "testing",
10
- "quality"
11
- ],
12
- "requiredMetamodel": "c4-ddd-governance-builtin",
13
- "templateParams": [
14
- {
15
- "key": "MIN_COVERAGE_PCT",
16
- "label": "Minimum line coverage (%)",
17
- "hint": "80",
18
- "type": "number",
19
- "defaultValue": "80"
20
- }
21
- ],
22
- "hubRefs": [
23
- "ff-test-coverage"
24
- ]
25
- },
26
- "nodes": [
27
- {
28
- "id": "req-test-coverage-1",
29
- "type": "requirement",
30
- "label": "Automated Test Coverage",
31
- "x": 0,
32
- "y": 0,
33
- "width": 200,
34
- "height": 80,
35
- "collapsed": false,
36
- "ears_type": "ubiquitous",
37
- "action": "maintain at least {{MIN_COVERAGE_PCT}}% automated line coverage of business-logic modules and prevent any change from lowering coverage on the files it touches",
38
- "rationale": "Coverage is a coarse but enforceable proxy for a refactoring safety net; the ratchet on changed files stops the number from drifting down one commit at a time."
39
- }
40
- ],
41
- "relations": []
42
- }
@@ -1,55 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "req-throughput",
4
- "category": "requirement",
5
- "name": "Peak Throughput",
6
- "description": "Minimum sustained transaction rate the system must handle at peak without breaching its latency targets.",
7
- "tags": [
8
- "performance",
9
- "throughput",
10
- "capacity"
11
- ],
12
- "requiredMetamodel": "c4-ddd-governance-builtin",
13
- "templateParams": [
14
- {
15
- "key": "MIN_TPS",
16
- "label": "Sustained transactions per second",
17
- "hint": "1000",
18
- "type": "number",
19
- "defaultValue": "1000"
20
- },
21
- {
22
- "key": "PEAK_DURATION_MINUTES",
23
- "label": "Peak duration to sustain (minutes)",
24
- "hint": "30",
25
- "type": "number",
26
- "defaultValue": "30"
27
- }
28
- ],
29
- "hubRefs": [
30
- "req-api-response-time",
31
- "req-autoscaling",
32
- "req-report-generation",
33
- "pattern-rate-limiter",
34
- "req-resource-efficiency",
35
- "ff-capacity-load-test",
36
- "ff-cost-efficiency-guard"
37
- ]
38
- },
39
- "nodes": [
40
- {
41
- "id": "req-throughput-1",
42
- "type": "requirement",
43
- "label": "Peak Throughput",
44
- "x": 0,
45
- "y": 0,
46
- "width": 200,
47
- "height": 80,
48
- "collapsed": false,
49
- "ears_type": "ubiquitous",
50
- "action": "sustain at least {{MIN_TPS}} transactions per second for {{PEAK_DURATION_MINUTES}} minutes while continuing to meet all response-time requirements",
51
- "rationale": "Latency targets are meaningless without a stated load; fixing the peak rate makes capacity planning and load testing concrete."
52
- }
53
- ],
54
- "relations": []
55
- }
@@ -1,52 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "req-vulnerability-scanning",
4
- "category": "requirement",
5
- "name": "Dependency Vulnerability Gate",
6
- "description": "Builds that include dependencies with known critical or high-severity vulnerabilities do not reach production.",
7
- "tags": [
8
- "security",
9
- "supply-chain",
10
- "ci-cd"
11
- ],
12
- "requiredMetamodel": "c4-ddd-governance-builtin",
13
- "templateParams": [
14
- {
15
- "key": "CRITICAL_CVSS",
16
- "label": "Critical CVSS threshold",
17
- "hint": "9",
18
- "type": "number",
19
- "defaultValue": "9"
20
- },
21
- {
22
- "key": "HIGH_CVSS",
23
- "label": "High CVSS threshold",
24
- "hint": "7",
25
- "type": "number",
26
- "defaultValue": "7"
27
- }
28
- ],
29
- "hubRefs": [
30
- "ff-security-scan",
31
- "ff-license-compliance",
32
- "req-input-validation"
33
- ]
34
- },
35
- "nodes": [
36
- {
37
- "id": "req-vulnerability-scanning-1",
38
- "type": "requirement",
39
- "label": "Dependency Vulnerability Gate",
40
- "x": 0,
41
- "y": 0,
42
- "width": 200,
43
- "height": 80,
44
- "collapsed": false,
45
- "ears_type": "event-driven",
46
- "trigger": "a build is started or a new advisory is published for a dependency in use",
47
- "action": "scan all runtime dependencies and container base images for known vulnerabilities and block promotion to production on any finding with CVSS ≥ {{HIGH_CVSS}}, escalating findings with CVSS ≥ {{CRITICAL_CVSS}} to the security on-call",
48
- "rationale": "Most production compromises exploit already-published vulnerabilities in third-party code; an automated gate is the only way to keep pace with the advisory stream."
49
- }
50
- ],
51
- "relations": []
52
- }
@@ -1,39 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "req-zero-downtime-deploy",
4
- "category": "requirement",
5
- "name": "Zero-Downtime Deployment",
6
- "description": "Releases must not interrupt in-flight requests or make the service unavailable to users.",
7
- "tags": [
8
- "principle",
9
- "availability",
10
- "deployment",
11
- "ci-cd"
12
- ],
13
- "requiredMetamodel": "c4-ddd-governance-builtin",
14
- "hubRefs": [
15
- "adr-deployment-strategy",
16
- "ff-deploy-frequency",
17
- "req-config-propagation",
18
- "req-fast-startup-graceful-shutdown",
19
- "ff-startup-shutdown-check"
20
- ]
21
- },
22
- "nodes": [
23
- {
24
- "id": "req-zero-downtime-deploy-1",
25
- "type": "requirement",
26
- "label": "Zero-Downtime Deployment",
27
- "x": 0,
28
- "y": 0,
29
- "width": 200,
30
- "height": 80,
31
- "collapsed": false,
32
- "ears_type": "event-driven",
33
- "trigger": "a new version is deployed to production",
34
- "action": "roll the change out without failed or dropped user requests, keeping the previous version serving traffic until the new one passes its health checks, and support rollback within the same mechanism",
35
- "rationale": "Deployment windows and maintenance pages cap release frequency; only when a deploy is invisible to users can the team ship small changes often."
36
- }
37
- ],
38
- "relations": []
39
- }