create-pmos 0.850.0 → 0.851.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 (49) hide show
  1. package/package.json +61 -36
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/design-system/brand/README.md +5 -3
  4. package/payload/design-system/brand/tokens.css +2 -2
  5. package/payload/design-system/brand/tokens.json +31 -31
  6. package/payload/design-system/charts/tokens.css +2 -2
  7. package/payload/design-system/charts/tokens.json +6 -6
  8. package/payload/design-system/documents/tokens.css +2 -2
  9. package/payload/design-system/documents/tokens.json +6 -6
  10. package/payload/design-system/slides/tokens.css +2 -2
  11. package/payload/design-system/slides/tokens.json +2 -2
  12. package/payload/design-system/ui/tokens.css +2 -2
  13. package/payload/design-system/ui/tokens.json +6 -6
  14. package/payload/planning/evals/eval-calibration.md +1 -1
  15. package/payload/planning/okrs/health-budgets.md +1 -1
  16. package/payload/state/discoveries.md +1 -1
  17. package/workspace/briefing-premium-insights-test.js +2 -2
  18. package/workspace/changelog.json +60 -4
  19. package/workspace/design-system/brand/README.md +5 -3
  20. package/workspace/design-system/brand/tokens.css +2 -2
  21. package/workspace/design-system/brand/tokens.json +31 -31
  22. package/workspace/design-system/charts/tokens.css +2 -2
  23. package/workspace/design-system/charts/tokens.json +6 -6
  24. package/workspace/design-system/documents/tokens.css +2 -2
  25. package/workspace/design-system/documents/tokens.json +6 -6
  26. package/workspace/design-system/slides/tokens.css +2 -2
  27. package/workspace/design-system/slides/tokens.json +2 -2
  28. package/workspace/design-system/ui/tokens.css +2 -2
  29. package/workspace/design-system/ui/tokens.json +6 -6
  30. package/workspace/guide/cli.md +9 -1
  31. package/workspace/guide/layout.md +2 -0
  32. package/workspace/lib/balance-target.js +13 -6
  33. package/workspace/lib/design-boards.js +182 -0
  34. package/workspace/lib/design-cli.js +28 -5
  35. package/workspace/lib/design-drift.js +26 -2
  36. package/workspace/lib/routes-drift.js +2 -2
  37. package/workspace/lib/spec-code-drift.js +2 -2
  38. package/workspace/lib/{routes-spec-drift.js → spec-drift-http.js} +1 -1
  39. package/workspace/package-lock.json +2 -2
  40. package/workspace/package.json +1 -1
  41. package/workspace/premium-vw-doc-test.js +1 -1
  42. package/workspace/public/pm/brand.css +2 -2
  43. package/workspace/public/pm/charts.css +2 -2
  44. package/workspace/public/pm/cozy-viewer.css +8 -8
  45. package/workspace/public/pm/documents.css +2 -2
  46. package/workspace/public/pm/ds-bridge.css +16 -0
  47. package/workspace/public/pm/komorebi.css +2 -2
  48. package/workspace/public/pm/slides.css +2 -2
  49. package/workspace/test-lists/text-token-guard.json +5 -0
