create-pmos 0.472.0 → 0.473.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 +14 -14
- 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/board-shared-ui-test.js +7 -0
- package/workspace/changelog.json +13 -0
- package/workspace/guide/published-board.md +1 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/bd-shared.css +1 -0
- package/workspace/public/pm/bd-shared.js +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.473.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,19 @@
|
|
|
32
32
|
"audit"
|
|
33
33
|
],
|
|
34
34
|
"pmosChanges": [
|
|
35
|
+
{
|
|
36
|
+
"v": "0.473.0",
|
|
37
|
+
"at": "2026-11-01T01:14:19.818Z",
|
|
38
|
+
"f": 3,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": 1128,
|
|
42
|
+
"t": "Shared tab — a name that cannot open is plain text, with the reason",
|
|
43
|
+
"s": "Shared tab — a name that cannot open is plain text, with the reason",
|
|
44
|
+
"k": "fix"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
35
48
|
{
|
|
36
49
|
"v": "0.472.0",
|
|
37
50
|
"at": "2026-11-01T00:41:46.421Z",
|
|
@@ -284,19 +297,6 @@
|
|
|
284
297
|
"k": "fix"
|
|
285
298
|
}
|
|
286
299
|
]
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"v": "0.453.0",
|
|
290
|
-
"at": "2026-10-29T13:17:59.342Z",
|
|
291
|
-
"f": 3,
|
|
292
|
-
"prs": [
|
|
293
|
-
{
|
|
294
|
-
"n": 1099,
|
|
295
|
-
"t": "The mission scene uses the blue Adler PNG set",
|
|
296
|
-
"s": "The mission scene uses the blue Adler PNG set",
|
|
297
|
-
"k": "new"
|
|
298
|
-
}
|
|
299
|
-
]
|
|
300
300
|
}
|
|
301
301
|
]
|
|
302
302
|
}
|
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-11-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-01T01:14:16Z"}
|
|
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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-01T01:14:16Z"}
|
|
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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-01T01:14:16Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -97,6 +97,13 @@ const iso = (ms) => new Date(Date.now() + ms).toISOString();
|
|
|
97
97
|
const names = await s.p.locator('#cShared .bdsh-table .bd-dlink').allTextContents();
|
|
98
98
|
ok('C2 your own links come first, then the team\'s, and an ended copy last; your link in the team list is not drawn twice', JSON.stringify(names) === JSON.stringify(['IDPF', 'Project Ascent', 'Descope feature parity', 'Payments redesign', 'Legacy IdP sunset']), JSON.stringify(names));
|
|
99
99
|
ok('C3 an ended copy is dimmed and is not a button; a copy that ends within a day and a half shows the Board\'s warning dot', (await s.p.locator('#cShared .bdsh-table .bdsh-gone').count()) === 1 && (await s.p.locator('#cShared .bdsh-table .bdsh-gone button.bd-dlink').count()) === 0 && (await s.p.locator('#cShared .bdsh-table .s-risk').count()) === 2);
|
|
100
|
+
ok('C3b a name that cannot open is plain text, not a link: an ended copy, and a link with no team (which says why)', await s.p.evaluate(async () => {
|
|
101
|
+
const { viewHtml } = await import('/pm/bd-shared.js'); const d = document.createElement('div');
|
|
102
|
+
const mk = (o) => Object.assign({ id: 'x' + Math.random().toString(36).slice(2, 10), url: 'https://boards.test/b/x', team: '', name: 'No team board', kind: 'program', by: 'Wawan', made: new Date().toISOString(), ends: new Date(Date.now() + 5 * 86400000).toISOString(), views: 0, mine: true }, o);
|
|
103
|
+
d.innerHTML = viewHtml({ phase: 'ready', yours: [mk({})], teams: [], names: [], readAt: new Date().toISOString(), now: Date.now(), sel: 'all', join: { open: false, typed: false }, off: null, leave: null, status: '' });
|
|
104
|
+
const n = d.querySelector('.bdsh-table .bdsh-plain');
|
|
105
|
+
return !!n && n.tagName === 'SPAN' && !d.querySelector('[data-sh-open]') && /Opens from a team/.test(n.title);
|
|
106
|
+
}));
|
|
100
107
|
ok('C4 the line under the table says where and when it was read', /Read from boards\.test just now/.test(await s.p.locator('#cShared .bdsh-fine').last().textContent()), await s.p.locator('#cShared .bdsh-fine').last().textContent());
|
|
101
108
|
const popup = s.p.waitForEvent('popup'); await s.p.locator('#cShared .bdsh-table [data-sh-open="team0000000000000001"]').click(); const pg = await popup; await pg.waitForURL(/ONETIME/, { timeout: 8000 }).catch(() => {});
|
|
102
109
|
const o = W.posts.find((x) => x.p.endsWith('/open'));
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.473.0",
|
|
4
|
+
"at": "2026-11-01T01:14:19.818Z",
|
|
5
|
+
"f": 3,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1128,
|
|
9
|
+
"t": "Shared tab — a name that cannot open is plain text, with the reason",
|
|
10
|
+
"s": "Shared tab — a name that cannot open is plain text, with the reason",
|
|
11
|
+
"k": "fix"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
2
15
|
{
|
|
3
16
|
"v": "0.472.0",
|
|
4
17
|
"at": "2026-11-01T00:41:46.421Z",
|
|
@@ -50,6 +50,7 @@ PMOS keeps the team and its password on this computer only. It does not show the
|
|
|
50
50
|
The chips are **All**, **Yours** and one for each team. **Yours** shows only when you have open links. A chip shows how many open copies the team has.
|
|
51
51
|
|
|
52
52
|
- **A board.** Press the name of a board to open its copy in a new browser tab. You do not type the password of the link. A copy that has ended is dimmed and does not open.
|
|
53
|
+
- **A name that is plain text.** A copy with no team cannot be opened from here, because PMOS does not keep the link's own password. Its name is not a button. Hold the pointer on it for the reason. Publish with a team name to open a copy from this tab.
|
|
53
54
|
- **Yours.** Your own links have **Republish** and **Turn off**, the same as in the Publish popover. **Turn off** asks you to press a second time.
|
|
54
55
|
- **A date in red.** The copy ends within a day and a half.
|
|
55
56
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.473.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.473.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/sdk": "^1.3.0",
|
package/workspace/package.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
#cShared .bd-dt { grid-template-columns: 40px minmax(0, 1.5fr) 96px 96px minmax(0, 1fr) 84px 70px 130px 190px; }
|
|
4
4
|
#cShared .bd-dby { display: flex; gap: 6px; justify-content: flex-end; overflow: visible; }
|
|
5
5
|
#cShared .bdsh-gone { opacity: .5; }
|
|
6
|
+
#cShared .bdsh-plain, #cShared .bdsh-plain:hover { cursor: default; color: var(--cz-ink); font-weight: 600; } /* a name that cannot be pressed does not look like a link */
|
|
6
7
|
#cShared .bdsh-cards { display: none; }
|
|
7
8
|
#cShared .bd-btn.on { border-color: var(--bad); color: var(--bad); }
|
|
8
9
|
#cShared .bdsh-join { display: grid; gap: 12px; padding: 22px 8px 14px; justify-items: start; max-width: 560px; }
|
|
@@ -46,7 +46,8 @@ const openable = (S, r) => !r.ended && (r.team ? (S.teams || []).some((t) => t.t
|
|
|
46
46
|
|
|
47
47
|
function row(S, r) {
|
|
48
48
|
const act = r.mine ? `<button type="button" class="bd-btn sm" data-sh-re="${esc(r.id)}">Republish</button><button type="button" class="bd-btn sm${S.off === r.id ? ' on' : ''}" data-sh-off="${esc(r.id)}">${S.off === r.id ? 'Sure? Turn off' : 'Turn off'}</button>` : '';
|
|
49
|
-
const
|
|
49
|
+
const why = !r.ended && !r.team ? ' title="Opens from a team. Publish with a team name to open it here."' : ''; // a copy with no team has no password this computer keeps
|
|
50
|
+
const nm = r.ended || !openable(S, r) ? `<span class="bd-dlink bdsh-plain" role="rowheader"${why}>${esc(r.name)}</span>` : `<button type="button" class="bd-dlink" role="rowheader" data-sh-open="${esc(r.id)}" data-sh-team="${esc(r.team)}">${esc(r.name)}</button>`;
|
|
50
51
|
const end = `<span role="cell" class="${r.soon ? 'cs s-risk' : r.ended ? 'bd-amut' : ''}">${r.soon ? '<i class="cz-dot risk m-warn"></i>' : ''}${esc(endText(r))}</span>`;
|
|
51
52
|
const table = `<div class="bd-dt${r.ended ? ' bdsh-gone' : ''}" role="row"><span class="bd-dic" aria-hidden="true">${ICON}</span>${nm}<span role="cell"><span class="bd-pill">${esc(KIND[r.kind] || 'Board')}</span></span><span role="cell" class="bd-amut">${esc(r.team || '—')}</span>${who(r)}<span role="cell">${esc(day(r.made))}</span><span role="cell">${r.views || 0}</span>${end}<span role="cell" class="bd-dby">${act}</span></div>`;
|
|
52
53
|
const card = `<div class="bdsh-card${r.ended ? ' bdsh-gone' : ''}"><div class="bdsh-l1">${nm.replace('bd-dlink', 'bdsh-nm bd-dlink')}<span class="${r.soon ? 'cs s-risk' : 'bd-amut'}">${r.soon ? '<i class="cz-dot risk m-warn"></i>' : ''}${esc(endText(r))}</span></div><span class="bd-amut">${esc(KIND[r.kind] || 'Board')}${r.team ? ' · ' + esc(r.team) : ''} · ${r.mine ? 'you' : esc(r.by)} · ${esc(day(r.made))} · ${r.views || 0} views</span>${act ? `<div class="bdsh-act">${act}</div>` : ''}</div>`;
|