chompyy 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +79 -6
- package/THIRD_PARTY_NOTICES.md +28 -0
- package/dist/appstate.js +43 -2
- package/dist/away.js +104 -15
- package/dist/board.js +33 -3
- package/dist/claudesettings.js +23 -0
- package/dist/cli.js +409 -27
- package/dist/coldstart.js +207 -0
- package/dist/config.js +36 -1
- package/dist/costs.js +162 -0
- package/dist/gate.js +29 -0
- package/dist/history.js +308 -0
- package/dist/livequota.js +15 -1
- package/dist/pacing.js +189 -0
- package/dist/picture.js +117 -0
- package/dist/projects.js +2 -2
- package/dist/quota.js +31 -5
- package/dist/report.js +38 -21
- package/dist/review.js +47 -4
- package/dist/runner.js +268 -8
- package/dist/taste.js +507 -0
- package/dist/triggers.js +182 -0
- package/dist/verify.js +131 -0
- package/package.json +2 -1
- package/skills/taste/SKILL.md +4 -1
- package/vendor/diagram-design/LICENSE +21 -0
- package/vendor/diagram-design/SKILL.md +399 -0
- package/vendor/diagram-design/UPSTREAM.md +18 -0
- package/vendor/diagram-design/assets/example-arc-diagram.html +111 -0
- package/vendor/diagram-design/assets/example-architecture-containment.html +205 -0
- package/vendor/diagram-design/assets/example-architecture-delta.html +193 -0
- package/vendor/diagram-design/assets/example-architecture.html +183 -0
- package/vendor/diagram-design/assets/example-axonometric-plan-campus.html +108 -0
- package/vendor/diagram-design/assets/example-axonometric-plan-coffee-shop.html +121 -0
- package/vendor/diagram-design/assets/example-axonometric-plan-warehouse.html +127 -0
- package/vendor/diagram-design/assets/example-axonometric-plan.html +114 -0
- package/vendor/diagram-design/assets/example-bar.html +129 -0
- package/vendor/diagram-design/assets/example-beeswarm.html +384 -0
- package/vendor/diagram-design/assets/example-box-plot.html +127 -0
- package/vendor/diagram-design/assets/example-bubble.html +147 -0
- package/vendor/diagram-design/assets/example-bump.html +142 -0
- package/vendor/diagram-design/assets/example-data-flow.html +143 -0
- package/vendor/diagram-design/assets/example-datalake.html +269 -0
- package/vendor/diagram-design/assets/example-db-schema.html +302 -0
- package/vendor/diagram-design/assets/example-dependency.html +224 -0
- package/vendor/diagram-design/assets/example-deployment.html +190 -0
- package/vendor/diagram-design/assets/example-dp-integration.html +81 -0
- package/vendor/diagram-design/assets/example-dp-security-matrix.html +88 -0
- package/vendor/diagram-design/assets/example-er.html +202 -0
- package/vendor/diagram-design/assets/example-event-modeling.html +64 -0
- package/vendor/diagram-design/assets/example-exploded-ai-stack.html +85 -0
- package/vendor/diagram-design/assets/example-exploded-keyboard.html +84 -0
- package/vendor/diagram-design/assets/example-exploded-phone.html +83 -0
- package/vendor/diagram-design/assets/example-exploded-unboxing.html +84 -0
- package/vendor/diagram-design/assets/example-exploded.html +83 -0
- package/vendor/diagram-design/assets/example-fishbone.html +152 -0
- package/vendor/diagram-design/assets/example-flowchart.html +163 -0
- package/vendor/diagram-design/assets/example-gantt.html +137 -0
- package/vendor/diagram-design/assets/example-heatmap.html +224 -0
- package/vendor/diagram-design/assets/example-high-level-vertical.html +325 -0
- package/vendor/diagram-design/assets/example-high-level.html +301 -0
- package/vendor/diagram-design/assets/example-import-drawio.html +185 -0
- package/vendor/diagram-design/assets/example-import-excalidraw.html +70 -0
- package/vendor/diagram-design/assets/example-import-mermaid.html +70 -0
- package/vendor/diagram-design/assets/example-import-plantuml.html +107 -0
- package/vendor/diagram-design/assets/example-it-state.html +128 -0
- package/vendor/diagram-design/assets/example-journey.html +148 -0
- package/vendor/diagram-design/assets/example-kanban.html +174 -0
- package/vendor/diagram-design/assets/example-layers.html +123 -0
- package/vendor/diagram-design/assets/example-line.html +111 -0
- package/vendor/diagram-design/assets/example-loop.html +100 -0
- package/vendor/diagram-design/assets/example-marimekko.html +148 -0
- package/vendor/diagram-design/assets/example-medallion.html +159 -0
- package/vendor/diagram-design/assets/example-nested.html +136 -0
- package/vendor/diagram-design/assets/example-org-chart.html +45 -0
- package/vendor/diagram-design/assets/example-polar.html +116 -0
- package/vendor/diagram-design/assets/example-process.html +64 -0
- package/vendor/diagram-design/assets/example-pyramid.html +119 -0
- package/vendor/diagram-design/assets/example-quadrant-consultant.html +166 -0
- package/vendor/diagram-design/assets/example-quadrant.html +135 -0
- package/vendor/diagram-design/assets/example-radar.html +139 -0
- package/vendor/diagram-design/assets/example-requirement-traceability.html +122 -0
- package/vendor/diagram-design/assets/example-ridgeline.html +104 -0
- package/vendor/diagram-design/assets/example-sankey.html +150 -0
- package/vendor/diagram-design/assets/example-sbgn.html +213 -0
- package/vendor/diagram-design/assets/example-scatter.html +141 -0
- package/vendor/diagram-design/assets/example-sequence-oauth.html +227 -0
- package/vendor/diagram-design/assets/example-sequence.html +222 -0
- package/vendor/diagram-design/assets/example-service-blueprint.html +185 -0
- package/vendor/diagram-design/assets/example-slopegraph.html +119 -0
- package/vendor/diagram-design/assets/example-state-lifecycle.html +92 -0
- package/vendor/diagram-design/assets/example-state.html +147 -0
- package/vendor/diagram-design/assets/example-steps.html +78 -0
- package/vendor/diagram-design/assets/example-story-map.html +184 -0
- package/vendor/diagram-design/assets/example-streamgraph.html +99 -0
- package/vendor/diagram-design/assets/example-swimlane.html +172 -0
- package/vendor/diagram-design/assets/example-timeline.html +135 -0
- package/vendor/diagram-design/assets/example-tree-block-decomposition.html +151 -0
- package/vendor/diagram-design/assets/example-tree.html +173 -0
- package/vendor/diagram-design/assets/example-treemap.html +107 -0
- package/vendor/diagram-design/assets/example-uml-class.html +188 -0
- package/vendor/diagram-design/assets/example-unit-grid.html +141 -0
- package/vendor/diagram-design/assets/example-venn.html +110 -0
- package/vendor/diagram-design/assets/example-wardley.html +153 -0
- package/vendor/diagram-design/assets/example-waterfall.html +129 -0
- package/vendor/diagram-design/assets/template-dark.html +99 -0
- package/vendor/diagram-design/assets/template.html +100 -0
- package/vendor/diagram-design/references/layout-budget.md +103 -0
- package/vendor/diagram-design/references/output-spec.md +277 -0
- package/vendor/diagram-design/references/primitive-annotation.md +36 -0
- package/vendor/diagram-design/references/primitive-sketchy.md +43 -0
- package/vendor/diagram-design/references/primitives-core.md +146 -0
- package/vendor/diagram-design/references/semantic-patterns.md +154 -0
- package/vendor/diagram-design/references/style-guide.md +234 -0
- package/vendor/diagram-design/references/type-architecture-delta.md +143 -0
- package/vendor/diagram-design/references/type-architecture.md +117 -0
- package/vendor/diagram-design/references/type-axonometric-plan.md +83 -0
- package/vendor/diagram-design/references/type-bar.md +108 -0
- package/vendor/diagram-design/references/type-data-flow.md +371 -0
- package/vendor/diagram-design/references/type-db-schema.md +48 -0
- package/vendor/diagram-design/references/type-dependency.md +113 -0
- package/vendor/diagram-design/references/type-deployment.md +45 -0
- package/vendor/diagram-design/references/type-dp-integration.md +407 -0
- package/vendor/diagram-design/references/type-dp-security-matrix.md +379 -0
- package/vendor/diagram-design/references/type-er.md +25 -0
- package/vendor/diagram-design/references/type-event-modeling.md +36 -0
- package/vendor/diagram-design/references/type-exploded.md +115 -0
- package/vendor/diagram-design/references/type-fishbone.md +75 -0
- package/vendor/diagram-design/references/type-flowchart.md +23 -0
- package/vendor/diagram-design/references/type-gantt.md +45 -0
- package/vendor/diagram-design/references/type-heatmap.md +80 -0
- package/vendor/diagram-design/references/type-high-level.md +470 -0
- package/vendor/diagram-design/references/type-it-state.md +468 -0
- package/vendor/diagram-design/references/type-journey.md +55 -0
- package/vendor/diagram-design/references/type-kanban.md +49 -0
- package/vendor/diagram-design/references/type-layers.md +26 -0
- package/vendor/diagram-design/references/type-line.md +337 -0
- package/vendor/diagram-design/references/type-loop.md +223 -0
- package/vendor/diagram-design/references/type-medallion.md +356 -0
- package/vendor/diagram-design/references/type-nested.md +22 -0
- package/vendor/diagram-design/references/type-org-chart.md +44 -0
- package/vendor/diagram-design/references/type-polar.md +136 -0
- package/vendor/diagram-design/references/type-process.md +490 -0
- package/vendor/diagram-design/references/type-pyramid.md +33 -0
- package/vendor/diagram-design/references/type-quadrant.md +81 -0
- package/vendor/diagram-design/references/type-radar.md +82 -0
- package/vendor/diagram-design/references/type-requirement-traceability.md +45 -0
- package/vendor/diagram-design/references/type-sankey.md +75 -0
- package/vendor/diagram-design/references/type-sbgn.md +80 -0
- package/vendor/diagram-design/references/type-scatter.md +276 -0
- package/vendor/diagram-design/references/type-sequence.md +130 -0
- package/vendor/diagram-design/references/type-service-blueprint.md +103 -0
- package/vendor/diagram-design/references/type-state.md +30 -0
- package/vendor/diagram-design/references/type-steps.md +180 -0
- package/vendor/diagram-design/references/type-story-map.md +46 -0
- package/vendor/diagram-design/references/type-swimlane.md +22 -0
- package/vendor/diagram-design/references/type-timeline.md +20 -0
- package/vendor/diagram-design/references/type-tree.md +24 -0
- package/vendor/diagram-design/references/type-treemap.md +137 -0
- package/vendor/diagram-design/references/type-uml-class.md +65 -0
- package/vendor/diagram-design/references/type-unit-grid.md +63 -0
- package/vendor/diagram-design/references/type-venn.md +26 -0
- package/vendor/diagram-design/references/type-wardley.md +39 -0
- package/vendor/diagram-design/references/type-waterfall.md +75 -0
- package/vendor/diagram-design/scripts/self_check.py +1177 -0
- package/vendor/diagram-design/scripts/verify_geometry.py +696 -0
|
@@ -0,0 +1,70 @@
|
|
|
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>Imported from Mermaid — Request validation</title>
|
|
7
|
+
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
8
|
+
<style>
|
|
9
|
+
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
10
|
+
:root { --paper:#f5f5f5; --ink:#2d3142; --muted:#4f5d75; --soft:#5a6580; --accent:#bf4520; }
|
|
11
|
+
body { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:48px 32px; background:var(--paper); color:var(--ink); font-family:'Geist',system-ui,sans-serif; }
|
|
12
|
+
.frame { width:100%; max-width:1200px; }
|
|
13
|
+
.eyebrow { margin-bottom:8px; color:var(--muted); font:500 8px 'Geist Mono',monospace; letter-spacing:.14em; text-transform:uppercase; }
|
|
14
|
+
h1 { margin-bottom:24px; font:400 28px/1.15 'Instrument Serif',serif; }
|
|
15
|
+
svg { display:block; width:100%; min-width:900px; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
<main class="frame">
|
|
20
|
+
<p class="eyebrow">Flowchart · Imported from Mermaid · doc-inline · balanced</p>
|
|
21
|
+
<h1>Request validation and order storage</h1>
|
|
22
|
+
<svg viewBox="0 0 960 600" role="img" aria-labelledby="import-mermaid-title import-mermaid-desc" xmlns="http://www.w3.org/2000/svg">
|
|
23
|
+
<title id="import-mermaid-title">Request validation flow</title>
|
|
24
|
+
<desc id="import-mermaid-desc">Web and mobile requests enter an API gateway, pass a token decision, and reach an order service and Postgres.</desc>
|
|
25
|
+
<defs>
|
|
26
|
+
<marker id="arrow" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path d="M0,0 L8,4 L0,8 Z" fill="#4f5d75"/></marker>
|
|
27
|
+
<marker id="arrow-accent" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path d="M0,0 L8,4 L0,8 Z" fill="#bf4520"/></marker>
|
|
28
|
+
</defs>
|
|
29
|
+
<rect width="960" height="600" fill="#f5f5f5"/>
|
|
30
|
+
|
|
31
|
+
<rect x="40" y="80" width="200" height="336" rx="8" fill="none" stroke="rgba(45,49,66,0.12)"/>
|
|
32
|
+
<text x="56" y="104" fill="#5a6580" font-size="8" font-family="'Geist Mono',monospace" letter-spacing=".14em">EDGE</text>
|
|
33
|
+
<rect x="288" y="80" width="632" height="336" rx="8" fill="none" stroke="rgba(45,49,66,0.12)"/>
|
|
34
|
+
<text x="304" y="104" fill="#5a6580" font-size="8" font-family="'Geist Mono',monospace" letter-spacing=".14em">CORE SERVICES</text>
|
|
35
|
+
|
|
36
|
+
<!-- Connectors precede nodes. -->
|
|
37
|
+
<path d="M208,168 H328" fill="none" stroke="#4f5d75" stroke-width="1.2" marker-end="url(#arrow)"/>
|
|
38
|
+
<path d="M208,296 H264 A8,8 0 0 0 272,288 V200 A8,8 0 0 1 280,192 H328" fill="none" stroke="#4f5d75" stroke-width="1.2" marker-end="url(#arrow)"/>
|
|
39
|
+
<path d="M488,192 H568" fill="none" stroke="#bf4520" stroke-width="1.2" marker-end="url(#arrow-accent)"/>
|
|
40
|
+
<path d="M696,192 H744 A8,8 0 0 1 752,200 V272" fill="none" stroke="#4f5d75" stroke-width="1.2" marker-end="url(#arrow)"/>
|
|
41
|
+
<path d="M632,256 V336 A8,8 0 0 1 624,344 H488 A8,8 0 0 1 480,336 V232" fill="none" stroke="#4f5d75" stroke-width="1.2" marker-end="url(#arrow)"/>
|
|
42
|
+
<path d="M408,160 V136 A8,8 0 0 1 416,128 H504 A8,8 0 0 1 512,136 V168 A8,8 0 0 1 504,176 H488" fill="none" stroke="#4f5d75" stroke-width="1.2" stroke-dasharray="4,4" marker-end="url(#arrow)"/>
|
|
43
|
+
<path d="M752,336 V352 A8,8 0 0 1 744,360 H696 A8,8 0 0 0 688,368 V384" fill="none" stroke="#4f5d75" stroke-width="1.2" marker-end="url(#arrow)"/>
|
|
44
|
+
|
|
45
|
+
<rect x="240" y="148" width="56" height="12" rx="2" fill="#f5f5f5"/><text x="268" y="156" fill="#5a6580" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">REQUEST</text>
|
|
46
|
+
<rect x="220" y="276" width="56" height="12" rx="2" fill="#f5f5f5"/><text x="248" y="284" fill="#5a6580" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">REQUEST</text>
|
|
47
|
+
<rect x="504" y="172" width="48" height="12" rx="2" fill="#f5f5f5"/><text x="528" y="180" fill="#bf4520" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">VERIFY</text>
|
|
48
|
+
<rect x="708" y="172" width="32" height="12" rx="2" fill="#f5f5f5"/><text x="724" y="180" fill="#5a6580" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">YES</text>
|
|
49
|
+
<rect x="544" y="324" width="32" height="12" rx="2" fill="#f5f5f5"/><text x="560" y="332" fill="#5a6580" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">NO</text>
|
|
50
|
+
<rect x="432" y="108" width="48" height="12" rx="2" fill="#f5f5f5"/><text x="456" y="116" fill="#5a6580" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">RETRY</text>
|
|
51
|
+
<rect x="696" y="340" width="48" height="12" rx="2" fill="#f5f5f5"/><text x="720" y="348" fill="#5a6580" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">WRITES</text>
|
|
52
|
+
|
|
53
|
+
<rect x="64" y="140" width="144" height="56" rx="6" fill="rgba(79,93,117,0.10)" stroke="#5a6580"/><text x="136" y="172" fill="#2d3142" font-size="12" font-family="'Geist',sans-serif" font-weight="600" text-anchor="middle">Web App</text>
|
|
54
|
+
<rect x="64" y="268" width="144" height="56" rx="8" fill="rgba(79,93,117,0.10)" stroke="#5a6580"/><text x="136" y="300" fill="#2d3142" font-size="12" font-family="'Geist',sans-serif" font-weight="600" text-anchor="middle">Mobile App</text>
|
|
55
|
+
<rect x="328" y="160" width="160" height="64" rx="8" fill="rgba(191,69,32,0.08)" stroke="#bf4520"/><text x="408" y="188" fill="#2d3142" font-size="12" font-family="'Geist',sans-serif" font-weight="600" text-anchor="middle">API Gateway</text><text x="408" y="204" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">single entry</text>
|
|
56
|
+
<polygon points="632,128 696,192 632,256 568,192" fill="#ffffff" stroke="#2d3142"/><text x="632" y="188" fill="#2d3142" font-size="12" font-family="'Geist',sans-serif" font-weight="600" text-anchor="middle">Token</text><text x="632" y="204" fill="#2d3142" font-size="12" font-family="'Geist',sans-serif" font-weight="600" text-anchor="middle">valid?</text>
|
|
57
|
+
<rect x="744" y="272" width="160" height="64" rx="6" fill="#ffffff" stroke="#2d3142"/><text x="824" y="300" fill="#2d3142" font-size="12" font-family="'Geist',sans-serif" font-weight="600" text-anchor="middle">Orders Service</text><text x="824" y="316" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">order write</text>
|
|
58
|
+
<rect x="608" y="384" width="160" height="56" rx="6" fill="rgba(45,49,66,0.05)" stroke="#4f5d75"/><text x="688" y="408" fill="#2d3142" font-size="12" font-family="'Geist',sans-serif" font-weight="600" text-anchor="middle">Postgres</text><text x="688" y="424" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">orders</text>
|
|
59
|
+
|
|
60
|
+
<line x1="40" y1="504" x2="920" y2="504" stroke="rgba(45,49,66,0.10)" stroke-width="0.8"/>
|
|
61
|
+
<text x="40" y="528" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" letter-spacing=".14em">LEGEND</text>
|
|
62
|
+
<rect x="128" y="516" width="16" height="12" rx="2" fill="rgba(191,69,32,0.08)" stroke="#bf4520"/><text x="152" y="528" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace">FOCAL</text>
|
|
63
|
+
<polygon points="248,516 256,522 248,528 240,522" fill="#ffffff" stroke="#2d3142"/><text x="268" y="528" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace">DECISION</text>
|
|
64
|
+
<rect x="376" y="516" width="16" height="12" rx="2" fill="rgba(45,49,66,0.05)" stroke="#4f5d75"/><text x="400" y="528" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace">STORE</text>
|
|
65
|
+
<rect x="472" y="516" width="16" height="12" rx="2" fill="rgba(79,93,117,0.10)" stroke="#5a6580"/><text x="496" y="528" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace">INPUT</text>
|
|
66
|
+
<rect x="568" y="516" width="16" height="12" rx="2" fill="#ffffff" stroke="#2d3142"/><text x="592" y="528" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace">SERVICE</text>
|
|
67
|
+
</svg>
|
|
68
|
+
</main>
|
|
69
|
+
</body>
|
|
70
|
+
</html>
|
|
@@ -0,0 +1,107 @@
|
|
|
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>Imported from PlantUML — Token refresh</title>
|
|
7
|
+
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
8
|
+
<style>
|
|
9
|
+
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
10
|
+
:root { --paper:#f5f5f5; --ink:#2d3142; --muted:#4f5d75; --soft:#5a6580; --accent:#bf4520; }
|
|
11
|
+
body { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:48px 32px; background:var(--paper); color:var(--ink); font-family:'Geist',system-ui,sans-serif; }
|
|
12
|
+
.frame { width:100%; max-width:1200px; min-width:0; }
|
|
13
|
+
.diagram-container { width:100%; overflow-x:auto; }
|
|
14
|
+
.eyebrow { margin-bottom:8px; color:var(--muted); font:500 8px 'Geist Mono',monospace; letter-spacing:.14em; text-transform:uppercase; }
|
|
15
|
+
h1 { margin-bottom:24px; font:400 28px/1.15 'Instrument Serif',serif; }
|
|
16
|
+
svg { display:block; width:100%; min-width:960px; }
|
|
17
|
+
</style>
|
|
18
|
+
</head>
|
|
19
|
+
<body>
|
|
20
|
+
<main class="frame">
|
|
21
|
+
<p class="eyebrow">Sequence · Imported from PlantUML · doc-inline · balanced</p>
|
|
22
|
+
<h1>Token refresh on a bearer call</h1>
|
|
23
|
+
<div class="diagram-container">
|
|
24
|
+
<svg viewBox="0 0 960 600" role="img" aria-labelledby="import-plantuml-title import-plantuml-desc" xmlns="http://www.w3.org/2000/svg">
|
|
25
|
+
<title id="import-plantuml-title">Token refresh on a bearer call</title>
|
|
26
|
+
<desc id="import-plantuml-desc">Client calls a resource API, then an alt fragment shows either a valid body or a 401 path that refreshes via Auth and retries. A note on the API says to keep the cache cold.</desc>
|
|
27
|
+
<defs>
|
|
28
|
+
<marker id="arrow" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path d="M0,0 L8,4 L0,8 Z" fill="#4f5d75"/></marker>
|
|
29
|
+
<marker id="arrow-accent" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path d="M0,0 L8,4 L0,8 Z" fill="#bf4520"/></marker>
|
|
30
|
+
<marker id="arrow-link" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto"><path d="M0,0 L8,4 L0,8 Z" fill="#2e5aa8"/></marker>
|
|
31
|
+
</defs>
|
|
32
|
+
<rect width="960" height="600" fill="#f5f5f5"/>
|
|
33
|
+
|
|
34
|
+
<line x1="160" y1="112" x2="160" y2="508" stroke="rgba(45,49,66,0.22)" stroke-width="1" stroke-dasharray="3,3"/>
|
|
35
|
+
<line x1="480" y1="112" x2="480" y2="508" stroke="rgba(45,49,66,0.22)" stroke-width="1" stroke-dasharray="3,3"/>
|
|
36
|
+
<line x1="800" y1="112" x2="800" y2="508" stroke="rgba(45,49,66,0.22)" stroke-width="1" stroke-dasharray="3,3"/>
|
|
37
|
+
|
|
38
|
+
<rect x="476" y="140" width="8" height="48" fill="rgba(45,49,66,0.06)" stroke="#4f5d75" stroke-width="0.8"/>
|
|
39
|
+
<rect x="796" y="276" width="8" height="48" fill="rgba(45,49,66,0.06)" stroke="#4f5d75" stroke-width="0.8"/>
|
|
40
|
+
<rect x="476" y="348" width="8" height="48" fill="rgba(45,49,66,0.06)" stroke="#4f5d75" stroke-width="0.8"/>
|
|
41
|
+
|
|
42
|
+
<line x1="160" y1="136" x2="476" y2="136" stroke="#2e5aa8" stroke-width="1.2" marker-end="url(#arrow-link)"/>
|
|
43
|
+
<line x1="476" y1="172" x2="168" y2="172" stroke="#4f5d75" stroke-width="1.2" stroke-dasharray="5,4" marker-end="url(#arrow)"/>
|
|
44
|
+
|
|
45
|
+
<rect x="88" y="200" width="784" height="276" rx="4" fill="rgba(45,49,66,0.02)" stroke="rgba(45,49,66,0.22)"/>
|
|
46
|
+
<rect x="88" y="200" width="40" height="16" rx="2" fill="#f5f5f5" stroke="rgba(45,49,66,0.22)"/>
|
|
47
|
+
<text x="108" y="212" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".12em">ALT</text>
|
|
48
|
+
<text x="140" y="232" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace">[token expired]</text>
|
|
49
|
+
|
|
50
|
+
<line x1="476" y1="252" x2="168" y2="252" stroke="#4f5d75" stroke-width="1.2" stroke-dasharray="5,4" marker-end="url(#arrow)"/>
|
|
51
|
+
<line x1="160" y1="288" x2="796" y2="288" stroke="#2e5aa8" stroke-width="1.2" marker-end="url(#arrow-link)"/>
|
|
52
|
+
<line x1="796" y1="324" x2="168" y2="324" stroke="#4f5d75" stroke-width="1.2" stroke-dasharray="5,4" marker-end="url(#arrow)"/>
|
|
53
|
+
<line x1="160" y1="360" x2="476" y2="360" stroke="#2e5aa8" stroke-width="1.2" marker-end="url(#arrow-link)"/>
|
|
54
|
+
<line x1="476" y1="396" x2="168" y2="396" stroke="#bf4520" stroke-width="1.4" marker-end="url(#arrow-accent)"/>
|
|
55
|
+
|
|
56
|
+
<line x1="96" y1="420" x2="864" y2="420" stroke="rgba(45,49,66,0.20)" stroke-width="1" stroke-dasharray="4,3"/>
|
|
57
|
+
<text x="140" y="440" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace">[else · token valid]</text>
|
|
58
|
+
<line x1="476" y1="456" x2="168" y2="456" stroke="#4f5d75" stroke-width="1.2" stroke-dasharray="5,4" marker-end="url(#arrow)"/>
|
|
59
|
+
|
|
60
|
+
<rect x="496" y="482" width="128" height="18" rx="2" fill="#f5f5f5" stroke="rgba(45,49,66,0.22)"/>
|
|
61
|
+
<text x="560" y="494" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">keep the cache cold</text>
|
|
62
|
+
|
|
63
|
+
<rect x="248" y="120" width="112" height="12" rx="2" fill="#f5f5f5"/><text x="304" y="130" fill="#2e5aa8" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">GET /ORDERS</text>
|
|
64
|
+
<rect x="264" y="156" width="80" height="12" rx="2" fill="#f5f5f5"/><text x="304" y="166" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">200 · BODY</text>
|
|
65
|
+
<rect x="276" y="236" width="40" height="12" rx="2" fill="#f5f5f5"/><text x="296" y="246" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">401</text>
|
|
66
|
+
<rect x="408" y="272" width="96" height="12" rx="2" fill="#f5f5f5"/><text x="456" y="282" fill="#2e5aa8" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">POST /TOKEN</text>
|
|
67
|
+
<rect x="408" y="308" width="96" height="12" rx="2" fill="#f5f5f5"/><text x="456" y="318" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">200 · ACCESS</text>
|
|
68
|
+
<rect x="240" y="344" width="128" height="12" rx="2" fill="#f5f5f5"/><text x="304" y="354" fill="#2e5aa8" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">GET /ORDERS · RETRY</text>
|
|
69
|
+
<rect x="248" y="380" width="112" height="12" rx="2" fill="#f5f5f5"/><text x="304" y="390" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">200 · BODY</text>
|
|
70
|
+
<rect x="264" y="440" width="80" height="12" rx="2" fill="#f5f5f5"/><text x="304" y="450" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">200 · BODY</text>
|
|
71
|
+
|
|
72
|
+
<rect x="88" y="48" width="144" height="56" rx="6" fill="rgba(79,93,117,0.10)" stroke="#5a6580"/>
|
|
73
|
+
<rect x="96" y="56" width="32" height="12" rx="2" fill="transparent" stroke="rgba(90,101,128,0.40)"/>
|
|
74
|
+
<text x="112" y="65" fill="#5a6580" font-size="7" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">APP</text>
|
|
75
|
+
<text x="160" y="80" fill="#2d3142" font-size="12" font-family="'Geist',sans-serif" font-weight="600" text-anchor="middle">Client</text>
|
|
76
|
+
<text x="160" y="94" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">SPA · SDK</text>
|
|
77
|
+
|
|
78
|
+
<rect x="408" y="48" width="144" height="56" rx="6" fill="#ffffff" stroke="#2d3142"/>
|
|
79
|
+
<rect x="416" y="56" width="32" height="12" rx="2" fill="transparent" stroke="rgba(45,49,66,0.30)"/>
|
|
80
|
+
<text x="432" y="65" fill="#4f5d75" font-size="7" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">API</text>
|
|
81
|
+
<text x="480" y="80" fill="#2d3142" font-size="12" font-family="'Geist',sans-serif" font-weight="600" text-anchor="middle">Resource API</text>
|
|
82
|
+
<text x="480" y="94" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">Bearer gate</text>
|
|
83
|
+
|
|
84
|
+
<rect x="728" y="48" width="144" height="56" rx="6" fill="#ffffff" stroke="#2d3142"/>
|
|
85
|
+
<rect x="736" y="56" width="36" height="12" rx="2" fill="transparent" stroke="rgba(45,49,66,0.30)"/>
|
|
86
|
+
<text x="754" y="65" fill="#4f5d75" font-size="7" font-family="'Geist Mono',monospace" text-anchor="middle" letter-spacing=".08em">AUTH</text>
|
|
87
|
+
<text x="800" y="80" fill="#2d3142" font-size="12" font-family="'Geist',sans-serif" font-weight="600" text-anchor="middle">Auth Service</text>
|
|
88
|
+
<text x="800" y="94" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" text-anchor="middle">token · refresh</text>
|
|
89
|
+
|
|
90
|
+
<line x1="56" y1="520" x2="904" y2="520" stroke="rgba(45,49,66,0.10)" stroke-width="0.8"/>
|
|
91
|
+
<text x="56" y="540" fill="#4f5d75" font-size="8" font-family="'Geist Mono',monospace" letter-spacing=".14em">LEGEND</text>
|
|
92
|
+
<rect x="128" y="548" width="28" height="16" rx="2" fill="rgba(45,49,66,0.02)" stroke="rgba(45,49,66,0.22)"/>
|
|
93
|
+
<text x="142" y="559" fill="#4f5d75" font-size="7" font-family="'Geist Mono',monospace" text-anchor="middle">ALT</text>
|
|
94
|
+
<text x="164" y="560" fill="#4f5d75" font-size="8" font-family="'Geist',sans-serif">Fragment</text>
|
|
95
|
+
<rect x="248" y="552" width="4" height="16" fill="rgba(45,49,66,0.06)" stroke="#4f5d75" stroke-width="0.8"/>
|
|
96
|
+
<text x="260" y="564" fill="#4f5d75" font-size="8" font-family="'Geist',sans-serif">Activation</text>
|
|
97
|
+
<line x1="360" y1="560" x2="388" y2="560" stroke="#2e5aa8" stroke-width="1.2" marker-end="url(#arrow-link)"/>
|
|
98
|
+
<text x="396" y="564" fill="#4f5d75" font-size="8" font-family="'Geist',sans-serif">HTTP call</text>
|
|
99
|
+
<line x1="492" y1="560" x2="520" y2="560" stroke="#4f5d75" stroke-width="1.2" stroke-dasharray="5,4" marker-end="url(#arrow)"/>
|
|
100
|
+
<text x="528" y="564" fill="#4f5d75" font-size="8" font-family="'Geist',sans-serif">Return</text>
|
|
101
|
+
<line x1="608" y1="560" x2="636" y2="560" stroke="#bf4520" stroke-width="1.4" marker-end="url(#arrow-accent)"/>
|
|
102
|
+
<text x="644" y="564" fill="#4f5d75" font-size="8" font-family="'Geist',sans-serif">Retry success</text>
|
|
103
|
+
</svg>
|
|
104
|
+
</div>
|
|
105
|
+
</main>
|
|
106
|
+
</body>
|
|
107
|
+
</html>
|
|
@@ -0,0 +1,128 @@
|
|
|
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>Northwind Retail · Current IT Landscape</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
|
+
--paper: #f5f5f5; --paper-2: #ececec; --ink: #2d3142;
|
|
12
|
+
--muted: #4f5d75; --soft: #5a6580; --rule: rgba(45,49,66,0.12);
|
|
13
|
+
--accent: #bf4520; --link: #2e5aa8;
|
|
14
|
+
--sans: 'Geist', system-ui, sans-serif;
|
|
15
|
+
--serif: 'Instrument Serif', serif;
|
|
16
|
+
--mono: 'Geist Mono', ui-monospace, monospace;
|
|
17
|
+
}
|
|
18
|
+
body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 3rem 2rem; background: var(--paper); color: var(--ink); font-family: var(--sans); }
|
|
19
|
+
.frame { width: 100%; max-width: 1200px; }
|
|
20
|
+
.eyebrow { margin-bottom: 0.5rem; color: var(--muted); font: 500 0.66rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; }
|
|
21
|
+
h1 { margin-bottom: 0.35rem; color: var(--ink); font: 400 clamp(1.5rem, 2.4vw + 0.75rem, 2rem)/1.15 var(--serif); letter-spacing: -0.02em; }
|
|
22
|
+
.subtitle { margin-bottom: 1.5rem; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
|
|
23
|
+
.diagram { overflow-x: auto; }
|
|
24
|
+
svg { display: block; width: 100%; min-width: 920px; }
|
|
25
|
+
svg .zone { fill: rgba(45,49,66,0.02); stroke: rgba(45,49,66,0.10); stroke-width: 0.8; }
|
|
26
|
+
svg .zone-mask, svg .node-mask, svg .label-mask { fill: #f5f5f5; }
|
|
27
|
+
svg .zone-label, svg .arrow-label, svg .legend-label { font-family: 'Geist Mono', monospace; }
|
|
28
|
+
svg .zone-label { fill: rgba(45,49,66,0.40); font-size: 8px; letter-spacing: 0.14em; }
|
|
29
|
+
svg .node { fill: #fff; stroke: #2d3142; stroke-width: 1; }
|
|
30
|
+
svg .node.external { stroke: #4f5d75; stroke-dasharray: 4 3; }
|
|
31
|
+
svg .node.focal { fill: rgba(191,69,32,0.07); stroke: #bf4520; stroke-width: 1.4; }
|
|
32
|
+
svg .node.survivor { fill: rgba(124,143,111,0.06); stroke: rgba(124,143,111,0.45); }
|
|
33
|
+
svg .node-name { fill: #2d3142; font: 600 12px 'Geist', sans-serif; }
|
|
34
|
+
svg .node-name.survivor { fill: #7c8f6f; }
|
|
35
|
+
svg .sub { fill: #4f5d75; font: 400 10px 'Geist Mono', monospace; }
|
|
36
|
+
svg .sub.focal { fill: #bf4520; }
|
|
37
|
+
svg .arrow-label { font-size: 8px; font-weight: 600; letter-spacing: 0.08em; }
|
|
38
|
+
svg .legend-label { fill: #4f5d75; font-size: 8px; }
|
|
39
|
+
</style>
|
|
40
|
+
</head>
|
|
41
|
+
<body>
|
|
42
|
+
<main class="frame">
|
|
43
|
+
<p class="eyebrow">IT current-state · Northwind Retail</p>
|
|
44
|
+
<h1>Legacy retail reporting landscape</h1>
|
|
45
|
+
<p class="subtitle">File exports, desktop spreadsheets, and manual publication before a shared data platform.</p>
|
|
46
|
+
<div class="diagram">
|
|
47
|
+
<svg viewBox="0 0 960 500" role="img" aria-labelledby="it-state-title it-state-desc" xmlns="http://www.w3.org/2000/svg">
|
|
48
|
+
<title id="it-state-title">Northwind Retail current IT landscape</title>
|
|
49
|
+
<desc id="it-state-desc">Three zones show collection, processing, and dissemination through manual file handoffs.</desc>
|
|
50
|
+
<defs>
|
|
51
|
+
<marker id="arrow" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#4f5d75"/></marker>
|
|
52
|
+
<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>
|
|
53
|
+
<marker id="arrow-accent" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto"><polygon points="0 0, 8 3, 0 6" fill="#bf4520"/></marker>
|
|
54
|
+
<symbol id="icon-file" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M14 3v4a1 1 0 0 0 1 1h4"/><path d="M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2"/></symbol>
|
|
55
|
+
<symbol id="icon-screen" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="12" rx="1"/><path d="M7 20h10M9 16v4M15 16v4"/></symbol>
|
|
56
|
+
<symbol id="icon-db" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><ellipse cx="12" cy="6" rx="8" ry="3"/><path d="M4 6v6c0 1.7 3.6 3 8 3s8-1.3 8-3V6M4 12v6c0 1.7 3.6 3 8 3s8-1.3 8-3v-6"/></symbol>
|
|
57
|
+
<symbol id="icon-users" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><circle cx="9" cy="8" r="4"/><path d="M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2M16 4.5a4 4 0 0 1 0 7M18 15a4 4 0 0 1 3 4v2"/></symbol>
|
|
58
|
+
</defs>
|
|
59
|
+
|
|
60
|
+
<rect width="960" height="500" fill="#f5f5f5"/>
|
|
61
|
+
|
|
62
|
+
<!-- Phase zones -->
|
|
63
|
+
<rect class="zone" x="16" y="52" width="256" height="360" rx="8"/>
|
|
64
|
+
<rect class="zone-mask" x="36" y="44" width="92" height="16"/>
|
|
65
|
+
<text class="zone-label" x="40" y="56">COLLECTION</text>
|
|
66
|
+
<rect class="zone" x="292" y="52" width="360" height="360" rx="8"/>
|
|
67
|
+
<rect class="zone-mask" x="312" y="44" width="92" height="16"/>
|
|
68
|
+
<text class="zone-label" x="316" y="56">PROCESSING</text>
|
|
69
|
+
<rect class="zone" x="672" y="52" width="272" height="360" rx="8"/>
|
|
70
|
+
<rect class="zone-mask" x="692" y="44" width="116" height="16"/>
|
|
71
|
+
<text class="zone-label" x="696" y="56">DISSEMINATION</text>
|
|
72
|
+
|
|
73
|
+
<!-- Connectors first; Shared Drive entries fan to y=108,124,140 -->
|
|
74
|
+
<path d="M 252,108 H 340" fill="none" stroke="#2e5aa8" stroke-width="1.2" marker-end="url(#arrow-link)"/>
|
|
75
|
+
<path d="M 252,196 H 308 Q 316,196 316,188 V 132 Q 316,124 324,124 H 340" fill="none" stroke="#2e5aa8" stroke-width="1.2" marker-end="url(#arrow-link)"/>
|
|
76
|
+
<path d="M 252,284 H 324 Q 332,284 332,276 V 148 Q 332,140 340,140" fill="none" stroke="#2e5aa8" stroke-width="1.2" stroke-dasharray="4 3" marker-end="url(#arrow-link)"/>
|
|
77
|
+
<line x1="472" y1="148" x2="472" y2="232" stroke="#bf4520" stroke-width="1.4" stroke-dasharray="4 3" marker-end="url(#arrow-accent)"/>
|
|
78
|
+
<line x1="472" y1="304" x2="472" y2="344" stroke="#4f5d75" stroke-width="1" marker-end="url(#arrow)"/>
|
|
79
|
+
<path d="M 604,268 H 654 Q 662,268 662,260 V 72 Q 662,64 670,64 H 800 Q 808,64 808,72 V 80" fill="none" stroke="#bf4520" stroke-width="1.4" marker-end="url(#arrow-accent)"/>
|
|
80
|
+
<line x1="808" y1="140" x2="808" y2="216" stroke="#2e5aa8" stroke-width="1.2" marker-end="url(#arrow-link)"/>
|
|
81
|
+
<line x1="808" y1="272" x2="808" y2="344" stroke="#2e5aa8" stroke-width="1.2" stroke-dasharray="4 3" marker-end="url(#arrow-link)"/>
|
|
82
|
+
|
|
83
|
+
<!-- Collection -->
|
|
84
|
+
<rect class="node-mask" x="36" y="80" width="216" height="56" rx="6"/><rect class="node" x="36" y="80" width="216" height="56" rx="6"/>
|
|
85
|
+
<use href="#icon-file" x="48" y="96" width="24" height="24" color="#2d3142"/><text class="node-name" x="80" y="106">Point-of-Sale Exports</text><text class="sub" x="80" y="122">nightly · CSV</text>
|
|
86
|
+
<rect class="node-mask" x="36" y="168" width="216" height="56" rx="6"/><rect class="node" x="36" y="168" width="216" height="56" rx="6"/>
|
|
87
|
+
<use href="#icon-file" x="48" y="184" width="24" height="24" color="#2d3142"/><text class="node-name" x="80" y="194">Online Store Export</text><text class="sub" x="80" y="210">orders · flat file</text>
|
|
88
|
+
<rect class="node-mask" x="36" y="256" width="216" height="56" rx="6"/><rect class="node external" x="36" y="256" width="216" height="56" rx="6"/>
|
|
89
|
+
<use href="#icon-file" x="48" y="272" width="24" height="24" color="#4f5d75"/><text class="node-name" x="80" y="282">Supplier Price Lists</text><text class="sub" x="80" y="298">external · XLSX</text>
|
|
90
|
+
|
|
91
|
+
<!-- Processing -->
|
|
92
|
+
<rect class="node-mask" x="340" y="80" width="264" height="68" rx="6"/><rect class="node focal" x="340" y="80" width="264" height="68" rx="6"/>
|
|
93
|
+
<use href="#icon-file" x="352" y="100" width="24" height="24" color="#bf4520"/><text class="node-name" x="384" y="108">Shared Drive</text><text class="sub focal" x="384" y="124">no version control</text><text class="sub" x="384" y="140">department folders</text>
|
|
94
|
+
<rect class="node-mask" x="340" y="232" width="264" height="72" rx="6"/><rect class="node" x="340" y="232" width="264" height="72" rx="6"/>
|
|
95
|
+
<use href="#icon-screen" x="352" y="256" width="24" height="24" color="#2d3142"/><text class="node-name" x="384" y="262">Spreadsheet Handoffs</text><text class="sub" x="384" y="278">local workbooks · macros</text><text class="sub" x="384" y="292">manual reconciliation</text>
|
|
96
|
+
<rect class="node-mask" x="340" y="344" width="264" height="56" rx="6"/><rect class="node survivor" x="340" y="344" width="264" height="56" rx="6"/>
|
|
97
|
+
<use href="#icon-db" x="352" y="360" width="24" height="24" color="#7c8f6f"/><text class="node-name survivor" x="384" y="370">On-prem RDBMS</text><text class="sub" x="384" y="386">inventory · finance</text>
|
|
98
|
+
|
|
99
|
+
<!-- Dissemination -->
|
|
100
|
+
<rect class="node-mask" x="704" y="80" width="208" height="60" rx="6"/><rect class="node focal" x="704" y="80" width="208" height="60" rx="6"/>
|
|
101
|
+
<use href="#icon-screen" x="716" y="100" width="24" height="24" color="#bf4520"/><text class="node-name" x="748" y="108">Reporting Portal</text><text class="sub focal" x="748" y="124">manual refresh</text>
|
|
102
|
+
<rect class="node-mask" x="704" y="216" width="208" height="56" rx="6"/><rect class="node" x="704" y="216" width="208" height="56" rx="6"/>
|
|
103
|
+
<use href="#icon-file" x="716" y="232" width="24" height="24" color="#2d3142"/><text class="node-name" x="748" y="242">Email Report Packs</text><text class="sub" x="748" y="258">weekly · PDF</text>
|
|
104
|
+
<rect class="node-mask" x="704" y="344" width="208" height="56" rx="6"/><rect class="node external" x="704" y="344" width="208" height="56" rx="6"/>
|
|
105
|
+
<use href="#icon-users" x="716" y="360" width="24" height="24" color="#4f5d75"/><text class="node-name" x="748" y="370">Regional Managers</text><text class="sub" x="748" y="386">12 store regions</text>
|
|
106
|
+
|
|
107
|
+
<!-- Labels are source-bound with a 6px perpendicular gap -->
|
|
108
|
+
<rect class="label-mask" x="260" y="86" width="40" height="16" rx="2"/><text class="arrow-label" x="280" y="98" text-anchor="middle" fill="#2e5aa8">CSV</text>
|
|
109
|
+
<rect class="label-mask" x="260" y="174" width="52" height="16" rx="2"/><text class="arrow-label" x="286" y="186" text-anchor="middle" fill="#2e5aa8">EXPORT</text>
|
|
110
|
+
<rect class="label-mask" x="260" y="262" width="44" height="16" rx="2"/><text class="arrow-label" x="282" y="274" text-anchor="middle" fill="#2e5aa8">XLSX</text>
|
|
111
|
+
<rect class="label-mask" x="478" y="156" width="40" height="16" rx="2"/><text class="arrow-label" x="498" y="168" text-anchor="middle" fill="#bf4520">COPY</text>
|
|
112
|
+
<rect class="label-mask" x="478" y="312" width="40" height="16" rx="2"/><text class="arrow-label" x="498" y="324" text-anchor="middle" fill="#4f5d75">LOAD</text>
|
|
113
|
+
<rect class="label-mask" x="612" y="246" width="44" height="16" rx="2"/><text class="arrow-label" x="634" y="258" text-anchor="middle" fill="#bf4520">XLSX</text>
|
|
114
|
+
<rect class="label-mask" x="814" y="148" width="36" height="16" rx="2"/><text class="arrow-label" x="832" y="160" text-anchor="middle" fill="#2e5aa8">PDF</text>
|
|
115
|
+
<rect class="label-mask" x="814" y="280" width="48" height="16" rx="2"/><text class="arrow-label" x="838" y="292" text-anchor="middle" fill="#2e5aa8">EMAIL</text>
|
|
116
|
+
|
|
117
|
+
<!-- Legend strip -->
|
|
118
|
+
<line x1="16" y1="440" x2="944" y2="440" stroke="rgba(45,49,66,0.12)" stroke-width="0.8"/>
|
|
119
|
+
<text class="legend-label" x="16" y="460" letter-spacing="0.14em">LEGEND</text>
|
|
120
|
+
<line x1="80" y1="456" x2="104" y2="456" stroke="#2e5aa8" stroke-width="1.2"/><text class="legend-label" x="112" y="460">data flow</text>
|
|
121
|
+
<line x1="208" y1="456" x2="232" y2="456" stroke="#bf4520" stroke-width="1.4"/><text class="legend-label" x="240" y="460">pain-point</text>
|
|
122
|
+
<rect x="372" y="450" width="16" height="12" rx="2" fill="#fff" stroke="#4f5d75" stroke-width="0.8" stroke-dasharray="4 3"/><text class="legend-label" x="396" y="460">external</text>
|
|
123
|
+
<rect x="492" y="450" width="16" height="12" rx="2" fill="rgba(191,69,32,0.07)" stroke="#bf4520"/><text class="legend-label" x="516" y="460">bottleneck</text>
|
|
124
|
+
</svg>
|
|
125
|
+
</div>
|
|
126
|
+
</main>
|
|
127
|
+
</body>
|
|
128
|
+
</html>
|
|
@@ -0,0 +1,148 @@
|
|
|
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>Trial to paid: the first week · User journey 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: 1280px; 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: 960px; display: block; }
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
<body>
|
|
57
|
+
<div class="frame">
|
|
58
|
+
<p class="eyebrow">User journey · Diagram Design</p>
|
|
59
|
+
<h1>Trial to paid: the first week</h1>
|
|
60
|
+
|
|
61
|
+
<svg viewBox="0 0 1200 520" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="journey-title journey-desc">
|
|
62
|
+
<title id="journey-title">Trial to paid: the first week</title>
|
|
63
|
+
<desc id="journey-desc">User journey map of a new trial user across five stages, showing actions, touchpoints, and a sentiment curve that dips at the usage-limit stage before recovering at upgrade.</desc>
|
|
64
|
+
|
|
65
|
+
<rect width="100%" height="100%" fill="#f5f5f5"/>
|
|
66
|
+
|
|
67
|
+
<!-- Stage headers -->
|
|
68
|
+
<text x="164" y="40" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.14em">STAGE 1</text>
|
|
69
|
+
<text x="164" y="60" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Sign up</text>
|
|
70
|
+
|
|
71
|
+
<text x="388" y="40" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.14em">STAGE 2</text>
|
|
72
|
+
<text x="388" y="60" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">First run</text>
|
|
73
|
+
|
|
74
|
+
<text x="612" y="40" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.14em">STAGE 3</text>
|
|
75
|
+
<text x="612" y="60" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Invite team</text>
|
|
76
|
+
|
|
77
|
+
<text x="836" y="40" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.14em">STAGE 4</text>
|
|
78
|
+
<text x="836" y="60" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Hit the limit</text>
|
|
79
|
+
|
|
80
|
+
<text x="1060" y="40" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.14em">STAGE 5</text>
|
|
81
|
+
<text x="1060" y="60" fill="#2d3142" font-size="12" font-weight="600" font-family="'Geist', sans-serif" text-anchor="middle">Upgrade</text>
|
|
82
|
+
|
|
83
|
+
<!-- Sentiment band: reference hairlines -->
|
|
84
|
+
<line x1="64" y1="100" x2="1160" y2="100" stroke="rgba(45,49,66,0.10)" stroke-width="0.8"/>
|
|
85
|
+
<line x1="64" y1="180" x2="1160" y2="180" stroke="rgba(45,49,66,0.10)" stroke-width="0.8"/>
|
|
86
|
+
<line x1="64" y1="260" x2="1160" y2="260" stroke="rgba(45,49,66,0.10)" stroke-width="0.8"/>
|
|
87
|
+
<text x="56" y="104" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="end" letter-spacing="0.10em">HIGH</text>
|
|
88
|
+
<text x="56" y="184" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="end" letter-spacing="0.10em">NEUTRAL</text>
|
|
89
|
+
<text x="56" y="264" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="end" letter-spacing="0.10em">LOW</text>
|
|
90
|
+
|
|
91
|
+
<!-- Sentiment curve (data curve — not a connector, §6 rule 1 exempt) -->
|
|
92
|
+
<polyline points="164,100 388,180 612,100" fill="none" stroke="#4f5d75" stroke-width="1.5" stroke-linejoin="round"/>
|
|
93
|
+
<polyline points="612,100 836,260" fill="none" stroke="#bf4520" stroke-width="1.5" stroke-linejoin="round"/>
|
|
94
|
+
<polyline points="836,260 1060,180" fill="none" stroke="#4f5d75" stroke-width="1.5" stroke-linejoin="round"/>
|
|
95
|
+
|
|
96
|
+
<circle cx="164" cy="100" r="5" fill="#4f5d75"/>
|
|
97
|
+
<circle cx="388" cy="180" r="5" fill="#4f5d75"/>
|
|
98
|
+
<circle cx="612" cy="100" r="5" fill="#4f5d75"/>
|
|
99
|
+
<circle cx="836" cy="260" r="5" fill="#bf4520"/>
|
|
100
|
+
<circle cx="1060" cy="180" r="5" fill="#4f5d75"/>
|
|
101
|
+
|
|
102
|
+
<!-- Row separators (full plot width) -->
|
|
103
|
+
<line x1="64" y1="280" x2="1160" y2="280" stroke="rgba(45,49,66,0.10)" stroke-width="0.8"/>
|
|
104
|
+
<line x1="64" y1="376" x2="1160" y2="376" stroke="rgba(45,49,66,0.10)" stroke-width="0.8"/>
|
|
105
|
+
|
|
106
|
+
<!-- Row labels -->
|
|
107
|
+
<text x="56" y="328" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="end" letter-spacing="0.14em">ACTIONS</text>
|
|
108
|
+
<text x="72" y="408" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" text-anchor="end" letter-spacing="0.14em">TOUCHPOINTS</text>
|
|
109
|
+
|
|
110
|
+
<!-- Actions -->
|
|
111
|
+
<text x="164" y="300" fill="#2d3142" font-size="12" font-family="'Geist', sans-serif" text-anchor="middle">Create workspace</text>
|
|
112
|
+
<text x="388" y="300" fill="#2d3142" font-size="12" font-family="'Geist', sans-serif" text-anchor="middle">Import first dataset</text>
|
|
113
|
+
<text x="612" y="300" fill="#2d3142" font-size="12" font-family="'Geist', sans-serif" text-anchor="middle">Add 3 teammates</text>
|
|
114
|
+
<text x="836" y="300" fill="#2d3142" font-size="12" font-family="'Geist', sans-serif" text-anchor="middle">Export blocked mid-report</text>
|
|
115
|
+
<text x="1060" y="300" fill="#2d3142" font-size="12" font-family="'Geist', sans-serif" text-anchor="middle">Pick annual plan</text>
|
|
116
|
+
|
|
117
|
+
<!-- Pain markers (Hit the limit only) -->
|
|
118
|
+
<rect x="744" y="312" width="184" height="16" rx="2" fill="rgba(191,69,32,0.08)" stroke="rgba(191,69,32,0.50)" stroke-width="0.8" stroke-dasharray="3,3"/>
|
|
119
|
+
<text x="836" y="324" fill="#bf4520" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.04em">NO WARNING AT 80%</text>
|
|
120
|
+
|
|
121
|
+
<rect x="744" y="332" width="184" height="16" rx="2" fill="rgba(191,69,32,0.08)" stroke="rgba(191,69,32,0.50)" stroke-width="0.8" stroke-dasharray="3,3"/>
|
|
122
|
+
<text x="836" y="344" fill="#bf4520" font-size="8" font-family="'Geist Mono', monospace" text-anchor="middle" letter-spacing="0.02em">PRICING PAGE IS 3 CLICKS AWAY</text>
|
|
123
|
+
|
|
124
|
+
<!-- Touchpoints -->
|
|
125
|
+
<text x="164" y="412" fill="#4f5d75" font-size="9" font-family="'Geist Mono', monospace" text-anchor="middle">signup form</text>
|
|
126
|
+
<text x="388" y="412" fill="#4f5d75" font-size="9" font-family="'Geist Mono', monospace" text-anchor="middle">onboarding wizard</text>
|
|
127
|
+
<text x="612" y="412" fill="#4f5d75" font-size="9" font-family="'Geist Mono', monospace" text-anchor="middle">email invite</text>
|
|
128
|
+
<text x="836" y="412" fill="#4f5d75" font-size="9" font-family="'Geist Mono', monospace" text-anchor="middle">in-app modal</text>
|
|
129
|
+
<text x="1060" y="412" fill="#4f5d75" font-size="9" font-family="'Geist Mono', monospace" text-anchor="middle">billing page</text>
|
|
130
|
+
|
|
131
|
+
<!-- Legend -->
|
|
132
|
+
<line x1="40" y1="464" x2="1160" y2="464" stroke="rgba(45,49,66,0.10)" stroke-width="0.8"/>
|
|
133
|
+
<text x="40" y="480" fill="#4f5d75" font-size="8" font-family="'Geist Mono', monospace" letter-spacing="0.18em">LEGEND</text>
|
|
134
|
+
|
|
135
|
+
<line x1="40" y1="496" x2="56" y2="496" stroke="#4f5d75" stroke-width="1.5"/>
|
|
136
|
+
<circle cx="48" cy="496" r="3" fill="#4f5d75"/>
|
|
137
|
+
<text x="64" y="500" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif">Sentiment curve</text>
|
|
138
|
+
|
|
139
|
+
<line x1="220" y1="496" x2="236" y2="496" stroke="#bf4520" stroke-width="1.5"/>
|
|
140
|
+
<circle cx="228" cy="496" r="3" fill="#bf4520"/>
|
|
141
|
+
<text x="244" y="500" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif">Trough stage</text>
|
|
142
|
+
|
|
143
|
+
<rect x="384" y="492" width="16" height="8" rx="2" fill="rgba(191,69,32,0.08)" stroke="rgba(191,69,32,0.50)" stroke-width="0.8" stroke-dasharray="3,3"/>
|
|
144
|
+
<text x="408" y="500" fill="#4f5d75" font-size="8.5" font-family="'Geist', sans-serif">Pain marker</text>
|
|
145
|
+
</svg>
|
|
146
|
+
</div>
|
|
147
|
+
</body>
|
|
148
|
+
</html>
|