@radicaltools/mcp 0.1.1 → 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 (161) hide show
  1. package/README.md +52 -26
  2. package/dist/chunk-Z7THA3L5.js +3200 -0
  3. package/dist/elkLayout-TAUBPPVN.js +8 -0
  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 +22690 -6064
  31. package/package.json +1 -1
  32. package/dist/chunk-KI4NVSTU.js +0 -1763
  33. package/dist/elkLayout-WC6AXWOG.js +0 -185
  34. package/dist/hub-catalogue/adr/adr-api-versioning.radical +0 -53
  35. package/dist/hub-catalogue/adr/adr-auth-strategy.radical +0 -53
  36. package/dist/hub-catalogue/adr/adr-caching-strategy.radical +0 -59
  37. package/dist/hub-catalogue/adr/adr-data-consistency-model.radical +0 -40
  38. package/dist/hub-catalogue/adr/adr-data-store.radical +0 -47
  39. package/dist/hub-catalogue/adr/adr-deployment-strategy.radical +0 -53
  40. package/dist/hub-catalogue/adr/adr-event-schema-evolution.radical +0 -53
  41. package/dist/hub-catalogue/adr/adr-integration-style.radical +0 -50
  42. package/dist/hub-catalogue/adr/adr-ledger-reconciliation-strategy.radical +0 -38
  43. package/dist/hub-catalogue/adr/adr-llm-provider-strategy.radical +0 -40
  44. package/dist/hub-catalogue/adr/adr-marketplace-payments-model.radical +0 -39
  45. package/dist/hub-catalogue/adr/adr-multi-region.radical +0 -60
  46. package/dist/hub-catalogue/adr/adr-multi-tenancy-strategy.radical +0 -41
  47. package/dist/hub-catalogue/adr/adr-observability.radical +0 -59
  48. package/dist/hub-catalogue/adr/adr-realtime-transport.radical +0 -38
  49. package/dist/hub-catalogue/adr/adr-tech-stack.radical +0 -45
  50. package/dist/hub-catalogue/adr/adr-zero-trust-network.radical +0 -40
  51. package/dist/hub-catalogue/blueprint/bp-ai-assistant-platform.radical +0 -1641
  52. package/dist/hub-catalogue/blueprint/bp-analytical-data-platform.radical +0 -1428
  53. package/dist/hub-catalogue/blueprint/bp-ecommerce-platform.radical +0 -1989
  54. package/dist/hub-catalogue/blueprint/bp-fintech-ledger-platform.radical +0 -1701
  55. package/dist/hub-catalogue/blueprint/bp-marketplace-platform.radical +0 -1792
  56. package/dist/hub-catalogue/blueprint/bp-realtime-collaboration.radical +0 -1421
  57. package/dist/hub-catalogue/blueprint/bp-saas-b2b-platform.radical +0 -1713
  58. package/dist/hub-catalogue/fitness-function/ff-accessibility-scan.radical +0 -34
  59. package/dist/hub-catalogue/fitness-function/ff-ai-eval-gate.radical +0 -52
  60. package/dist/hub-catalogue/fitness-function/ff-api-contract.radical +0 -36
  61. package/dist/hub-catalogue/fitness-function/ff-capacity-load-test.radical +0 -67
  62. package/dist/hub-catalogue/fitness-function/ff-carbon-footprint-guard.radical +0 -62
  63. package/dist/hub-catalogue/fitness-function/ff-change-failure-rate.radical +0 -45
  64. package/dist/hub-catalogue/fitness-function/ff-chaos-resilience-test.radical +0 -53
  65. package/dist/hub-catalogue/fitness-function/ff-cost-efficiency-guard.radical +0 -64
  66. package/dist/hub-catalogue/fitness-function/ff-coupling-guard.radical +0 -45
  67. package/dist/hub-catalogue/fitness-function/ff-data-integrity-check.radical +0 -51
  68. package/dist/hub-catalogue/fitness-function/ff-data-residency.radical +0 -43
  69. package/dist/hub-catalogue/fitness-function/ff-dependency-rules.radical +0 -37
  70. package/dist/hub-catalogue/fitness-function/ff-deploy-frequency.radical +0 -46
  71. package/dist/hub-catalogue/fitness-function/ff-dr-drill-success.radical +0 -52
  72. package/dist/hub-catalogue/fitness-function/ff-duplication-guard.radical +0 -53
  73. package/dist/hub-catalogue/fitness-function/ff-error-budget.radical +0 -59
  74. package/dist/hub-catalogue/fitness-function/ff-fail-safe-verification.radical +0 -34
  75. package/dist/hub-catalogue/fitness-function/ff-infra-drift.radical +0 -34
  76. package/dist/hub-catalogue/fitness-function/ff-latency-slo.radical +0 -59
  77. package/dist/hub-catalogue/fitness-function/ff-lead-time.radical +0 -44
  78. package/dist/hub-catalogue/fitness-function/ff-ledger-balance-integrity.radical +0 -45
  79. package/dist/hub-catalogue/fitness-function/ff-license-compliance.radical +0 -43
  80. package/dist/hub-catalogue/fitness-function/ff-mttr.radical +0 -45
  81. package/dist/hub-catalogue/fitness-function/ff-noisy-neighbor-guard.radical +0 -66
  82. package/dist/hub-catalogue/fitness-function/ff-sast-scan.radical +0 -35
  83. package/dist/hub-catalogue/fitness-function/ff-scale-out-verification.radical +0 -66
  84. package/dist/hub-catalogue/fitness-function/ff-security-scan.radical +0 -45
  85. package/dist/hub-catalogue/fitness-function/ff-startup-shutdown-check.radical +0 -66
  86. package/dist/hub-catalogue/fitness-function/ff-sync-convergence-test.radical +0 -45
  87. package/dist/hub-catalogue/fitness-function/ff-test-coverage.radical +0 -43
  88. package/dist/hub-catalogue/fitness-function/ff-web-vitals.radical +0 -57
  89. package/dist/hub-catalogue/pattern/pattern-anti-corruption-layer.radical +0 -88
  90. package/dist/hub-catalogue/pattern/pattern-api-gateway.radical +0 -168
  91. package/dist/hub-catalogue/pattern/pattern-bff.radical +0 -179
  92. package/dist/hub-catalogue/pattern/pattern-bulkhead.radical +0 -114
  93. package/dist/hub-catalogue/pattern/pattern-circuit-breaker.radical +0 -219
  94. package/dist/hub-catalogue/pattern/pattern-cqrs.radical +0 -195
  95. package/dist/hub-catalogue/pattern/pattern-crdt-sync.radical +0 -200
  96. package/dist/hub-catalogue/pattern/pattern-event-driven.radical +0 -210
  97. package/dist/hub-catalogue/pattern/pattern-event-sourced-ledger.radical +0 -211
  98. package/dist/hub-catalogue/pattern/pattern-hexagonal.radical +0 -196
  99. package/dist/hub-catalogue/pattern/pattern-microservices.radical +0 -262
  100. package/dist/hub-catalogue/pattern/pattern-rag-pipeline.radical +0 -213
  101. package/dist/hub-catalogue/pattern/pattern-rate-limiter.radical +0 -114
  102. package/dist/hub-catalogue/pattern/pattern-saga.radical +0 -208
  103. package/dist/hub-catalogue/pattern/pattern-sidecar.radical +0 -123
  104. package/dist/hub-catalogue/pattern/pattern-strangler-fig.radical +0 -227
  105. package/dist/hub-catalogue/pattern/pattern-transactional-outbox.radical +0 -209
  106. package/dist/hub-catalogue/requirement/req-accessibility.radical +0 -48
  107. package/dist/hub-catalogue/requirement/req-ai-autonomous-resolution.radical +0 -51
  108. package/dist/hub-catalogue/requirement/req-ai-groundedness.radical +0 -45
  109. package/dist/hub-catalogue/requirement/req-ai-human-handoff.radical +0 -46
  110. package/dist/hub-catalogue/requirement/req-alerting.radical +0 -52
  111. package/dist/hub-catalogue/requirement/req-api-response-time.radical +0 -51
  112. package/dist/hub-catalogue/requirement/req-api-standard.radical +0 -45
  113. package/dist/hub-catalogue/requirement/req-audit-logging.radical +0 -43
  114. package/dist/hub-catalogue/requirement/req-auth-response-time.radical +0 -45
  115. package/dist/hub-catalogue/requirement/req-auth.radical +0 -43
  116. package/dist/hub-catalogue/requirement/req-autoscaling.radical +0 -62
  117. package/dist/hub-catalogue/requirement/req-availability.radical +0 -50
  118. package/dist/hub-catalogue/requirement/req-backward-compatibility.radical +0 -46
  119. package/dist/hub-catalogue/requirement/req-batch-job-completion.radical +0 -50
  120. package/dist/hub-catalogue/requirement/req-carbon-efficiency.radical +0 -64
  121. package/dist/hub-catalogue/requirement/req-centralised-logging.radical +0 -45
  122. package/dist/hub-catalogue/requirement/req-ci-pipeline-time.radical +0 -43
  123. package/dist/hub-catalogue/requirement/req-code-complexity.radical +0 -43
  124. package/dist/hub-catalogue/requirement/req-config-propagation.radical +0 -45
  125. package/dist/hub-catalogue/requirement/req-data-integrity.radical +0 -35
  126. package/dist/hub-catalogue/requirement/req-data-retention.radical +0 -44
  127. package/dist/hub-catalogue/requirement/req-db-query-response.radical +0 -44
  128. package/dist/hub-catalogue/requirement/req-disaster-recovery.radical +0 -59
  129. package/dist/hub-catalogue/requirement/req-distributed-tracing.radical +0 -45
  130. package/dist/hub-catalogue/requirement/req-encryption.radical +0 -49
  131. package/dist/hub-catalogue/requirement/req-error-rate.radical +0 -45
  132. package/dist/hub-catalogue/requirement/req-error-recovery.radical +0 -34
  133. package/dist/hub-catalogue/requirement/req-event-schema-compatibility.radical +0 -37
  134. package/dist/hub-catalogue/requirement/req-fail-safe-default.radical +0 -55
  135. package/dist/hub-catalogue/requirement/req-fast-startup-graceful-shutdown.radical +0 -69
  136. package/dist/hub-catalogue/requirement/req-gdpr-erasure.radical +0 -44
  137. package/dist/hub-catalogue/requirement/req-graceful-degradation.radical +0 -39
  138. package/dist/hub-catalogue/requirement/req-health-checks.radical +0 -43
  139. package/dist/hub-catalogue/requirement/req-iac.radical +0 -36
  140. package/dist/hub-catalogue/requirement/req-idempotency.radical +0 -47
  141. package/dist/hub-catalogue/requirement/req-input-validation.radical +0 -37
  142. package/dist/hub-catalogue/requirement/req-least-privilege.radical +0 -47
  143. package/dist/hub-catalogue/requirement/req-ledger-immutability.radical +0 -38
  144. package/dist/hub-catalogue/requirement/req-mfa.radical +0 -36
  145. package/dist/hub-catalogue/requirement/req-ml-extraction-accuracy.radical +0 -42
  146. package/dist/hub-catalogue/requirement/req-onboarding-time.radical +0 -42
  147. package/dist/hub-catalogue/requirement/req-page-load-time.radical +0 -59
  148. package/dist/hub-catalogue/requirement/req-payout-latency.radical +0 -46
  149. package/dist/hub-catalogue/requirement/req-presence-latency.radical +0 -46
  150. package/dist/hub-catalogue/requirement/req-rate-limiting.radical +0 -45
  151. package/dist/hub-catalogue/requirement/req-report-generation.radical +0 -44
  152. package/dist/hub-catalogue/requirement/req-resource-efficiency.radical +0 -64
  153. package/dist/hub-catalogue/requirement/req-resource-headroom.radical +0 -53
  154. package/dist/hub-catalogue/requirement/req-resource-isolation.radical +0 -37
  155. package/dist/hub-catalogue/requirement/req-search-response-time.radical +0 -44
  156. package/dist/hub-catalogue/requirement/req-secrets-management.radical +0 -45
  157. package/dist/hub-catalogue/requirement/req-task-success-rate.radical +0 -42
  158. package/dist/hub-catalogue/requirement/req-test-coverage.radical +0 -42
  159. package/dist/hub-catalogue/requirement/req-throughput.radical +0 -55
  160. package/dist/hub-catalogue/requirement/req-vulnerability-scanning.radical +0 -52
  161. package/dist/hub-catalogue/requirement/req-zero-downtime-deploy.radical +0 -39
