chompyy 0.1.0 → 0.4.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 (184) hide show
  1. package/README.md +82 -8
  2. package/THIRD_PARTY_NOTICES.md +29 -1
  3. package/dist/appstate.js +121 -4
  4. package/dist/away.js +191 -25
  5. package/dist/blueprint.js +102 -7
  6. package/dist/board.js +143 -15
  7. package/dist/catalog.js +81 -0
  8. package/dist/claudesettings.js +23 -0
  9. package/dist/cli.js +804 -55
  10. package/dist/coldstart.js +208 -0
  11. package/dist/config.js +43 -8
  12. package/dist/costs.js +162 -0
  13. package/dist/deps.js +124 -0
  14. package/dist/dream.js +422 -0
  15. package/dist/duration.js +3 -3
  16. package/dist/gate.js +40 -5
  17. package/dist/history.js +308 -0
  18. package/dist/live.js +255 -0
  19. package/dist/livequota.js +42 -5
  20. package/dist/macapp.js +25 -2
  21. package/dist/pacing.js +189 -0
  22. package/dist/permissions.js +106 -0
  23. package/dist/picture.js +124 -0
  24. package/dist/picturetype.js +208 -0
  25. package/dist/preflight.js +168 -0
  26. package/dist/projects.js +5 -4
  27. package/dist/quota.js +31 -5
  28. package/dist/refresh.js +290 -0
  29. package/dist/report.js +41 -21
  30. package/dist/review.js +111 -11
  31. package/dist/runner.js +318 -10
  32. package/dist/taste.js +528 -0
  33. package/dist/tokens.js +75 -0
  34. package/dist/tokenstore.js +61 -0
  35. package/dist/trace.js +284 -0
  36. package/dist/triggers.js +193 -0
  37. package/dist/usage.js +467 -0
  38. package/dist/vendor/codeburn/prices.js +45 -0
  39. package/dist/verify.js +150 -0
  40. package/dist/verifycard.js +146 -0
  41. package/dist/workspace.js +132 -18
  42. package/package.json +4 -2
  43. package/skills/taste/SKILL.md +4 -1
  44. package/vendor/diagram-design/LICENSE +21 -0
  45. package/vendor/diagram-design/SKILL.md +399 -0
  46. package/vendor/diagram-design/UPSTREAM.md +18 -0
  47. package/vendor/diagram-design/assets/example-arc-diagram.html +111 -0
  48. package/vendor/diagram-design/assets/example-architecture-containment.html +205 -0
  49. package/vendor/diagram-design/assets/example-architecture-delta.html +193 -0
  50. package/vendor/diagram-design/assets/example-architecture.html +183 -0
  51. package/vendor/diagram-design/assets/example-axonometric-plan-campus.html +108 -0
  52. package/vendor/diagram-design/assets/example-axonometric-plan-coffee-shop.html +121 -0
  53. package/vendor/diagram-design/assets/example-axonometric-plan-warehouse.html +127 -0
  54. package/vendor/diagram-design/assets/example-axonometric-plan.html +114 -0
  55. package/vendor/diagram-design/assets/example-bar.html +129 -0
  56. package/vendor/diagram-design/assets/example-beeswarm.html +384 -0
  57. package/vendor/diagram-design/assets/example-box-plot.html +127 -0
  58. package/vendor/diagram-design/assets/example-bubble.html +147 -0
  59. package/vendor/diagram-design/assets/example-bump.html +142 -0
  60. package/vendor/diagram-design/assets/example-data-flow.html +143 -0
  61. package/vendor/diagram-design/assets/example-datalake.html +269 -0
  62. package/vendor/diagram-design/assets/example-db-schema.html +302 -0
  63. package/vendor/diagram-design/assets/example-dependency.html +224 -0
  64. package/vendor/diagram-design/assets/example-deployment.html +190 -0
  65. package/vendor/diagram-design/assets/example-dp-integration.html +81 -0
  66. package/vendor/diagram-design/assets/example-dp-security-matrix.html +88 -0
  67. package/vendor/diagram-design/assets/example-er.html +202 -0
  68. package/vendor/diagram-design/assets/example-event-modeling.html +64 -0
  69. package/vendor/diagram-design/assets/example-exploded-ai-stack.html +85 -0
  70. package/vendor/diagram-design/assets/example-exploded-keyboard.html +84 -0
  71. package/vendor/diagram-design/assets/example-exploded-phone.html +83 -0
  72. package/vendor/diagram-design/assets/example-exploded-unboxing.html +84 -0
  73. package/vendor/diagram-design/assets/example-exploded.html +83 -0
  74. package/vendor/diagram-design/assets/example-fishbone.html +152 -0
  75. package/vendor/diagram-design/assets/example-flowchart.html +163 -0
  76. package/vendor/diagram-design/assets/example-gantt.html +137 -0
  77. package/vendor/diagram-design/assets/example-heatmap.html +224 -0
  78. package/vendor/diagram-design/assets/example-high-level-vertical.html +325 -0
  79. package/vendor/diagram-design/assets/example-high-level.html +301 -0
  80. package/vendor/diagram-design/assets/example-import-drawio.html +185 -0
  81. package/vendor/diagram-design/assets/example-import-excalidraw.html +70 -0
  82. package/vendor/diagram-design/assets/example-import-mermaid.html +70 -0
  83. package/vendor/diagram-design/assets/example-import-plantuml.html +107 -0
  84. package/vendor/diagram-design/assets/example-it-state.html +128 -0
  85. package/vendor/diagram-design/assets/example-journey.html +148 -0
  86. package/vendor/diagram-design/assets/example-kanban.html +174 -0
  87. package/vendor/diagram-design/assets/example-layers.html +123 -0
  88. package/vendor/diagram-design/assets/example-line.html +111 -0
  89. package/vendor/diagram-design/assets/example-loop.html +100 -0
  90. package/vendor/diagram-design/assets/example-marimekko.html +148 -0
  91. package/vendor/diagram-design/assets/example-medallion.html +159 -0
  92. package/vendor/diagram-design/assets/example-nested.html +136 -0
  93. package/vendor/diagram-design/assets/example-org-chart.html +45 -0
  94. package/vendor/diagram-design/assets/example-polar.html +116 -0
  95. package/vendor/diagram-design/assets/example-process.html +64 -0
  96. package/vendor/diagram-design/assets/example-pyramid.html +119 -0
  97. package/vendor/diagram-design/assets/example-quadrant-consultant.html +166 -0
  98. package/vendor/diagram-design/assets/example-quadrant.html +135 -0
  99. package/vendor/diagram-design/assets/example-radar.html +139 -0
  100. package/vendor/diagram-design/assets/example-requirement-traceability.html +122 -0
  101. package/vendor/diagram-design/assets/example-ridgeline.html +104 -0
  102. package/vendor/diagram-design/assets/example-sankey.html +150 -0
  103. package/vendor/diagram-design/assets/example-sbgn.html +213 -0
  104. package/vendor/diagram-design/assets/example-scatter.html +141 -0
  105. package/vendor/diagram-design/assets/example-sequence-oauth.html +227 -0
  106. package/vendor/diagram-design/assets/example-sequence.html +222 -0
  107. package/vendor/diagram-design/assets/example-service-blueprint.html +185 -0
  108. package/vendor/diagram-design/assets/example-slopegraph.html +119 -0
  109. package/vendor/diagram-design/assets/example-state-lifecycle.html +92 -0
  110. package/vendor/diagram-design/assets/example-state.html +147 -0
  111. package/vendor/diagram-design/assets/example-steps.html +78 -0
  112. package/vendor/diagram-design/assets/example-story-map.html +184 -0
  113. package/vendor/diagram-design/assets/example-streamgraph.html +99 -0
  114. package/vendor/diagram-design/assets/example-swimlane.html +172 -0
  115. package/vendor/diagram-design/assets/example-timeline.html +135 -0
  116. package/vendor/diagram-design/assets/example-tree-block-decomposition.html +151 -0
  117. package/vendor/diagram-design/assets/example-tree.html +173 -0
  118. package/vendor/diagram-design/assets/example-treemap.html +107 -0
  119. package/vendor/diagram-design/assets/example-uml-class.html +188 -0
  120. package/vendor/diagram-design/assets/example-unit-grid.html +141 -0
  121. package/vendor/diagram-design/assets/example-venn.html +110 -0
  122. package/vendor/diagram-design/assets/example-wardley.html +153 -0
  123. package/vendor/diagram-design/assets/example-waterfall.html +129 -0
  124. package/vendor/diagram-design/assets/template-dark.html +99 -0
  125. package/vendor/diagram-design/assets/template.html +100 -0
  126. package/vendor/diagram-design/references/layout-budget.md +103 -0
  127. package/vendor/diagram-design/references/output-spec.md +277 -0
  128. package/vendor/diagram-design/references/primitive-annotation.md +36 -0
  129. package/vendor/diagram-design/references/primitive-sketchy.md +43 -0
  130. package/vendor/diagram-design/references/primitives-core.md +146 -0
  131. package/vendor/diagram-design/references/semantic-patterns.md +154 -0
  132. package/vendor/diagram-design/references/style-guide.md +234 -0
  133. package/vendor/diagram-design/references/type-architecture-delta.md +143 -0
  134. package/vendor/diagram-design/references/type-architecture.md +117 -0
  135. package/vendor/diagram-design/references/type-axonometric-plan.md +83 -0
  136. package/vendor/diagram-design/references/type-bar.md +108 -0
  137. package/vendor/diagram-design/references/type-data-flow.md +371 -0
  138. package/vendor/diagram-design/references/type-db-schema.md +48 -0
  139. package/vendor/diagram-design/references/type-dependency.md +113 -0
  140. package/vendor/diagram-design/references/type-deployment.md +45 -0
  141. package/vendor/diagram-design/references/type-dp-integration.md +407 -0
  142. package/vendor/diagram-design/references/type-dp-security-matrix.md +379 -0
  143. package/vendor/diagram-design/references/type-er.md +25 -0
  144. package/vendor/diagram-design/references/type-event-modeling.md +36 -0
  145. package/vendor/diagram-design/references/type-exploded.md +115 -0
  146. package/vendor/diagram-design/references/type-fishbone.md +75 -0
  147. package/vendor/diagram-design/references/type-flowchart.md +23 -0
  148. package/vendor/diagram-design/references/type-gantt.md +45 -0
  149. package/vendor/diagram-design/references/type-heatmap.md +80 -0
  150. package/vendor/diagram-design/references/type-high-level.md +470 -0
  151. package/vendor/diagram-design/references/type-it-state.md +468 -0
  152. package/vendor/diagram-design/references/type-journey.md +55 -0
  153. package/vendor/diagram-design/references/type-kanban.md +49 -0
  154. package/vendor/diagram-design/references/type-layers.md +26 -0
  155. package/vendor/diagram-design/references/type-line.md +337 -0
  156. package/vendor/diagram-design/references/type-loop.md +223 -0
  157. package/vendor/diagram-design/references/type-medallion.md +356 -0
  158. package/vendor/diagram-design/references/type-nested.md +22 -0
  159. package/vendor/diagram-design/references/type-org-chart.md +44 -0
  160. package/vendor/diagram-design/references/type-polar.md +136 -0
  161. package/vendor/diagram-design/references/type-process.md +490 -0
  162. package/vendor/diagram-design/references/type-pyramid.md +33 -0
  163. package/vendor/diagram-design/references/type-quadrant.md +81 -0
  164. package/vendor/diagram-design/references/type-radar.md +82 -0
  165. package/vendor/diagram-design/references/type-requirement-traceability.md +45 -0
  166. package/vendor/diagram-design/references/type-sankey.md +75 -0
  167. package/vendor/diagram-design/references/type-sbgn.md +80 -0
  168. package/vendor/diagram-design/references/type-scatter.md +276 -0
  169. package/vendor/diagram-design/references/type-sequence.md +130 -0
  170. package/vendor/diagram-design/references/type-service-blueprint.md +103 -0
  171. package/vendor/diagram-design/references/type-state.md +30 -0
  172. package/vendor/diagram-design/references/type-steps.md +180 -0
  173. package/vendor/diagram-design/references/type-story-map.md +46 -0
  174. package/vendor/diagram-design/references/type-swimlane.md +22 -0
  175. package/vendor/diagram-design/references/type-timeline.md +20 -0
  176. package/vendor/diagram-design/references/type-tree.md +24 -0
  177. package/vendor/diagram-design/references/type-treemap.md +137 -0
  178. package/vendor/diagram-design/references/type-uml-class.md +65 -0
  179. package/vendor/diagram-design/references/type-unit-grid.md +63 -0
  180. package/vendor/diagram-design/references/type-venn.md +26 -0
  181. package/vendor/diagram-design/references/type-wardley.md +39 -0
  182. package/vendor/diagram-design/references/type-waterfall.md +75 -0
  183. package/vendor/diagram-design/scripts/self_check.py +1177 -0
  184. package/vendor/diagram-design/scripts/verify_geometry.py +696 -0
