create-pmos 0.491.0 → 0.492.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/changelog.json +13 -0
- package/workspace/guide/home.md +1 -0
- package/workspace/lib/routes-onboard.js +13 -2
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/home-app.js +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.492.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.492.0",
|
|
37
|
+
"at": "2026-11-02T10:37:47.505Z",
|
|
38
|
+
"f": 3,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": 1155,
|
|
42
|
+
"t": "A new user's empty PMOS folder no longer skips the setup conversation",
|
|
43
|
+
"s": "A new user's empty PMOS folder no longer skips the setup conversation",
|
|
44
|
+
"k": "fix"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
35
48
|
{
|
|
36
49
|
"v": "0.491.0",
|
|
37
50
|
"at": "2026-11-02T09:09:04.158Z",
|
|
@@ -282,19 +295,6 @@
|
|
|
282
295
|
"k": "fix"
|
|
283
296
|
}
|
|
284
297
|
]
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"v": "0.472.0",
|
|
288
|
-
"at": "2026-11-01T00:41:46.421Z",
|
|
289
|
-
"f": 3,
|
|
290
|
-
"prs": [
|
|
291
|
-
{
|
|
292
|
-
"n": 1126,
|
|
293
|
-
"t": "Popover in view, published copy opens on the publisher's view, stage track opens initiatives",
|
|
294
|
-
"s": "Popover in view, published copy opens on the publisher's view, stage track opens initiatives",
|
|
295
|
-
"k": "fix"
|
|
296
|
-
}
|
|
297
|
-
]
|
|
298
298
|
}
|
|
299
299
|
]
|
|
300
300
|
}
|
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-02T10:37:43Z"}
|
|
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-02T10:37:43Z"}
|
|
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-02T10:37:43Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.492.0",
|
|
4
|
+
"at": "2026-11-02T10:37:47.505Z",
|
|
5
|
+
"f": 3,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1155,
|
|
9
|
+
"t": "A new user's empty PMOS folder no longer skips the setup conversation",
|
|
10
|
+
"s": "A new user's empty PMOS folder no longer skips the setup conversation",
|
|
11
|
+
"k": "fix"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
2
15
|
{
|
|
3
16
|
"v": "0.491.0",
|
|
4
17
|
"at": "2026-11-02T09:09:04.158Z",
|
package/workspace/guide/home.md
CHANGED
|
@@ -181,6 +181,7 @@ There is no My work page. The list on Home is your list:
|
|
|
181
181
|
- **Sessions.** A session row names its agent. The coloured dot beside it is its state: blue waits on you, amber may be blocked, green is running. A session PMOS started itself (a skill or a background job) shows on Home only while it works or asks you something. Once it finishes its prompt, it leaves the list. On an initiative's page, a session that waits on you shows once, under **Needs you**, not again under **Sessions**. **Finished sessions** does not list an old run of a chat that is open again.
|
|
182
182
|
- **One chat box.** Every conversation has the same box: **+** (attach a file, notes, the terminal, and **Link to an initiative** for a loose chat), **/** for commands, **@** inside an initiative, the To or In chip, the mic, and Send. A chat opens at its newest message.
|
|
183
183
|
- **A session's terminal.** **Watch its terminal** in **+**, or a session row such as **Claude sign-in**, opens the session's terminal in the Viewer. While the session runs, it is a real terminal: type in it to answer Claude or paste a code. When the session has ended, the Viewer shows it read only and says so.
|
|
184
|
+
- **Setting up your first project opens by itself** until a registered folder holds an initiative or setup has finished. The `PMOS` folder that the one-line installer makes holds no initiative yet, so a new user who opens PMOS from the Start menu or the Dock still gets the setup conversation, not an empty Home.
|
|
184
185
|
- **Signing in to Claude when you set up your first project.** If the login you choose is signed in already, PMOS does not open a terminal. It tests the login at once. Otherwise PMOS runs `claude auth login`: Claude opens your browser to sign in, and the terminal under the question shows only Claude's request for a code, if it needs one. Claude's theme and trust-this-folder screens do not appear. When the sign-in ends, PMOS tests the login by itself. **The Claude login on this computer** is the login your usual terminal uses (`~/.claude.json`); PMOS no longer points it at a different file.
|
|
185
186
|
- **Documents not written yet.** A document that does not exist yet shows **Draft it**, in its stage or ahead of it. The agent writes a draft. Nothing is issued until you read it.
|
|
186
187
|
- **Meeting notes.** A decision, to-do or question that the notes caught is not a fact until you confirm it in the meeting's Replay. Home, Your day and the evening recap do not count unconfirmed points.
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
* POST /api/onboard/reset start again (the folder and anything written stay)
|
|
19
19
|
*/
|
|
20
20
|
const fs = require('fs');
|
|
21
|
-
const isDirSafe = (d) => { try { return fs.statSync(d).isDirectory(); } catch { return false; } };
|
|
22
21
|
const path = require('path');
|
|
23
22
|
const crypto = require('crypto');
|
|
24
23
|
const guard = require('./pm-guard.js');
|
|
@@ -53,12 +52,24 @@ function fresh(ctx, st) {
|
|
|
53
52
|
}
|
|
54
53
|
return { st: next, bound: b };
|
|
55
54
|
}
|
|
55
|
+
const INITIATIVE_DIRS = [['pmos', 'state', 'initiatives'], ['planning', 'initiatives'], ['pmos', 'planning', 'initiatives']];
|
|
56
|
+
const RECORD_DIRS = [['planning', 'records'], ['pmos', 'state'], ['pmos', 'planning', 'records']];
|
|
57
|
+
/** Whether a folder holds work: an initiative record (a .md that is not a README or template), or a record file with
|
|
58
|
+
* something in it (a fresh kit ships its .jsonl files empty). */
|
|
59
|
+
function hasWork(root) {
|
|
60
|
+
const ls = (d) => { try { return fs.readdirSync(path.join(root, ...d)); } catch { return []; } };
|
|
61
|
+
const filled = (d, n) => { try { return fs.statSync(path.join(root, ...d, n)).size > 0; } catch { return false; } };
|
|
62
|
+
return INITIATIVE_DIRS.some((d) => ls(d).some((n) => n.endsWith('.md') && !/^README|template/i.test(n)))
|
|
63
|
+
|| RECORD_DIRS.some((d) => ls(d).some((n) => n.endsWith('.jsonl') && filled(d, n)));
|
|
64
|
+
}
|
|
56
65
|
function view(ctx) {
|
|
57
66
|
const { st, bound } = fresh(ctx, read(ctx));
|
|
58
67
|
const ws = st.done && st.done.ws && ctx.getWs(st.done.ws);
|
|
59
68
|
return { ok: true, progress: { ...st, verified: !!bound, done: ws ? st.done : null }, claude: ctx.claudeSetup.list(), platform: process.platform,
|
|
60
69
|
// a project the PM already has: a registered workspace with PMOS in it, or with the planning/ folder a PMOS workspace keeps its records in
|
|
61
|
-
|
|
70
|
+
// ...that holds work: an initiative or a filled record file. A PMOS folder with none is not one: the one-line installer makes ~/PMOS with an empty kit
|
|
71
|
+
// and registers it, so counting the bare folder skipped setup for every new user (bug 2026-11-02, Windows).
|
|
72
|
+
has_projects: !!st.done || (ctx.workspaceList ? ctx.workspaceList() : []).some((w) => w && w.root && hasWork(w.root)) };
|
|
62
73
|
}
|
|
63
74
|
|
|
64
75
|
async function handle(req, res, url, ctx) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.492.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.492.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/sdk": "^1.3.0",
|
package/workspace/package.json
CHANGED
|
@@ -752,10 +752,11 @@ const chat = mountChat($('#hmChat'), {
|
|
|
752
752
|
head: (t) => (isPhone() ? '' : TD.chatHeadHtml(chatHead(t))), // the phone names it in its top bar (#hmTop)
|
|
753
753
|
});
|
|
754
754
|
/* claude-onboarding-build: set up a project as a conversation in this chat's place (cozy-onboard.js). It opens on ?onboard=1, shows the
|
|
755
|
-
* finished project's next steps on ?onboarded=1, and opens by itself
|
|
755
|
+
* finished project's next steps on ?onboarded=1, and opens by itself on a first run: setup not finished and no registered folder holds an
|
|
756
|
+
* initiative. A named workspace does not stop it: the installer opens its own empty ~/PMOS folder by name (bug 2026-11-02, Windows). */
|
|
756
757
|
const startOnboard = (done) => { document.body.classList.add('ob-on'); mountOnboard($('#hmChat'), { ws: WS, done }); };
|
|
757
758
|
if (P.get('onboard') === '1' || P.get('onboarded') === '1') startOnboard(P.get('onboarded') === '1');
|
|
758
|
-
else
|
|
759
|
+
else pmGet('/api/onboard/state').then((r) => { if (r && r.ok && !r.has_projects) startOnboard(false); }).catch(() => {});
|
|
759
760
|
|
|
760
761
|
/* The chat's header line on a desktop (HvACDesk): the open row's mark and title, and where it sits: its initiative with the stage track, or
|
|
761
762
|
* its program. Home's own chat names nothing. */
|