@@ -1,4 +1,60 @@
1
1
  [
2
+ {
3
+ "v": "0.851.0",
4
+ "at": "2026-11-25T21:03:23.337Z",
5
+ "f": 4,
6
+ "prs": [
7
+ {
8
+ "n": 2059,
9
+ "t": "Library › Drift's route file is not a route module (main's d86-seams #7)",
10
+ "s": "Library › Drift's route file is not a route module (main's d86-seams #7)",
11
+ "k": "fix",
12
+ "i": "spec-code-drift",
13
+ "try": {
14
+ "steps": [
15
+ "Open Library: the This week block sits above the list by itself, with no ask",
16
+ "Press the wrench on a row to add a task that fixes the code, or the page to add a task that updates the spec",
17
+ "Open Work, open the spec's initiative and find the new task"
18
+ ],
19
+ "see": "One row per mismatch with what the spec says, what the code does and both dates. The press adds a task to the initiative and the row says task added, with Undo. With no mismatch, there is no block",
20
+ "open": "/premium-library.html"
21
+ }
22
+ },
23
+ {
24
+ "n": 2060,
25
+ "t": "Balance target row reads cached rows, pmos today under 1 s again",
26
+ "s": "Balance target row reads cached rows, pmos today under 1 s again",
27
+ "k": "fix",
28
+ "h": "Balance target row reads cached rows, pmos today under 1 s again",
29
+ "try": {
30
+ "steps": [
31
+ "On Today, find the row in Your move that proposes a target mix for the top of your roadmap, drawn from the roadmap itself. Press its ✦ to…",
32
+ "The row then names the rank move that closes the most gap. Press its ✦, check the Roadmap on Work, then press Undo",
33
+ "Open the chat (Ask PMOS). On a desk the chat opens from the menu button at the bottom left, then the speech bubble. Say: set my roadmap…"
34
+ ],
35
+ "see": "When the top of the roadmap leans one way, Today proposes a target mix by itself and ✦ saves it. Then a Today row names the one rank move that closes the most gap. ✦ makes that rank move and Undo…",
36
+ "open": "/today.html"
37
+ },
38
+ "i": "balance-rebalance"
39
+ },
40
+ {
41
+ "n": 2039,
42
+ "t": "Neutral greys are the one colour set; text colours and sizes outside the system fail CI; boards get a check",
43
+ "s": "Neutral greys are the one colour set; text colours and sizes outside the system fail CI; boards get a check",
44
+ "k": "new",
45
+ "i": "text-token-guard",
46
+ "try": {
47
+ "steps": [
48
+ "Open Today and see the grey ground, near-black text and grey muted lines",
49
+ "Open Work and see the same colours as Today",
50
+ "Open the Goals boards on the Exploring 3 canvas and see the same colours and four text sizes"
51
+ ],
52
+ "see": "Every page and the Goals boards use one colour set (the neutral greys) and the four text sizes 13, 15, 18 and 26 px.",
53
+ "open": "/today.html"
54
+ }
55
+ }
56
+ ]
57
+ },
2
58
  {
3
59
  "v": "0.850.0",
4
60
  "at": "2026-11-25T20:45:33.395Z",
@@ -9,6 +65,7 @@
9
65
  "t": "Compare two items side by side, the differences marked (job #1919, A421)",
10
66
  "s": "Compare two items side by side, the differences marked (job #1919, A421)",
11
67
  "k": "new",
68
+ "i": "compare-items",
12
69
  "h": "Compare two items side by side, the differences marked (job #1919, A421)",
13
70
  "try": {
14
71
  "steps": [
@@ -18,14 +75,14 @@
18
75
  ],
19
76
  "see": "One compare panel opens beside the list: the two titles at the top, each field on one row, the rows that differ with a dot and a tint, and one line that says how many rows are the same. With one or…",
20
77
  "open": "/premium-board.html"
21
- },
22
- "i": "compare-items"
78
+ }
23
79
  },
24
80
  {
25
81
  "n": 1957,
26
82
  "t": "Library › Drift lists specs and code that no longer match (job #1902, A495)",
27
83
  "s": "Library › Drift lists specs and code that no longer match (job #1902, A495)",
28
84
  "k": "new",
85
+ "i": "spec-code-drift",
29
86
  "h": "Library › Drift lists specs and code that no longer match (job #1902, A495)",
30
87
  "try": {
31
88
  "steps": [
@@ -35,8 +92,7 @@
35
92
  ],
36
93
  "see": "One row per mismatch with what the spec says, what the code does and both dates. The press adds a task to the initiative and the row says task added, with Undo. With no mismatch, there is no block",
37
94
  "open": "/premium-library.html"
38
- },
39
- "i": "spec-code-drift"
95
+ }
40
96
  }
41
97
  ]
42
98
  },
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "PMOS Brand"
4
4
  description: "The root of the PMOS design system family: colour, font families, motion speeds and easing, voice and icons. Every other PMOS system imports these and never redefines them."
5
- timestamp: 2026-11-20
5
+ timestamp: 2026-11-25
6
6
  ---
7
7
 
8
8
  # PMOS Brand
@@ -18,12 +18,14 @@ The root of the PMOS design system family (agreed 2026-11-20). It holds what eve
18
18
 
19
19
  ## Colour
20
20
 
21
+ The neutral set (Wawan, 2026-11-25): a zinc-grey ground, white cards, near-black ink, grey muted text, one blue, red only for a problem. It is the only colour set: pages and design boards read these tokens and never give them other values.
22
+
21
23
  - `ink` on `card`, `well` and `ground` for all text; `muted` for why lines and meta.
22
24
  - `blue` means PMOS is speaking: the ✦, primary buttons, links, the main chart series.
23
- - `leaf` means now: the focus ring (`glow`), the page you are on, the one Do first group. One lit thing per screen. Never text.
25
+ - `leaf` means now: the page you are on, the one Do first group. In the neutral set it has the action blue; the focus ring (`glow`) is ink. One lit thing per screen. Never text.
24
26
  - `alert` means late, at risk, blocked or danger. Never decoration. On track gets no colour.
25
27
  - Tints (`blue-tint`, `leaf-tint`, `alert-tint`) are the only fills behind meaning.
26
- - The ground follows the clock: `ground-morning`, `ground-afternoon`, `ground-evening`; after 21:00 the page switches to the Dark theme (`ground-night`).
28
+ - `ground-morning`, `ground-afternoon` and `ground-evening` keep the same grey; after 21:00 the page switches to the Dark theme (`ground-night`).
27
29
 
28
30
  ## Fonts
29
31
 
@@ -1,6 +1,6 @@
1
1
  /* PMOS Brand tokens. GENERATED from tokens.json by lib/design-system.js: do not edit; run `node lib/design-system.js --write`. */