@@ -1,1713 +0,0 @@
1
- {
2
- "hub": {
3
- "id": "bp-saas-b2b-platform",
4
- "category": "blueprint",
5
- "name": "SaaS B2B Multi-Tenant Platform",
6
- "description": "A B2B SaaS reference architecture: one pooled, row-level-secured data tier serves self-serve and mid-market tenants, enterprise SSO federates through a dedicated identity service, and usage-based billing meters and enforces subscription state.",
7
- "tags": [
8
- "saas",
9
- "multi-tenancy",
10
- "b2b",
11
- "sso",
12
- "billing",
13
- "governance"
14
- ],
15
- "requiredMetamodel": "c4-ddd-governance-builtin",
16
- "templateParams": [
17
- {
18
- "key": "PROVISION_MINUTES",
19
- "label": "Max provisioning time (minutes)",
20
- "hint": "2",
21
- "type": "number",
22
- "defaultValue": "2"
23
- },
24
- {
25
- "key": "RECONCILIATION_PCT",
26
- "label": "Max metering discrepancy at reconciliation (%)",
27
- "hint": "0.5",
28
- "type": "number",
29
- "defaultValue": "0.5"
30
- },
31
- {
32
- "key": "FUZZ_QUERY_COUNT",
33
- "label": "Randomised queries per run",
34
- "hint": "500",
35
- "type": "number",
36
- "defaultValue": "500"
37
- },
38
- {
39
- "key": "MAX_TENANT_SHARE_PCT",
40
- "label": "Max sustained CPU share per tenant (%)",
41
- "hint": "20",
42
- "type": "number",
43
- "defaultValue": "20"
44
- }
45
- ],
46
- "hubRefs": [
47
- "adr-multi-tenancy-strategy",
48
- "pattern-api-gateway",
49
- "req-mfa",
50
- "req-secrets-management",
51
- "req-availability",
52
- "pattern-event-driven",
53
- "ff-error-budget",
54
- "req-audit-logging"
55
- ]
56
- },
57
- "nodes": [
58
- {
59
- "id": "tenant-user",
60
- "type": "person",
61
- "label": "Tenant User",
62
- "description": "An employee of a customer organisation using the product day to day.",
63
- "width": 150,
64
- "height": 170,
65
- "collapsed": false,
66
- "x": 0,
67
- "y": 0
68
- },
69
- {
70
- "id": "tenant-admin",
71
- "type": "person",
72
- "label": "Tenant Admin",
73
- "description": "Manages their organisation's users, SSO configuration and subscription.",
74
- "width": 150,
75
- "height": 170,
76
- "collapsed": false,
77
- "x": 210,
78
- "y": 0
79
- },
80
- {
81
- "id": "ops-staff",
82
- "type": "person",
83
- "label": "Platform Ops",
84
- "description": "Provisions tenants, handles escalations, watches per-tenant health.",
85
- "width": 150,
86
- "height": 170,
87
- "collapsed": false,
88
- "x": 420,
89
- "y": 0
90
- },
91
- {
92
- "id": "platform",
93
- "type": "system",
94
- "label": "SaaS Platform",
95
- "description": "One codebase and one pooled data tier serving every tenant, with a siloed escape hatch for the largest enterprise customers.",
96
- "width": 1040,
97
- "height": 990,
98
- "collapsed": false,
99
- "x": 0,
100
- "y": 290
101
- },
102
- {
103
- "id": "webapp",
104
- "type": "webapp",
105
- "label": "Web App",
106
- "description": "The product's UI. Every request carries a resolved tenant context.",
107
- "technology": "React",
108
- "parentId": "platform",
109
- "width": 210,
110
- "height": 140,
111
- "collapsed": false,
112
- "x": 30,
113
- "y": 110
114
- },
115
- {
116
- "id": "admin-console",
117
- "type": "webapp",
118
- "label": "Internal Admin Console",
119
- "description": "Ops-facing: provisioning, impersonation (audited), tenant health.",
120
- "technology": "React",
121
- "parentId": "platform",
122
- "width": 210,
123
- "height": 140,
124
- "collapsed": false,
125
- "x": 280,
126
- "y": 110
127
- },
128
- {
129
- "id": "gateway",
130
- "type": "container",
131
- "label": "API Gateway",
132
- "description": "Terminates auth, resolves the tenant from the token/subdomain, attaches tenant context to every downstream call.",
133
- "technology": "Envoy",
134
- "parentId": "platform",
135
- "width": 300,
136
- "height": 200,
137
- "collapsed": false,
138
- "x": 530,
139
- "y": 110
140
- },
141
- {
142
- "id": "identity-service",
143
- "type": "container",
144
- "label": "Identity & Tenant Service",
145
- "description": "Provisions tenants, manages users and roles, federates with each enterprise tenant's own IdP.",
146
- "technology": "Java",
147
- "parentId": "platform",
148
- "width": 300,
149
- "height": 200,
150
- "collapsed": false,
151
- "x": 30,
152
- "y": 350
153
- },
154
- {
155
- "id": "billing-service",
156
- "type": "container",
157
- "label": "Billing Service",
158
- "description": "Owns subscriptions, usage metering and plan entitlements.",
159
- "technology": "Java",
160
- "parentId": "platform",
161
- "width": 300,
162
- "height": 200,
163
- "collapsed": false,
164
- "x": 370,
165
- "y": 350
166
- },
167
- {
168
- "id": "core-service",
169
- "type": "container",
170
- "label": "Core Domain Service",
171
- "description": "The product's actual domain logic. Every query is scoped by tenant_id.",
172
- "technology": "Java",
173
- "parentId": "platform",
174
- "width": 300,
175
- "height": 200,
176
- "collapsed": false,
177
- "x": 710,
178
- "y": 350
179
- },
180
- {
181
- "id": "notification-service",
182
- "type": "container",
183
- "label": "Notification Service",
184
- "description": "Sends transactional email and in-app notifications, tenant-branded.",
185
- "technology": "Node.js",
186
- "parentId": "platform",
187
- "width": 300,
188
- "height": 200,
189
- "collapsed": false,
190
- "x": 30,
191
- "y": 590
192
- },
193
- {
194
- "id": "event-bus",
195
- "type": "queue",
196
- "label": "Event Bus",
197
- "description": "Tenant lifecycle and domain events: TenantProvisioned, SubscriptionChanged, UserInvited.",
198
- "technology": "Kafka",
199
- "parentId": "platform",
200
- "width": 220,
201
- "height": 95,
202
- "collapsed": false,
203
- "x": 370,
204
- "y": 590
205
- },
206
- {
207
- "id": "tenant-db",
208
- "type": "database",
209
- "label": "Tenant Data Store",
210
- "description": "Pooled, multi-tenant: every table carries tenant_id, row-level security enforces isolation.",
211
- "technology": "PostgreSQL",
212
- "parentId": "platform",
213
- "width": 190,
214
- "height": 130,
215
- "collapsed": false,
216
- "x": 30,
217
- "y": 830
218
- },
219
- {
220
- "id": "identity-db",
221
- "type": "database",
222
- "label": "Identity Store",
223
- "description": "Tenants, users, roles, SSO configuration.",
224
- "technology": "PostgreSQL",
225
- "parentId": "platform",
226
- "width": 190,
227
- "height": 130,
228
- "collapsed": false,
229
- "x": 260,
230
- "y": 830
231
- },
232
- {
233
- "id": "idp",
234
- "type": "system",
235
- "label": "Customer IdP",
236
- "description": "An enterprise tenant's own SSO provider (Okta, Azure AD) — SAML/OIDC federation.",
237
- "external": true,
238
- "width": 360,
239
- "height": 260,
240
- "collapsed": false,
241
- "x": 0,
242
- "y": 1400
243
- },
244
- {
245
- "id": "payment-provider",
246
- "type": "system",
247
- "label": "Payment Provider",
248
- "description": "Handles card capture and recurring billing.",
249
- "external": true,
250
- "width": 360,
251
- "height": 260,
252
- "collapsed": false,
253
- "x": 420,
254
- "y": 1400
255
- },
256
- {
257
- "id": "email-provider",
258
- "type": "system",
259
- "label": "Email Provider",
260
- "description": "Transactional email delivery.",
261
- "external": true,
262
- "width": 360,
263
- "height": 260,
264
- "collapsed": false,
265
- "x": 840,
266
- "y": 1400
267
- },
268
- {
269
- "id": "req-tenant-isolation",
270
- "type": "requirement",
271
- "label": "Tenant Data Isolation",
272
- "width": 260,
273
- "height": 80,
274
- "collapsed": false,
275
- "x": 0,
276
- "y": 1780,
277
- "ears_type": "unwanted-behaviour",
278
- "status": "draft",
279
- "priority": "must",
280
- "unwanted_condition": "a query executes without a validated tenant context",
281
- "action": "reject the query, log a security event and alert the on-call rotation",
282
- "rationale": "A missing tenant filter is a cross-tenant data leak — the single most damaging failure mode a pooled multi-tenant system has."
283
- },
284
- {
285
- "id": "req-tenant-provisioning-time",
286
- "type": "requirement",
287
- "label": "Tenant Provisioning Time",
288
- "width": 260,
289
- "height": 80,
290
- "collapsed": false,
291
- "x": 320,
292
- "y": 1780,
293
- "ears_type": "event-driven",
294
- "status": "draft",
295
- "priority": "must",
296
- "trigger": "a new tenant completes sign-up",
297
- "action": "provision an isolated, ready-to-use workspace within {{PROVISION_MINUTES}} minutes",
298
- "rationale": "Slow provisioning is the first thing a trial user experiences; it sets the tone for the whole evaluation.",
299
- "templateParams": [
300
- {
301
- "key": "PROVISION_MINUTES",
302
- "label": "Max provisioning time (minutes)",
303
- "hint": "2",
304
- "type": "number",
305
- "defaultValue": "2"
306
- }
307
- ]
308
- },
309
- {
310
- "id": "req-subscription-enforcement",
311
- "type": "requirement",
312
- "label": "Subscription Enforcement",
313
- "width": 260,
314
- "height": 80,
315
- "collapsed": false,
316
- "x": 640,
317
- "y": 1780,
318
- "ears_type": "state-driven",
319
- "status": "draft",
320
- "priority": "must",
321
- "precondition": "a tenant's subscription is past due beyond the grace period",
322
- "action": "restrict the tenant to read-only access until payment succeeds or the account is cancelled",
323
- "rationale": "Non-payment must degrade access, not delete data — the tenant may still resolve billing and expects their data intact."
324
- },
325
- {
326
- "id": "req-usage-metering-accuracy",
327
- "type": "requirement",
328
- "label": "Usage Metering Accuracy",
329
- "width": 260,
330
- "height": 80,
331
- "collapsed": false,
332
- "x": 960,
333
- "y": 1780,
334
- "ears_type": "ubiquitous",
335
- "status": "draft",
336
- "priority": "must",
337
- "action": "record every billable usage event exactly once, reconciled against source-of-truth logs within {{RECONCILIATION_PCT}}% at month end",
338
- "rationale": "Usage-based billing that overcounts erodes trust; undercounting is silent revenue loss. Both need to be caught before the invoice goes out.",
339
- "templateParams": [
340
- {
341
- "key": "RECONCILIATION_PCT",
342
- "label": "Max metering discrepancy at reconciliation (%)",
343
- "hint": "0.5",
344
- "type": "number",
345
- "defaultValue": "0.5"
346
- }
347
- ]
348
- },
349
- {
350
- "id": "ff-tenant-isolation-fuzz",
351
- "type": "fitness-fn",
352
- "label": "Tenant Isolation Fuzz Test",
353
- "width": 260,
354
- "height": 52,
355
- "collapsed": false,
356
- "x": 0,
357
- "y": 1980,
358
- "category": "structural",
359
- "automated": true,
360
- "trigger": "on-deploy",
361
- "threshold": "Zero cross-tenant rows returned across {{FUZZ_QUERY_COUNT}} randomised queries run against two seeded tenants",
362
- "status": "proposed",
363
- "templateParams": [
364
- {
365
- "key": "FUZZ_QUERY_COUNT",
366
- "label": "Randomised queries per run",
367
- "hint": "500",
368
- "type": "number",
369
- "defaultValue": "500"
370
- }
371
- ]
372
- },
373
- {
374
- "id": "ff-noisy-neighbor-guard",
375
- "type": "fitness-fn",
376
- "label": "Noisy Neighbour Guard",
377
- "width": 260,
378
- "height": 52,
379
- "collapsed": false,
380
- "x": 320,
381
- "y": 1980,
382
- "category": "operational",
383
- "automated": true,
384
- "trigger": "continuous",
385
- "threshold": "No single tenant sustains more than {{MAX_TENANT_SHARE_PCT}}% of pooled database CPU for over 5 minutes",
386
- "status": "proposed",
387
- "templateParams": [
388
- {
389
- "key": "MAX_TENANT_SHARE_PCT",
390
- "label": "Max sustained CPU share per tenant (%)",
391
- "hint": "20",
392
- "type": "number",
393
- "defaultValue": "20"
394
- }
395
- ]
396
- },
397
- {
398
- "id": "ff-billing-reconciliation",
399
- "type": "fitness-fn",
400
- "label": "Billing Reconciliation",
401
- "width": 260,
402
- "height": 52,
403
- "collapsed": false,
404
- "x": 640,
405
- "y": 1980,
406
- "category": "process",
407
- "automated": true,
408
- "trigger": "periodic",
409
- "threshold": "Metered usage matches the payment provider's invoiced usage within the tolerance defined by Usage Metering Accuracy",
410
- "status": "proposed"
411
- },
412
- {
413
- "id": "adr-tenancy-model",
414
- "type": "adr",
415
- "label": "ADR: Pooled tenancy, siloed for enterprise",
416
- "width": 260,
417
- "height": 52,
418
- "collapsed": false,
419
- "x": 0,
420
- "y": 2152,
421
- "status": "accepted",
422
- "date": "",
423
- "context": "Same trade-off as the standalone Multi-Tenancy Strategy ADR, applied concretely to this platform's tenant tiers.",
424
- "decision": "Self-serve and mid-market tenants are pooled with row-level security; the top enterprise tier is siloed on request.",
425
- "consequences": "Pooled tenants launch in minutes at low marginal cost; siloed tenants get a dedicated migration runbook and higher per-tenant ops cost.",
426
- "alternatives": "Always-siloed was rejected as uneconomical for the self-serve tier; always-pooled was rejected as a blocker for enterprise compliance reviews."
427
- },
428
- {
429
- "id": "adr-sso-federation",
430
- "type": "adr",
431
- "label": "ADR: Short-lived tenant-scoped tokens after IdP federation",
432
- "width": 260,
433
- "height": 52,
434
- "collapsed": false,
435
- "x": 320,
436
- "y": 2152,
437
- "status": "accepted",
438
- "date": "",
439
- "context": "Enterprise tenants federate via their own SAML/OIDC IdP; the platform must not become a long-lived credential store for those identities.",
440
- "decision": "After a successful SSO handshake, the gateway issues its own short-lived, tenant-scoped JWT. The IdP is the source of truth for the identity; the platform never stores the tenant's SSO credentials.",
441
- "consequences": "A tenant revoking a user at their IdP takes effect on the token's next short expiry, not instantly, which is an accepted trade-off; token issuance adds one extra hop to first login.",
442
- "alternatives": "Storing IdP session cookies directly was rejected — it would tie the platform's session lifetime to each IdP's own cookie semantics and leak IdP-specific state into the app tier."
443
- },
444
- {
445
- "id": "flow-onboarding",
446
- "type": "group",
447
- "label": "Onboarding journey",
448
- "description": "From sign-up to a working, provisioned workspace.",
449
- "x": 0,
450
- "y": 2324,
451
- "width": 920,
452
- "height": 330,
453
- "collapsed": false
454
- },
455
- {
456
- "id": "mockup-signup",
457
- "type": "mockup",
458
- "label": "Sign Up",
459
- "description": "Self-serve sign-up; the new tenant gets an isolated, ready-to-use workspace within {{PROVISION_MINUTES}} minutes.",
460
- "parentId": "flow-onboarding",
461
- "x": 30,
462
- "y": 110,
463
- "width": 220,
464
- "height": 190,
465
- "collapsed": false,
466
- "screen": "/signup",
467
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"300\" rx=\"0\" fill=\"#f3f4f6\" stroke=\"#f3f4f6\"/>\n <rect x=\"100\" y=\"20\" width=\"200\" height=\"262\" rx=\"6\" fill=\"#fff\" stroke=\"#ccc\"/>\n <rect x=\"188\" y=\"34\" width=\"24\" height=\"24\" rx=\"5\" fill=\"#ccc\"/>\n <text x=\"200\" y=\"78\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Start your free trial</text>\n <text x=\"116\" y=\"92\" font-size=\"8\" fill=\"#666\">Work e-mail</text>\n <rect x=\"116\" y=\"96\" width=\"168\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"122\" y=\"108.0\" font-size=\"8\" fill=\"#999\">jane@acme.com</text>\n <text x=\"116\" y=\"126\" font-size=\"8\" fill=\"#666\">Company</text>\n <rect x=\"116\" y=\"130\" width=\"168\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"122\" y=\"142.0\" font-size=\"8\" fill=\"#999\">Acme Inc.</text>\n <text x=\"116\" y=\"160\" font-size=\"8\" fill=\"#666\">Workspace URL</text>\n <rect x=\"116\" y=\"164\" width=\"168\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"122\" y=\"176.0\" font-size=\"8\" fill=\"#999\">acme.app.example</text>\n <rect x=\"116\" y=\"194\" width=\"168\" height=\"22\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"200.0\" y=\"208.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Create workspace</text>\n <text x=\"200\" y=\"232\" font-size=\"8\" fill=\"#666\" text-anchor=\"middle\">or</text>\n <rect x=\"116\" y=\"240\" width=\"168\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"200.0\" y=\"253.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Sign up with SSO</text>\n <text x=\"200\" y=\"276\" font-size=\"7.5\" fill=\"#666\" text-anchor=\"middle\">Your workspace is ready in a couple of minutes.</text>\n</svg>"
468
- },
469
- {
470
- "id": "mockup-provisioning",
471
- "type": "mockup",
472
- "label": "Provisioning",
473
- "description": "Provisioning progress; an isolated workspace is ready within {{PROVISION_MINUTES}} minutes.",
474
- "parentId": "flow-onboarding",
475
- "x": 350,
476
- "y": 110,
477
- "width": 220,
478
- "height": 190,
479
- "collapsed": false,
480
- "screen": "/setup",
481
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"300\" rx=\"0\" fill=\"#f3f4f6\" stroke=\"#f3f4f6\"/>\n <rect x=\"90\" y=\"50\" width=\"220\" height=\"200\" rx=\"6\" fill=\"#fff\" stroke=\"#ccc\"/>\n <text x=\"200\" y=\"84\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Setting up acme.app.example</text>\n <rect x=\"110\" y=\"108\" width=\"180\" height=\"6\" rx=\"3\" fill=\"#e5e7eb\"/>\n <rect x=\"110\" y=\"108\" width=\"118\" height=\"6\" rx=\"3\" fill=\"#2563eb\"/>\n <rect x=\"110\" y=\"130\" width=\"9\" height=\"9\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <path d=\"M112 134.5 l2 2 l3.5 -4\" fill=\"none\" stroke=\"#2563eb\" stroke-width=\"1.5\"/>\n <text x=\"125\" y=\"138\" font-size=\"8\" fill=\"#333\">Workspace and database schema</text>\n <rect x=\"110\" y=\"148\" width=\"9\" height=\"9\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <path d=\"M112 152.5 l2 2 l3.5 -4\" fill=\"none\" stroke=\"#2563eb\" stroke-width=\"1.5\"/>\n <text x=\"125\" y=\"156\" font-size=\"8\" fill=\"#333\">Default roles and your admin account</text>\n <rect x=\"110\" y=\"166\" width=\"9\" height=\"9\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"125\" y=\"174\" font-size=\"8\" fill=\"#333\">Sample project</text>\n <text x=\"200\" y=\"204\" font-size=\"8\" fill=\"#666\" text-anchor=\"middle\">Usually ready in under 2 minutes.</text>\n <text x=\"200\" y=\"220\" font-size=\"8\" fill=\"#666\" text-anchor=\"middle\">We'll e-mail you when it's done.</text>\n</svg>"
482
- },
483
- {
484
- "id": "mockup-invite-team",
485
- "type": "mockup",
486
- "label": "Invite Your Team",
487
- "description": "Last onboarding step; invites land in the new tenant only.",
488
- "parentId": "flow-onboarding",
489
- "x": 670,
490
- "y": 110,
491
- "width": 220,
492
- "height": 190,
493
- "collapsed": false,
494
- "screen": "/setup/invite",
495
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"300\" rx=\"0\" fill=\"#f3f4f6\" stroke=\"#f3f4f6\"/>\n <rect x=\"70\" y=\"30\" width=\"260\" height=\"240\" rx=\"6\" fill=\"#fff\" stroke=\"#ccc\"/>\n <text x=\"200\" y=\"60\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Invite your team</text>\n <text x=\"200\" y=\"76\" font-size=\"8\" fill=\"#666\" text-anchor=\"middle\">Step 2 of 2</text>\n <rect x=\"90\" y=\"90\" width=\"220\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"96\" y=\"102.0\" font-size=\"8\" fill=\"#999\">ben@acme.com</text>\n <rect x=\"90\" y=\"114\" width=\"220\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"96\" y=\"126.0\" font-size=\"8\" fill=\"#999\">chris@acme.com</text>\n <rect x=\"90\" y=\"138\" width=\"220\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"96\" y=\"150.0\" font-size=\"8\" fill=\"#999\">Add another e-mail…</text>\n <text x=\"90\" y=\"170\" font-size=\"8\" fill=\"#666\">Default role</text>\n <rect x=\"90\" y=\"174\" width=\"220\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"96\" y=\"186.0\" font-size=\"8\" fill=\"#999\">Member</text>\n <path d=\"M298 181 l4 4 l4 -4\" fill=\"none\" stroke=\"#666\"/>\n <rect x=\"90\" y=\"214\" width=\"220\" height=\"22\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"200.0\" y=\"228.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Send invites</text>\n <text x=\"200\" y=\"256\" font-size=\"8\" fill=\"#2563eb\" text-anchor=\"middle\">Skip for now</text>\n</svg>"
496
- },
497
- {
498
- "id": "flow-tenant-user",
499
- "type": "group",
500
- "label": "Tenant user journey",
501
- "description": "Daily work inside the tenant, and what happens when billing lapses.",
502
- "x": 0,
503
- "y": 2734,
504
- "width": 920,
505
- "height": 330,
506
- "collapsed": false
507
- },
508
- {
509
- "id": "mockup-workspace-dashboard",
510
- "type": "mockup",
511
- "label": "Workspace Dashboard",
512
- "description": "Tenant home; every request carries the resolved tenant context.",
513
- "parentId": "flow-tenant-user",
514
- "x": 30,
515
- "y": 110,
516
- "width": 220,
517
- "height": 190,
518
- "collapsed": false,
519
- "screen": "/",
520
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Acme ▾</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Settings</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Reports</text>\n <text x=\"281\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Projects</text>\n <text x=\"16\" y=\"54\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Welcome back, Jane</text>\n <rect x=\"16.0\" y=\"64\" width=\"117.33333333333333\" height=\"42\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"26.0\" y=\"79\" font-size=\"8\" fill=\"#666\">Active projects</text>\n <text x=\"26.0\" y=\"96\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">12</text>\n <rect x=\"141.33333333333331\" y=\"64\" width=\"117.33333333333333\" height=\"42\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"151.33333333333331\" y=\"79\" font-size=\"8\" fill=\"#666\">Members</text>\n <text x=\"151.33333333333331\" y=\"96\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">48</text>\n <rect x=\"266.66666666666663\" y=\"64\" width=\"117.33333333333333\" height=\"42\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"276.66666666666663\" y=\"79\" font-size=\"8\" fill=\"#666\">API calls this month</text>\n <text x=\"276.66666666666663\" y=\"96\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">812k</text>\n <text x=\"16\" y=\"132\" font-size=\"10\" fill=\"#333\" font-weight=\"bold\">Projects</text>\n <rect x=\"300\" y=\"120\" width=\"84\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"342.0\" y=\"133.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">+ New project</text>\n <rect x=\"16\" y=\"146\" width=\"368\" height=\"24\" fill=\"#f3f4f6\"/>\n <text x=\"22\" y=\"161.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Name</text>\n <text x=\"192\" y=\"161.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Owner</text>\n <text x=\"292\" y=\"161.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Updated</text>\n <rect x=\"16\" y=\"170\" width=\"368\" height=\"24\" fill=\"#eef2ff\"/>\n <line x1=\"16\" y1=\"194\" x2=\"384\" y2=\"194\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"185.0\" font-size=\"8\" fill=\"#333\">Website relaunch</text>\n <rect x=\"192\" y=\"179.5\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"292\" y=\"185.0\" font-size=\"8\" fill=\"#333\">2 h ago</text>\n <line x1=\"16\" y1=\"218\" x2=\"384\" y2=\"218\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"203.5\" width=\"100\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"192\" y=\"203.5\" width=\"70\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"292\" y=\"209.0\" font-size=\"8\" fill=\"#333\">yesterday</text>\n <line x1=\"16\" y1=\"242\" x2=\"384\" y2=\"242\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"227.5\" width=\"130\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"192\" y=\"227.5\" width=\"50\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"292\" y=\"233.0\" font-size=\"8\" fill=\"#333\">3 days ago</text>\n <line x1=\"16\" y1=\"266\" x2=\"384\" y2=\"266\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"251.5\" width=\"90\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"192\" y=\"251.5\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"292\" y=\"257.0\" font-size=\"8\" fill=\"#333\">last week</text>\n <line x1=\"16\" y1=\"290\" x2=\"384\" y2=\"290\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"275.5\" width=\"110\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"192\" y=\"275.5\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"292\" y=\"281.0\" font-size=\"8\" fill=\"#333\">last week</text>\n</svg>"
521
- },
522
- {
523
- "id": "mockup-project",
524
- "type": "mockup",
525
- "label": "Project",
526
- "description": "Project board; all data is scoped by tenant id — nothing from other tenants is reachable.",
527
- "parentId": "flow-tenant-user",
528
- "x": 350,
529
- "y": 110,
530
- "width": 220,
531
- "height": 190,
532
- "collapsed": false,
533
- "screen": "/projects/:id",
534
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Acme ▾</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Settings</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Reports</text>\n <text x=\"281\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Projects</text>\n <text x=\"16\" y=\"46\" font-size=\"8\" fill=\"#2563eb\">← Projects</text>\n <text x=\"16\" y=\"66\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">Website relaunch</text>\n <text x=\"16\" y=\"82\" font-size=\"8\" fill=\"#666\">acme.app.example/projects/website-relaunch</text>\n <text x=\"16\" y=\"104\" font-size=\"9\" fill=\"#2563eb\" font-weight=\"bold\">Tasks</text>\n <line x1=\"16\" y1=\"108\" x2=\"41\" y2=\"108\" stroke=\"#2563eb\" stroke-width=\"2\"/>\n <text x=\"57\" y=\"104\" font-size=\"9\" fill=\"#666\">Files</text>\n <text x=\"98\" y=\"104\" font-size=\"9\" fill=\"#666\">Activity</text>\n <line x1=\"16\" y1=\"109\" x2=\"384\" y2=\"109\" stroke=\"#ccc\"/>\n <rect x=\"16\" y=\"118\" width=\"116\" height=\"170\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"24\" y=\"134\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">To do</text>\n <rect x=\"22\" y=\"142\" width=\"104\" height=\"38\" rx=\"3\" fill=\"#fff\" stroke=\"#ccc\"/>\n <rect x=\"28\" y=\"150\" width=\"88\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"28\" y=\"160\" width=\"52\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"186\" width=\"104\" height=\"38\" rx=\"3\" fill=\"#fff\" stroke=\"#ccc\"/>\n <rect x=\"28\" y=\"194\" width=\"88\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"28\" y=\"204\" width=\"52\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"230\" width=\"104\" height=\"38\" rx=\"3\" fill=\"#fff\" stroke=\"#ccc\"/>\n <rect x=\"28\" y=\"238\" width=\"88\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"28\" y=\"248\" width=\"52\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"142\" y=\"118\" width=\"116\" height=\"170\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"150\" y=\"134\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">In progress</text>\n <rect x=\"148\" y=\"142\" width=\"104\" height=\"38\" rx=\"3\" fill=\"#fff\" stroke=\"#ccc\"/>\n <rect x=\"154\" y=\"150\" width=\"88\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"154\" y=\"160\" width=\"52\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"148\" y=\"186\" width=\"104\" height=\"38\" rx=\"3\" fill=\"#fff\" stroke=\"#ccc\"/>\n <rect x=\"154\" y=\"194\" width=\"88\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"154\" y=\"204\" width=\"52\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"268\" y=\"118\" width=\"116\" height=\"170\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"276\" y=\"134\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Done</text>\n <rect x=\"274\" y=\"142\" width=\"104\" height=\"38\" rx=\"3\" fill=\"#fff\" stroke=\"#ccc\"/>\n <rect x=\"280\" y=\"150\" width=\"88\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"280\" y=\"160\" width=\"52\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"274\" y=\"186\" width=\"104\" height=\"38\" rx=\"3\" fill=\"#fff\" stroke=\"#ccc\"/>\n <rect x=\"280\" y=\"194\" width=\"88\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"280\" y=\"204\" width=\"52\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n</svg>"
535
- },
536
- {
537
- "id": "mockup-read-only",
538
- "type": "mockup",
539
- "label": "Read-Only Workspace",
540
- "description": "After a failed payment the workspace stays readable but writes are blocked until billing is fixed.",
541
- "parentId": "flow-tenant-user",
542
- "x": 670,
543
- "y": 110,
544
- "width": 220,
545
- "height": 190,
546
- "collapsed": false,
547
- "screen": "/",
548
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Acme ▾</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Settings</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Reports</text>\n <text x=\"281\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Projects</text>\n <rect x=\"16\" y=\"38\" width=\"368\" height=\"26\" rx=\"3\" fill=\"#fef3c7\" stroke=\"#d97706\"/>\n <text x=\"26\" y=\"55\" font-size=\"8\" fill=\"#333\">Payment failed — the workspace is read-only until billing is updated.</text>\n <text x=\"374\" y=\"55\" font-size=\"8\" fill=\"#2563eb\" font-weight=\"bold\" text-anchor=\"end\">Update billing</text>\n <rect x=\"16\" y=\"76\" width=\"116\" height=\"48\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"26\" y=\"92\" font-size=\"8\" fill=\"#666\">Active projects</text>\n <text x=\"26\" y=\"114\" font-size=\"14\" fill=\"#333\" font-weight=\"bold\">12</text>\n <rect x=\"140\" y=\"76\" width=\"116\" height=\"48\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"150\" y=\"92\" font-size=\"8\" fill=\"#666\">Members</text>\n <text x=\"150\" y=\"114\" font-size=\"14\" fill=\"#333\" font-weight=\"bold\">48</text>\n <rect x=\"264\" y=\"76\" width=\"116\" height=\"48\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"274\" y=\"92\" font-size=\"8\" fill=\"#666\">API calls this month</text>\n <text x=\"274\" y=\"114\" font-size=\"14\" fill=\"#333\" font-weight=\"bold\">812k</text>\n <text x=\"16\" y=\"146\" font-size=\"10\" fill=\"#333\" font-weight=\"bold\">Projects</text>\n <rect x=\"300\" y=\"134\" width=\"84\" height=\"20\" rx=\"3\" fill=\"#e5e7eb\" stroke=\"#e5e7eb\"/>\n <text x=\"342.0\" y=\"147.0\" font-size=\"9\" fill=\"#999\" font-weight=\"bold\" text-anchor=\"middle\">+ New project</text>\n <rect x=\"16\" y=\"160\" width=\"368\" height=\"18\" fill=\"#f3f4f6\"/>\n <text x=\"22\" y=\"172.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Name</text>\n <text x=\"192\" y=\"172.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Owner</text>\n <text x=\"292\" y=\"172.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Updated</text>\n <line x1=\"16\" y1=\"196\" x2=\"384\" y2=\"196\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"184.5\" width=\"120\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"192\" y=\"184.5\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"292\" y=\"190.0\" font-size=\"8\" fill=\"#333\">2 h ago</text>\n <line x1=\"16\" y1=\"214\" x2=\"384\" y2=\"214\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"202.5\" width=\"100\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"192\" y=\"202.5\" width=\"70\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"292\" y=\"208.0\" font-size=\"8\" fill=\"#333\">yesterday</text>\n <line x1=\"16\" y1=\"232\" x2=\"384\" y2=\"232\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"220.5\" width=\"130\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"192\" y=\"220.5\" width=\"50\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"292\" y=\"226.0\" font-size=\"8\" fill=\"#333\">3 days ago</text>\n <line x1=\"16\" y1=\"250\" x2=\"384\" y2=\"250\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"238.5\" width=\"90\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"192\" y=\"238.5\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"292\" y=\"244.0\" font-size=\"8\" fill=\"#333\">last week</text>\n <line x1=\"16\" y1=\"268\" x2=\"384\" y2=\"268\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"256.5\" width=\"110\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <rect x=\"192\" y=\"256.5\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"292\" y=\"262.0\" font-size=\"8\" fill=\"#333\">last week</text>\n</svg>"
549
- },
550
- {
551
- "id": "flow-tenant-admin",
552
- "type": "group",
553
- "label": "Tenant admin journey",
554
- "description": "Billing, SSO and user management for one organisation.",
555
- "x": 0,
556
- "y": 3144,
557
- "width": 1240,
558
- "height": 330,
559
- "collapsed": false
560
- },
561
- {
562
- "id": "mockup-billing-usage",
563
- "type": "mockup",
564
- "label": "Billing & Usage",
565
- "description": "Tenant admin view of plan, metered usage and invoices; usage figures are recorded exactly once and reconciled against source logs.",
566
- "parentId": "flow-tenant-admin",
567
- "x": 30,
568
- "y": 110,
569
- "width": 220,
570
- "height": 190,
571
- "collapsed": false,
572
- "screen": "/settings/billing",
573
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Acme ▾</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Settings</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Reports</text>\n <text x=\"281\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Projects</text>\n <rect x=\"0\" y=\"30\" width=\"110\" height=\"270\" rx=\"0\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"14\" y=\"55\" font-size=\"9\" fill=\"#666\">Profile</text>\n <text x=\"14\" y=\"79\" font-size=\"9\" fill=\"#666\">Users &amp; roles</text>\n <text x=\"14\" y=\"103\" font-size=\"9\" fill=\"#666\">Single sign-on</text>\n <rect x=\"6\" y=\"114\" width=\"98\" height=\"20\" rx=\"3\" fill=\"#eef2ff\" stroke=\"#eef2ff\"/>\n <text x=\"14\" y=\"127\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Billing &amp; usage</text>\n <text x=\"14\" y=\"151\" font-size=\"9\" fill=\"#666\">Audit log</text>\n <text x=\"126\" y=\"54\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Billing &amp; usage</text>\n <rect x=\"126\" y=\"64\" width=\"258\" height=\"44\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"136\" y=\"80\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Business plan</text>\n <text x=\"136\" y=\"98\" font-size=\"8\" fill=\"#666\">€49 per seat / month · 48 seats</text>\n <rect x=\"290\" y=\"76\" width=\"86\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"333.0\" y=\"89.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Change plan</text>\n <text x=\"126\" y=\"126\" font-size=\"8\" fill=\"#333\">API calls</text>\n <text x=\"384\" y=\"126\" font-size=\"8\" fill=\"#666\" text-anchor=\"end\">812k / 1M</text>\n <rect x=\"126\" y=\"130\" width=\"258\" height=\"6\" rx=\"3\" fill=\"#e5e7eb\"/>\n <rect x=\"126\" y=\"130\" width=\"208\" height=\"6\" rx=\"3\" fill=\"#2563eb\"/>\n <text x=\"126\" y=\"152\" font-size=\"8\" fill=\"#333\">Storage</text>\n <text x=\"384\" y=\"152\" font-size=\"8\" fill=\"#666\" text-anchor=\"end\">38 / 100 GB</text>\n <rect x=\"126\" y=\"156\" width=\"258\" height=\"6\" rx=\"3\" fill=\"#e5e7eb\"/>\n <rect x=\"126\" y=\"156\" width=\"98\" height=\"6\" rx=\"3\" fill=\"#2563eb\"/>\n <text x=\"126\" y=\"186\" font-size=\"7.5\" fill=\"#666\">Usage is metered per event and reconciled daily against source logs.</text>\n <rect x=\"126\" y=\"196\" width=\"258\" height=\"18\" fill=\"#f3f4f6\"/>\n <text x=\"132\" y=\"208.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Invoice</text>\n <text x=\"222\" y=\"208.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Amount</text>\n <text x=\"302\" y=\"208.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Status</text>\n <line x1=\"126\" y1=\"232\" x2=\"384\" y2=\"232\" stroke=\"#e5e7eb\"/>\n <text x=\"132\" y=\"226.0\" font-size=\"8\" fill=\"#333\">Mar 2026</text>\n <text x=\"222\" y=\"226.0\" font-size=\"8\" fill=\"#333\">€2,352.00</text>\n <rect x=\"300\" y=\"216.0\" width=\"76\" height=\"14\" rx=\"7\" fill=\"#333\"/>\n <text x=\"338.0\" y=\"226.0\" font-size=\"8\" fill=\"#fff\" text-anchor=\"middle\">payment failed</text>\n <line x1=\"126\" y1=\"250\" x2=\"384\" y2=\"250\" stroke=\"#e5e7eb\"/>\n <text x=\"132\" y=\"244.0\" font-size=\"8\" fill=\"#333\">Feb 2026</text>\n <text x=\"222\" y=\"244.0\" font-size=\"8\" fill=\"#333\">€2,254.00</text>\n <rect x=\"300\" y=\"234.0\" width=\"30\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"315.0\" y=\"244.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">paid</text>\n <rect x=\"126\" y=\"262\" width=\"150\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"201.0\" y=\"275.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Update payment method</text>\n</svg>"
574
- },
575
- {
576
- "id": "mockup-update-payment",
577
- "type": "mockup",
578
- "label": "Update Payment Method",
579
- "description": "New card; the failed invoice is retried immediately and write access comes back on success.",
580
- "parentId": "flow-tenant-admin",
581
- "x": 350,
582
- "y": 110,
583
- "width": 220,
584
- "height": 190,
585
- "collapsed": false,
586
- "screen": "/settings/billing/payment",
587
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"300\" rx=\"0\" fill=\"#e5e7eb\" stroke=\"#e5e7eb\"/>\n <rect x=\"60.0\" y=\"40.0\" width=\"280\" height=\"220\" rx=\"6\" fill=\"#fff\" stroke=\"#333\"/>\n <text x=\"76.0\" y=\"66.0\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Update payment method</text>\n <text x=\"76.0\" y=\"86.0\" font-size=\"8\" fill=\"#666\">Card number</text>\n <rect x=\"76.0\" y=\"90.0\" width=\"248\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"82.0\" y=\"102.0\" font-size=\"8\" fill=\"#999\">•••• •••• •••• ••••</text>\n <text x=\"76.0\" y=\"120.0\" font-size=\"8\" fill=\"#666\">Expiry</text>\n <rect x=\"76.0\" y=\"124.0\" width=\"120\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"82.0\" y=\"136.0\" font-size=\"8\" fill=\"#999\">MM / YY</text>\n <text x=\"204.0\" y=\"120.0\" font-size=\"8\" fill=\"#666\">CVC</text>\n <rect x=\"204.0\" y=\"124.0\" width=\"120\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"210.0\" y=\"136.0\" font-size=\"8\" fill=\"#999\">•••</text>\n <text x=\"76.0\" y=\"168.0\" font-size=\"8\" fill=\"#666\">We retry the failed invoice right away; write access</text>\n <text x=\"76.0\" y=\"180.0\" font-size=\"8\" fill=\"#666\">returns as soon as the payment succeeds.</text>\n <rect x=\"76.0\" y=\"212.0\" width=\"110\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"131.0\" y=\"225.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Cancel</text>\n <rect x=\"214.0\" y=\"212.0\" width=\"110\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"269.0\" y=\"225.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Save &amp; pay €2,352</text>\n</svg>"
588
- },
589
- {
590
- "id": "mockup-sso-settings",
591
- "type": "mockup",
592
- "label": "Single Sign-On",
593
- "description": "SAML/OIDC federation with the tenant's own identity provider.",
594
- "parentId": "flow-tenant-admin",
595
- "x": 670,
596
- "y": 110,
597
- "width": 220,
598
- "height": 190,
599
- "collapsed": false,
600
- "screen": "/settings/sso",
601
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Acme ▾</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Settings</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Reports</text>\n <text x=\"281\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Projects</text>\n <rect x=\"0\" y=\"30\" width=\"110\" height=\"270\" rx=\"0\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"14\" y=\"55\" font-size=\"9\" fill=\"#666\">Profile</text>\n <text x=\"14\" y=\"79\" font-size=\"9\" fill=\"#666\">Users &amp; roles</text>\n <rect x=\"6\" y=\"90\" width=\"98\" height=\"20\" rx=\"3\" fill=\"#eef2ff\" stroke=\"#eef2ff\"/>\n <text x=\"14\" y=\"103\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Single sign-on</text>\n <text x=\"14\" y=\"127\" font-size=\"9\" fill=\"#666\">Billing &amp; usage</text>\n <text x=\"14\" y=\"151\" font-size=\"9\" fill=\"#666\">Audit log</text>\n <text x=\"126\" y=\"54\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Single sign-on</text>\n <text x=\"126\" y=\"66\" font-size=\"8\" fill=\"#666\">Identity provider</text>\n <rect x=\"126\" y=\"70\" width=\"258\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"132\" y=\"82.0\" font-size=\"8\" fill=\"#999\">Okta (SAML 2.0)</text>\n <path d=\"M372 77 l4 4 l4 -4\" fill=\"none\" stroke=\"#666\"/>\n <text x=\"126\" y=\"100\" font-size=\"8\" fill=\"#666\">SSO URL</text>\n <rect x=\"126\" y=\"104\" width=\"258\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"132\" y=\"116.0\" font-size=\"8\" fill=\"#999\">https://acme.okta.com/app/…/sso/saml</text>\n <text x=\"126\" y=\"134\" font-size=\"8\" fill=\"#666\">Entity ID</text>\n <rect x=\"126\" y=\"138\" width=\"258\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"132\" y=\"150.0\" font-size=\"8\" fill=\"#999\">http://www.okta.com/exk…</text>\n <text x=\"126\" y=\"168\" font-size=\"8\" fill=\"#666\">X.509 certificate</text>\n <rect x=\"126\" y=\"172\" width=\"258\" height=\"34\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"132\" y=\"192.0\" font-size=\"8\" fill=\"#999\">-----BEGIN CERTIFICATE-----…</text>\n <rect x=\"126\" y=\"216\" width=\"9\" height=\"9\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <path d=\"M128 220.5 l2 2 l3.5 -4\" fill=\"none\" stroke=\"#2563eb\" stroke-width=\"1.5\"/>\n <text x=\"141\" y=\"224\" font-size=\"8\" fill=\"#333\">Require SSO for all members</text>\n <rect x=\"126\" y=\"256\" width=\"110\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"181.0\" y=\"269.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Test connection</text>\n <rect x=\"284\" y=\"256\" width=\"100\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"334.0\" y=\"269.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Save</text>\n</svg>"
602
- },
603
- {
604
- "id": "mockup-users-roles",
605
- "type": "mockup",
606
- "label": "Users & Roles",
607
- "description": "Seats, roles and how each user signs in.",
608
- "parentId": "flow-tenant-admin",
609
- "x": 990,
610
- "y": 110,
611
- "width": 220,
612
- "height": 190,
613
- "collapsed": false,
614
- "screen": "/settings/users",
615
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Acme ▾</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Settings</text>\n <text x=\"332\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Reports</text>\n <text x=\"281\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Projects</text>\n <rect x=\"0\" y=\"30\" width=\"110\" height=\"270\" rx=\"0\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"14\" y=\"55\" font-size=\"9\" fill=\"#666\">Profile</text>\n <rect x=\"6\" y=\"66\" width=\"98\" height=\"20\" rx=\"3\" fill=\"#eef2ff\" stroke=\"#eef2ff\"/>\n <text x=\"14\" y=\"79\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\">Users &amp; roles</text>\n <text x=\"14\" y=\"103\" font-size=\"9\" fill=\"#666\">Single sign-on</text>\n <text x=\"14\" y=\"127\" font-size=\"9\" fill=\"#666\">Billing &amp; usage</text>\n <text x=\"14\" y=\"151\" font-size=\"9\" fill=\"#666\">Audit log</text>\n <text x=\"126\" y=\"54\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Users &amp; roles</text>\n <rect x=\"300\" y=\"40\" width=\"84\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"342.0\" y=\"53.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Invite</text>\n <rect x=\"126\" y=\"66\" width=\"258\" height=\"24\" fill=\"#f3f4f6\"/>\n <text x=\"132\" y=\"81.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">User</text>\n <text x=\"242\" y=\"81.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Role</text>\n <text x=\"312\" y=\"81.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Via</text>\n <line x1=\"126\" y1=\"114\" x2=\"384\" y2=\"114\" stroke=\"#e5e7eb\"/>\n <text x=\"132\" y=\"105.0\" font-size=\"8\" fill=\"#333\">Jane Doe</text>\n <text x=\"242\" y=\"105.0\" font-size=\"8\" fill=\"#333\">Admin</text>\n <text x=\"312\" y=\"105.0\" font-size=\"8\" fill=\"#333\">SSO</text>\n <line x1=\"126\" y1=\"138\" x2=\"384\" y2=\"138\" stroke=\"#e5e7eb\"/>\n <text x=\"132\" y=\"129.0\" font-size=\"8\" fill=\"#333\">Ben Okafor</text>\n <text x=\"242\" y=\"129.0\" font-size=\"8\" fill=\"#333\">Member</text>\n <text x=\"312\" y=\"129.0\" font-size=\"8\" fill=\"#333\">SSO</text>\n <line x1=\"126\" y1=\"162\" x2=\"384\" y2=\"162\" stroke=\"#e5e7eb\"/>\n <text x=\"132\" y=\"153.0\" font-size=\"8\" fill=\"#333\">Chris Lee</text>\n <text x=\"242\" y=\"153.0\" font-size=\"8\" fill=\"#333\">Member</text>\n <text x=\"312\" y=\"153.0\" font-size=\"8\" fill=\"#333\">invite</text>\n <line x1=\"126\" y1=\"186\" x2=\"384\" y2=\"186\" stroke=\"#e5e7eb\"/>\n <rect x=\"132\" y=\"171.5\" width=\"70\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"242\" y=\"177.0\" font-size=\"8\" fill=\"#333\">Viewer</text>\n <text x=\"312\" y=\"177.0\" font-size=\"8\" fill=\"#333\">SSO</text>\n <line x1=\"126\" y1=\"210\" x2=\"384\" y2=\"210\" stroke=\"#e5e7eb\"/>\n <rect x=\"132\" y=\"195.5\" width=\"80\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"242\" y=\"201.0\" font-size=\"8\" fill=\"#333\">Member</text>\n <text x=\"312\" y=\"201.0\" font-size=\"8\" fill=\"#333\">SSO</text>\n <line x1=\"126\" y1=\"234\" x2=\"384\" y2=\"234\" stroke=\"#e5e7eb\"/>\n <rect x=\"132\" y=\"219.5\" width=\"60\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"242\" y=\"225.0\" font-size=\"8\" fill=\"#333\">Member</text>\n <text x=\"312\" y=\"225.0\" font-size=\"8\" fill=\"#333\">SSO</text>\n <text x=\"126\" y=\"248\" font-size=\"8\" fill=\"#666\">48 seats in use of 50</text>\n</svg>"
616
- },
617
- {
618
- "id": "flow-platform-ops",
619
- "type": "group",
620
- "label": "Platform ops journey",
621
- "description": "Watching tenant health across the pooled tier.",
622
- "x": 0,
623
- "y": 3554,
624
- "width": 600,
625
- "height": 330,
626
- "collapsed": false
627
- },
628
- {
629
- "id": "mockup-tenant-list",
630
- "type": "mockup",
631
- "label": "Tenants",
632
- "description": "All tenants with plan, tier and share of pooled load.",
633
- "parentId": "flow-platform-ops",
634
- "x": 30,
635
- "y": 110,
636
- "width": 220,
637
- "height": 190,
638
- "collapsed": false,
639
- "screen": "/admin/tenants",
640
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Admin Console</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Audit</text>\n <text x=\"347\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Incidents</text>\n <text x=\"286\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Tenants</text>\n <text x=\"16\" y=\"54\" font-size=\"12\" fill=\"#333\" font-weight=\"bold\">Tenants</text>\n <rect x=\"16\" y=\"64\" width=\"220\" height=\"18\" rx=\"2\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"22\" y=\"76.0\" font-size=\"8\" fill=\"#999\">Search tenants</text>\n <rect x=\"16\" y=\"92\" width=\"368\" height=\"26\" fill=\"#f3f4f6\"/>\n <text x=\"22\" y=\"108.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Tenant</text>\n <text x=\"132\" y=\"108.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Plan</text>\n <text x=\"202\" y=\"108.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Tier</text>\n <text x=\"272\" y=\"108.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Load share</text>\n <text x=\"342\" y=\"108.0\" font-size=\"8\" fill=\"#333\" font-weight=\"bold\">Status</text>\n <line x1=\"16\" y1=\"144\" x2=\"384\" y2=\"144\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"134.0\" font-size=\"8\" fill=\"#333\">Acme Inc.</text>\n <text x=\"132\" y=\"134.0\" font-size=\"8\" fill=\"#333\">Business</text>\n <text x=\"202\" y=\"134.0\" font-size=\"8\" fill=\"#333\">pooled</text>\n <text x=\"272\" y=\"134.0\" font-size=\"8\" fill=\"#333\">3.1%</text>\n <rect x=\"340\" y=\"124.0\" width=\"21\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"350.5\" y=\"134.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">ok</text>\n <line x1=\"16\" y1=\"170\" x2=\"384\" y2=\"170\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"160.0\" font-size=\"8\" fill=\"#333\">Globex</text>\n <text x=\"132\" y=\"160.0\" font-size=\"8\" fill=\"#333\">Enterprise</text>\n <text x=\"202\" y=\"160.0\" font-size=\"8\" fill=\"#333\">silo</text>\n <text x=\"272\" y=\"160.0\" font-size=\"8\" fill=\"#333\">—</text>\n <rect x=\"340\" y=\"150.0\" width=\"21\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"350.5\" y=\"160.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">ok</text>\n <rect x=\"16\" y=\"170\" width=\"368\" height=\"26\" fill=\"#eef2ff\"/>\n <line x1=\"16\" y1=\"196\" x2=\"384\" y2=\"196\" stroke=\"#e5e7eb\"/>\n <text x=\"22\" y=\"186.0\" font-size=\"8\" fill=\"#333\">Initech</text>\n <text x=\"132\" y=\"186.0\" font-size=\"8\" fill=\"#333\">Business</text>\n <text x=\"202\" y=\"186.0\" font-size=\"8\" fill=\"#333\">pooled</text>\n <text x=\"272\" y=\"186.0\" font-size=\"8\" fill=\"#333\">21.4%</text>\n <rect x=\"340\" y=\"176.0\" width=\"25\" height=\"14\" rx=\"7\" fill=\"#333\"/>\n <text x=\"352.5\" y=\"186.0\" font-size=\"8\" fill=\"#fff\" text-anchor=\"middle\">hot</text>\n <line x1=\"16\" y1=\"222\" x2=\"384\" y2=\"222\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"206.5\" width=\"70\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"132\" y=\"212.0\" font-size=\"8\" fill=\"#333\">Starter</text>\n <text x=\"202\" y=\"212.0\" font-size=\"8\" fill=\"#333\">pooled</text>\n <text x=\"272\" y=\"212.0\" font-size=\"8\" fill=\"#333\">0.4%</text>\n <rect x=\"340\" y=\"202.0\" width=\"21\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"350.5\" y=\"212.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">ok</text>\n <line x1=\"16\" y1=\"248\" x2=\"384\" y2=\"248\" stroke=\"#e5e7eb\"/>\n <rect x=\"22\" y=\"232.5\" width=\"80\" height=\"5\" rx=\"2\" fill=\"#e5e7eb\"/>\n <text x=\"132\" y=\"238.0\" font-size=\"8\" fill=\"#333\">Business</text>\n <text x=\"202\" y=\"238.0\" font-size=\"8\" fill=\"#333\">pooled</text>\n <text x=\"272\" y=\"238.0\" font-size=\"8\" fill=\"#333\">1.2%</text>\n <rect x=\"340\" y=\"228.0\" width=\"21\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"350.5\" y=\"238.0\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">ok</text>\n</svg>"
641
- },
642
- {
643
- "id": "mockup-tenant-detail",
644
- "type": "mockup",
645
- "label": "Tenant Detail",
646
- "description": "Per-tenant health against the {{MAX_TENANT_SHARE_PCT}}% noisy-neighbour limit; impersonation is audited.",
647
- "parentId": "flow-platform-ops",
648
- "x": 350,
649
- "y": 110,
650
- "width": 220,
651
- "height": 190,
652
- "collapsed": false,
653
- "screen": "/admin/tenants/:id",
654
- "wireframe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 300\" font-family=\"sans-serif\">\n <rect width=\"400\" height=\"300\" fill=\"#fff\"/>\n <rect x=\"0\" y=\"0\" width=\"400\" height=\"30\" fill=\"#f3f4f6\" stroke=\"#333\"/>\n <rect x=\"10\" y=\"8\" width=\"14\" height=\"14\" rx=\"3\" fill=\"#ccc\"/>\n <text x=\"30\" y=\"20\" font-size=\"11\" fill=\"#333\" font-weight=\"bold\">Admin Console</text>\n <text x=\"388\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Audit</text>\n <text x=\"347\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Incidents</text>\n <text x=\"286\" y=\"19\" font-size=\"9\" fill=\"#666\" text-anchor=\"end\">Tenants</text>\n <text x=\"16\" y=\"46\" font-size=\"8\" fill=\"#2563eb\">← Tenants</text>\n <text x=\"16\" y=\"66\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">Initech</text>\n <rect x=\"80\" y=\"56\" width=\"62\" height=\"14\" rx=\"7\" fill=\"#eee\"/>\n <text x=\"111.0\" y=\"66\" font-size=\"8\" fill=\"#333\" text-anchor=\"middle\">pooled tier</text>\n <rect x=\"16.0\" y=\"76\" width=\"117.33333333333333\" height=\"42\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"26.0\" y=\"91\" font-size=\"8\" fill=\"#666\">Share of pooled load</text>\n <text x=\"26.0\" y=\"108\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">21.4%</text>\n <rect x=\"141.33333333333331\" y=\"76\" width=\"117.33333333333333\" height=\"42\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"151.33333333333331\" y=\"91\" font-size=\"8\" fill=\"#666\">p95 latency</text>\n <text x=\"151.33333333333331\" y=\"108\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">310 ms</text>\n <rect x=\"266.66666666666663\" y=\"76\" width=\"117.33333333333333\" height=\"42\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"276.66666666666663\" y=\"91\" font-size=\"8\" fill=\"#666\">Seats</text>\n <text x=\"276.66666666666663\" y=\"108\" font-size=\"13\" fill=\"#333\" font-weight=\"bold\">420</text>\n <text x=\"16\" y=\"140\" font-size=\"8\" fill=\"#333\">Load share vs 20% limit</text>\n <text x=\"384\" y=\"140\" font-size=\"8\" fill=\"#666\" text-anchor=\"end\">21.4% / 20%</text>\n <rect x=\"16\" y=\"144\" width=\"368\" height=\"6\" rx=\"3\" fill=\"#e5e7eb\"/>\n <rect x=\"16\" y=\"144\" width=\"262\" height=\"6\" rx=\"3\" fill=\"#2563eb\"/>\n <text x=\"16\" y=\"176\" font-size=\"8\" fill=\"#333\">Over the noisy-neighbour limit — consider moving to a silo.</text>\n <rect x=\"16\" y=\"190\" width=\"368\" height=\"40\" rx=\"3\" fill=\"#fafafa\" stroke=\"#ccc\"/>\n <text x=\"26\" y=\"206\" font-size=\"8\" fill=\"#333\">Impersonation is logged to the tenant's audit log</text>\n <text x=\"26\" y=\"220\" font-size=\"8\" fill=\"#666\">and requires a support ticket id.</text>\n <rect x=\"16\" y=\"256\" width=\"130\" height=\"20\" rx=\"3\" fill=\"#fff\" stroke=\"#999\"/>\n <text x=\"81.0\" y=\"269.0\" font-size=\"9\" fill=\"#333\" font-weight=\"bold\" text-anchor=\"middle\">Impersonate…</text>\n <rect x=\"254\" y=\"256\" width=\"130\" height=\"20\" rx=\"3\" fill=\"#2563eb\" stroke=\"#2563eb\"/>\n <text x=\"319.0\" y=\"269.0\" font-size=\"9\" fill=\"#fff\" font-weight=\"bold\" text-anchor=\"middle\">Migrate to silo</text>\n</svg>"
655
- }
656
- ],
657
- "relations": [
658
- {
659
- "id": "tenant-user--webapp",
660
- "sourceId": "tenant-user",
661
- "targetId": "webapp",
662
- "label": "Uses the product",
663
- "technology": "HTTPS"
664
- },
665
- {
666
- "id": "tenant-admin--webapp",
667
- "sourceId": "tenant-admin",
668
- "targetId": "webapp",
669
- "label": "Manages org, users, billing",
670
- "technology": "HTTPS"
671
- },
672
- {
673
- "id": "ops-staff--admin-console",
674
- "sourceId": "ops-staff",
675
- "targetId": "admin-console",
676
- "label": "Provisions and supports tenants",
677
- "technology": "HTTPS"
678
- },
679
- {
680
- "id": "webapp--gateway",
681
- "sourceId": "webapp",
682
- "targetId": "gateway",
683
- "label": "Calls API",
684
- "technology": "HTTPS / JSON"
685
- },
686
- {
687
- "id": "admin-console--gateway",
688
- "sourceId": "admin-console",
689
- "targetId": "gateway",
690
- "label": "Calls internal API",
691
- "technology": "HTTPS / JSON"
692
- },
693
- {
694
- "id": "gateway--identity-service",
695
- "sourceId": "gateway",
696
- "targetId": "identity-service",
697
- "label": "AuthN, tenant resolution",
698
- "technology": "gRPC"
699
- },
700
- {
701
- "id": "gateway--billing-service",
702
- "sourceId": "gateway",
703
- "targetId": "billing-service",
704
- "label": "Routes /billing/**",
705
- "technology": "gRPC"
706
- },
707
- {
708
- "id": "gateway--core-service",
709
- "sourceId": "gateway",
710
- "targetId": "core-service",
711
- "label": "Routes tenant-scoped requests",
712
- "technology": "gRPC"
713
- },
714
- {
715
- "id": "identity-service--idp",
716
- "sourceId": "identity-service",
717
- "targetId": "idp",
718
- "label": "SAML/OIDC federation",
719
- "technology": "HTTPS"
720
- },
721
- {
722
- "id": "identity-service--identity-db",
723
- "sourceId": "identity-service",
724
- "targetId": "identity-db",
725
- "label": "Reads/writes",
726
- "technology": "SQL"
727
- },
728
- {
729
- "id": "billing-service--payment-provider",
730
- "sourceId": "billing-service",
731
- "targetId": "payment-provider",
732
- "label": "Subscriptions, invoices",
733
- "technology": "HTTPS"
734
- },
735
- {
736
- "id": "core-service--tenant-db",
737
- "sourceId": "core-service",
738
- "targetId": "tenant-db",
739
- "label": "Reads/writes, always tenant-scoped",
740
- "technology": "SQL"
741
- },
742
- {
743
- "id": "core-service--event-bus",
744
- "sourceId": "core-service",
745
- "targetId": "event-bus",
746
- "label": "Publishes domain events",
747
- "technology": "Kafka protocol"
748
- },
749
- {
750
- "id": "billing-service--event-bus",
751
- "sourceId": "billing-service",
752
- "targetId": "event-bus",
753
- "label": "Publishes SubscriptionChanged",
754
- "technology": "Kafka protocol"
755
- },
756
- {
757
- "id": "identity-service--event-bus",
758
- "sourceId": "identity-service",
759
- "targetId": "event-bus",
760
- "label": "Publishes TenantProvisioned, UserInvited",
761
- "technology": "Kafka protocol"
762
- },
763
- {
764
- "id": "notification-service--event-bus",
765
- "sourceId": "notification-service",
766
- "targetId": "event-bus",
767
- "label": "Subscribes to lifecycle events",
768
- "technology": "Kafka protocol"
769
- },
770
- {
771
- "id": "notification-service--email-provider",
772
- "sourceId": "notification-service",
773
- "targetId": "email-provider",
774
- "label": "Sends transactional email",
775
- "technology": "HTTPS"
776
- },
777
- {
778
- "id": "mockup-signup--req-tenant-provisioning-time",
779
- "sourceId": "mockup-signup",
780
- "targetId": "req-tenant-provisioning-time",
781
- "relationType": "illustrates"
782
- },
783
- {
784
- "id": "mockup-signup--webapp",
785
- "sourceId": "mockup-signup",
786
- "targetId": "webapp",
787
- "relationType": "presented-by"
788
- },
789
- {
790
- "id": "mockup-signup--mockup-provisioning",
791
- "sourceId": "mockup-signup",
792
- "targetId": "mockup-provisioning",
793
- "relationType": "navigates-to",
794
- "label": "Create workspace"
795
- },
796
- {
797
- "id": "mockup-provisioning--req-tenant-provisioning-time",
798
- "sourceId": "mockup-provisioning",
799
- "targetId": "req-tenant-provisioning-time",
800
- "relationType": "illustrates"
801
- },
802
- {
803
- "id": "mockup-provisioning--webapp",
804
- "sourceId": "mockup-provisioning",
805
- "targetId": "webapp",
806
- "relationType": "presented-by"
807
- },
808
- {
809
- "id": "mockup-provisioning--mockup-invite-team",
810
- "sourceId": "mockup-provisioning",
811
- "targetId": "mockup-invite-team",
812
- "relationType": "navigates-to",
813
- "label": "Ready"
814
- },
815
- {
816
- "id": "mockup-invite-team--webapp",
817
- "sourceId": "mockup-invite-team",
818
- "targetId": "webapp",
819
- "relationType": "presented-by"
820
- },
821
- {
822
- "id": "mockup-invite-team--mockup-workspace-dashboard",
823
- "sourceId": "mockup-invite-team",
824
- "targetId": "mockup-workspace-dashboard",
825
- "relationType": "navigates-to",
826
- "label": "Send invites"
827
- },
828
- {
829
- "id": "mockup-workspace-dashboard--webapp",
830
- "sourceId": "mockup-workspace-dashboard",
831
- "targetId": "webapp",
832
- "relationType": "presented-by"
833
- },
834
- {
835
- "id": "mockup-workspace-dashboard--mockup-project",
836
- "sourceId": "mockup-workspace-dashboard",
837
- "targetId": "mockup-project",
838
- "relationType": "navigates-to",
839
- "label": "Open project"
840
- },
841
- {
842
- "id": "mockup-workspace-dashboard--mockup-read-only",
843
- "sourceId": "mockup-workspace-dashboard",
844
- "targetId": "mockup-read-only",
845
- "relationType": "navigates-to",
846
- "label": "Payment fails"
847
- },
848
- {
849
- "id": "mockup-project--req-tenant-isolation",
850
- "sourceId": "mockup-project",
851
- "targetId": "req-tenant-isolation",
852
- "relationType": "illustrates"
853
- },
854
- {
855
- "id": "mockup-project--webapp",
856
- "sourceId": "mockup-project",
857
- "targetId": "webapp",
858
- "relationType": "presented-by"
859
- },
860
- {
861
- "id": "mockup-read-only--req-subscription-enforcement",
862
- "sourceId": "mockup-read-only",
863
- "targetId": "req-subscription-enforcement",
864
- "relationType": "illustrates"
865
- },
866
- {
867
- "id": "mockup-read-only--webapp",
868
- "sourceId": "mockup-read-only",
869
- "targetId": "webapp",
870
- "relationType": "presented-by"
871
- },
872
- {
873
- "id": "mockup-read-only--mockup-billing-usage",
874
- "sourceId": "mockup-read-only",
875
- "targetId": "mockup-billing-usage",
876
- "relationType": "navigates-to",
877
- "label": "Update billing"
878
- },
879
- {
880
- "id": "mockup-billing-usage--req-usage-metering-accuracy",
881
- "sourceId": "mockup-billing-usage",
882
- "targetId": "req-usage-metering-accuracy",
883
- "relationType": "illustrates"
884
- },
885
- {
886
- "id": "mockup-billing-usage--req-subscription-enforcement",
887
- "sourceId": "mockup-billing-usage",
888
- "targetId": "req-subscription-enforcement",
889
- "relationType": "illustrates"
890
- },
891
- {
892
- "id": "mockup-billing-usage--webapp",
893
- "sourceId": "mockup-billing-usage",
894
- "targetId": "webapp",
895
- "relationType": "presented-by"
896
- },
897
- {
898
- "id": "mockup-billing-usage--mockup-update-payment",
899
- "sourceId": "mockup-billing-usage",
900
- "targetId": "mockup-update-payment",
901
- "relationType": "navigates-to",
902
- "label": "Update payment method"
903
- },
904
- {
905
- "id": "mockup-billing-usage--mockup-sso-settings",
906
- "sourceId": "mockup-billing-usage",
907
- "targetId": "mockup-sso-settings",
908
- "relationType": "navigates-to",
909
- "label": "Single sign-on"
910
- },
911
- {
912
- "id": "mockup-update-payment--req-subscription-enforcement",
913
- "sourceId": "mockup-update-payment",
914
- "targetId": "req-subscription-enforcement",
915
- "relationType": "illustrates"
916
- },
917
- {
918
- "id": "mockup-update-payment--webapp",
919
- "sourceId": "mockup-update-payment",
920
- "targetId": "webapp",
921
- "relationType": "presented-by"
922
- },
923
- {
924
- "id": "mockup-update-payment--mockup-workspace-dashboard",
925
- "sourceId": "mockup-update-payment",
926
- "targetId": "mockup-workspace-dashboard",
927
- "relationType": "navigates-to",
928
- "label": "Save & pay"
929
- },
930
- {
931
- "id": "mockup-sso-settings--webapp",
932
- "sourceId": "mockup-sso-settings",
933
- "targetId": "webapp",
934
- "relationType": "presented-by"
935
- },
936
- {
937
- "id": "mockup-sso-settings--mockup-users-roles",
938
- "sourceId": "mockup-sso-settings",
939
- "targetId": "mockup-users-roles",
940
- "relationType": "navigates-to",
941
- "label": "Users & roles"
942
- },
943
- {
944
- "id": "mockup-users-roles--webapp",
945
- "sourceId": "mockup-users-roles",
946
- "targetId": "webapp",
947
- "relationType": "presented-by"
948
- },
949
- {
950
- "id": "mockup-tenant-list--admin-console",
951
- "sourceId": "mockup-tenant-list",
952
- "targetId": "admin-console",
953
- "relationType": "presented-by"
954
- },
955
- {
956
- "id": "mockup-tenant-list--mockup-tenant-detail",
957
- "sourceId": "mockup-tenant-list",
958
- "targetId": "mockup-tenant-detail",
959
- "relationType": "navigates-to",
960
- "label": "Open tenant"
961
- },
962
- {
963
- "id": "mockup-tenant-detail--req-tenant-isolation",
964
- "sourceId": "mockup-tenant-detail",
965
- "targetId": "req-tenant-isolation",
966
- "relationType": "illustrates"
967
- },
968
- {
969
- "id": "mockup-tenant-detail--admin-console",
970
- "sourceId": "mockup-tenant-detail",
971
- "targetId": "admin-console",
972
- "relationType": "presented-by"
973
- }
974
- ],
975
- "sequences": [
976
- {
977
- "id": "seq-technical",
978
- "name": "Sign-up to a provisioned workspace",
979
- "relationIds": [
980
- "tenant-admin--webapp",
981
- "webapp--gateway",
982
- "gateway--identity-service",
983
- "identity-service--identity-db",
984
- "identity-service--event-bus",
985
- "notification-service--event-bus",
986
- "notification-service--email-provider",
987
- "tenant-user--webapp",
988
- "gateway--core-service",
989
- "core-service--tenant-db"
990
- ],
991
- "stepDescriptions": [
992
- "The new customer's admin signs up in the web app.",
993
- "Web app calls the sign-up API.",
994
- "Gateway routes to the Identity & Tenant Service.",
995
- "Tenant, admin user and default roles are created.",
996
- "TenantProvisioned is published.",
997
- "Notification Service picks up the lifecycle event.",
998
- "Welcome e-mail with the workspace link is sent.",
999
- "Invited users sign in to the new workspace.",
1000
- "Requests reach the core service with the resolved tenant context.",
1001
- "Every query is scoped by tenant_id."
1002
- ]
1003
- },
1004
- {
1005
- "id": "seq-flow-onboarding",
1006
- "name": "Onboarding journey",
1007
- "relationIds": [
1008
- "mockup-signup--mockup-provisioning",
1009
- "mockup-provisioning--mockup-invite-team"
1010
- ],
1011
- "stepDescriptions": [
1012
- "Create workspace → Provisioning. Provisioning progress; an isolated workspace is ready within {{PROVISION_MINUTES}} minutes.",
1013
- "Ready → Invite Your Team. Last onboarding step; invites land in the new tenant only."
1014
- ]
1015
- },
1016
- {
1017
- "id": "seq-flow-tenant-user",
1018
- "name": "Tenant user journey",
1019
- "relationIds": [
1020
- "mockup-workspace-dashboard--mockup-project",
1021
- "mockup-workspace-dashboard--mockup-read-only"
1022
- ],
1023
- "stepDescriptions": [
1024
- "Open project → Project. Project board; all data is scoped by tenant id — nothing from other tenants is reachable.",
1025
- "Payment fails → Read-Only Workspace. After a failed payment the workspace stays readable but writes are blocked until billing is fixed."
1026
- ]
1027
- },
1028
- {
1029
- "id": "seq-flow-tenant-admin",
1030
- "name": "Tenant admin journey",
1031
- "relationIds": [
1032
- "mockup-billing-usage--mockup-update-payment",
1033
- "mockup-billing-usage--mockup-sso-settings",
1034
- "mockup-sso-settings--mockup-users-roles"
1035
- ],
1036
- "stepDescriptions": [
1037
- "Update payment method → Update Payment Method. New card; the failed invoice is retried immediately and write access comes back on success.",
1038
- "Single sign-on → Single Sign-On. SAML/OIDC federation with the tenant's own identity provider.",
1039
- "Users & roles → Users & Roles. Seats, roles and how each user signs in."
1040
- ]
1041
- },
1042
- {
1043
- "id": "seq-flow-platform-ops",
1044
- "name": "Platform ops journey",
1045
- "relationIds": [
1046
- "mockup-tenant-list--mockup-tenant-detail"
1047
- ],
1048
- "stepDescriptions": [
1049
- "Open tenant → Tenant Detail. Per-tenant health against the {{MAX_TENANT_SHARE_PCT}}% noisy-neighbour limit; impersonation is audited."
1050
- ]
1051
- }
1052
- ],
1053
- "views": [
1054
- {
1055
- "id": "view-context",
1056
- "name": "System context",
1057
- "kind": "static",
1058
- "nodeIds": [
1059
- "tenant-user",
1060
- "tenant-admin",
1061
- "ops-staff",
1062
- "platform",
1063
- "idp",
1064
- "payment-provider",
1065
- "email-provider"
1066
- ],
1067
- "collapsedNodeIds": [
1068
- "platform"
1069
- ],
1070
- "positions": {
1071
- "ops-staff": {
1072
- "x": 420,
1073
- "y": 0,
1074
- "width": 150,
1075
- "height": 170
1076
- },
1077
- "platform": {
1078
- "x": 0,
1079
- "y": 290,
1080
- "width": 280,
1081
- "height": 180
1082
- },
1083
- "tenant-admin": {
1084
- "x": 210,
1085
- "y": 0,
1086
- "width": 150,
1087
- "height": 170
1088
- },
1089
- "tenant-user": {
1090
- "x": 0,
1091
- "y": 0,
1092
- "width": 150,
1093
- "height": 170
1094
- },
1095
- "idp": {
1096
- "x": 400,
1097
- "y": 290,
1098
- "width": 360,
1099
- "height": 260
1100
- },
1101
- "payment-provider": {
1102
- "x": 820,
1103
- "y": 290,
1104
- "width": 360,
1105
- "height": 260
1106
- },
1107
- "email-provider": {
1108
- "x": 1240,
1109
- "y": 290,
1110
- "width": 360,
1111
- "height": 260
1112
- }
1113
- }
1114
- },
1115
- {
1116
- "id": "view-containers",
1117
- "name": "Containers",
1118
- "kind": "static",
1119
- "nodeIds": [
1120
- "tenant-user",
1121
- "tenant-admin",
1122
- "ops-staff",
1123
- "platform",
1124
- "webapp",
1125
- "admin-console",
1126
- "gateway",
1127
- "identity-service",
1128
- "billing-service",
1129
- "core-service",
1130
- "notification-service",
1131
- "event-bus",
1132
- "tenant-db",
1133
- "identity-db",
1134
- "idp",
1135
- "payment-provider",
1136
- "email-provider"
1137
- ],
1138
- "positions": {
1139
- "admin-console": {
1140
- "x": 280,
1141
- "y": 110,
1142
- "width": 210,
1143
- "height": 140
1144
- },
1145
- "billing-service": {
1146
- "x": 370,
1147
- "y": 350,
1148
- "width": 300,
1149
- "height": 200
1150
- },
1151
- "core-service": {
1152
- "x": 710,
1153
- "y": 350,
1154
- "width": 300,
1155
- "height": 200
1156
- },
1157
- "email-provider": {
1158
- "x": 840,
1159
- "y": 1400,
1160
- "width": 360,
1161
- "height": 260
1162
- },
1163
- "event-bus": {
1164
- "x": 370,
1165
- "y": 590,
1166
- "width": 220,
1167
- "height": 95
1168
- },
1169
- "gateway": {
1170
- "x": 530,
1171
- "y": 110,
1172
- "width": 300,
1173
- "height": 200
1174
- },
1175
- "identity-db": {
1176
- "x": 260,
1177
- "y": 830,
1178
- "width": 190,
1179
- "height": 130
1180
- },
1181
- "identity-service": {
1182
- "x": 30,
1183
- "y": 350,
1184
- "width": 300,
1185
- "height": 200
1186
- },
1187
- "idp": {
1188
- "x": 0,
1189
- "y": 1400,
1190
- "width": 360,
1191
- "height": 260
1192
- },
1193
- "notification-service": {
1194
- "x": 30,
1195
- "y": 590,
1196
- "width": 300,
1197
- "height": 200
1198
- },
1199
- "ops-staff": {
1200
- "x": 420,
1201
- "y": 0,
1202
- "width": 150,
1203
- "height": 170
1204
- },
1205
- "payment-provider": {
1206
- "x": 420,
1207
- "y": 1400,
1208
- "width": 360,
1209
- "height": 260
1210
- },
1211
- "platform": {
1212
- "x": 0,
1213
- "y": 290,
1214
- "width": 1040,
1215
- "height": 990
1216
- },
1217
- "tenant-admin": {
1218
- "x": 210,
1219
- "y": 0,
1220
- "width": 150,
1221
- "height": 170
1222
- },
1223
- "tenant-db": {
1224
- "x": 30,
1225
- "y": 830,
1226
- "width": 190,
1227
- "height": 130
1228
- },
1229
- "tenant-user": {
1230
- "x": 0,
1231
- "y": 0,
1232
- "width": 150,
1233
- "height": 170
1234
- },
1235
- "webapp": {
1236
- "x": 30,
1237
- "y": 110,
1238
- "width": 210,
1239
- "height": 140
1240
- }
1241
- }
1242
- },
1243
- {
1244
- "id": "view-technical-flow",
1245
- "name": "Sign-up to a provisioned workspace",
1246
- "kind": "dynamic",
1247
- "sequenceId": "seq-technical",
1248
- "nodeIds": [
1249
- "tenant-admin",
1250
- "webapp",
1251
- "gateway",
1252
- "identity-service",
1253
- "identity-db",
1254
- "event-bus",
1255
- "notification-service",
1256
- "email-provider",
1257
- "tenant-user",
1258
- "core-service",
1259
- "tenant-db"
1260
- ],
1261
- "positions": {
1262
- "core-service": {
1263
- "x": 710,
1264
- "y": 350,
1265
- "width": 300,
1266
- "height": 200
1267
- },
1268
- "email-provider": {
1269
- "x": 840,
1270
- "y": 1400,
1271
- "width": 360,
1272
- "height": 260
1273
- },
1274
- "event-bus": {
1275
- "x": 370,
1276
- "y": 590,
1277
- "width": 220,
1278
- "height": 95
1279
- },
1280
- "gateway": {
1281
- "x": 530,
1282
- "y": 110,
1283
- "width": 300,
1284
- "height": 200
1285
- },
1286
- "identity-db": {
1287
- "x": 260,
1288
- "y": 830,
1289
- "width": 190,
1290
- "height": 130
1291
- },
1292
- "identity-service": {
1293
- "x": 30,
1294
- "y": 350,
1295
- "width": 300,
1296
- "height": 200
1297
- },
1298
- "notification-service": {
1299
- "x": 30,
1300
- "y": 590,
1301
- "width": 300,
1302
- "height": 200
1303
- },
1304
- "platform": {
1305
- "x": 0,
1306
- "y": 290,
1307
- "width": 1040,
1308
- "height": 990
1309
- },
1310
- "tenant-admin": {
1311
- "x": 210,
1312
- "y": 0,
1313
- "width": 150,
1314
- "height": 170
1315
- },
1316
- "tenant-db": {
1317
- "x": 30,
1318
- "y": 830,
1319
- "width": 190,
1320
- "height": 130
1321
- },
1322
- "tenant-user": {
1323
- "x": 0,
1324
- "y": 0,
1325
- "width": 150,
1326
- "height": 170
1327
- },
1328
- "webapp": {
1329
- "x": 30,
1330
- "y": 110,
1331
- "width": 210,
1332
- "height": 140
1333
- }
1334
- }
1335
- },
1336
- {
1337
- "id": "view-governance",
1338
- "name": "Governance map",
1339
- "kind": "static",
1340
- "nodeIds": [
1341
- "req-tenant-isolation",
1342
- "req-tenant-provisioning-time",
1343
- "req-subscription-enforcement",
1344
- "req-usage-metering-accuracy",
1345
- "ff-tenant-isolation-fuzz",
1346
- "ff-noisy-neighbor-guard",
1347
- "ff-billing-reconciliation",
1348
- "adr-tenancy-model",
1349
- "adr-sso-federation"
1350
- ],
1351
- "positions": {
1352
- "adr-sso-federation": {
1353
- "x": 320,
1354
- "y": 2152,
1355
- "width": 260,
1356
- "height": 52
1357
- },
1358
- "adr-tenancy-model": {
1359
- "x": 0,
1360
- "y": 2152,
1361
- "width": 260,
1362
- "height": 52
1363
- },
1364
- "ff-billing-reconciliation": {
1365
- "x": 640,
1366
- "y": 1980,
1367
- "width": 260,
1368
- "height": 52
1369
- },
1370
- "ff-noisy-neighbor-guard": {
1371
- "x": 320,
1372
- "y": 1980,
1373
- "width": 260,
1374
- "height": 52
1375
- },
1376
- "ff-tenant-isolation-fuzz": {
1377
- "x": 0,
1378
- "y": 1980,
1379
- "width": 260,
1380
- "height": 52
1381
- },
1382
- "req-subscription-enforcement": {
1383
- "x": 640,
1384
- "y": 1780,
1385
- "width": 260,
1386
- "height": 80
1387
- },
1388
- "req-tenant-isolation": {
1389
- "x": 0,
1390
- "y": 1780,
1391
- "width": 260,
1392
- "height": 80
1393
- },
1394
- "req-tenant-provisioning-time": {
1395
- "x": 320,
1396
- "y": 1780,
1397
- "width": 260,
1398
- "height": 80
1399
- },
1400
- "req-usage-metering-accuracy": {
1401
- "x": 960,
1402
- "y": 1780,
1403
- "width": 260,
1404
- "height": 80
1405
- }
1406
- }
1407
- },
1408
- {
1409
- "id": "view-mockups",
1410
- "name": "Mockups",
1411
- "kind": "static",
1412
- "nodeIds": [
1413
- "flow-onboarding",
1414
- "flow-tenant-user",
1415
- "flow-tenant-admin",
1416
- "flow-platform-ops",
1417
- "mockup-signup",
1418
- "mockup-provisioning",
1419
- "mockup-invite-team",
1420
- "mockup-workspace-dashboard",
1421
- "mockup-project",
1422
- "mockup-read-only",
1423
- "mockup-billing-usage",
1424
- "mockup-update-payment",
1425
- "mockup-sso-settings",
1426
- "mockup-users-roles",
1427
- "mockup-tenant-list",
1428
- "mockup-tenant-detail"
1429
- ],
1430
- "positions": {
1431
- "flow-onboarding": {
1432
- "x": 0,
1433
- "y": 2324,
1434
- "width": 920,
1435
- "height": 330
1436
- },
1437
- "flow-platform-ops": {
1438
- "x": 0,
1439
- "y": 3554,
1440
- "width": 600,
1441
- "height": 330
1442
- },
1443
- "flow-tenant-admin": {
1444
- "x": 0,
1445
- "y": 3144,
1446
- "width": 1240,
1447
- "height": 330
1448
- },
1449
- "flow-tenant-user": {
1450
- "x": 0,
1451
- "y": 2734,
1452
- "width": 920,
1453
- "height": 330
1454
- },
1455
- "mockup-billing-usage": {
1456
- "x": 30,
1457
- "y": 110,
1458
- "width": 220,
1459
- "height": 190
1460
- },
1461
- "mockup-invite-team": {
1462
- "x": 670,
1463
- "y": 110,
1464
- "width": 220,
1465
- "height": 190
1466
- },
1467
- "mockup-project": {
1468
- "x": 350,
1469
- "y": 110,
1470
- "width": 220,
1471
- "height": 190
1472
- },
1473
- "mockup-provisioning": {
1474
- "x": 350,
1475
- "y": 110,
1476
- "width": 220,
1477
- "height": 190
1478
- },
1479
- "mockup-read-only": {
1480
- "x": 670,
1481
- "y": 110,
1482
- "width": 220,
1483
- "height": 190
1484
- },
1485
- "mockup-signup": {
1486
- "x": 30,
1487
- "y": 110,
1488
- "width": 220,
1489
- "height": 190
1490
- },
1491
- "mockup-sso-settings": {
1492
- "x": 670,
1493
- "y": 110,
1494
- "width": 220,
1495
- "height": 190
1496
- },
1497
- "mockup-tenant-detail": {
1498
- "x": 350,
1499
- "y": 110,
1500
- "width": 220,
1501
- "height": 190
1502
- },
1503
- "mockup-tenant-list": {
1504
- "x": 30,
1505
- "y": 110,
1506
- "width": 220,
1507
- "height": 190
1508
- },
1509
- "mockup-update-payment": {
1510
- "x": 350,
1511
- "y": 110,
1512
- "width": 220,
1513
- "height": 190
1514
- },
1515
- "mockup-users-roles": {
1516
- "x": 990,
1517
- "y": 110,
1518
- "width": 220,
1519
- "height": 190
1520
- },
1521
- "mockup-workspace-dashboard": {
1522
- "x": 30,
1523
- "y": 110,
1524
- "width": 220,
1525
- "height": 190
1526
- }
1527
- }
1528
- },
1529
- {
1530
- "id": "view-flow-onboarding",
1531
- "name": "Onboarding journey",
1532
- "kind": "dynamic",
1533
- "sequenceId": "seq-flow-onboarding",
1534
- "nodeIds": [
1535
- "flow-onboarding",
1536
- "mockup-signup",
1537
- "mockup-provisioning",
1538
- "mockup-invite-team"
1539
- ],
1540
- "positions": {
1541
- "flow-onboarding": {
1542
- "x": 0,
1543
- "y": 2324,
1544
- "width": 920,
1545
- "height": 330
1546
- },
1547
- "mockup-invite-team": {
1548
- "x": 670,
1549
- "y": 110,
1550
- "width": 220,
1551
- "height": 190
1552
- },
1553
- "mockup-provisioning": {
1554
- "x": 350,
1555
- "y": 110,
1556
- "width": 220,
1557
- "height": 190
1558
- },
1559
- "mockup-signup": {
1560
- "x": 30,
1561
- "y": 110,
1562
- "width": 220,
1563
- "height": 190
1564
- }
1565
- }
1566
- },
1567
- {
1568
- "id": "view-flow-tenant-user",
1569
- "name": "Tenant user journey",
1570
- "kind": "dynamic",
1571
- "sequenceId": "seq-flow-tenant-user",
1572
- "nodeIds": [
1573
- "flow-tenant-user",
1574
- "mockup-workspace-dashboard",
1575
- "mockup-project",
1576
- "mockup-read-only"
1577
- ],
1578
- "positions": {
1579
- "flow-tenant-user": {
1580
- "x": 0,
1581
- "y": 2734,
1582
- "width": 920,
1583
- "height": 330
1584
- },
1585
- "mockup-project": {
1586
- "x": 350,
1587
- "y": 110,
1588
- "width": 220,
1589
- "height": 190
1590
- },
1591
- "mockup-read-only": {
1592
- "x": 670,
1593
- "y": 110,
1594
- "width": 220,
1595
- "height": 190
1596
- },
1597
- "mockup-workspace-dashboard": {
1598
- "x": 30,
1599
- "y": 110,
1600
- "width": 220,
1601
- "height": 190
1602
- }
1603
- }
1604
- },
1605
- {
1606
- "id": "view-flow-tenant-admin",
1607
- "name": "Tenant admin journey",
1608
- "kind": "dynamic",
1609
- "sequenceId": "seq-flow-tenant-admin",
1610
- "nodeIds": [
1611
- "flow-tenant-admin",
1612
- "mockup-billing-usage",
1613
- "mockup-update-payment",
1614
- "mockup-sso-settings",
1615
- "mockup-users-roles"
1616
- ],
1617
- "positions": {
1618
- "flow-tenant-admin": {
1619
- "x": 0,
1620
- "y": 3144,
1621
- "width": 1240,
1622
- "height": 330
1623
- },
1624
- "mockup-billing-usage": {
1625
- "x": 30,
1626
- "y": 110,
1627
- "width": 220,
1628
- "height": 190
1629
- },
1630
- "mockup-sso-settings": {
1631
- "x": 670,
1632
- "y": 110,
1633
- "width": 220,
1634
- "height": 190
1635
- },
1636
- "mockup-update-payment": {
1637
- "x": 350,
1638
- "y": 110,
1639
- "width": 220,
1640
- "height": 190
1641
- },
1642
- "mockup-users-roles": {
1643
- "x": 990,
1644
- "y": 110,
1645
- "width": 220,
1646
- "height": 190
1647
- }
1648
- }
1649
- },
1650
- {
1651
- "id": "view-flow-platform-ops",
1652
- "name": "Platform ops journey",
1653
- "kind": "dynamic",
1654
- "sequenceId": "seq-flow-platform-ops",
1655
- "nodeIds": [
1656
- "flow-platform-ops",
1657
- "mockup-tenant-list",
1658
- "mockup-tenant-detail"
1659
- ],
1660
- "positions": {
1661
- "flow-platform-ops": {
1662
- "x": 0,
1663
- "y": 3554,
1664
- "width": 600,
1665
- "height": 330
1666
- },
1667
- "mockup-tenant-detail": {
1668
- "x": 350,
1669
- "y": 110,
1670
- "width": 220,
1671
- "height": 190
1672
- },
1673
- "mockup-tenant-list": {
1674
- "x": 30,
1675
- "y": 110,
1676
- "width": 220,
1677
- "height": 190
1678
- }
1679
- }
1680
- },
1681
- {
1682
- "id": "view-wiki-governance",
1683
- "name": "Governance",
1684
- "kind": "wiki",
1685
- "nodeIds": [
1686
- "req-tenant-isolation",
1687
- "req-tenant-provisioning-time",
1688
- "req-subscription-enforcement",
1689
- "req-usage-metering-accuracy",
1690
- "ff-tenant-isolation-fuzz",
1691
- "ff-noisy-neighbor-guard",
1692
- "ff-billing-reconciliation",
1693
- "adr-tenancy-model",
1694
- "adr-sso-federation"
1695
- ],
1696
- "positions": {},
1697
- "wikiFocusId": null
1698
- },
1699
- {
1700
- "id": "view-wiki-requirements",
1701
- "name": "Requirements",
1702
- "kind": "wiki",
1703
- "nodeIds": [
1704
- "req-tenant-isolation",
1705
- "req-tenant-provisioning-time",
1706
- "req-subscription-enforcement",
1707
- "req-usage-metering-accuracy"
1708
- ],
1709
- "positions": {},
1710
- "wikiFocusId": null
1711
- }
1712
- ]
1713
- }