create-pmos 0.640.0 → 0.641.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.640.0",
3
+ "version": "0.641.0",
4
4
  "description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -34,16 +34,10 @@
34
34
  ],
35
35
  "pmosChanges": [
36
36
  {
37
- "v": "0.640.0",
38
- "at": "2026-11-20T01:35:34.483Z",
37
+ "v": "0.641.0",
38
+ "at": "2026-11-20T01:40:00.165Z",
39
39
  "f": 4,
40
40
  "prs": [
41
- {
42
- "n": 1422,
43
- "t": "Events and Routine are drawn from the PMOS design system",
44
- "s": "Events and Routine are drawn from the PMOS design system",
45
- "k": "new"
46
- },
47
41
  {
48
42
  "n": 1424,
49
43
  "t": "Goals and Intelligence on the PMOS design system",
@@ -55,6 +49,12 @@
55
49
  "t": "Welcome, capture and the meeting pages on the PMOS design system",
56
50
  "s": "Welcome, capture and the meeting pages on the PMOS design system",
57
51
  "k": "new"
52
+ },
53
+ {
54
+ "n": 1420,
55
+ "t": "The rail of places is the design system's Navigation part",
56
+ "s": "The rail of places is the design system's Navigation part",
57
+ "k": "new"
58
58
  }
59
59
  ]
60
60
  },
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@7215e7a9
1
+ kernel-source: pmos@4bd093fc
2
2
  assembled: 2026-11-20
3
3
  mode: vendor
@@ -2,11 +2,13 @@
2
2
  type: Reference
3
3
  title: "PMOS design system: Navigation"
4
4
  description: "The frame around every page: the rail (side menu; bottom bar on phones), the path at the top of the second panel, the sessions list in chat. The page you are on"
5
- timestamp: 2026-11-19
5
+ timestamp: 2026-11-20
6
6
  ---
7
7
 
8
8
  The frame around every page: the rail (side menu; bottom bar on phones), the path at the top of the second panel, the sessions list in chat. The page you are on carries the leaf ring.
9
9
 
10
+ Sizes: the rail is 72 px wide with 60 × 56 links. This is the default on desktop, so two panels and a table still fit at 1440 px. Add `roomy` (`pm-rail roomy`, 92 px with 76 × 64 links) only where there is space to spare, such as a tablet held upright. Both sizes keep the 44 px touch target.
11
+
10
12
  ## Interaction
11
13
 
12
14
  - Click or keys (`g` then `t` for Today, `g` then `w` for Work…) move between pages; the current one carries the leaf ring.
@@ -3,6 +3,6 @@
3
3
  <html>
4
4
  <head><meta charset="utf-8"><title>preview</title></head>
5
5
  <body>
6
- <div class="pm"><div style="display:flex;gap:12px"><nav class="pm-rail" aria-label="PMOS" style="width:72px"><a href="#" aria-current="page" style="width:60px"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v2M12 19v2M5 5l1.4 1.4M17.6 17.6L19 19M3 12h2M19 12h2M5 19l1.4-1.4M17.6 6.4L19 5M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>Today</a><a href="#" style="width:60px"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>Work</a></nav><div style="flex:1;display:flex;flex-direction:column;gap:12px;min-width:0"><div><span class="pm-meta">Thursday 19 November · 21:46 · evening light</span><h2 style="margin:0;font-size:26px;line-height:32px">Good evening</h2></div><section class="pm-block"><h3 class="pm-h-sm pm-row"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg>Overview</h3><p style="margin:0">55 lines are open, 28 of them for today.</p><div class="pm-sug" role="group" aria-label="PMOS suggests"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><span class="say">Drop the 2 checks due more than 60 days ago</span><button type="button" class="pm-btn primary" aria-label="Yes" title="Yes"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn outline" aria-label="No" title="No"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div></section><section class="pm-block list"><div class="head"><h3 class="pm-h">Today’s log</h3></div><div class="pm-group now">Do first</div><div class="rows"><div class="pm-li now"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Tech blueprint approved</span><span class="w">for Tender new CIAM</span></span><span class="pm-badge alert" title="Due 29 Oct">21 days late</span></div></div><button class="pm-fold">Later <span style="font-weight:400">27 can wait</span></button></section></div><div style="width:230px;display:flex;flex-direction:column;gap:12px"><section class="pm-block flat"><h3 class="pm-h">Today</h3><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00</span></div></section></div></div></div>
6
+ <div class="pm"><div style="display:flex;gap:12px"><nav class="pm-rail" aria-label="PMOS"><a href="#" aria-current="page"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v2M12 19v2M5 5l1.4 1.4M17.6 17.6L19 19M3 12h2M19 12h2M5 19l1.4-1.4M17.6 6.4L19 5M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>Today</a><a href="#"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>Work</a></nav><div style="flex:1;display:flex;flex-direction:column;gap:12px;min-width:0"><div><span class="pm-meta">Thursday 19 November · 21:46 · evening light</span><h2 style="margin:0;font-size:26px;line-height:32px">Good evening</h2></div><section class="pm-block"><h3 class="pm-h-sm pm-row"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg>Overview</h3><p style="margin:0">55 lines are open, 28 of them for today.</p><div class="pm-sug" role="group" aria-label="PMOS suggests"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><span class="say">Drop the 2 checks due more than 60 days ago</span><button type="button" class="pm-btn primary" aria-label="Yes" title="Yes"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn outline" aria-label="No" title="No"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div></section><section class="pm-block list"><div class="head"><h3 class="pm-h">Today’s log</h3></div><div class="pm-group now">Do first</div><div class="rows"><div class="pm-li now"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Tech blueprint approved</span><span class="w">for Tender new CIAM</span></span><span class="pm-badge alert" title="Due 29 Oct">21 days late</span></div></div><button class="pm-fold">Later <span style="font-weight:400">27 can wait</span></button></section></div><div style="width:230px;display:flex;flex-direction:column;gap:12px"><section class="pm-block flat"><h3 class="pm-h">Today</h3><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00</span></div></section></div></div></div>
7
7
  </body>
8
8
  </html>
@@ -83,9 +83,10 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
83
83
  .pm-doc h3{font-size:18px;line-height:24px;margin:0 0 4px}
84
84
  .pm-stage{background:var(--well);border-radius:var(--radius-md);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}
85
85
  .pm-set{display:flex;align-items:center;gap:12px;min-height:56px;border-top:1px solid var(--line)}
86
- .pm-rail{width:92px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
87
- .pm-rail a{position:relative;width:76px;height:64px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
86
+ .pm-rail{width:72px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
87
+ .pm-rail a{position:relative;width:60px;height:56px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
88
88
  .pm-rail a[aria-current="page"]{background:var(--card);box-shadow:var(--glow)}
89
+ .pm-rail.roomy{width:92px}.pm-rail.roomy a{width:76px;height:64px}
89
90
  .pm-rail .pm-count{position:absolute;top:3px;right:5px}
90
91
  .pm-path{display:flex;align-items:center;gap:6px;font-size:13px}
91
92
  .pm-path a{color:var(--blue)}
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Eval calibration log"
4
4
  description: "Append-only record of every PM override of an evaluator verdict."
5
- generated: {by: process:create-pmos, at: "2026-11-20T01:35:30Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-20T01:39:57Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Health budgets"
4
4
  description: "Closed registry of health-budget anchors (D59), edited only by the PM."
5
- generated: {by: process:create-pmos, at: "2026-11-20T01:35:30Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-20T01:39:57Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Discoveries and friction log"
4
4
  description: "Append-only record of what runs discovered and where the process rubbed."
5
- generated: {by: process:create-pmos, at: "2026-11-20T01:35:30Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-20T01:39:57Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -1,15 +1,9 @@
1
1
  [
2
2
  {
3
- "v": "0.640.0",
4
- "at": "2026-11-20T01:35:34.483Z",
3
+ "v": "0.641.0",
4
+ "at": "2026-11-20T01:40:00.165Z",
5
5
  "f": 4,
6
6
  "prs": [
7
- {
8
- "n": 1422,
9
- "t": "Events and Routine are drawn from the PMOS design system",
10
- "s": "Events and Routine are drawn from the PMOS design system",
11
- "k": "new"
12
- },
13
7
  {
14
8
  "n": 1424,
15
9
  "t": "Goals and Intelligence on the PMOS design system",
@@ -21,6 +15,12 @@
21
15
  "t": "Welcome, capture and the meeting pages on the PMOS design system",
22
16
  "s": "Welcome, capture and the meeting pages on the PMOS design system",
23
17
  "k": "new"
18
+ },
19
+ {
20
+ "n": 1420,
21
+ "t": "The rail of places is the design system's Navigation part",
22
+ "s": "The rail of places is the design system's Navigation part",
23
+ "k": "new"
24
24
  }
25
25
  ]
26
26
  },
@@ -2,11 +2,13 @@
2
2
  type: Reference
3
3
  title: "PMOS design system: Navigation"
4
4
  description: "The frame around every page: the rail (side menu; bottom bar on phones), the path at the top of the second panel, the sessions list in chat. The page you are on"
5
- timestamp: 2026-11-19
5
+ timestamp: 2026-11-20
6
6
  ---
7
7
 
8
8
  The frame around every page: the rail (side menu; bottom bar on phones), the path at the top of the second panel, the sessions list in chat. The page you are on carries the leaf ring.
9
9
 
10
+ Sizes: the rail is 72 px wide with 60 × 56 links. This is the default on desktop, so two panels and a table still fit at 1440 px. Add `roomy` (`pm-rail roomy`, 92 px with 76 × 64 links) only where there is space to spare, such as a tablet held upright. Both sizes keep the 44 px touch target.
11
+
10
12
  ## Interaction
11
13
 
12
14
  - Click or keys (`g` then `t` for Today, `g` then `w` for Work…) move between pages; the current one carries the leaf ring.
@@ -3,6 +3,6 @@
3
3
  <html>
4
4
  <head><meta charset="utf-8"><title>preview</title></head>
5
5
  <body>
6
- <div class="pm"><div style="display:flex;gap:12px"><nav class="pm-rail" aria-label="PMOS" style="width:72px"><a href="#" aria-current="page" style="width:60px"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v2M12 19v2M5 5l1.4 1.4M17.6 17.6L19 19M3 12h2M19 12h2M5 19l1.4-1.4M17.6 6.4L19 5M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>Today</a><a href="#" style="width:60px"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>Work</a></nav><div style="flex:1;display:flex;flex-direction:column;gap:12px;min-width:0"><div><span class="pm-meta">Thursday 19 November · 21:46 · evening light</span><h2 style="margin:0;font-size:26px;line-height:32px">Good evening</h2></div><section class="pm-block"><h3 class="pm-h-sm pm-row"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg>Overview</h3><p style="margin:0">55 lines are open, 28 of them for today.</p><div class="pm-sug" role="group" aria-label="PMOS suggests"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><span class="say">Drop the 2 checks due more than 60 days ago</span><button type="button" class="pm-btn primary" aria-label="Yes" title="Yes"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn outline" aria-label="No" title="No"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div></section><section class="pm-block list"><div class="head"><h3 class="pm-h">Today’s log</h3></div><div class="pm-group now">Do first</div><div class="rows"><div class="pm-li now"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Tech blueprint approved</span><span class="w">for Tender new CIAM</span></span><span class="pm-badge alert" title="Due 29 Oct">21 days late</span></div></div><button class="pm-fold">Later <span style="font-weight:400">27 can wait</span></button></section></div><div style="width:230px;display:flex;flex-direction:column;gap:12px"><section class="pm-block flat"><h3 class="pm-h">Today</h3><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00</span></div></section></div></div></div>
6
+ <div class="pm"><div style="display:flex;gap:12px"><nav class="pm-rail" aria-label="PMOS"><a href="#" aria-current="page"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v2M12 19v2M5 5l1.4 1.4M17.6 17.6L19 19M3 12h2M19 12h2M5 19l1.4-1.4M17.6 6.4L19 5M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>Today</a><a href="#"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>Work</a></nav><div style="flex:1;display:flex;flex-direction:column;gap:12px;min-width:0"><div><span class="pm-meta">Thursday 19 November · 21:46 · evening light</span><h2 style="margin:0;font-size:26px;line-height:32px">Good evening</h2></div><section class="pm-block"><h3 class="pm-h-sm pm-row"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg>Overview</h3><p style="margin:0">55 lines are open, 28 of them for today.</p><div class="pm-sug" role="group" aria-label="PMOS suggests"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><span class="say">Drop the 2 checks due more than 60 days ago</span><button type="button" class="pm-btn primary" aria-label="Yes" title="Yes"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn outline" aria-label="No" title="No"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div></section><section class="pm-block list"><div class="head"><h3 class="pm-h">Today’s log</h3></div><div class="pm-group now">Do first</div><div class="rows"><div class="pm-li now"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Tech blueprint approved</span><span class="w">for Tender new CIAM</span></span><span class="pm-badge alert" title="Due 29 Oct">21 days late</span></div></div><button class="pm-fold">Later <span style="font-weight:400">27 can wait</span></button></section></div><div style="width:230px;display:flex;flex-direction:column;gap:12px"><section class="pm-block flat"><h3 class="pm-h">Today</h3><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00</span></div></section></div></div></div>
7
7
  </body>
8
8
  </html>
@@ -83,9 +83,10 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
83
83
  .pm-doc h3{font-size:18px;line-height:24px;margin:0 0 4px}
84
84
  .pm-stage{background:var(--well);border-radius:var(--radius-md);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}
85
85
  .pm-set{display:flex;align-items:center;gap:12px;min-height:56px;border-top:1px solid var(--line)}
86
- .pm-rail{width:92px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
87
- .pm-rail a{position:relative;width:76px;height:64px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
86
+ .pm-rail{width:72px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
87
+ .pm-rail a{position:relative;width:60px;height:56px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
88
88
  .pm-rail a[aria-current="page"]{background:var(--card);box-shadow:var(--glow)}
89
+ .pm-rail.roomy{width:92px}.pm-rail.roomy a{width:76px;height:64px}
89
90
  .pm-rail .pm-count{position:absolute;top:3px;right:5px}
90
91
  .pm-path{display:flex;align-items:center;gap:6px;font-size:13px}
91
92
  .pm-path a{color:var(--blue)}
@@ -31,7 +31,8 @@ On a computer, one thin panel at the left edge of every page holds the places. I
31
31
 
32
32
  - At its foot: the chat icon, **Search**, **Guide** and **Settings**.
33
33
  - A number on Today says how many lines of Today's log are for today (Do first and what waits today). It shows on every place. A number on the chat icon says how many sessions wait for you.
34
- - A blue dot on a place means that it has something new to show. An amber dot on Settings means that a source is stale.
34
+ - A blue dot on a place means that it has something new to show. A rust-coloured dot on Settings means that a source is stale.
35
+ - The place you are on has a green ring. The rail is the design system's Navigation part.
35
36
  - Settings opens over the page you are on. The navigation stays.
36
37
  - The navigation does not count as a panel.
37
38
  - The product choice is at the top left of Work and Goals. It is one choice for both. It shows the product's full name, "All products", or the first name and "+2".
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.640.0",
3
+ "version": "0.641.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.640.0",
9
+ "version": "0.641.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@anthropic-ai/sdk": "^1.3.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.640.0",
3
+ "version": "0.641.0",
4
4
  "private": true,
5
5
  "description": "PMOS Terminal Workspace — local companion hosting real PTYs beside the library and gates (D62)",
6
6
  "license": "MIT",
@@ -460,30 +460,22 @@
460
460
  /* ── The rail (slice 1 of the six places; boards StToday, StWorkList, StSettings): on a desktop the menu is one thin panel at the left
461
461
  edge of every page, always shown. It is not a panel: the page leaves its width free. The floating button is a phone's only. ── */
462
462
  @media (min-width: 761px) {
463
- body.cz-railon { --cz-railw: 72px; --cz-railx: 96px; } /* the rail's width, and where the page starts: 12 + 72 + 12 (frame.js on the boards) */
463
+ body.cz-railon { --cz-railw: 72px; --cz-railx: 96px; } /* the rail's width (the design system's .pm-rail, Komorebi v6), and where the page starts: 12 + 72 + 12 */
464
464
  body.cz-railon .cz-fabw { display: block !important; left: 0; bottom: 0; z-index: 60; } /* a dialog dims the rail (its scrim is above it); it never hides it */
465
465
  body.cz-railon .cz-fab, body.cz-railon .ev-fd, body.cz-railon .ev-scrim { display: none !important; }
466
- body.cz-railon .cz-fabw > .cz-fabm.ev-menu.ev-rail { position: fixed; left: 12px; top: 16px; bottom: 16px; width: var(--cz-railw); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 4px;
467
- padding: 10px 0 12px; border: 0; border-radius: 24px; background: var(--cz-well); box-shadow: none; overflow: hidden auto; scrollbar-width: none; }
468
- .ev-menu.ev-rail a.ev-rp { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 60px; height: 56px; min-height: 0; padding: 0; margin: 0; border-radius: 16px;
469
- color: var(--cz-ink2); font-size: var(--fs-label); font-weight: var(--fw-strong); line-height: var(--lh-label); text-decoration: none; background: none; }
470
- .ev-menu.ev-rail a.ev-rp svg { width: 20px; height: 20px; color: currentColor; }
471
- .ev-menu.ev-rail a.ev-rp:hover { background: var(--cz-well2); }
472
- .ev-menu.ev-rail a.ev-rp[aria-current="page"] { background: var(--cz-card); color: var(--cz-blueink); box-shadow: 0 1px 2px rgba(30,40,60,.08), 0 4px 14px rgba(30,40,60,.06); }
473
- .ev-menu.ev-rail a.ev-rp:focus-visible, .ev-menu.ev-rail .ev-rb:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 1px; }
466
+ /* the rail is the design system's Navigation part (pm/komorebi.css .pm-rail: its look, the leaf ring on the page you are on, pm-count,
467
+ pm-btn): here only where it sits, and the phone menu's own spacing taken off its links and buttons */
468
+ body.cz-railon .cz-fabw > .cz-fabm.ev-menu.ev-rail { position: fixed; left: 12px; top: 16px; bottom: 16px; width: var(--cz-railw); border: 0; box-shadow: none; overflow: hidden auto; scrollbar-width: none; }
469
+ .cz-fabm.ev-menu.ev-rail a, .cz-fabm.ev-menu.ev-rail button { flex: none; min-height: 0; padding: 0; margin: 0; }
470
+ .cz-fabm.ev-menu.ev-rail svg { color: currentColor; }
474
471
  .ev-menu.ev-rail .ev-rsp { flex: 1; min-height: 12px; }
475
472
  .ev-menu.ev-rail .ev-rtray { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
476
- .ev-menu.ev-rail button.ev-rb { position: relative; width: 44px; height: 44px; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 14px; background: none; color: var(--cz-ink2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
477
- .ev-menu.ev-rail button.ev-rb:hover { background: var(--cz-well2); }
478
- .ev-menu.ev-rail button.ev-rb svg { width: 20px; height: 20px; color: currentColor; }
479
- /* a number: Today's calls, the sessions that wait for you. A dot: a place with something new (blue), a stale source (amber). */
480
- .ev-menu.ev-rail .ev-rn { position: absolute; top: 3px; right: 5px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--cz-blueink); color: var(--cz-onsolid);
481
- font-style: normal; font-size: var(--fs-badge); font-weight: var(--fw-strong); line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--cz-well); transform: scale(.85); transform-origin: top right; }
482
- .ev-menu.ev-rail .ev-rb .ev-rn { top: 1px; right: 0; }
483
- .ev-menu.ev-rail a.ev-rp[aria-current="page"] .ev-rn { box-shadow: 0 0 0 2px var(--cz-card); }
484
- .ev-menu.ev-rail .ev-rd { position: absolute; top: 8px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--cz-blue); box-shadow: 0 0 0 2px var(--cz-well); }
473
+ .ev-menu.ev-rail .ev-rb { position: relative; width: 44px; height: 44px; }
474
+ .ev-menu.ev-rail .ev-rb .pm-count { position: absolute; top: 0; right: 0; }
475
+ /* a dot: a place with something new (blue), a stale source (amber) */
476
+ .ev-menu.ev-rail .ev-rd { position: absolute; top: 8px; right: 14px; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--blue); }
485
477
  .ev-menu.ev-rail .ev-rb .ev-rd { top: 9px; right: 9px; }
486
- .ev-menu.ev-rail .ev-rd.risk { background: var(--cz-dot-risk); }
478
+ .ev-menu.ev-rail .ev-rd.risk { background: var(--alert); }
487
479
  /* the round Live button and its list, until the popup's chat holds the sessions: at the foot of the rail, above the chat icon */
488
480
  body.cz-railon .cz-fabw .cz-live { position: fixed; left: 26px; bottom: 228px; visibility: visible !important; } /* the rail is never a menu that covers it */
489
481
  body.cz-railon .cz-fabw .lv-tray:not(.lv-r) { position: fixed; left: calc(var(--cz-railx) - 8px); bottom: 16px; }
@@ -496,7 +488,7 @@
496
488
  /* the product choice is Work's and Goals' (one shared pick); Today reads the products of that pick */
497
489
  body.cz-railon.cz-home #hmPick { display: none; }
498
490
  }
499
- @media (min-width: 761px) and (max-height: 640px) { .ev-menu.ev-rail a.ev-rp { height: 48px; gap: 3px; } }
491
+ @media (min-width: 761px) and (max-height: 640px) { .pm-ds .cz-fabm.ev-menu.ev-rail a { height: 48px; } }
500
492
  /* Settings, one container (slice 1, board StSettings): each group of rows is one card with a thin border */
501
493
  .ev-st .ev-tcard { border-radius: 16px; background: var(--cz-card); box-shadow: inset 0 0 0 1px var(--cz-hair); overflow: hidden; margin: 6px 0 4px; flex: none; }
502
494
  .ev-st .ev-tcard > .ev-trow { padding-left: 18px; padding-right: 18px; margin: 0; border-radius: 0; }
@@ -81,6 +81,9 @@ export const railOn = () => typeof matchMedia === 'function' && matchMedia(DESK)
81
81
  export { fabLabel };
82
82
  const THEME_KEY = 'pmos.c3.theme';
83
83
  const CSS = new URL('./cozy-ev.css', import.meta.url).href;
84
+ // the PMOS design system (design-system-family): brand, then charts, then the UI sheet. Every rule is scoped to .pm-ds, so loading them
85
+ // changes nothing until an element carries the class: the rail does (below), and a page that has moved to the system does on its root
86
+ const FAMILY = ['brand', 'charts', 'komorebi'].map((n) => new URL(`./${n}.css`, import.meta.url).href);
84
87
  const N = { news: 0, stale: null, here: 'home', calls: 0, fresh: new Set(), extra: [], from: null, waiting: 0, live: 0, rail: false, phone: false };
85
88
  let OPEN = null; // mountNav's own open(o): openMenu reaches the one menu of the page
86
89
  /* A place that just opened (onboarding B3, ObA4Gradual; GET /api/moments places[p].dot): its menu row gets one soft blue dot until the PM
@@ -138,24 +141,26 @@ export function phoneMenuHtml(here, o = {}) {
138
141
  /** The rail's markup; pure, so a unit test can read it. here: home | board | insights. o: { calls, stale, fresh, waiting }
139
142
  * calls: the calls that are yours (Today's number); waiting: the sessions that wait for you (the chat icon's number). Zero is silence. */
140
143
  export function railHtml(here, o = {}) {
141
- const n = (v) => (v > 0 ? `<i class="ev-rn" aria-hidden="true">${v > 99 ? '99+' : v}</i>` : '');
144
+ // the design system's Navigation part (design-system/ui, .pm-rail): the page you are on carries the leaf ring, a number is a pm-count
145
+ const n = (v) => (v > 0 ? `<span class="pm-count" aria-hidden="true">${v > 99 ? '99+' : v}</span>` : '');
146
+ const ic = (d) => svg(d, 18).replace('<svg ', '<svg class="pm-ic" ');
142
147
  const places = PLACES.map((p) => {
143
148
  const cur = p.key === here, calls = p.key === 'home' && o.calls > 0, opened = !cur && !!(o.fresh && o.fresh.has(p.key));
144
149
  const lab = calls ? `${p.label}. ${callWords(o.calls)}` : opened ? `${p.label}. New: it has something to show now` : '';
145
- return `<a class="ev-rp" href="${p.href}"${cur ? ' aria-current="page"' : ''}${lab ? ` aria-label="${esc(lab)}"` : ''}>${svg(p.d, 20)}<span>${esc(p.label)}</span>${calls ? n(o.calls) : opened ? '<i class="ev-rd" aria-hidden="true"></i>' : ''}</a>`;
150
+ return `<a href="${p.href}"${cur ? ' aria-current="page"' : ''}${lab ? ` aria-label="${esc(lab)}"` : ''}>${ic(p.d)}<span>${esc(p.label)}</span>${calls ? n(o.calls) : opened ? '<i class="ev-rd" aria-hidden="true"></i>' : ''}</a>`;
146
151
  }).join('');
147
152
  const w = o.waiting > 0 ? `Ask PMOS. ${o.waiting === 1 ? 'One session waits' : o.waiting + ' sessions wait'} for you` : 'Ask PMOS';
148
153
  return places + '<div class="ev-rsp"></div><div class="ev-rtray">'
149
- + `<button type="button" class="ev-rb" data-cz-chat aria-label="${esc(w)}" title="${esc(w)}">${svg(ICON.chat, 20)}${n(o.waiting)}</button>`
150
- + `<button type="button" class="ev-rb" data-cz-search aria-label="Search (⌘K)" title="Search ⌘K">${svg(ICON.search, 20)}</button>`
151
- + `<button type="button" class="ev-rb" data-cz-guide aria-label="Guide" title="Guide">${svg(ICON.guide, 20)}</button>`
152
- + `<button type="button" class="ev-rb" data-cz-settings aria-label="Settings${o.stale ? '. ' + esc(o.stale.text) : ''}" title="Settings">${svg(ICON.settings, 20)}${o.stale ? '<i class="ev-rd risk" aria-hidden="true"></i>' : ''}</button>`
154
+ + `<button type="button" class="pm-btn ev-rb" data-cz-chat aria-label="${esc(w)}" title="${esc(w)}">${ic(ICON.chat)}${n(o.waiting)}</button>`
155
+ + `<button type="button" class="pm-btn ev-rb" data-cz-search aria-label="Search (⌘K)" title="Search ⌘K">${ic(ICON.search)}</button>`
156
+ + `<button type="button" class="pm-btn ev-rb" data-cz-guide aria-label="Guide" title="Guide">${ic(ICON.guide)}</button>`
157
+ + `<button type="button" class="pm-btn ev-rb" data-cz-settings aria-label="Settings${o.stale ? '. ' + esc(o.stale.text) : ''}" title="Settings">${ic(ICON.settings)}${o.stale ? '<i class="ev-rd risk" aria-hidden="true"></i>' : ''}</button>`
153
158
  + '</div>';
154
159
  }
155
160
 
156
161
  function addCss(doc) {
157
- if (doc.querySelector(`link[href="${CSS}"]`)) return;
158
- const l = doc.createElement('link'); l.rel = 'stylesheet'; l.href = CSS; doc.head.append(l);
162
+ const has = (h) => [...doc.querySelectorAll('link[rel="stylesheet"]')].some((l) => l.href === h);
163
+ for (const h of [CSS, ...FAMILY]) { if (has(h)) continue; const l = doc.createElement('link'); l.rel = 'stylesheet'; l.href = h; doc.head.append(l); }
159
164
  }
160
165
  async function getj(p) { try { const r = await fetch(p, { credentials: 'same-origin' }); return r.ok ? await r.json() : null; } catch { return null; } }
161
166
 
@@ -189,6 +194,8 @@ export function mountNav(here, doc = document, opts = {}) {
189
194
  doc.body.classList.toggle('cz-railon', N.rail);
190
195
  doc.body.classList.toggle('cz-chatpop', N.rail && typeof window.czOpenChat === 'function'); // the popup's chat holds the sessions: no Live button
191
196
  menu.classList.toggle('ev-rail', N.rail);
197
+ menu.classList.toggle('pm-rail', N.rail); // the rail is the design system's Navigation part; its wrapper opts in with pm-ds
198
+ w.classList.toggle('pm-ds', N.rail);
192
199
  menu.setAttribute('aria-label', N.rail ? 'Places' : 'Menu');
193
200
  if (N.rail) {
194
201
  if (menu.hidden) { menu.hidden = false; scrim.hidden = true; }
@@ -90,9 +90,11 @@
90
90
  .pm-ds .pm-doc h3{font-size:18px;line-height:24px;margin:0 0 4px}
91
91
  .pm-ds .pm-stage{background:var(--well);border-radius:var(--radius-md);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}
92
92
  .pm-ds .pm-set{display:flex;align-items:center;gap:12px;min-height:56px;border-top:1px solid var(--line)}
93
- .pm-ds .pm-rail{width:92px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
94
- .pm-ds .pm-rail a{position:relative;width:76px;height:64px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
93
+ .pm-ds .pm-rail{width:72px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
94
+ .pm-ds .pm-rail a{position:relative;width:60px;height:56px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
95
95
  .pm-ds .pm-rail a[aria-current="page"]{background:var(--card);box-shadow:var(--glow)}
96
+ .pm-ds .pm-rail.roomy{width:92px}
97
+ .pm-ds .pm-rail.roomy a{width:76px;height:64px}
96
98
  .pm-ds .pm-rail .pm-count{position:absolute;top:3px;right:5px}
97
99
  .pm-ds .pm-path{display:flex;align-items:center;gap:6px;font-size:13px}
98
100
  .pm-ds .pm-path a{color:var(--blue)}