create-pmos 0.358.0 → 0.359.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 +13 -13
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/briefing-premium-work-test.js +6 -0
- package/workspace/changelog.json +12 -0
- package/workspace/guide/briefing-premium.md +1 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/premium-shell.js +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.359.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": {
|
|
@@ -32,6 +32,18 @@
|
|
|
32
32
|
"audit"
|
|
33
33
|
],
|
|
34
34
|
"pmosChanges": [
|
|
35
|
+
{
|
|
36
|
+
"v": "0.359.0",
|
|
37
|
+
"at": "2026-10-20T13:30:13.743Z",
|
|
38
|
+
"f": 2,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": 958,
|
|
42
|
+
"t": "The phone rail returns to the bottom after the keyboard closes",
|
|
43
|
+
"s": "When a field loses focus or the keyboard closes, the bar goes back to the bottom of the screen and the dock back to the top."
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
35
47
|
{
|
|
36
48
|
"v": "0.358.0",
|
|
37
49
|
"at": "2026-10-20T11:00:48.565Z",
|
|
@@ -279,18 +291,6 @@
|
|
|
279
291
|
"s": "Each such goal adds one row to the Briefing list, built in the existing row pattern."
|
|
280
292
|
}
|
|
281
293
|
]
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"v": "0.339.0",
|
|
285
|
-
"at": "2026-10-20T03:01:53.405Z",
|
|
286
|
-
"f": 2,
|
|
287
|
-
"prs": [
|
|
288
|
-
{
|
|
289
|
-
"n": 934,
|
|
290
|
-
"t": "A started /goal keeps working until it is done",
|
|
291
|
-
"s": "Every chat panel session starts with a Claude Code Stop hook."
|
|
292
|
-
}
|
|
293
|
-
]
|
|
294
294
|
}
|
|
295
295
|
]
|
|
296
296
|
}
|
package/payload/KIT-VERSION
CHANGED
|
@@ -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-10-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-20T13:30:11Z"}
|
|
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-10-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-20T13:30:11Z"}
|
|
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-10-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-20T13:30:11Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -245,6 +245,12 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
245
245
|
await q.keyboard.press('Escape'); await sleep(300);
|
|
246
246
|
const pg = await q.evaluate(() => ({ over: document.documentElement.scrollWidth > innerWidth + 1, small: [...document.querySelectorAll('.wck, .capb, .wrh, #revBtn, .fchip, .qtb')].filter((b) => !b.closest('[hidden]') && b.getBoundingClientRect().height < 44 && b.getBoundingClientRect().height > 0).map((b) => b.className + ':' + Math.round(b.getBoundingClientRect().height)) }));
|
|
247
247
|
ok(`M12 at 390 px (${theme}) the page has no sideways scroll and every control is 44 px`, !pg.over && pg.small.length === 0, JSON.stringify(pg));
|
|
248
|
+
/* the rail after the keyboard (Wawan's phone, 2026-10-20): leaving a field nudges the scroll by a pixel and back, so iOS places the fixed rail at the bottom again */
|
|
249
|
+
await q.evaluate(() => { const y = document.querySelector('#qBody').getBoundingClientRect().top + scrollY - 250; scrollTo(0, y); window.__ys = []; addEventListener('scroll', () => window.__ys.push(scrollY)); });
|
|
250
|
+
await sleep(200); const y0 = await q.evaluate(() => scrollY);
|
|
251
|
+
await q.evaluate(() => { const i = document.querySelector('#capIn'); i.focus({ preventScroll: true }); i.blur(); }); await sleep(600);
|
|
252
|
+
const kb = await q.evaluate(() => { const r = document.querySelector('.rail').getBoundingClientRect(); return { ys: window.__ys, y: scrollY, bottom: Math.round(innerHeight - r.bottom) }; });
|
|
253
|
+
ok(`M12 at 390 px (${theme}) leaving a field settles the fixed layer: a one-pixel scroll and back, and the rail stays 12 px off the bottom`, kb.ys.length >= 2 && kb.y === y0 && kb.bottom === 12, JSON.stringify({ y0, ...kb }));
|
|
248
254
|
await R.ctx.close();
|
|
249
255
|
}
|
|
250
256
|
{
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.359.0",
|
|
4
|
+
"at": "2026-10-20T13:30:13.743Z",
|
|
5
|
+
"f": 2,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 958,
|
|
9
|
+
"t": "The phone rail returns to the bottom after the keyboard closes",
|
|
10
|
+
"s": "When a field loses focus or the keyboard closes, the bar goes back to the bottom of the screen and the dock back to the top."
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
2
14
|
{
|
|
3
15
|
"v": "0.358.0",
|
|
4
16
|
"at": "2026-10-20T11:00:48.565Z",
|
|
@@ -11,7 +11,7 @@ The premium Briefing is a page of its own at `/premium.html`. The console at `/`
|
|
|
11
11
|
|
|
12
12
|
Every premium page uses the console's type: Space Grotesk for text, IBM Plex Mono for times and labels, and the same sizes and weights as the console. A premium page and the console at the same place read at the same size.
|
|
13
13
|
|
|
14
|
-
A rail on the left names four places: Briefing, My work, Board and Insights. Each is a premium page.
|
|
14
|
+
A rail on the left names four places: Briefing, My work, Board and Insights. Each is a premium page. On a phone the rail is a bar at the bottom of the screen. It stays at the bottom after you type in a field and the keyboard closes.
|
|
15
15
|
|
|
16
16
|
Every premium page has the same top bar. On the left is where you are, then a round **Chat** button. On the right are the **Sources** chip, the bell and one **⋯** menu.
|
|
17
17
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.359.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pmos-workspace",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.359.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@xterm/addon-fit": "^0.11.0",
|
package/workspace/package.json
CHANGED
|
@@ -426,6 +426,22 @@ export function onScroll() {
|
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
addEventListener('scroll', onScroll, { passive: true }); addEventListener('resize', onScroll);
|
|
429
|
+
/* ── the fixed layer after the phone keyboard (Wawan's phone, 2026-10-20): when the soft keyboard closes, iOS Safari can leave the fixed
|
|
430
|
+
* layer raised by the keyboard's height until the next scroll, so the rail floats over the middle of a card and the dock leaves the top.
|
|
431
|
+
* A one-pixel scroll and back makes WebKit place the layer again; anywhere else it is a no-op. ── */
|
|
432
|
+
const EDITABLE = 'input,textarea,select,[contenteditable="true"],[contenteditable=""]';
|
|
433
|
+
export function settleFixed() {
|
|
434
|
+
const y = scrollY, d = y > 0 ? -1 : 1;
|
|
435
|
+
scrollTo(scrollX, y + d); scrollTo(scrollX, y);
|
|
436
|
+
}
|
|
437
|
+
document.addEventListener('focusout', (e) => {
|
|
438
|
+
if (!(e.target instanceof Element) || !e.target.matches(EDITABLE)) return;
|
|
439
|
+
setTimeout(settleFixed, 60); setTimeout(settleFixed, 400); // the keyboard closes over ~300ms; settle as it starts and once it is gone
|
|
440
|
+
});
|
|
441
|
+
if (window.visualViewport) {
|
|
442
|
+
let kb = false;
|
|
443
|
+
visualViewport.addEventListener('resize', () => { const shut = visualViewport.height >= innerHeight - 1; if (kb && shut) settleFixed(); kb = !shut; });
|
|
444
|
+
}
|
|
429
445
|
|
|
430
446
|
/* ── the rail: Briefing, My work, Board and Insights are premium pages ── */
|
|
431
447
|
const GO = { brief: '/premium.html', work: '/premium-work.html', init: '/premium-board.html', rep: '/premium-insights.html' };
|