@@ -0,0 +1,153 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>AI assistant product · Wardley map</title>
7
+ <link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500;600&display=swap" rel="stylesheet">
8
+ <style>
9
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
10
+ :root {
11
+ --color-paper: #f5f5f5;
12
+ --color-ink: #2d3142;
13
+ --color-muted: #4f5d75;
14
+ --color-accent: #bf4520;
15
+ --font-sans: 'Geist', system-ui, sans-serif;
16
+ --font-serif: 'Instrument Serif', serif;
17
+ --font-mono: 'Geist Mono', ui-monospace, monospace;
18
+ }
19
+
20
+ body {
21
+ font-family: var(--font-sans);
22
+ background: var(--color-paper);
23
+ color: var(--color-ink);
24
+ min-height: 100vh;
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: center;
28
+ padding: 3rem 2rem;
29
+ }
30
+
31
+ .frame { max-width: 1200px; width: 100%; }
32
+
33
+ .eyebrow {
34
+ font-family: var(--font-mono);
35
+ font-size: 0.66rem;
36
+ font-weight: 500;
37
+ letter-spacing: 0.18em;
38
+ text-transform: uppercase;
39
+ color: var(--color-muted);
40
+ margin-bottom: 0.5rem;
41
+ }
42
+
43
+ h1 {
44
+ font-family: var(--font-serif);
45
+ font-size: clamp(1.5rem, 2.4vw + 0.75rem, 2rem);
46
+ font-weight: 400;
47
+ letter-spacing: -0.02em;
48
+ line-height: 1.15;
49
+ color: var(--color-ink);
50
+ margin-bottom: 1.5rem;
51
+ }
52
+
53
+ svg { width: 100%; min-width: 900px; display: block; }
54
+ </style>
55
+ </head>
56
+ <body>
57
+ <div class="frame">
58
+ <p class="eyebrow">Wardley map · Diagram Design</p>
59
+ <h1>AI assistant product · Wardley map</h1>
60
+
61
+ <svg viewBox="0 0 1000 460" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="wardley-title wardley-desc">
62
+ <title id="wardley-title">AI assistant product · Wardley map</title>
63
+ <desc id="wardley-desc">Wardley map plotting an AI assistant product's value chain from the user-facing need down to raw infrastructure against genesis-to-commodity evolution, with agent orchestration commoditising toward the product band.</desc>
64
+ <defs>
65
+ <pattern id="dots" width="22" height="22" patternUnits="userSpaceOnUse">
66
+ <circle cx="1" cy="1" r="0.9" fill="rgba(45,49,66,0.10)"/>
67
+ </pattern>
68
+ <marker id="arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
69
+ <polygon points="0 0, 8 3, 0 6" fill="#bf4520"/>
70
+ </marker>
71
+ </defs>
72
+
73
+ <rect width="100%" height="100%" fill="#f5f5f5"/>
74
+ <rect width="100%" height="100%" fill="url(#dots)" opacity="0.55"/>
75
+
76
+ <!-- Axis lines (value chain vertical, evolution horizontal) -->
77
+ <line x1="120" y1="60" x2="120" y2="340" stroke="rgba(45,49,66,0.20)" stroke-width="1"/>
78
+ <line x1="120" y1="340" x2="920" y2="340" stroke="rgba(45,49,66,0.20)" stroke-width="1"/>
79
+
80
+ <!-- Evolution band separators -->
81
+ <line x1="320" y1="60" x2="320" y2="340" stroke="rgba(45,49,66,0.10)" stroke-width="0.8" stroke-dasharray="4,4"/>
82
+ <line x1="520" y1="60" x2="520" y2="340" stroke="rgba(45,49,66,0.10)" stroke-width="0.8" stroke-dasharray="4,4"/>
83
+ <line x1="720" y1="60" x2="720" y2="340" stroke="rgba(45,49,66,0.10)" stroke-width="0.8" stroke-dasharray="4,4"/>
84
+
85
+ <!-- Band labels -->
86
+ <text x="220" y="356" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.18em">GENESIS</text>
87
+ <text x="420" y="356" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.18em">CUSTOM-BUILT</text>
88
+ <text x="620" y="356" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.18em">PRODUCT</text>
89
+ <text x="820" y="356" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.18em">COMMODITY</text>
90
+
91
+ <!-- Value-chain axis labels (stacked lines, never writing-mode) -->
92
+ <text x="112" y="44" fill="#2d3142" font-size="9" font-weight="500" font-family="'Geist Mono', monospace" text-anchor="end" letter-spacing="0.14em">VISIBLE TO</text>
93
+ <text x="112" y="56" fill="#2d3142" font-size="9" font-weight="500" font-family="'Geist Mono', monospace" text-anchor="end" letter-spacing="0.14em">THE USER</text>
94
+ <text x="112" y="352" fill="#2d3142" font-size="9" font-weight="500" font-family="'Geist Mono', monospace" text-anchor="end" letter-spacing="0.14em">INVISIBLE</text>
95
+
96
+ <!-- Dependency links (exempt from the orthogonal-elbow rule — position is the data) -->
97
+ <line x1="420" y1="92" x2="620" y2="124" stroke="#4f5d75" stroke-width="0.8"/>
98
+ <line x1="620" y1="124" x2="420" y2="156" stroke="#4f5d75" stroke-width="0.8"/>
99
+ <line x1="420" y1="156" x2="220" y2="188" stroke="#4f5d75" stroke-width="0.8"/>
100
+ <line x1="420" y1="156" x2="620" y2="220" stroke="#4f5d75" stroke-width="0.8"/>
101
+ <line x1="420" y1="156" x2="680" y2="252" stroke="#4f5d75" stroke-width="0.8"/>
102
+ <line x1="620" y1="220" x2="820" y2="316" stroke="#4f5d75" stroke-width="0.8"/>
103
+ <line x1="680" y1="252" x2="820" y2="284" stroke="#4f5d75" stroke-width="0.8"/>
104
+ <line x1="220" y1="188" x2="680" y2="252" stroke="#4f5d75" stroke-width="0.8"/>
105
+
106
+ <!-- Movement arrow (the 2nd accent element) -->
107
+ <line x1="428" y1="156" x2="504" y2="156" stroke="#bf4520" stroke-width="1.5" stroke-dasharray="5,4" marker-end="url(#arrow-accent)"/>
108
+
109
+ <!-- Components -->
110
+ <circle cx="420" cy="92" r="6" fill="#f5f5f5" stroke="#2d3142" stroke-width="1"/>
111
+ <text x="420" y="80" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Answer in the flow of work</text>
112
+
113
+ <circle cx="620" cy="124" r="6" fill="#f5f5f5" stroke="#2d3142" stroke-width="1"/>
114
+ <text x="620" y="112" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Chat UI</text>
115
+
116
+ <!-- Moving component (the 1st accent element) -->
117
+ <circle cx="420" cy="156" r="6" fill="rgba(191,69,32,0.08)" stroke="#bf4520" stroke-width="1.5"/>
118
+ <text x="420" y="144" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Agent orchestration</text>
119
+
120
+ <circle cx="220" cy="188" r="6" fill="#f5f5f5" stroke="#2d3142" stroke-width="1"/>
121
+ <text x="220" y="176" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Eval harness</text>
122
+
123
+ <circle cx="620" cy="220" r="6" fill="#f5f5f5" stroke="#2d3142" stroke-width="1"/>
124
+ <text x="620" y="208" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Vector store</text>
125
+
126
+ <circle cx="680" cy="252" r="6" fill="#f5f5f5" stroke="#2d3142" stroke-width="1"/>
127
+ <text x="680" y="240" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">LLM API</text>
128
+
129
+ <circle cx="820" cy="284" r="6" fill="#f5f5f5" stroke="#2d3142" stroke-width="1"/>
130
+ <text x="820" y="272" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">GPU compute</text>
131
+
132
+ <circle cx="820" cy="316" r="6" fill="#f5f5f5" stroke="#2d3142" stroke-width="1"/>
133
+ <text x="836" y="320" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="start">Object storage</text>
134
+
135
+ <!-- Legend -->
136
+ <line x1="40" y1="396" x2="960" y2="396" stroke="rgba(45,49,66,0.10)" stroke-width="0.8"/>
137
+ <text x="40" y="412" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" letter-spacing="0.18em">LEGEND</text>
138
+
139
+ <circle cx="48" cy="428" r="4" fill="#f5f5f5" stroke="#2d3142" stroke-width="1"/>
140
+ <text x="64" y="432" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif">Component</text>
141
+
142
+ <line x1="220" y1="428" x2="248" y2="428" stroke="#4f5d75" stroke-width="0.8"/>
143
+ <text x="256" y="432" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif">Dependency</text>
144
+
145
+ <circle cx="404" cy="428" r="4" fill="rgba(191,69,32,0.08)" stroke="#bf4520" stroke-width="1.5"/>
146
+ <line x1="416" y1="428" x2="440" y2="428" stroke="#bf4520" stroke-width="1.5" stroke-dasharray="5,4"/>
147
+ <text x="448" y="432" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif">Evolving</text>
148
+
149
+ <text x="560" y="432" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif" font-style="italic">One coral. Position along evolution is the signal — the arrow marks what's about to commoditise.</text>
150
+ </svg>
151
+ </div>
152
+ </body>
153
+ </html>
@@ -0,0 +1,129 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Cloud budget bridge · Waterfall chart</title>
7
+ <link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500;600&display=swap" rel="stylesheet">
8
+ <style>
9
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
10
+ :root {
11
+ --color-paper: #f5f5f5;
12
+ --color-ink: #2d3142;
13
+ --color-muted: #4f5d75;
14
+ --color-accent: #bf4520;
15
+ --font-sans: 'Geist', system-ui, sans-serif;
16
+ --font-serif: 'Instrument Serif', serif;
17
+ --font-mono: 'Geist Mono', ui-monospace, monospace;
18
+ }
19
+ body { font-family: var(--font-sans); background: var(--color-paper); color: var(--color-ink); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 3rem 2rem; }
20
+ .frame { max-width: 1200px; width: 100%; }
21
+ .eyebrow { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.5rem; }
22
+ h1 { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.4vw + 0.75rem, 2rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1.5rem; }
23
+ .diagram-container { width: 100%; overflow-x: auto; }
24
+ svg { width: 100%; min-width: 760px; display: block; }
25
+ </style>
26
+ </head>
27
+ <body>
28
+ <div class="frame">
29
+ <p class="eyebrow">Waterfall · Diagram Design</p>
30
+ <h1>Cloud budget bridge · FY25 → FY26</h1>
31
+
32
+ <div class="diagram-container">
33
+ <svg viewBox="0 0 1000 500" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="waterfall-title waterfall-desc">
34
+ <title id="waterfall-title">Cloud budget bridge · FY25 → FY26</title>
35
+ <desc id="waterfall-desc">Waterfall chart bridging the FY25 cloud budget of 240 thousand dollars a month to the FY26 plan of 236, through headcount growth, reserved-instance savings, new ML workloads, and storage tiering — the largest saving.</desc>
36
+ <defs>
37
+ <pattern id="dots" width="22" height="22" patternUnits="userSpaceOnUse">
38
+ <circle cx="1" cy="1" r="0.9" fill="rgba(45,49,66,0.10)"/>
39
+ </pattern>
40
+ </defs>
41
+
42
+ <rect width="100%" height="100%" fill="#f5f5f5"/>
43
+ <rect width="100%" height="100%" fill="url(#dots)" opacity="0.55"/>
44
+
45
+ <!-- Y-axis rotated label -->
46
+ <text transform="rotate(-90 24 230)" x="24" y="230" fill="#4f5d75" font-size="7" font-family="'Geist Mono', monospace" letter-spacing="0.14em" text-anchor="middle">CLOUD SPEND · $K / MO</text>
47
+
48
+ <!-- Horizontal gridlines (drawn before bars). Domain 0–400, y = 420 − 0.95·v -->
49
+ <line x1="80" y1="325" x2="960" y2="325" stroke="rgba(45,49,66,0.08)" stroke-width="0.8"/>
50
+ <line x1="80" y1="230" x2="960" y2="230" stroke="rgba(45,49,66,0.08)" stroke-width="0.8"/>
51
+ <line x1="80" y1="135" x2="960" y2="135" stroke="rgba(45,49,66,0.08)" stroke-width="0.8"/>
52
+ <line x1="80" y1="40" x2="960" y2="40" stroke="rgba(45,49,66,0.06)" stroke-width="0.8"/>
53
+
54
+ <!-- Y-axis line and X-axis baseline (the domain floor: totals anchor here) -->
55
+ <line x1="80" y1="40" x2="80" y2="420" stroke="rgba(45,49,66,0.25)" stroke-width="1"/>
56
+ <line x1="80" y1="420" x2="960" y2="420" stroke="rgba(45,49,66,0.25)" stroke-width="1"/>
57
+
58
+ <!-- Y-axis tick labels -->
59
+ <text x="72" y="329" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="end">100</text>
60
+ <text x="72" y="234" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="end">200</text>
61
+ <text x="72" y="139" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="end">300</text>
62
+ <text x="72" y="44" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="end">400</text>
63
+
64
+ <!-- ─── CARRIES (drawn before bars; each transports the running total across a gap at its own level) ─── -->
65
+ <line x1="208" y1="192" x2="256" y2="192" stroke="rgba(45,49,66,0.55)" stroke-width="1" data-carry="240"/>
66
+ <line x1="352" y1="131" x2="400" y2="131" stroke="rgba(45,49,66,0.55)" stroke-width="1" data-carry="304"/>
67
+ <line x1="496" y1="167" x2="544" y2="167" stroke="rgba(45,49,66,0.55)" stroke-width="1" data-carry="266"/>
68
+ <line x1="640" y1="146" x2="688" y2="146" stroke="rgba(45,49,66,0.55)" stroke-width="1" data-carry="288"/>
69
+ <line x1="784" y1="196" x2="832" y2="196" stroke="rgba(45,49,66,0.55)" stroke-width="1" data-carry="236"/>
70
+
71
+ <!-- ─── BARS (width=96, pitch=144). Running total: 240 → 304 → 266 → 288 → 236 → 236 ─── -->
72
+ <!-- FY25 base: total 240, anchored at the floor. y(240)=192, h=228 -->
73
+ <rect x="112" y="192" width="96" height="228" fill="#f5f5f5"/>
74
+ <rect x="112" y="192" width="96" height="228" fill="rgba(45,49,66,0.08)" stroke="#2d3142" stroke-width="1" data-role="total" data-value="240" data-name="FY25 base"/>
75
+ <text x="160" y="184" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle">240</text>
76
+
77
+ <!-- Headcount: +64 rises 240 → 304. y(304)=131, h=61 -->
78
+ <rect x="256" y="131" width="96" height="61" fill="#f5f5f5"/>
79
+ <rect x="256" y="131" width="96" height="61" fill="rgba(79,93,117,0.15)" stroke="#4f5d75" stroke-width="1" data-role="delta" data-value="+64" data-name="Headcount"/>
80
+ <text x="304" y="123" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle">+64</text>
81
+
82
+ <!-- Reserved instances: −38 falls 304 → 266. Hollow = decrease. y=131, h=36 -->
83
+ <rect x="400" y="131" width="96" height="36" fill="#f5f5f5"/>
84
+ <rect x="400" y="131" width="96" height="36" fill="#f5f5f5" stroke="#4f5d75" stroke-width="1" data-role="delta" data-value="-38" data-name="Reserved inst."/>
85
+ <text x="448" y="179" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle">−38</text>
86
+
87
+ <!-- ML workloads: +22 rises 266 → 288. y(288)=146, h=21 -->
88
+ <rect x="544" y="146" width="96" height="21" fill="#f5f5f5"/>
89
+ <rect x="544" y="146" width="96" height="21" fill="rgba(79,93,117,0.15)" stroke="#4f5d75" stroke-width="1" data-role="delta" data-value="+22" data-name="ML workloads"/>
90
+ <text x="592" y="138" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle">+22</text>
91
+
92
+ <!-- Storage tiering FOCAL: −52 falls 288 → 236 — the largest saving, the story. y=146, h=50 -->
93
+ <rect x="688" y="146" width="96" height="50" fill="#f5f5f5"/>
94
+ <rect x="688" y="146" width="96" height="50" fill="rgba(191,69,32,0.12)" stroke="#bf4520" stroke-width="1" data-role="delta" data-value="-52" data-name="Storage tiering"/>
95
+ <text x="736" y="208" fill="#2d3142" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" font-weight="600">−52</text>
96
+
97
+ <!-- FY26 plan: total 236 = 240 + 64 − 38 + 22 − 52, anchored at the floor. y(236)=196, h=224 -->
98
+ <rect x="832" y="196" width="96" height="224" fill="#f5f5f5"/>
99
+ <rect x="832" y="196" width="96" height="224" fill="rgba(45,49,66,0.08)" stroke="#2d3142" stroke-width="1" data-role="total" data-value="236" data-name="FY26 plan"/>
100
+ <text x="880" y="188" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle">236</text>
101
+
102
+ <!-- X-axis category labels -->
103
+ <text x="160" y="440" fill="#2d3142" font-size="11" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">FY25 base</text>
104
+ <text x="304" y="440" fill="#2d3142" font-size="11" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Headcount</text>
105
+ <text x="448" y="440" fill="#2d3142" font-size="11" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Reserved inst.</text>
106
+ <text x="592" y="440" fill="#2d3142" font-size="11" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">ML workloads</text>
107
+ <text x="736" y="440" fill="#2d3142" font-size="11" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Storage tiering</text>
108
+ <text x="880" y="440" fill="#2d3142" font-size="11" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">FY26 plan</text>
109
+
110
+ <!-- Legend -->
111
+ <line x1="40" y1="462" x2="960" y2="462" stroke="rgba(45,49,66,0.10)" stroke-width="0.8"/>
112
+ <text x="40" y="478" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" letter-spacing="0.18em">LEGEND</text>
113
+
114
+ <rect x="40" y="488" width="16" height="10" rx="2" fill="rgba(45,49,66,0.08)" stroke="#2d3142" stroke-width="1"/>
115
+ <text x="64" y="497" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif">Start / end total</text>
116
+
117
+ <rect x="200" y="488" width="16" height="10" rx="2" fill="rgba(79,93,117,0.15)" stroke="#4f5d75" stroke-width="1"/>
118
+ <text x="224" y="497" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif">Cost added</text>
119
+
120
+ <rect x="340" y="488" width="16" height="10" rx="2" fill="#f5f5f5" stroke="#4f5d75" stroke-width="1"/>
121
+ <text x="364" y="497" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif">Cost removed</text>
122
+
123
+ <rect x="480" y="488" width="16" height="10" rx="2" fill="rgba(191,69,32,0.12)" stroke="#bf4520" stroke-width="1"/>
124
+ <text x="504" y="497" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif">Storage tiering · largest saving</text>
125
+ </svg>
126
+ </div>
127
+ </div>
128
+ </body>
129
+ </html>
@@ -0,0 +1,99 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Diagram</title>
7
+ <link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500;600&family=Noto+Serif:ital@0;1&family=Noto+Sans+KR:wght@400;500;600&family=Noto+Serif+KR:wght@400&family=Noto+Sans+TC:wght@400;500;600&family=Noto+Serif+TC:wght@400&display=swap" rel="stylesheet">
8
+ <style>
9
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
10
+ :root {
11
+ --color-paper: #2d3142; /* deep warm charcoal */
12
+ --color-ink: #f5f5f5; /* warm off-white */
13
+ --color-muted: #bfc0c0;
14
+ --color-accent: #f08a59;
15
+ --font-sans: 'Geist', system-ui, sans-serif;
16
+ --font-serif: 'Instrument Serif', 'Noto Serif', 'Noto Serif KR', serif;
17
+ --font-mono: 'Geist Mono', ui-monospace, monospace;
18
+ }
19
+
20
+ body {
21
+ font-family: var(--font-sans);
22
+ background: var(--color-paper);
23
+ color: var(--color-ink);
24
+ min-height: 100vh;
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: center;
28
+ padding: 3rem 2rem;
29
+ }
30
+
31
+ .frame { max-width: 1200px; width: 100%; }
32
+ /* The SVG holds its readable width (min-width == the viewBox width, so the
33
+ type ramp is never silently scaled down). This wrapper lets a narrow
34
+ screen scroll the diagram instead of the whole page. */
35
+ .diagram-container { width: 100%; overflow-x: auto; }
36
+
37
+ .eyebrow {
38
+ font-family: var(--font-mono);
39
+ font-size: 0.66rem;
40
+ font-weight: 500;
41
+ letter-spacing: 0.18em;
42
+ text-transform: uppercase;
43
+ color: var(--color-muted);
44
+ margin-bottom: 0.5rem;
45
+ }
46
+
47
+ h1 {
48
+ font-family: var(--font-serif);
49
+ font-size: clamp(1.5rem, 2.4vw + 0.75rem, 2rem);
50
+ font-weight: 400;
51
+ letter-spacing: -0.02em;
52
+ line-height: 1.15;
53
+ color: var(--color-ink);
54
+ margin-bottom: 1.5rem;
55
+ }
56
+
57
+ svg { width: 100%; min-width: 1000px; display: block; }
58
+ /* Paper has no scrollbar, so the local scroller would clip instead of
59
+ scroll. Let the diagram scale down to the sheet: smaller but whole
60
+ beats sharp but cut off. Must come after the svg rule above - a media
61
+ query adds no specificity, so a later plain rule would win. */
62
+ @media print {
63
+ .diagram-container { overflow-x: visible; }
64
+ svg { min-width: 0; }
65
+ }
66
+ </style>
67
+ </head>
68
+ <body>
69
+ <div class="frame">
70
+ <p class="eyebrow">[Type] · Diagram Design</p>
71
+ <h1>[Diagram title]</h1>
72
+
73
+ <!-- Replace [diagram-slug] with a unique slug for this diagram before export. -->
74
+ <div class="diagram-container">
75
+ <svg viewBox="0 0 1000 600" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="[diagram-slug]-title [diagram-slug]-desc">
76
+ <title id="[diagram-slug]-title">[Diagram title]</title>
77
+ <desc id="[diagram-slug]-desc">[One sentence describing what the diagram shows]</desc>
78
+ <defs>
79
+ <marker id="arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#bfc0c0"/></marker>
80
+ <marker id="arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#f08a59"/></marker>
81
+ <marker id="arrow-link" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#739fdf"/></marker>
82
+
83
+ <!-- OPTIONAL: dot-pattern background. Uncomment and add <rect fill="url(#dots)"/> after the paper rect to enable. -->
84
+ <!--
85
+ <pattern id="dots" width="22" height="22" patternUnits="userSpaceOnUse">
86
+ <circle cx="1" cy="1" r="0.9" fill="rgba(245,245,245,0.08)"/>
87
+ </pattern>
88
+ -->
89
+ </defs>
90
+
91
+ <rect width="100%" height="100%" fill="#2d3142"/>
92
+
93
+ <!-- Draw arrows first, then nodes. Replace with your content. -->
94
+
95
+ </svg>
96
+ </div>
97
+ </div>
98
+ </body>
99
+ </html>
@@ -0,0 +1,100 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Diagram</title>
7
+ <link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500;600&family=Noto+Serif:ital@0;1&family=Noto+Sans+KR:wght@400;500;600&family=Noto+Serif+KR:wght@400&family=Noto+Sans+TC:wght@400;500;600&family=Noto+Serif+TC:wght@400&display=swap" rel="stylesheet">
8
+ <style>
9
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
10
+ :root {
11
+ --color-paper: #faf3e8; /* white-smoke */
12
+ --color-ink: #3a2a1f; /* jet-black */
13
+ --color-muted: #6b5141; /* blue-slate */
14
+ --color-accent: #a8481c; /* burnt-tangerine */
15
+ --font-sans: 'Geist', system-ui, sans-serif;
16
+ --font-serif: 'Instrument Serif', 'Noto Serif', 'Noto Serif KR', serif;
17
+ --font-mono: 'Geist Mono', ui-monospace, monospace;
18
+ }
19
+
20
+ body {
21
+ font-family: var(--font-sans);
22
+ background: var(--color-paper);
23
+ color: var(--color-ink);
24
+ min-height: 100vh;
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: center;
28
+ padding: 3rem 2rem;
29
+ }
30
+
31
+ .frame { max-width: 1200px; width: 100%; }
32
+ /* The SVG holds its readable width (min-width == the viewBox width, so the
33
+ type ramp is never silently scaled down). This wrapper lets a narrow
34
+ screen scroll the diagram instead of the whole page. */
35
+ .diagram-container { width: 100%; overflow-x: auto; }
36
+
37
+ .eyebrow {
38
+ font-family: var(--font-mono);
39
+ font-size: 0.66rem;
40
+ font-weight: 500;
41
+ letter-spacing: 0.18em;
42
+ text-transform: uppercase;
43
+ color: var(--color-muted);
44
+ margin-bottom: 0.5rem;
45
+ }
46
+
47
+ h1 {
48
+ font-family: var(--font-serif);
49
+ font-size: clamp(1.5rem, 2.4vw + 0.75rem, 2rem);
50
+ font-weight: 400;
51
+ letter-spacing: -0.02em;
52
+ line-height: 1.15;
53
+ color: var(--color-ink);
54
+ margin-bottom: 1.5rem;
55
+ }
56
+
57
+ svg { width: 100%; min-width: 960px; display: block; }
58
+ /* Paper has no scrollbar, so the local scroller would clip instead of
59
+ scroll. Let the diagram scale down to the sheet: smaller but whole
60
+ beats sharp but cut off. Must come after the svg rule above - a media
61
+ query adds no specificity, so a later plain rule would win. */
62
+ @media print {
63
+ .diagram-container { overflow-x: visible; }
64
+ svg { min-width: 0; }
65
+ }
66
+ </style>
67
+ </head>
68
+ <body>
69
+ <div class="frame">
70
+ <p class="eyebrow">[Type] · Diagram Design</p>
71
+ <h1>[Diagram title]</h1>
72
+
73
+ <!-- Replace [diagram-slug] with a unique slug for this diagram before export. -->
74
+ <div class="diagram-container">
75
+ <svg viewBox="0 0 960 600" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="[diagram-slug]-title [diagram-slug]-desc">
76
+ <title id="[diagram-slug]-title">[Diagram title]</title>
77
+ <desc id="[diagram-slug]-desc">[One sentence describing what the diagram shows]</desc>
78
+ <defs>
79
+ <marker id="arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#6b5141"/></marker>
80
+ <marker id="arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#a8481c"/></marker>
81
+ <marker id="arrow-link" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#2e5aa8"/></marker>
82
+
83
+ <!-- OPTIONAL: dot-pattern background. Uncomment the <pattern> and the second <rect> below if you want the dotted paper look. -->
84
+ <!--
85
+ <pattern id="dots" width="22" height="22" patternUnits="userSpaceOnUse">
86
+ <circle cx="1" cy="1" r="0.9" fill="rgba(58,42,31,0.10)"/>
87
+ </pattern>
88
+ -->
89
+ </defs>
90
+
91
+ <rect width="100%" height="100%" fill="#faf3e8"/>
92
+ <!-- <rect width="100%" height="100%" fill="url(#dots)" opacity="0.55"/> -->
93
+
94
+ <!-- Draw arrows first, then nodes. Replace with your content. -->
95
+
96
+ </svg>
97
+ </div>
98
+ </div>
99
+ </body>
100
+ </html>
@@ -0,0 +1,103 @@
1
+ # Layout grid, per-type budgets, page layout, and summary cards
2
+
3
+ Routed from SKILL.md §7 and §8. SKILL.md keeps the grid rule in one line, the universal complexity limits, and the split rule. This file holds the full grid table, every per-type budget row, the page layout, and the summary card pattern.
4
+
5
+ ## Layout & Spacing
6
+
7
+ ### 4px grid
8
+
9
+ **Structural geometry, divisible by 4:** node origins, widths, heights, gaps, padding. Off-grid by design: type sizes (role ramp in `references/output-spec.md`), radii, data-derived positions, text baselines, arrow markers, `.5` offsets that keep 1px strokes crisp, stroke widths, opacity, and the 22×22 dot-pattern.
10
+
11
+ | Category | Allowed values |
12
+ |---|---|
13
+ | Node width / height | 80, 96, 112, 120, 128, 140, 144, 160, 180, 200, 240, 320 |
14
+ | Gap between nodes | 20, 24, 32, 40, 48 |
15
+ | Padding inside boxes | 8, 12, 16 |
16
+ | Border radius | 4, 6, 8 |
17
+
18
+ ### Complexity budget (per diagram)
19
+
20
+ These are the per-type limits. The universal rows in SKILL.md §7 (9 nodes, 12 arrows or transitions, 2 coral elements, 2 annotation callouts, and the motion limits) apply to every type on top of these, and a semantic pattern's own budget in [semantic-patterns.md](semantic-patterns.md) can only tighten them. One type is the exception: SBGN replaces the 9 nodes and 12 arrows rows with its own ceiling below, because a process square is a reaction marker rather than a node and every reaction needs its consumption and production arcs. Its other universal rows still apply, and no other type may exceed 9 nodes or 12 arrows by analogy.
21
+
22
+ | Limit | Rule |
23
+ |---|---|
24
+ | Max unique components / relationships / ledger entries (architecture delta) | 8 / 10 / 8 |
25
+ | Max admin bands / traffic scopes / nodes (architecture containment) | 2 / 4 / 8 |
26
+ | Max lifelines (sequence) | 5 |
27
+ | Max combined fragments (sequence) | 1 (default); 2 only if each is single-region `opt`/`loop` |
28
+ | Max `alt` regions (sequence) | 2 |
29
+ | Max fragment nesting (sequence) | 1 |
30
+ | Max lanes (swimlane) | 5 |
31
+ | Max items (quadrant) | 12 |
32
+ | Max entities (ER) | 8 |
33
+ | Max nesting levels (nested) | 6 |
34
+ | Max tree depth | 4 |
35
+ | Max org chart depth | 4 |
36
+ | Max org chart nodes | 12 |
37
+ | Max layers (layer stack) | 6 |
38
+ | Max parts / levels / focal parts (exploded axonometric) | 5 / 5 / 1, three detail levels |
39
+ | Max tagged rooms or buildings / boxes / focal (axonometric plan) | 8 / 40 / 1 |
40
+ | Max circles (venn) | 3 |
41
+ | Max layers (pyramid) | 6 |
42
+ | Max radar axes | 5 |
43
+ | Max radar series | 5 |
44
+ | Max focal radar series | 1 |
45
+ | Max polar categories | 8 |
46
+ | Max polar series | 1 |
47
+ | Max focal polar categories | 1 |
48
+ | Max bars (bar chart) | 8 |
49
+ | Max bars (waterfall) | 8 incl. totals, 1 subtotal |
50
+ | Max cells (treemap) | 8 |
51
+ | Max series (line chart) | 5 |
52
+ | Max tasks (Gantt) | 12 |
53
+ | Max stages (steps) | 7, exactly 1 focal stage |
54
+ | Max points (scatter plot) | 30 |
55
+ | Max series / outliers (box plot) | 8 / 8, 1 focal series |
56
+ | Max stages / nodes / flows (sankey) | 3 / 8 / 12 |
57
+ | Max categories (fishbone) | 6 bones, 3 sub-causes each |
58
+ | Max components / links (wardley) | 9 / 12, 2 movement arrows |
59
+ | Max columns / cards (kanban) | 5 / 12 total, 4 per column |
60
+ | Max stages / rows (user journey) | 6 / 3, 2 pain markers |
61
+ | Max stages / layers (service blueprint) | 6 stages; required customer / frontstage / backstage; optional evidence / support; 1 focal cell |
62
+ | Unit Grid | 100 equal cells; 10 × 10; 4px gutters; 1 count; at most 1 focal completed cell |
63
+ | Max zones / nodes / paths (deployment) | 3 / 6 / 8, 9 artifacts |
64
+ | Max nodes / edges (dependency) | 9 / 14, 4 ranks, 1 cycle |
65
+ | Max nodes / arcs (arc diagram) | 9 / 14, 1 focal arc |
66
+ | Max requirement rows / primary design links / primary verification links (requirement traceability) | 6 / 1 per row / 1 per row, 1 focal row |
67
+ | Max stages / commands / events / read models (event modeling) | 6 / 1 per stage / 1 per stage / 1 per stage, 2 accent uses |
68
+ | Max classes / relationships (UML class) | 7 / 8, 5 members per compartment |
69
+ | Max activities / slices / cards (story map) | 5 / 3 / 12 |
70
+ | Max tables / columns / FKs (db schema) | 5 / 8 shown / 6 |
71
+ | Max macromolecules / processes / compartments / source-sink / arcs (SBGN) | 7 / 6 / 1 / 2 / 16; replaces the 9 nodes and 12 arrows rows |
72
+
73
+ If you exceed, split into two diagrams (overview + detail).
74
+
75
+ ### Page layout
76
+
77
+ 1. **Header** — `eyebrow` role, `title` role, optional subtitle (`node-name` family, `muted`).
78
+ 2. **Diagram container** — default: **clean, borderless**, no background — the SVG sits directly on the page paper. Optional *framed* variant (for card-heavy layouts or hero placements): `paper-2` bg + 1px `rule` border + 8px radius + `1.5rem` padding + `overflow-x: auto`.
79
+ 3. **Summary cards** — 2–3 col grid with *varied* widths (e.g., `1.1fr 1fr 0.9fr`).
80
+ 4. **Footer** — colophon in the `sublabel` role, `muted`, hairline top border.
81
+
82
+ ## Summary Card Pattern
83
+
84
+ Don't use 3 identical generic cards. Vary the treatment:
85
+
86
+ ```html
87
+ <div class="card">
88
+ <p class="eyebrow">SECTION LABEL</p>
89
+ <div class="card-header">
90
+ <span class="card-dot coral"></span>
91
+ <h3>Card Title</h3>
92
+ </div>
93
+ <ul><li>Item</li></ul>
94
+ </div>
95
+ ```
96
+
97
+ Rules:
98
+
99
+ - `background: #ffffff` (not paper — slight lift without shadow)
100
+ - `border: 1px solid` the `rule` color
101
+ - `border-radius: 6px`, `padding: 1.25rem`
102
+ - **No `box-shadow`**
103
+ - Card dots: 7px, `border-radius: 50%` — ink / muted / coral / link / soft variants