2
- :root, [data-theme="light"] {--ground:#EFE8E3;--ground-morning:#EEF3F8;--ground-afternoon:#F5EEE2;--ground-evening:#EFE8E3;--ground-night:#1B1D21;--card:#FFFFFF;--well:#F4F2EE;--line:rgba(42,46,53,.12);--ink:#2A2E35;--muted:#646A74;--blue:#2F5FB3;--on-blue:#FFFFFF;--blue-tint:#ECF1F8;--leaf:#5F7A45;--leaf-tint:#F2F4F0;--alert:#A4461A;--alert-tint:#F7EEEA}
3
- [data-theme="dark"] {--ground:#1B1D21;--card:#24262B;--well:#1B1D21;--line:rgba(236,238,241,.12);--ink:#ECEEF1;--muted:#9EA4AD;--blue:#6AAAF0;--on-blue:#14161A;--blue-tint:#2A323D;--leaf:#A9C48C;--leaf-tint:#2F3333;--alert:#E8A07A;--alert-tint:#363132}
2
+ :root, [data-theme="light"] {--ground:#F4F4F5;--ground-morning:#F4F4F5;--ground-afternoon:#F4F4F5;--ground-evening:#F4F4F5;--ground-night:#09090B;--card:#FFFFFF;--well:#F4F4F5;--line:#E4E4E7;--ink:#18181B;--muted:#6B6B74;--blue:#2F4FD8;--on-blue:#FFFFFF;--blue-tint:#EEF2FF;--leaf:#2F4FD8;--leaf-tint:#EEF2FF;--alert:#B91C1C;--alert-tint:#FEF2F2}
3
+ [data-theme="dark"] {--ground:#09090B;--card:#18181B;--well:#1F1F23;--line:#27272A;--ink:#FAFAFA;--muted:#A1A1AA;--blue:#8EA2FF;--on-blue:#09090B;--blue-tint:#1E2440;--leaf:#8EA2FF;--leaf-tint:#1E2440;--alert:#F87171;--alert-tint:#2A1717}
4
4
  :root {--duration-quick:120ms;--duration-enter:200ms;--duration-leaf:600ms;--duration-light:20min;--ease-out:cubic-bezier(.2, .7, .2, 1);--ease-drift:cubic-bezier(.4, 0, .2, 1);--font-sans:"Plus Jakarta Sans", system-ui, sans-serif;--font-mono:"IBM Plex Mono", ui-monospace, monospace}
5
5
  :root[data-daytint="morning"]:not([data-theme="dark"]) {--ground:var(--ground-morning)}
6
6
  :root[data-daytint="afternoon"]:not([data-theme="dark"]) {--ground:var(--ground-afternoon)}
@@ -2,7 +2,7 @@
2
2
  "name": "PMOS Brand",
3
3
  "version": 1,
4
4
  "meta": {
5
- "source": "The root of the PMOS design system family (agreed 2026-11-20). Colour, font families, motion speeds and easing from PMOS Komorebi v5, unchanged. ui, charts, documents and slides import these by name and never redefine them."
5
+ "source": "The root of the PMOS design system family (agreed 2026-11-20). Colour, font families, motion speeds and easing from PMOS Komorebi v5, unchanged. ui, charts, documents and slides import these by name and never redefine them. Colour values: the neutral set (zinc greys, ink, one blue, red only for a problem), Wawan 2026-11-25: one colour set for every page and board."
6
6
  },
7
7
  "color": {
8
8
  "themes": [
@@ -19,76 +19,76 @@
19
19
  {
20
20
  "name": "ground",
21
21
  "value": {
22
- "light": "#EFE8E3",
23
- "dark": "#1B1D21"
22
+ "light": "#F4F4F5",
23
+ "dark": "#09090B"
24
24
  },
25
- "usage": "Page ground behind panels. In the workspace it follows the clock (see ground-morning … ground-night)."
25
+ "usage": "Page ground behind panels: neutral grey. ground-morning, -afternoon and -evening keep the same grey; after 21:00 the page switches to the dark theme."
26
26
  },
27
27
  {
28
28
  "name": "ground-morning",
29
- "value": "#EEF3F8",
29
+ "value": "#F4F4F5",
30
30
  "usage": "Ground before 12:00. Cool light."
31
31
  },
32
32
  {
33
33
  "name": "ground-afternoon",
34
- "value": "#F5EEE2",
34
+ "value": "#F4F4F5",
35
35
  "usage": "Ground 12:00 to 17:00. Warm light."
36
36
  },
37
37
  {
38
38
  "name": "ground-evening",
39
- "value": "#EFE8E3",
39
+ "value": "#F4F4F5",
40
40
  "usage": "Ground 17:00 to 21:00. Dusk."
41
41
  },
42
42
  {
43
43
  "name": "ground-night",
44
- "value": "#1B1D21",
44
+ "value": "#09090B",
45
45
  "usage": "Ground after 21:00; switches the page to the dark theme."
46
46
  },
47
47
  {
48
48
  "name": "card",
49
49
  "value": {
50
50
  "light": "#FFFFFF",
51
- "dark": "#24262B"
51
+ "dark": "#18181B"
52
52
  },
53
53
  "usage": "Panels, cards, rows that are raised. Text: ink, muted."
54
54
  },
55
55
  {
56
56
  "name": "well",
57
57
  "value": {
58
- "light": "#F4F2EE",
59
- "dark": "#1B1D21"
58
+ "light": "#F4F4F5",
59
+ "dark": "#1F1F23"
60
60
  },
61
61
  "usage": "Sunken areas: tab tracks, the rail, chips, hover on rows. Text: ink, muted."
62
62
  },
63
63
  {
64
64
  "name": "line",
65
65
  "value": {
66
- "light": "rgba(42,46,53,.12)",
67
- "dark": "rgba(236,238,241,.12)"
66
+ "light": "#E4E4E7",
67
+ "dark": "#27272A"
68
68
  },
69
69
  "usage": "Hairlines, card borders, dashed folds. Never carries meaning alone."
70
70
  },
71
71
  {
72
72
  "name": "ink",
73
73
  "value": {
74
- "light": "#2A2E35",
75
- "dark": "#ECEEF1"
74
+ "light": "#18181B",
75
+ "dark": "#FAFAFA"
76
76
  },
77
77
  "usage": "All text and icons on card, well and ground."
78
78
  },
79
79
  {
80
80
  "name": "muted",
81
81
  "value": {
82
- "light": "#646A74",
83
- "dark": "#9EA4AD"
82
+ "light": "#6B6B74",
83
+ "dark": "#A1A1AA"
84
84
  },
85
85
  "usage": "Secondary text: why lines, meta, counts, past events. Reads 4.5:1 on card and well."
86
86
  },
87
87
  {
88
88
  "name": "blue",
89
89
  "value": {
90
- "light": "#2F5FB3",
91
- "dark": "#6AAAF0"
90
+ "light": "#2F4FD8",
91
+ "dark": "#8EA2FF"
92
92
  },
93
93
  "usage": "PMOS speaking: the ✦ icon, primary buttons, links, the main chart series."
94
94
  },
@@ -96,47 +96,47 @@
96
96
  "name": "on-blue",
97
97
  "value": {
98
98
  "light": "#FFFFFF",
99
- "dark": "#14161A"
99
+ "dark": "#09090B"
100
100
  },
101
101
  "usage": "Text and icons on a blue fill."
102
102
  },
103
103
  {
104
104
  "name": "blue-tint",
105
105
  "value": {
106
- "light": "#ECF1F8",
107
- "dark": "#2A323D"
106
+ "light": "#EEF2FF",
107
+ "dark": "#1E2440"
108
108
  },
109
109
  "usage": "Background of a PMOS suggestion."
110
110
  },
111
111
  {
112
112
  "name": "leaf",
113
113
  "value": {
114
- "light": "#5F7A45",
115
- "dark": "#A9C48C"
114
+ "light": "#2F4FD8",
115
+ "dark": "#8EA2FF"
116
116
  },
117
- "usage": "Now and focus only: the focus ring, the page you are on, the Do first group, done in charts. Never text."
117
+ "usage": "Now and focus only: the focus ring, the page you are on, the Do first group, done in charts. The neutral set gives it the action blue. Never text."
118
118
  },
119
119
  {
120
120
  "name": "leaf-tint",
121
121
  "value": {
122
- "light": "#F2F4F0",
123
- "dark": "#2F3333"
122
+ "light": "#EEF2FF",
123
+ "dark": "#1E2440"
124
124
  },
125
125
  "usage": "Background of the one Now group or row."
126
126
  },
127
127
  {
128
128
  "name": "alert",
129
129
  "value": {
130
- "light": "#A4461A",
131
- "dark": "#E8A07A"
130
+ "light": "#B91C1C",
131
+ "dark": "#F87171"
132
132
  },
133
133
  "usage": "Late, at risk, blocked, danger, the now line in the agenda. Never decoration."
134
134
  },
135
135
  {
136
136
  "name": "alert-tint",
137
137
  "value": {
138
- "light": "#F7EEEA",
139
- "dark": "#363132"
138
+ "light": "#FEF2F2",
139
+ "dark": "#2A1717"
140
140
  },
141
141
  "usage": "Background of a late badge."
142
142
  }
@@ -1,4 +1,4 @@
1
1
  /* PMOS Charts tokens. GENERATED from tokens.json by lib/design-system.js: do not edit; run `node lib/design-system.js --write`. */
2
- :root, [data-theme="light"] {--chart-read:var(--blue);--chart-done:var(--leaf);--chart-plan:var(--muted);--chart-risk:var(--alert);--chart-rest:#C9CDD3;--chart-grid:var(--line);--diagram-step:var(--card);--diagram-edge:var(--muted);--diagram-lane:var(--well);--diagram-now:var(--leaf);--raise:0 1px 2px rgba(42,46,53,.08), 0 4px 14px -6px rgba(70,80,50,.14);--lift:0 10px 28px -10px rgba(42,46,53,.28);--glow:0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)}
3
- [data-theme="dark"] {--chart-rest:#4A4F57;--raise:0 1px 2px rgba(0,0,0,.4), 0 4px 14px -6px rgba(169,196,140,.08);--lift:0 10px 28px -10px rgba(0,0,0,.6);--glow:0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)}
2
+ :root, [data-theme="light"] {--chart-read:var(--blue);--chart-done:var(--leaf);--chart-plan:var(--muted);--chart-risk:var(--alert);--chart-rest:#C9CDD3;--chart-grid:var(--line);--diagram-step:var(--card);--diagram-edge:var(--muted);--diagram-lane:var(--well);--diagram-now:var(--leaf);--raise:0 1px 2px rgba(0,0,0,.06);--lift:0 1px 3px rgba(0,0,0,.08), 0 8px 24px -12px rgba(0,0,0,.12);--glow:0 0 0 2px #18181B}
3
+ [data-theme="dark"] {--chart-rest:#4A4F57;--raise:0 1px 2px rgba(0,0,0,.4);--lift:0 1px 3px rgba(0,0,0,.5), 0 8px 24px -12px rgba(0,0,0,.6);--glow:0 0 0 2px #FAFAFA}
4
4
  :root {--chart-h-spark:32px;--chart-h-compact:120px;--chart-h-standard:180px;--chart-h-tall:240px;--chart-w-slide:1408px;--chart-w-page:642px;--chart-max-bars:12;--chart-max-series:3;--diagram-max-steps:6;--radius-mark:4px;--radius-step:16px;--radius-lane:10px}
@@ -222,24 +222,24 @@
222
222
  {
223
223
  "name": "raise",
224
224
  "value": {
225
- "light": "0 1px 2px rgba(42,46,53,.08), 0 4px 14px -6px rgba(70,80,50,.14)",
226
- "dark": "0 1px 2px rgba(0,0,0,.4), 0 4px 14px -6px rgba(169,196,140,.08)"
225
+ "light": "0 1px 2px rgba(0,0,0,.06)",
226
+ "dark": "0 1px 2px rgba(0,0,0,.4)"
227
227
  },
228
228
  "usage": "From PMOS Komorebi. Now: cards, panels, the chosen tab, the next event."
229
229
  },
230
230
  {
231
231
  "name": "lift",
232
232
  "value": {
233
- "light": "0 10px 28px -10px rgba(42,46,53,.28)",
234
- "dark": "0 10px 28px -10px rgba(0,0,0,.6)"
233
+ "light": "0 1px 3px rgba(0,0,0,.08), 0 8px 24px -12px rgba(0,0,0,.12)",
234
+ "dark": "0 1px 3px rgba(0,0,0,.5), 0 8px 24px -12px rgba(0,0,0,.6)"
235
235
  },
236
236
  "usage": "From PMOS Komorebi. Things over things: toast, sheet, menu, slide-over."
237
237
  },
238
238
  {
239
239
  "name": "glow",
240
240
  "value": {
241
- "light": "0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)",
242
- "dark": "0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)"
241
+ "light": "0 0 0 2px #18181B",
242
+ "dark": "0 0 0 2px #FAFAFA"
243
243
  },
244
244
  "usage": "From PMOS Komorebi. The leaf ring: keyboard focus and the one thing that is now."
245
245
  }
@@ -1,4 +1,4 @@
1
1
  /* PMOS Documents tokens. GENERATED from tokens.json by lib/design-system.js: do not edit; run `node lib/design-system.js --write`. */
2
- :root, [data-theme="light"] {--raise:0 1px 2px rgba(42,46,53,.08), 0 4px 14px -6px rgba(70,80,50,.14);--lift:0 10px 28px -10px rgba(42,46,53,.28);--glow:0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)}
3
- [data-theme="dark"] {--raise:0 1px 2px rgba(0,0,0,.4), 0 4px 14px -6px rgba(169,196,140,.08);--lift:0 10px 28px -10px rgba(0,0,0,.6);--glow:0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)}
2
+ :root, [data-theme="light"] {--raise:0 1px 2px rgba(0,0,0,.06);--lift:0 1px 3px rgba(0,0,0,.08), 0 8px 24px -12px rgba(0,0,0,.12);--glow:0 0 0 2px #18181B}
3
+ [data-theme="dark"] {--raise:0 1px 2px rgba(0,0,0,.4);--lift:0 1px 3px rgba(0,0,0,.5), 0 8px 24px -12px rgba(0,0,0,.6);--glow:0 0 0 2px #FAFAFA}
4
4
  :root {--doc-measure:640px;--doc-space-para:16px;--doc-space-block:24px;--doc-space-section:40px;--page-width:794px;--page-height:1123px;--page-margin-x:68px;--page-margin-top:76px;--page-margin-bottom:83px;--radius-sm:6px;--radius-md:10px;--radius-card:16px;--radius-pill:999px}
@@ -195,24 +195,24 @@
195
195
  {
196
196
  "name": "raise",
197
197
  "value": {
198
- "light": "0 1px 2px rgba(42,46,53,.08), 0 4px 14px -6px rgba(70,80,50,.14)",
199
- "dark": "0 1px 2px rgba(0,0,0,.4), 0 4px 14px -6px rgba(169,196,140,.08)"
198
+ "light": "0 1px 2px rgba(0,0,0,.06)",
199
+ "dark": "0 1px 2px rgba(0,0,0,.4)"
200
200
  },
201
201
  "usage": "Now: cards, panels, the chosen tab, the next event."
202
202
  },
203
203
  {
204
204
  "name": "lift",
205
205
  "value": {
206
- "light": "0 10px 28px -10px rgba(42,46,53,.28)",
207
- "dark": "0 10px 28px -10px rgba(0,0,0,.6)"
206
+ "light": "0 1px 3px rgba(0,0,0,.08), 0 8px 24px -12px rgba(0,0,0,.12)",
207
+ "dark": "0 1px 3px rgba(0,0,0,.5), 0 8px 24px -12px rgba(0,0,0,.6)"
208
208
  },
209
209
  "usage": "Things over things: toast, sheet, menu, slide-over."
210
210
  },
211
211
  {
212
212
  "name": "glow",
213
213
  "value": {
214
- "light": "0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)",
215
- "dark": "0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)"
214
+ "light": "0 0 0 2px #18181B",
215
+ "dark": "0 0 0 2px #FAFAFA"
216
216
  },
217
217
  "usage": "The leaf ring: keyboard focus and the one thing that is now."
218
218
  }
@@ -1,4 +1,4 @@
1
1
  /* PMOS Slides tokens. GENERATED from tokens.json by lib/design-system.js: do not edit; run `node lib/design-system.js --write`. */
2
- :root, [data-theme="light"] {--glow:0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)}
3
- [data-theme="dark"] {--glow:0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)}
2
+ :root, [data-theme="light"] {--glow:0 0 0 2px #18181B}
3
+ [data-theme="dark"] {--glow:0 0 0 2px #FAFAFA}
4
4
  :root {--slide-width:1920px;--slide-height:1080px;--slide-margin-x:112px;--slide-margin-top:96px;--slide-margin-bottom:128px;--slide-column:112px;--slide-gutter:32px;--slide-gap-16:16px;--slide-gap-24:24px;--slide-gap-48:48px;--slide-gap-64:64px;--slide-radius-mark:8px;--slide-radius-box:24px;--slide-radius-pill:999px}
@@ -162,8 +162,8 @@
162
162
  {
163
163
  "name": "glow",
164
164
  "value": {
165
- "light": "0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)",
166
- "dark": "0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)"
165
+ "light": "0 0 0 2px #18181B",
166
+ "dark": "0 0 0 2px #FAFAFA"
167
167
  },
168
168
  "usage": "From Komorebi: keyboard focus on a bar, point or slide thumbnail in Present."
169
169
  }
@@ -1,6 +1,6 @@
1
1
  /* PMOS Komorebi tokens. GENERATED from tokens.json by lib/design-system.js: do not edit; run `node lib/design-system.js --write`. */
2
- :root, [data-theme="light"] {--raise:0 1px 2px rgba(42,46,53,.08), 0 4px 14px -6px rgba(70,80,50,.14);--lift:0 10px 28px -10px rgba(42,46,53,.28);--glow:0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)}
3
- [data-theme="dark"] {--raise:0 1px 2px rgba(0,0,0,.4), 0 4px 14px -6px rgba(169,196,140,.08);--lift:0 10px 28px -10px rgba(0,0,0,.6);--glow:0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)}
2
+ :root, [data-theme="light"] {--raise:0 1px 2px rgba(0,0,0,.06);--lift:0 1px 3px rgba(0,0,0,.08), 0 8px 24px -12px rgba(0,0,0,.12);--glow:0 0 0 2px #18181B}
3
+ [data-theme="dark"] {--raise:0 1px 2px rgba(0,0,0,.4);--lift:0 1px 3px rgba(0,0,0,.5), 0 8px 24px -12px rgba(0,0,0,.6);--glow:0 0 0 2px #FAFAFA}
4
4
  :root:where(*) {--space-4:4px;--space-8:8px;--space-12:12px;--space-16:16px;--space-24:24px;--space-32:32px;--space-48:48px;--space-64:64px;--doc-measure:640px;--page-measure:960px;--width-side:340px;--width-item:480px;--width-contents:200px;--width-margin:240px;--radius-sm:6px;--radius-md:10px;--radius-card:16px;--radius-panel:24px;--radius-pill:999px}
5
5
  :root:where(*) {--type-title:26px;--leading-title:32px;--weight-title:600;--type-heading:18px;--leading-heading:24px;--weight-heading:600;--type-body:15px;--leading-body:24px;--weight-body:400;--type-small:13px;--leading-small:20px;--weight-small:400;--type-code:13px;--leading-code:20px;--weight-code:400}
6
6
  .title{font-family:var(--font-sans);font-size:var(--type-title);line-height:var(--leading-title);font-weight:var(--weight-title)}
@@ -163,24 +163,24 @@
163
163
  {
164
164
  "name": "raise",
165
165
  "value": {
166
- "light": "0 1px 2px rgba(42,46,53,.08), 0 4px 14px -6px rgba(70,80,50,.14)",
167
- "dark": "0 1px 2px rgba(0,0,0,.4), 0 4px 14px -6px rgba(169,196,140,.08)"
166
+ "light": "0 1px 2px rgba(0,0,0,.06)",
167
+ "dark": "0 1px 2px rgba(0,0,0,.4)"
168
168
  },
169
169
  "usage": "Now: cards, panels, the chosen tab, the next event."
170
170
  },
171
171
  {
172
172
  "name": "lift",
173
173
  "value": {
174
- "light": "0 10px 28px -10px rgba(42,46,53,.28)",
175
- "dark": "0 10px 28px -10px rgba(0,0,0,.6)"
174
+ "light": "0 1px 3px rgba(0,0,0,.08), 0 8px 24px -12px rgba(0,0,0,.12)",
175
+ "dark": "0 1px 3px rgba(0,0,0,.5), 0 8px 24px -12px rgba(0,0,0,.6)"
176
176
  },
177
177
  "usage": "Things over things: toast, sheet, menu, slide-over."
178
178
  },
179
179
  {
180
180
  "name": "glow",
181
181
  "value": {
182
- "light": "0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)",
183
- "dark": "0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)"
182
+ "light": "0 0 0 2px #18181B",
183
+ "dark": "0 0 0 2px #FAFAFA"
184
184
  },
185
185
  "usage": "The leaf ring: keyboard focus and the one thing that is now."
186
186
  }
@@ -770,7 +770,8 @@ The aim: change one token and every page follows. Each place this command counts
770
770
 
771
771
  - `pmos design drift`: counts every literal colour, text size, corner, spacing and shadow outside the system sheets, every token defined outside the system, every inline style value, and every class the system does not define. It says how many have a token with the same value. It reads git only.
772
772
  - `--base <ref>` compares with an earlier commit. For each file whose count of a kind rose, it lists the added lines and the token each one should read. `--base week` uses the last commit a week earlier.
773
- - `--gate` exits 1 when a count rose against `--base`. `--github` prints each new place as a GitHub warning on its line. CI runs it on every pull request, as a warning only.
773
+ - `--gate` exits 1 when a count rose against `--base`. `--github` prints each new place as a GitHub warning on its line.
774
+ - `--block-text` exits 1 when a change adds a text colour or a text size that the design system does not own: a literal colour, a literal text size, an inline style with either, or a colour token defined outside the system sheets (a second palette, or a page that gives `--ink` its own value). CI runs `--github --block-text` on every pull request: these lines fail the check as errors, and every other kind stays a warning.
774
775
  - `--weeks <n>` adds the total at the end of each of the last n weeks. `--write` writes the report to `planning/reports/`.
775
776
  - `--pages` shows the older measure instead: for each page, the share of its classes that the system defines and its own CSS rules.
776
777
  - A product sets the files to count and its system sheets in `design-drift.json` in its design-system folder, for example `{ "scan": ["web/**/*.css"], "systemSheets": ["ds.css"] }`.
@@ -781,6 +782,13 @@ The design system's own sheet (Komorebi, `komorebi.css`) is the only place the t
781
782
 
782
783
  To change a text size on every page, change the style in `workspace/design-system/ui/tokens.json` and run `node lib/design-system.js --write`. Do not write a `--fs-*` value in a page's stylesheet.
783
784
 
785
+ ### pmos design boards: design boards use the design system only
786
+
787
+ A design board on a canvas is not in the repository, so the CI check cannot see it. Run this on the board files before you publish them.
788
+
789
+ - `pmos design boards <board.dc.html | folder>…` checks each board. A board passes when every colour token it defines has the design system's value, it defines no colour token the system does not have, no style holds a literal colour, and every text size is on the type scale (13, 15, 18 or 26 px, or `var(--type-…)`). It names the line of each place that fails and exits 1.
790
+ - `--fix` puts a board back on the system: its colour tokens take the system's values, the `--type-…` tokens are added, and each text size becomes the nearest step of the scale (12 px becomes small, 14 px becomes body). It does not change a literal colour, because only a person knows whether it means ink, muted or alert.
791
+
784
792
  ### pmos design swap: a fixed value becomes the token with the same value
785
793
 
786
794
  - `pmos design swap` counts, for each stylesheet, the fixed spacing (padding, margin, gap) and corner values that equal a design token. It also counts the values that sit between two tokens. It changes no file.
@@ -19,6 +19,8 @@ PMOS has one family of design systems, agreed on 2026-11-20. Its files are in th
19
19
  - `documents/`: PRDs, briefs, reports, notes and shared links, and the rules for emails, Slack messages and notifications.
20
20
  - `slides/`: decks.
21
21
 
22
+ **One colour set.** Since 2026-11-25 the colours are the neutral set: a grey ground, white cards, near-black ink, grey muted text, one blue for PMOS and for actions, and red only for late, at risk or blocked. Every page and every design board takes its colours from `brand/` and nothing else. Text has four sizes: small 13 px, body 15 px, heading 18 px and title 26 px.
23
+
22
24
  Read `design-system/README.md` first. Each kit gets a copy in `pmos/design-system/`, so another project or session can use it. A product may change `brand/` only. The other parts follow it.
23
25
 
24
26
  **One icon per action.** `brand/icons.json` names one icon for each common action: dismiss (Close, No, Not now, Clear, Drop) is ✕, approve (Yes, Save, Done) is ✓, Add is +, and Undo, Back, Previous, Next, Edit, Delete, Search, Stop and Upload have one icon each. No two actions share an icon. To see each button that draws its action another way, run `node workspace/lib/icon-check.js check` in your product's repository. It names the file, the line and the label. `--gate` exits 1 when one is off. To change an icon, copy the file to `pmos/design-system/brand/icons.json` and edit it there.
@@ -7,7 +7,8 @@
7
7
  * setTarget(runtime, root, target, { front, by }) · clearTarget(runtime, root, { by }) · undoTarget(runtime, root, { by })
8
8
  * append-only `<runtime>/balance-targets.jsonl`; one line per write. Undo takes the last set or clear back.
9
9
  * targetOf(runtime, root) → { target, front, at, by } | null
10
- * ranked(root) → [{ id, title, kind }] the live initiatives in Roadmap order (D105), finished ones left out
10
+ * ranked(root, { peek }) → [{ id, title, kind }] the live initiatives in Roadmap order (D105), finished ones left out;
11
+ * peek: the cached rows only (lib/initiative-rows.js peek), [] until a derivation has landed: the needs provider never derives
11
12
  * gapOf(list, target, front) → { front: [...], mix: { kind: pct }, gap } gap = half the sum of |actual − target|, in points
12
13
  * movesOf(list, target, front, { max }) → the best rank moves, at most `max` (2): an under-target initiative from below the front
13
14
  * moved just above an over-target one in it. Each: { id, above, kind, pushes, gapAfter, closes, cli, undo }. Only moves that close gap.
@@ -104,10 +105,12 @@ function count(runtime, { days = 7, now = Date.now() } = {}) {
104
105
  }
105
106
 
106
107
  /** The live initiatives of a repository in Roadmap order (one ranked list, D105). Finished ones are left out. */
107
- function ranked(root) {
108
+ function ranked(root, { peek = false } = {}) {
108
109
  const rowsLib = require('./initiative-rows.js'), P = require('./placements.js'), PR = require('./plan-rules.js');
109
- const d = rowsLib.deriveSync(root);
110
- if (!d.ok) return [];
110
+ // the needs provider reads the cached rows only (peek), so the Today poll and `pmos today` never pay for a derivation
111
+ // (about 260 ms per record); the CLI derives now
112
+ const d = peek ? rowsLib.peek(root) : rowsLib.deriveSync(root);
113
+ if (!d || !d.ok) return [];
111
114
  const rows = new Map(d.rows.map((r) => [r.id, r]));
112
115
  const placed = P.readPlacements(root, { now: Date.now(), rules: PR.readRules(root), records: d.rows });
113
116
  return placed.ranked.map((id) => rows.get(id)).filter((r) => r && !r.accepted && !r.stopped)
@@ -207,14 +210,18 @@ const runtimeNow = () => require('./state-root.js').defaultRoot({ env: process.e
207
210
  function rowsFor(w, { lead } = {}) {
208
211
  if (!lead || !w || !w.root) return [];
209
212
  const saved = targetOf(runtimeNow(), w.root);
210
- return saved ? rowsOf(w.id, saved, ranked(w.root)) : proposalRowsOf(w.id, ranked(w.root));
213
+ const list = ranked(w.root, { peek: true });
214
+ return saved ? rowsOf(w.id, saved, list) : proposalRowsOf(w.id, list);
211
215
  }
212
216
  function sig(w) {
213
217
  let t = '-';
214
218
  try { const st = fs.statSync(fileOf(runtimeNow())); t = st.size + ':' + st.mtimeMs; } catch { /* no target yet */ }
215
219
  let p = '-';
216
220
  try { p = String(require('./plan-ledgers.js').ledgerSig(w.root, 'placements')); } catch { /* no ledger */ }
217
- return t + '|' + p + '|' + new Date().toISOString().slice(0, 10);
221
+ // the cached rows' signature changes when a derivation lands, so Today recounts then
222
+ let c = '-';
223
+ try { c = String(require('./initiative-rows.js').cachedSig(w.root)); } catch { /* no cache yet */ }
224
+ return t + '|' + p + '|' + c + '|' + new Date().toISOString().slice(0, 10);
218
225
  }
219
226
 
220
227
  module.exports = { FILE, DEFAULT_FRONT, ROW_GAP, KIND, kinds: [KIND], fileOf, parseTarget, targetOf, setTarget, clearTarget, undoTarget, used, count,