create-pmos 0.455.0 → 0.456.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 +18 -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/changelog.json +17 -0
- package/workspace/guide/initiatives-screen.md +2 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/ini-view.css +14 -5
- package/workspace/public/pm/ini-view.js +4 -8
- package/workspace/stage-card-test.js +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.456.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,23 @@
|
|
|
32
32
|
"audit"
|
|
33
33
|
],
|
|
34
34
|
"pmosChanges": [
|
|
35
|
+
{
|
|
36
|
+
"v": "0.456.0",
|
|
37
|
+
"at": "2026-10-29T14:45:16.947Z",
|
|
38
|
+
"f": 2,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": null,
|
|
42
|
+
"t": "Compact initiative summary above full-width tasks",
|
|
43
|
+
"s": "Compact initiative summary above full-width tasks"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"n": 1102,
|
|
47
|
+
"t": "Compact initiative summary above full-width tasks",
|
|
48
|
+
"s": "Compact initiative summary above full-width tasks"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
35
52
|
{
|
|
36
53
|
"v": "0.455.0",
|
|
37
54
|
"at": "2026-10-29T14:18:58.190Z",
|
|
@@ -259,18 +276,6 @@
|
|
|
259
276
|
"s": "Calm Mentions, one conversation per thread (batch 16 item 12)"
|
|
260
277
|
}
|
|
261
278
|
]
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"v": "0.436.0",
|
|
265
|
-
"at": "2026-10-28T04:57:50.844Z",
|
|
266
|
-
"f": 2,
|
|
267
|
-
"prs": [
|
|
268
|
-
{
|
|
269
|
-
"n": 1079,
|
|
270
|
-
"t": "Task Delete sticks and the Task Viewer has Delete; Tasks timeline zooms to 5 years and opens full width (feedback batch 17 items 2, 3)",
|
|
271
|
-
"s": "Task Delete sticks and the Task Viewer has Delete; Tasks timeline zooms to 5 years and opens full width (feedback batch 17 items 2, 3)"
|
|
272
|
-
}
|
|
273
|
-
]
|
|
274
279
|
}
|
|
275
280
|
]
|
|
276
281
|
}
|
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-29T14:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-29T14:45:13Z"}
|
|
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-29T14:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-29T14:45:13Z"}
|
|
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-29T14:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-29T14:45:13Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.456.0",
|
|
4
|
+
"at": "2026-10-29T14:45:16.947Z",
|
|
5
|
+
"f": 2,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": null,
|
|
9
|
+
"t": "Compact initiative summary above full-width tasks",
|
|
10
|
+
"s": "Compact initiative summary above full-width tasks"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"n": 1102,
|
|
14
|
+
"t": "Compact initiative summary above full-width tasks",
|
|
15
|
+
"s": "Compact initiative summary above full-width tasks"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
2
19
|
{
|
|
3
20
|
"v": "0.455.0",
|
|
4
21
|
"at": "2026-10-29T14:18:58.190Z",
|
|
@@ -11,6 +11,8 @@ The Initiatives place shows every initiative of the selected repository. Each in
|
|
|
11
11
|
|
|
12
12
|
Press **Roadmap** or **List** at the top to change the view. The workspace keeps your choice in this browser.
|
|
13
13
|
|
|
14
|
+
An open initiative uses one column. On a wide screen, a compact mission summary shows the current stage, dates and next-stage action above the milestones. Tasks fills the width below and scrolls with the page. On a narrow screen, tap the mission picture to see its dates and milestones.
|
|
15
|
+
|
|
14
16
|
### Scan repository
|
|
15
17
|
|
|
16
18
|
The workspace reads the stage, the files and the breakdown of each initiative from the repository. It reads them again when an initiative record changes, and at the latest after ten minutes. A change that does not touch a record, for example a new PRD or a pull request merged on the trunk, can show late.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.456.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.456.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/sdk": "^1.3.0",
|
package/workspace/package.json
CHANGED
|
@@ -870,12 +870,9 @@ button.iva-tb:hover, button.iva-r.g:not(:disabled):hover { filter: brightness(.9
|
|
|
870
870
|
.iv { container: iv / inline-size; }
|
|
871
871
|
.iv-cols { display: flex; flex-direction: column; gap: 12px; }
|
|
872
872
|
.iv-cl, .iv-cr { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
|
|
873
|
-
/*
|
|
873
|
+
/* One reading column: the summary and milestones lead into full-width Tasks. */
|
|
874
874
|
@container iv (min-width: 820px) {
|
|
875
|
-
.iv-
|
|
876
|
-
.iv-cl { position: sticky; top: 0; }
|
|
877
|
-
/* Tasks starts level with the card (canvas v582), fills the Viewer's height and scrolls on its own */
|
|
878
|
-
.iv-cr > .iv-tasks { height: var(--iv-h, auto); overflow-y: auto; overscroll-behavior: contain; flex: none; }
|
|
875
|
+
.iv-cr > .iv-tasks { height: auto; overflow: visible; }
|
|
879
876
|
.iv-cl > .iv-msc { display: flex; }
|
|
880
877
|
}
|
|
881
878
|
/* the Milestones card under the card, desktop only (Wawan 10:53, canvas v586): a green tick when done, the next in blue */
|
|
@@ -984,6 +981,18 @@ button.iv-mt.iv-wf { padding: 0 !important; margin: 0 !important; }
|
|
|
984
981
|
.iv-mio-h .iv-dtc { display: block !important; line-height: 36px; white-space: nowrap; min-width: 0; max-width: 100%; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
|
|
985
982
|
.iv-mio-h .iv-mo, .iv-mio-h .iv-scgo { flex: none; }
|
|
986
983
|
.iv-dtc.w { color: var(--cz-late) !important; }
|
|
984
|
+
/* Desktop summary: keep the illustration small instead of stretching it across the page. */
|
|
985
|
+
@container iv (min-width: 820px) {
|
|
986
|
+
.iv-card .iv-mis { display: grid; grid-template-columns: 260px minmax(0, 1fr); column-gap: 20px; align-items: center; }
|
|
987
|
+
.iv-card .iv-mis > .iv-mi { grid-column: 1; grid-row: 1 / span 2; margin: 0; border-radius: 12px; }
|
|
988
|
+
.iv-card .iv-mis > .iv-sch { display: flex; grid-column: 2; grid-row: 1; }
|
|
989
|
+
.iv-mis .iv-shn { display: inline-flex; }
|
|
990
|
+
.iv-mis .iv-mi-nm { display: none; }
|
|
991
|
+
.iv-card .iv-mis > .iv-mio { grid-column: 2; grid-row: 2; }
|
|
992
|
+
.iv-card:not(:has(.iv-ask, .iv-win)) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 20px; }
|
|
993
|
+
.iv-card:not(:has(.iv-ask, .iv-win)) > .iv-hr { display: none; }
|
|
994
|
+
.iv-card:not(:has(.iv-ask, .iv-win)) > .iv-meta { max-width: 240px; flex-wrap: wrap; }
|
|
995
|
+
}
|
|
987
996
|
/* a real win (XvpE5Adler 1): he stands in the card with a soft green glow, his thanks and the one primary */
|
|
988
997
|
.iv-win { display: flex; align-items: flex-end; gap: 12px; position: relative; }
|
|
989
998
|
.iv-wfig { flex: none; position: relative; }
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*
|
|
6
6
|
* viewHtml(v, o) the body: the card (batch 18 item 1, XvpA1: Adler's ask with the one primary, the meta line of icons, then the
|
|
7
7
|
* mission, pm/mission.js, in the stage line's place), then Tasks as the WBS (sections in workflow order), then Documents
|
|
8
|
-
* and Linked as folds.
|
|
9
|
-
*
|
|
8
|
+
* and Linked as folds. The compact desktop summary and milestones sit above full-width Tasks.
|
|
9
|
+
* Under the card, the success measure Claude drafted from the PRD (pm/metric-drafts.js, GET
|
|
10
10
|
* /api/metric-drafts scope initiative): the proposal, or once kept its fold with Undo; nothing when nothing is drafted.
|
|
11
11
|
* o: { add (the Tasks + icon), adding (the inline field is open), next (the next stage is a press: Home's move sheet), openTask, docs: { n, html? } | null,
|
|
12
12
|
* quick (each task's box carries the status caret and its date is a press: the host has h.status and h.dates),
|
|
@@ -361,8 +361,7 @@ export function viewHtml(v, o = {}) {
|
|
|
361
361
|
if (v && v.id) VIEWED.set(v.id, v);
|
|
362
362
|
// a merged initiative leads with where its work went, and draws no stage or tasks (they moved; its folds stay); an open one shows Claude's split or merge card under the summary (batch 11 item 14)
|
|
363
363
|
if (v.merged) return `<div class="iv" data-iv="${esc(v.id || v.key || '')}"><div class="iv-cols"><div class="iv-cl">${smMerged(v.merged)}</div><div class="iv-cr">${foldsHtml(v, o)}${o.tail || ''}</div></div></div>`;
|
|
364
|
-
//
|
|
365
|
-
// for it on the left, Tasks on the right from the same top (canvas v582), as one panel with its own scroll; one column below it
|
|
364
|
+
// One reading column: summary, milestones and proposals, then content-sized Tasks and document folds.
|
|
366
365
|
return `<div class="iv" data-iv="${esc(v.id || v.key || '')}"><div class="iv-cols"><div class="iv-cl">${cardHtml(v, o)}${msCardHtml(v, o)}${o.sm !== false ? smCard(v.suggest, v.title) : ''}${MD.iniHtml(v.id, '', v.title)}</div>`
|
|
367
366
|
+ `<div class="iv-cr"><section class="iv-tasks" aria-label="Tasks">${tasksHtml(v, o)}</section>${foldsHtml(v, o)}${o.tail || ''}</div></div></div>`;
|
|
368
367
|
}
|
|
@@ -382,10 +381,7 @@ export function wireView(body, h) {
|
|
|
382
381
|
body.__ivWired = true;
|
|
383
382
|
// the ✦ after the title and the drafted measure follow each draw
|
|
384
383
|
if (typeof MutationObserver === 'function') {
|
|
385
|
-
|
|
386
|
-
const tall = () => { const iv = body.querySelector('.iv'); if (!iv) return; const top = iv.getBoundingClientRect().top - body.getBoundingClientRect().top + body.scrollTop;
|
|
387
|
-
const h = Math.max(320, Math.round(body.clientHeight - top - 16)); if (iv.style.getPropertyValue('--iv-h') !== h + 'px') iv.style.setProperty('--iv-h', h + 'px'); };
|
|
388
|
-
let q = 0; const fit = () => { if (q) return; q = requestAnimationFrame(() => { q = 0; chip(); tall(); }); };
|
|
384
|
+
let q = 0; const fit = () => { if (q) return; q = requestAnimationFrame(() => { q = 0; chip(); }); };
|
|
389
385
|
new MutationObserver(fit).observe(body, { childList: true, subtree: true });
|
|
390
386
|
if (typeof ResizeObserver === 'function') new ResizeObserver(fit).observe(body);
|
|
391
387
|
fit();
|
|
@@ -193,6 +193,13 @@ async function pure() {
|
|
|
193
193
|
ok('D1b the Milestones card sits under the card: "Milestones 1 of 3 done", the done one ticked', !!mc && mc.after && /^Milestones ?1 of 3 done$/.test(mc.head) && mc.tick === 1 && /^dn:Brief signed off/.test(mc.rows[0]), JSON.stringify(mc));
|
|
194
194
|
ok('D1b the next one is marked with "in N days", and the release says so', !!mc && /^up:Rollout to all workspacesDec 1 · in \d+ days · release$/.test(mc.rows[1]) && /^:Did it work\?Feb 1/.test(mc.rows[2]), JSON.stringify(mc && mc.rows));
|
|
195
195
|
ok('D1b each row is a press for its task', !!mc && mc.press, JSON.stringify(mc));
|
|
196
|
+
const layout = await p.evaluate((v) => {
|
|
197
|
+
const root = document.querySelector(v + ' .iv'), summary = root.querySelector('.iv-cl'), tasks = root.querySelector('.iv-tasks'), picture = root.querySelector('.iv-mi');
|
|
198
|
+
const s = summary.getBoundingClientRect(), t = tasks.getBoundingClientRect(), pic = picture.getBoundingClientRect();
|
|
199
|
+
return { stacked: t.top >= s.bottom, full: Math.abs(t.width - s.width) < 2, compact: pic.width <= 261 && pic.height < 150,
|
|
200
|
+
scroll: getComputedStyle(tasks).overflowY, overflow: root.scrollWidth > root.clientWidth };
|
|
201
|
+
}, V);
|
|
202
|
+
ok('D1b desktop puts full-width Tasks below a compact summary, with one page scroll', layout.stacked && layout.full && layout.compact && layout.scroll === 'visible' && !layout.overflow, JSON.stringify(layout));
|
|
196
203
|
// Wawan 11:58 (0.442.0 hotfix): in two columns the dates line, ⋯ and the next stage show under the picture without a tap, and the
|
|
197
204
|
// milestones are said once, in this card; a tap on the picture does not list them again
|
|
198
205
|
ok('D1b in two columns the dates line and the next stage show under the picture at once', await miShown(p) && await p.evaluate((v) => { const n = document.querySelector(v + ' .iv-sc [data-iv-next]'); return !!n && !!n.offsetParent; }, V));
|