create-pmos 0.474.0 → 0.476.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/README.md +5 -3
- package/bin/create-pmos.js +23 -1
- package/install.ps1 +2 -1
- package/install.sh +6 -1
- package/package.json +27 -33
- 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/README.md +1 -1
- package/workspace/bin/pmos.js +1 -1
- package/workspace/changelog.json +26 -0
- package/workspace/fixtures/fake-claude-onboard.js +48 -0
- package/workspace/guide/briefing-premium.md +2 -7
- package/workspace/guide/claude-proposes.md +5 -1
- package/workspace/guide/index.md +2 -2
- package/workspace/guide/launcher.md +14 -32
- package/workspace/guide/layout.md +1 -1
- package/workspace/guide/settings.md +12 -3
- package/workspace/guide/welcome.md +64 -21
- package/workspace/lib/claude-readiness.js +143 -0
- package/workspace/lib/engine/calendar-import.js +5 -0
- package/workspace/lib/freshness.js +5 -3
- package/workspace/lib/launcher-cli.js +83 -8
- package/workspace/lib/onboarding-progress.js +36 -0
- package/workspace/lib/project-onboard.js +363 -0
- package/workspace/lib/proposals.js +4 -3
- package/workspace/lib/route-modules.js +3 -0
- package/workspace/lib/routes-grill.js +70 -0
- package/workspace/lib/routes-onboard.js +188 -0
- package/workspace/lib/routes-onboarding.js +5 -4
- package/workspace/lib/routes-proposals.js +8 -6
- package/workspace/lib/routes-setup.js +88 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/project-onboard-flow-test.js +135 -0
- package/workspace/public/pm/cozy-claude-setup.js +90 -0
- package/workspace/public/pm/cozy-ev.css +6 -0
- package/workspace/public/pm/cozy-insights.css +2 -0
- package/workspace/public/pm/cozy-onboard.css +60 -0
- package/workspace/public/pm/cozy-onboard.js +226 -0
- package/workspace/public/pm/cozy-settings.js +35 -5
- package/workspace/public/pm/cozy-today.css +3 -0
- package/workspace/public/pm/grill-words.js +53 -0
- package/workspace/public/pm/home-app.js +41 -1
- package/workspace/public/pm/home-today.js +3 -1
- package/workspace/public/pm/ini-props.js +41 -8
- package/workspace/public/pm/ini-view.css +62 -37
- package/workspace/public/pm/premium-first.js +1 -1
- package/workspace/public/pm/premium-insights.js +43 -5
- package/workspace/public/pm/premium-welcome-model.js +1 -1
- package/workspace/public/pm/premium-welcome.js +107 -62
- package/workspace/public/pm/premium.css +16 -0
- package/workspace/public/pm/setup-checklist.js +22 -0
- package/workspace/public/premium.html +1 -0
- package/workspace/server.js +28 -6
- package/workspace/skills/calendar-sync.skill +1 -1
- package/workspace/test-files.json +6 -3
- package/workspace/test-lists/briefing-premium.json +1 -3
- package/workspace/test-lists/claude-onboarding-build.json +9 -0
- package/workspace/premium-welcome-test.js +0 -219
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ You never need to write code. You need the courage to say what you want, and the
|
|
|
20
20
|
|
|
21
21
|
## Getting started (5 minutes)
|
|
22
22
|
|
|
23
|
-
**New computer, nothing installed?** Paste one line. It installs what is missing (Node.js, git, Claude Code), makes a `PMOS` folder in your home folder, adds the kit and opens the PMOS app. No Homebrew, no WSL, and no admin password on Windows. Run it again at any time: it skips what is already there.
|
|
23
|
+
**New computer, nothing installed?** Paste one line. It installs what is missing (Node.js, git, Claude Code), makes a `PMOS` folder in your home folder, adds the kit and opens the PMOS app. On Mac and Windows, setup also creates a PMOS launcher and starts the server at login. No Homebrew, no WSL, and no admin password on Windows. Run it again at any time: it skips what is already there.
|
|
24
24
|
|
|
25
25
|
Mac (Terminal):
|
|
26
26
|
|
|
@@ -96,7 +96,9 @@ That single command does everything:
|
|
|
96
96
|
1. **Installs the app + puts `pmos` on your PATH.** The workspace hosts real terminal sessions, so it has one native dependency (`node-pty`) — this is the one step in the whole kit that builds something. It takes ~20 seconds, once.
|
|
97
97
|
2. **Launches the GUI** — it starts a small localhost server and opens your browser on the current repo as a workspace.
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
On Mac, open PMOS from Applications or Spotlight. On Windows, open Start and choose PMOS. Both launchers start the server when needed.
|
|
100
|
+
|
|
101
|
+
From a terminal, the daily driver is one word, from any repo folder:
|
|
100
102
|
|
|
101
103
|
```bash
|
|
102
104
|
pmos # open THIS repo as a workspace (starts the server if it isn't up)
|
|
@@ -115,7 +117,7 @@ Some machines lock down npm's global folder. If the activation prints a warning
|
|
|
115
117
|
### What to expect
|
|
116
118
|
|
|
117
119
|
- **Requirements:** Node 18+. macOS, Windows 10 (1809) or later, and Linux; Windows runs natively, with no WSL. On macOS and Windows `node-pty` ships prebuilt; on Linux, activation builds it once with a C toolchain. `pmos doctor` names the exact fix when something is missing. Setup CI runs the one-line setup on clean macOS, Windows and Linux runners.
|
|
118
|
-
- **Not on Windows yet:**
|
|
120
|
+
- **Not on Windows yet:** meeting-notes transcription (its engine is Apple Silicon only).
|
|
119
121
|
- **It's local and private.** The server binds `127.0.0.1` and is never exposed to the network. Your agent CLI (Claude Code, Codex, a plain shell) runs **untouched** — its own login, slash commands, and keybindings all work; the workspace is the terminal, not a wrapper.
|
|
120
122
|
- **The gates are the same gates.** `approve` / `return` / `accept` in the GUI write the exact file-mode records (`state/acceptances.jsonl`) this kit already uses — only ever on your click. Nothing is recorded automatically.
|
|
121
123
|
- **Works with or without the kit.** Best in a repo you've run `create-pmos` in (it reads and writes `pmos/state/`), but it opens any repo — a plain project just records into the server's own state.
|
package/bin/create-pmos.js
CHANGED
|
@@ -204,11 +204,32 @@ function launchStatus(r) {
|
|
|
204
204
|
|
|
205
205
|
// --no-open: the in-app update (Settings > Updates) reinstalls through here while the PM's tab waits and reloads itself;
|
|
206
206
|
// the restarted server then opens no second tab (batch 18 item 5). It is pmos's own flag, so the server does not inherit it.
|
|
207
|
+
function runInstalledPmos(args) {
|
|
208
|
+
if (process.platform !== 'win32') return spawnSync('pmos', args, { stdio: 'inherit' });
|
|
209
|
+
// cmd.exe does not preserve spawnSync argument boundaries. Run Node directly so a
|
|
210
|
+
// repository under a Windows user name with spaces still reaches the app intact.
|
|
211
|
+
const root = spawnSync('npm.cmd', ['root', '-g'], { encoding: 'utf8', shell: true });
|
|
212
|
+
if (root.error || root.status !== 0) return root;
|
|
213
|
+
if (!root.stdout || !root.stdout.trim()) return { status: 1, error: new Error('npm did not report its global install folder') };
|
|
214
|
+
return spawnSync(process.execPath, [path.join(root.stdout.trim(), 'pmos-workspace', 'bin', 'pmos.js'), ...args], { stdio: 'inherit' });
|
|
215
|
+
}
|
|
216
|
+
|
|
207
217
|
function launchWorkspace(targetDir, viaGlobal) {
|
|
208
218
|
const NO_OPEN = process.argv.includes('--no-open') ? ['--no-open'] : [];
|
|
219
|
+
// Desktop activation includes the app icon and login item. This must point at the installed
|
|
220
|
+
// app, rather than the temporary npx bundle, so a cache cleanup cannot break the launcher.
|
|
221
|
+
if (['darwin', 'win32'].includes(process.platform) && !process.argv.includes('--no-launcher')) {
|
|
222
|
+
if (!viaGlobal || !onPath('pmos')) {
|
|
223
|
+
console.error('create-pmos: launcher setup needs the installed pmos command. Fix the global install and run workspace again.');
|
|
224
|
+
return 1;
|
|
225
|
+
}
|
|
226
|
+
const launcher = runInstalledPmos(['launcher', 'on', targetDir]);
|
|
227
|
+
if (launchStatus(launcher) !== 0) return 1;
|
|
228
|
+
}
|
|
229
|
+
|
|
209
230
|
if (viaGlobal && onPath('pmos')) {
|
|
210
231
|
// `pmos` owns the whole lifecycle: start the server detached, open the browser on this repo.
|
|
211
|
-
return launchStatus(
|
|
232
|
+
return launchStatus(runInstalledPmos([targetDir, ...NO_OPEN]));
|
|
212
233
|
}
|
|
213
234
|
// Fallback: run the bundled launcher directly. Its ensureInstalled() pulls runtime deps on first run.
|
|
214
235
|
console.log('Launching from the bundled copy (the `pmos` command is not on PATH).');
|
|
@@ -336,6 +357,7 @@ if (args.includes('--help') || args.includes('-h')) {
|
|
|
336
357
|
console.log(' create-pmos --update [kit-or-repo] refresh only the kit kernel (add --offer-mod to offer the mod in .claude/settings.json)');
|
|
337
358
|
console.log(' create-pmos workspace [repo-dir] install/upgrade + launch the Terminal Workspace GUI');
|
|
338
359
|
console.log(' create-pmos workspace --reinstall force-reinstall the workspace app (drop a stale global copy)');
|
|
360
|
+
console.log(' create-pmos workspace --no-launcher skip the default Mac/Windows app and login item');
|
|
339
361
|
console.log(' create-pmos --version print version + bundled kernel provenance');
|
|
340
362
|
} else if (args.includes('--version') || args.includes('-v')) {
|
|
341
363
|
console.log(`create-pmos ${PKG.version}`);
|
package/install.ps1
CHANGED
|
@@ -205,4 +205,5 @@ Say 'Starting the PMOS app'
|
|
|
205
205
|
if ($LASTEXITCODE -ne 0) { Fail 'The PMOS app did not start.' 'run: pmos doctor and send what it prints to your PMOS contact' }
|
|
206
206
|
|
|
207
207
|
Write-Host ""
|
|
208
|
-
Ok 'PMOS is ready. Next time, open
|
|
208
|
+
Ok 'PMOS is ready. Next time, open Start and choose PMOS.'
|
|
209
|
+
Write-Host ' The workspace starts when you sign in. No PowerShell command is needed.'
|
package/install.sh
CHANGED
|
@@ -202,5 +202,10 @@ say "Starting the PMOS app"
|
|
|
202
202
|
npx -y -p "$PMOS_PKG" create-pmos workspace "$PMOS_DIR" || fail "The PMOS app did not start." "run: pmos doctor, and send what it prints to your PMOS contact"
|
|
203
203
|
|
|
204
204
|
echo
|
|
205
|
-
|
|
205
|
+
if [ "$PLAT" = darwin ]; then
|
|
206
|
+
ok "PMOS is ready. Next time, open PMOS from Applications or Spotlight."
|
|
207
|
+
echo " The workspace starts when you log in. No Terminal command is needed."
|
|
208
|
+
else
|
|
209
|
+
ok "PMOS is ready. Next time, open Terminal and type: pmos"
|
|
210
|
+
fi
|
|
206
211
|
echo " New Terminal windows find node, claude and pmos by themselves."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.476.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,32 @@
|
|
|
32
32
|
"audit"
|
|
33
33
|
],
|
|
34
34
|
"pmosChanges": [
|
|
35
|
+
{
|
|
36
|
+
"v": "0.476.0",
|
|
37
|
+
"at": "2026-11-01T06:51:29.850Z",
|
|
38
|
+
"f": 3,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": 1132,
|
|
42
|
+
"t": "Grill and Forecast screens: Claude's checks, grill findings, forecast ✦ line, Home line",
|
|
43
|
+
"s": "Grill and Forecast screens: Claude's checks, grill findings, forecast ✦ line, Home line",
|
|
44
|
+
"k": "new"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"v": "0.475.0",
|
|
50
|
+
"at": "2026-11-01T06:12:23.972Z",
|
|
51
|
+
"f": 3,
|
|
52
|
+
"prs": [
|
|
53
|
+
{
|
|
54
|
+
"n": 1110,
|
|
55
|
+
"t": "Set up a project from the Cozy Home in one guided conversation",
|
|
56
|
+
"s": "Set up a project from the Cozy Home in one guided conversation",
|
|
57
|
+
"k": "new"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
35
61
|
{
|
|
36
62
|
"v": "0.474.0",
|
|
37
63
|
"at": "2026-11-01T01:28:22.776Z",
|
|
@@ -265,38 +291,6 @@
|
|
|
265
291
|
"k": "new"
|
|
266
292
|
}
|
|
267
293
|
]
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"v": "0.456.0",
|
|
271
|
-
"at": "2026-10-29T14:52:35.157Z",
|
|
272
|
-
"f": 3,
|
|
273
|
-
"prs": [
|
|
274
|
-
{
|
|
275
|
-
"n": null,
|
|
276
|
-
"t": "Compact initiative summary above full-width tasks",
|
|
277
|
-
"s": "Compact initiative summary above full-width tasks",
|
|
278
|
-
"k": "fix"
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"n": 1102,
|
|
282
|
-
"t": "Compact initiative summary above full-width tasks",
|
|
283
|
-
"s": "The desktop summary is a compact horizontal header, followed by milestones and full-width Tasks sized to their content.",
|
|
284
|
-
"k": "fix"
|
|
285
|
-
}
|
|
286
|
-
]
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"v": "0.455.0",
|
|
290
|
-
"at": "2026-10-29T14:29:11.203Z",
|
|
291
|
-
"f": 3,
|
|
292
|
-
"prs": [
|
|
293
|
-
{
|
|
294
|
-
"n": 1103,
|
|
295
|
-
"t": "Size each Adler picture by where it is drawn (19.8 MB to 3.7 MB)",
|
|
296
|
-
"s": "Size each Adler picture by where it is drawn (19.8 MB to 3.7 MB)",
|
|
297
|
-
"k": "imp"
|
|
298
|
-
}
|
|
299
|
-
]
|
|
300
294
|
}
|
|
301
295
|
]
|
|
302
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-11-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-01T06:51:27Z"}
|
|
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-01T06:51:27Z"}
|
|
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-01T06:51:27Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
package/workspace/README.md
CHANGED
|
@@ -33,7 +33,7 @@ pmos status # is it running? which sessions?
|
|
|
33
33
|
pmos stop # shut it down (scrollback is preserved; sessions respawn next time)
|
|
34
34
|
pmos doctor # diagnose the environment (node-pty arch, PTY spawn test, ports)
|
|
35
35
|
```
|
|
36
|
-
**Without a terminal.**
|
|
36
|
+
**Without a terminal.** Mac and Windows setup creates a launcher and login item automatically. Windows gets a Start menu shortcut. To repair or change a launcher, `pmos launcher on` writes a PMOS app — `~/Applications/PMOS.app` on macOS, an app-menu entry on Linux — and a login item that starts the server at login without opening a browser. Both run `pmos up <repo>` with the PATH your terminal had at setup. `pmos launcher status` checks it, `pmos launcher off` removes it. Guide: [`guide/launcher.md`](guide/launcher.md).
|
|
37
37
|
|
|
38
38
|
**The port is found, not assumed.** A running server records the port it serves, so `pmos` in a second repo joins the workspace you already have open — whatever port it ended up on, and however it was started. If another program holds the default port (7433), `pmos` starts on the next free one and says so; `PMOS_WS_PORT=7500 pmos` pins it by hand. `pmos stop` shuts down every workspace server it finds, which is how you collapse two back into one.
|
|
39
39
|
|
package/workspace/bin/pmos.js
CHANGED
|
@@ -266,7 +266,7 @@ async function openWorkspace(dir, port, { open = true } = {}) {
|
|
|
266
266
|
} catch { first = false; }
|
|
267
267
|
}
|
|
268
268
|
if (first) say(FORCE_WELCOME ? '✓ opening Welcome' : '✓ first run — opening Welcome');
|
|
269
|
-
if (open) openBrowser(first ? `${urlOf(port)}/premium
|
|
269
|
+
if (open) openBrowser(first ? `${urlOf(port)}/premium.html?ws=${w.id}&onboard=1` : `${urlOf(port)}?ws=${w.id}`);
|
|
270
270
|
return 0;
|
|
271
271
|
}
|
|
272
272
|
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.476.0",
|
|
4
|
+
"at": "2026-11-01T06:51:29.850Z",
|
|
5
|
+
"f": 3,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1132,
|
|
9
|
+
"t": "Grill and Forecast screens: Claude's checks, grill findings, forecast ✦ line, Home line",
|
|
10
|
+
"s": "Grill and Forecast screens: Claude's checks, grill findings, forecast ✦ line, Home line",
|
|
11
|
+
"k": "new"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"v": "0.475.0",
|
|
17
|
+
"at": "2026-11-01T06:12:23.972Z",
|
|
18
|
+
"f": 3,
|
|
19
|
+
"prs": [
|
|
20
|
+
{
|
|
21
|
+
"n": 1110,
|
|
22
|
+
"t": "Set up a project from the Cozy Home in one guided conversation",
|
|
23
|
+
"s": "Set up a project from the Cozy Home in one guided conversation",
|
|
24
|
+
"k": "new"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
2
28
|
{
|
|
3
29
|
"v": "0.474.0",
|
|
4
30
|
"at": "2026-11-01T01:28:22.776Z",
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
/* fixtures/fake-claude-onboard.js — a stand-in `claude` for the onboarding browser suite (project-onboard-flow-test.js). It is NOT Claude: it
|
|
4
|
+
* answers the few invocations onboarding makes (--help, the readiness check, `mcp list`, the tool inventory and the search) from fixtures, and
|
|
5
|
+
* appends each argv to $FAKE_CLAUDE_LOG so the suite can assert the read-only flags. $FAKE_CLAUDE_MODE_FILE holds `ready` or a failure. */
|
|
6
|
+
const fs = require('fs');
|
|
7
|
+
const a = process.argv.slice(2);
|
|
8
|
+
if (process.env.FAKE_CLAUDE_LOG) fs.appendFileSync(process.env.FAKE_CLAUDE_LOG, JSON.stringify(a) + '\n');
|
|
9
|
+
const mode = (() => { try { return fs.readFileSync(process.env.FAKE_CLAUDE_MODE_FILE, 'utf8').trim(); } catch { return 'ready'; } })();
|
|
10
|
+
const out = (s) => process.stdout.write(s + '\n');
|
|
11
|
+
const at = (f) => a[a.indexOf(f) + 1];
|
|
12
|
+
if (a.includes('--help')) { out('Usage: claude [options]\n --safe-mode --tools --strict-mcp-config --mcp-config --disable-slash-commands --no-session-persistence --output-format --allowedTools --permission-mode'); process.exit(0); }
|
|
13
|
+
if (a[0] === 'mcp' && a[1] === 'list') {
|
|
14
|
+
out('Checking MCP server health...\n\nclaude.ai Atlassian: https://mcp.atlassian.com/v1/sse (HTTP) - ✓ Connected\nclaude.ai Slack: https://mcp.slack.com/mcp (HTTP) - ✓ Connected\nclaude.ai Google Drive: https://drive.example/mcp (HTTP) - ⚠ Needs authentication');
|
|
15
|
+
process.exit(0);
|
|
16
|
+
}
|
|
17
|
+
if (a.includes('-p') && at('--output-format') === 'json') {
|
|
18
|
+
if (mode === 'signed_out') { out(JSON.stringify({ is_error: true, result: 'Not logged in · Please run /login' })); process.exit(1); }
|
|
19
|
+
out(JSON.stringify({ is_error: false, result: 'PMOS_READY' })); process.exit(0);
|
|
20
|
+
}
|
|
21
|
+
if (a.includes('-p') && at('--output-format') === 'stream-json') {
|
|
22
|
+
const tools = ['Task', 'mcp__claude_ai_Atlassian__searchJiraIssuesUsingJql', 'mcp__claude_ai_Atlassian__getVisibleJiraProjects', 'mcp__claude_ai_Atlassian__createJiraIssue',
|
|
23
|
+
'mcp__claude_ai_Slack__slack_search_public', 'mcp__claude_ai_Slack__slack_send_message'];
|
|
24
|
+
out(JSON.stringify({ type: 'system', subtype: 'init', tools }));
|
|
25
|
+
if (at('-p') === 'Reply OK.') { setTimeout(() => process.exit(0), 5000); return; } // the inventory: onboarding stops it at the init line
|
|
26
|
+
const allowed = String(at('--allowedTools') || '').split(',');
|
|
27
|
+
const call = (id, name) => {
|
|
28
|
+
out(JSON.stringify({ type: 'assistant', message: { content: [{ type: 'tool_use', id, name, input: {} }] } }));
|
|
29
|
+
const denied = !allowed.includes(name) || name.includes('Slack'); // the fixture: this login may not search Slack
|
|
30
|
+
out(JSON.stringify({ type: 'user', message: { content: [{ type: 'tool_result', tool_use_id: id, is_error: denied, content: denied ? 'Permission to use ' + name + ' has been denied.' : 'results' }] } }));
|
|
31
|
+
};
|
|
32
|
+
call('t1', 'mcp__claude_ai_Atlassian__getVisibleJiraProjects');
|
|
33
|
+
call('t2', 'mcp__claude_ai_Slack__slack_search_public');
|
|
34
|
+
call('t3', 'mcp__claude_ai_Atlassian__createJiraIssue'); // never allowed: dontAsk denies it
|
|
35
|
+
const body = {
|
|
36
|
+
findings: [
|
|
37
|
+
{ id: 'f1', source: 'Atlassian', kind: 'jira_project', title: 'PAY · Payments Platform', url: 'https://example.atlassian.net/browse/PAY', summary: 'Jira project' },
|
|
38
|
+
{ id: 'f2', source: 'Atlassian', kind: 'jira_project', title: 'PAYX · Payments Experiments', url: 'https://example.atlassian.net/browse/PAYX', summary: 'Jira project' },
|
|
39
|
+
{ id: 'f3', source: 'Atlassian', kind: 'page', title: 'Checkout brief', url: 'https://example.atlassian.net/wiki/brief', summary: 'Reduce checkout drop-off on mobile.' },
|
|
40
|
+
{ id: 'f4', source: 'Slack', kind: 'channel', title: '#checkout', url: 'https://slack.example/c', summary: 'should never show' },
|
|
41
|
+
],
|
|
42
|
+
jira_projects: [{ key: 'PAY', name: 'Payments Platform', url: 'https://example.atlassian.net/browse/PAY', finding: 'f1' }, { key: 'PAYX', name: 'Payments Experiments', url: 'https://example.atlassian.net/browse/PAYX', finding: 'f2' }],
|
|
43
|
+
fields: { purpose: { value: 'Reduce checkout drop-off on mobile', finding: 'f3' }, owner: { value: 'Invented Person', finding: 'f4' } },
|
|
44
|
+
};
|
|
45
|
+
out(JSON.stringify({ type: 'result', is_error: false, result: JSON.stringify(body) }));
|
|
46
|
+
process.exit(0);
|
|
47
|
+
}
|
|
48
|
+
out('fake claude: unexpected invocation'); process.exit(2);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "The premium Briefing (/premium.html)"
|
|
4
4
|
description: "The Briefing page at /premium.html: the hero sentence, What you need to do, Today, the dock, and what each one reads from the repository."
|
|
5
|
-
timestamp: 2026-
|
|
5
|
+
timestamp: 2026-11-01
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# The premium Briefing
|
|
@@ -393,12 +393,7 @@ Not built: a second measure next to a chart, bar highlights, speaker notes and n
|
|
|
393
393
|
|
|
394
394
|
## Welcome
|
|
395
395
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
- **About you.** Your name, role and the few lines PMOS should know. **Continue** saves them to the workspace's proactive settings.
|
|
399
|
-
- **Your sources.** Choose the tools PMOS may read (calendar, Jira, mail, Slack) and add folders. **Look at my work** starts the chosen tools, scans, and shows what it found.
|
|
400
|
-
- **What PMOS found.** The initiatives, the board each goes to, and the defaults, with a count. You can change a board or a title before you import. **Import** applies the import and opens the premium Briefing with a first card that lists what came in and each tool's state, and an **Undo** that reverses the import and returns here. **Not now** dismisses the import and opens the Briefing.
|
|
401
|
-
- If the workspace already holds an import, the page goes straight to the Briefing with the first card. After an Undo the found step shows the rows but not the first-look sentence, because PMOS does not keep it. An agent session cannot make the writes; a refused import shows the server's reason.
|
|
396
|
+
The premium Welcome page is retired. `/premium-welcome.html` and `/welcome` open the setup conversation in Home. See [First run](welcome.md).
|
|
402
397
|
|
|
403
398
|
## The default page
|
|
404
399
|
|
|
@@ -62,10 +62,14 @@ Claude also tests an initiative without being asked. There is no Grill button an
|
|
|
62
62
|
- when its scope or dates move a lot (30% more or fewer tasks, or the end moves 14 days or more),
|
|
63
63
|
- once a month, when it is running and has late work.
|
|
64
64
|
|
|
65
|
-
Each finding is a proposal in the group "Claude grilled it", under the same ✦.
|
|
65
|
+
Each finding is a proposal in the group "Claude grilled it", under the same ✦. Each row shows the mark and the name of the angle that found it: Premortem, Red team, Voices, Reframe, Scope or What-if. Voices are simulated from your stored research and meeting notes, only with 3 sources or more, and carry the tag "Simulated, not evidence". A What-if carries "Simulated, not the plan". Each finding ends with one next step. ✓ adds that step as a task. ✎ lets you write the step in your own words first; ✓ then adds your words. ✕ drops the finding. A finding never rides on the header's ✓. Above the findings, one quiet line names the angles Claude chose, when and why it ran, and what the run cost. Three findings show at a time; "+N smaller findings" and its ⋯ show the rest. On a phone the findings are cards side by side: swipe for the next. With no findings, nothing shows.
|
|
66
|
+
|
|
67
|
+
When Claude grilled an initiative this week and left findings, Home says so in one line under "Good morning", and its ✦ opens the findings. When a key result will miss its goal, or drifted to at risk, Intelligence's ✦ line names it and the initiative Claude grilled for it; its ✦ opens those findings.
|
|
66
68
|
|
|
67
69
|
Every run counts against a monthly credit cap. A run starts only when the cap holds its whole budget, and it stops at that budget, so the month never goes past the cap. At the cap Claude pauses until the next month.
|
|
68
70
|
|
|
71
|
+
Set when Claude grills, and how much it may spend, in **Settings › Claude's checks** (see the Settings guide), or with these commands:
|
|
72
|
+
|
|
69
73
|
- `pmos grill mode [full|exits|off]`: when Claude grills by itself. `exits` grills only before a stage ends. `PMOS_GRILL=off` turns it off on this computer.
|
|
70
74
|
- `pmos grill cap [<dollars>]`: the monthly credit cap, in US dollars (10 by default).
|
|
71
75
|
- `pmos grill spend`: what this month spent, each run's cost, and whether Claude paused.
|
package/workspace/guide/index.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "Guide: start here"
|
|
4
|
-
timestamp: 2026-
|
|
4
|
+
timestamp: 2026-11-01
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Guide: start here
|
|
@@ -41,7 +41,7 @@ On a desktop the workspace is one frame. [Layout](layout.md) explains each part.
|
|
|
41
41
|
|
|
42
42
|
## Where to read next
|
|
43
43
|
|
|
44
|
-
- [
|
|
44
|
+
- [First run](welcome.md): test your Claude login, describe the project, choose its folder, search your tools read-only, and set up PMOS from Home.
|
|
45
45
|
- [The Briefing](briefing.md): the console's first page: Today's meetings, Needs you (Done, Not yet, Drop) and the Portfolio pulse.
|
|
46
46
|
- [Start the workspace without a terminal](launcher.md): the PMOS app, the login item and `pmos launcher`.
|
|
47
47
|
- [Jira tickets](jira.md): Jira tickets drafted from the PRD, pushed when you select them, and their status.
|
|
@@ -1,51 +1,33 @@
|
|
|
1
1
|
---
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "Start the workspace without a terminal"
|
|
4
|
-
timestamp: 2026-10-
|
|
4
|
+
timestamp: 2026-10-30
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Start the workspace without a terminal
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Mac and Windows setup creates the PMOS app and a login item automatically. No separate launcher command is needed. The login item starts the server when you sign in. It does not open a browser window.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Open a terminal in the repository that the app must open. Type:
|
|
14
|
-
|
|
15
|
-
```sh
|
|
16
|
-
pmos launcher on
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
To set up a different repository, give its path: `pmos launcher on ~/code/my-product`.
|
|
20
|
-
|
|
21
|
-
This command writes two things:
|
|
22
|
-
|
|
23
|
-
| Thing | macOS | Linux |
|
|
11
|
+
| System | Open PMOS | Login item |
|
|
24
12
|
|---|---|---|
|
|
25
|
-
|
|
|
26
|
-
|
|
|
27
|
-
|
|
28
|
-
To make only the app, without the login item, type `pmos launcher on --no-login`.
|
|
29
|
-
|
|
30
|
-
## What each one does
|
|
13
|
+
| macOS | Open `~/Applications/PMOS.app` from Finder or Spotlight. You can drag it to the Dock. | `~/Library/LaunchAgents/com.pmos.workspace.plist` |
|
|
14
|
+
| Windows | Open Start and choose PMOS. | `PMOS.vbs` in your user Startup folder |
|
|
15
|
+
| Linux | After `pmos launcher on`, choose PMOS from the app menu. | An XDG autostart entry |
|
|
31
16
|
|
|
32
|
-
|
|
33
|
-
- **The login item** starts the workspace server when you log in. It does not open a browser window. Open the app when you want the window.
|
|
17
|
+
The app opens the workspace in your browser. When no server runs, the app starts one first. Both entries use the repository and PATH from setup. The Windows entries also preserve the configured Git Bash path for Claude Code.
|
|
34
18
|
|
|
35
|
-
|
|
19
|
+
## Change or repair the launcher
|
|
36
20
|
|
|
37
|
-
|
|
21
|
+
Open a terminal in the repository you want. Type `pmos launcher on`. To choose another repository, add its path. Repeat this command after moving Node or the installed PMOS app.
|
|
38
22
|
|
|
39
|
-
|
|
23
|
+
To create only the app, use `pmos launcher on --no-login` on a fresh installation. To skip launcher creation during app activation, use `npx create-pmos@latest workspace --no-launcher`.
|
|
40
24
|
|
|
41
|
-
Type `pmos launcher status
|
|
25
|
+
Type `pmos launcher status` to check the launcher. The result names the repository, Node, PMOS and login item. A missing target means the launcher needs repair.
|
|
42
26
|
|
|
43
|
-
## Remove
|
|
27
|
+
## Remove the launcher
|
|
44
28
|
|
|
45
|
-
Type `pmos launcher off`.
|
|
29
|
+
Type `pmos launcher off`. This removes only launcher files that PMOS owns. It leaves unrelated files in place. The workspace and your work remain installed.
|
|
46
30
|
|
|
47
31
|
## Limits
|
|
48
32
|
|
|
49
|
-
|
|
50
|
-
- Windows has no launcher yet. The workspace itself runs on Windows with no WSL: open PowerShell and type `pmos`. If PMOS is not installed yet, the one-line setup in the create-pmos README installs it.
|
|
51
|
-
- The login item runs once, at login. If the server stops, open the app to start it again.
|
|
33
|
+
The login item starts the server once at login. Open the app if the server stops. Login does not enable remote access. Mac and Linux launcher output goes to `launcher.log` in the runtime state folder. Windows launchers run without a command window and use the server's normal logs.
|
|
@@ -34,7 +34,7 @@ Settings holds settings only, in eight sections. On a wide screen they are cards
|
|
|
34
34
|
|
|
35
35
|
- **Repositories**: every registered repository. Press a repository to make it the current one. Press its ⋯ for **Rename** or **Remove from PMOS**. Each asks in a sheet, and a remove asks you to confirm. **Add repository** shows the scan of a folder before you add it.
|
|
36
36
|
- **Profiles**: the Claude profiles a session can start with. These are the descriptors in `~/.claude/profiles`, and also the profiles you already run: a shell command that sets `CLAUDE_CONFIG_DIR` (for example `alias claude-work='CLAUDE_CONFIG_DIR=~/.claude-work claude'`), a launcher script named `claude-*`, or a config folder such as `~/.claude-work`. Each profile is a row with a **Detected** badge when PMOS found it rather than wrote it, and a **Default** badge when it is the default. Its ⋯ menu has **Use as default**. A profile found this way says where it was found, and a session under it sets only `CLAUDE_CONFIG_DIR`. The list reads again every few seconds while Settings is open, and **Look again** in the Claude profiles menu reads it at once. When nothing is found, the note names the start-up files and folders PMOS looked at. Press **New profile** to make one. This writes `~/.claude/profiles/<id>.json`. Account secrets are never shown in the browser.
|
|
37
|
-
- **
|
|
37
|
+
- **Claude login and profile** (Settings › Claude): the same profile-specific sign-in and verification controls as [Welcome](welcome.md). Set up a separate PMOS login or choose an existing setup. Complete Claude’s sign-in in that profile’s terminal. Then choose **Check and use this profile**. PMOS does not copy credentials. A missing selected profile refuses new sessions instead of silently changing accounts.
|
|
38
38
|
- **New sessions**: the default CLI, the default model, the default Claude profile and the default launch flags for a new session. The flags come from `claude --help`, for example `--chrome`. A flag that needs a value lists the values it accepts. **Flags for automatic sessions** is a second list for the sessions PMOS starts for you, such as a scheduled brief. Such a session cannot answer a permission question, so it waits. Until you save a choice it starts with `--permission-mode=acceptEdits`, which ends the file-edit questions. A tool from a connector can still ask; allow it in your Claude settings or choose a looser mode here. The default profile is one setting for the whole workspace. PMOS keeps it on the server, so every browser, port and device starts a Claude session with the same profile. Choose it here or with "make … the default" in the New session form. Both change the same setting.
|
|
39
39
|
- **Validate consent**: the consent of the current repository. Use its switch to turn it on or off. **Open Validate** opens the Validate page as a tab.
|
|
40
40
|
- **People**: whether the morning brief keeps attendee names from the calendar for the current repository. It is off until you turn it on. Turning it off also hides the names recorded before.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "Settings in console3: one home for each setting"
|
|
4
4
|
description: "How to open Settings in console3, what each section holds, what the scope tags and the environment notes mean, and where the settings are kept."
|
|
5
|
-
timestamp: 2026-
|
|
5
|
+
timestamp: 2026-11-01
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Settings in console3: one home for each setting
|
|
@@ -24,7 +24,7 @@ Settings is not a tab. While it is open, no tab is selected. Press a tab to go b
|
|
|
24
24
|
|
|
25
25
|
| Section | What it holds |
|
|
26
26
|
|---|---|
|
|
27
|
-
| About you | Your name, your role, what you do and your job description.
|
|
27
|
+
| About you | Your name, your role, what you do and your job description. First-run setup does not ask for them. |
|
|
28
28
|
| Workspaces | Your workspaces: rename, remove, add one by its folder. Which workspace opens on start, and what the Briefing covers. The list shows each repository once. A git worktree of a repository, such as an initiative branch folder, is not listed. Remove forgets the repository and its worktrees together. No folder is deleted. |
|
|
29
29
|
| Boards and workflows | The workflow templates for new boards and the default template. The rules that move a card. To change the workflow of one board, open that board in Initiatives. |
|
|
30
30
|
| Connectors | How your Claude session reaches Google Calendar, Jira, Wispr Flow and a sender. The import window, the refresh time, how private events show, and attendee names. The report finder is the last block. |
|
|
@@ -36,6 +36,7 @@ Settings is not a tab. While it is open, no tab is selected. Press a tab to go b
|
|
|
36
36
|
| Privacy and data | A list of what leaves this computer and when. Whether a TypeSafe key is saved, the local model that answers when there is no key (Off, Winnow or Laya), and the data folder. |
|
|
37
37
|
| Appearance | The theme (Same as system, Light or Dark) and the page that opens first. |
|
|
38
38
|
| Claude | The Claude profile that new Claude sessions start with, and the Anthropic API key for Claude's own runs on the API (see below). |
|
|
39
|
+
| Claude's checks | When Claude grills an initiative by itself (Full, Only at stage exits, or Off) and the monthly credit for its checks ($5, $10, $20 or $50), with what this month used. See below. |
|
|
39
40
|
| Updates | The version of the app and of each workspace's kit, the check for updates, and what changed in each week's kits (what's new). See below. |
|
|
40
41
|
|
|
41
42
|
Type in **Search settings** to find a setting in any section. Press **Open section** to go to its section.
|
|
@@ -76,10 +77,18 @@ Under the update card, **Updates** shows what changed in the published kits. **T
|
|
|
76
77
|
|
|
77
78
|
## Claude: the profile and the API key
|
|
78
79
|
|
|
79
|
-
**Claude profile.**
|
|
80
|
+
**Claude login and profile.** Choose a separate PMOS login or an existing Claude setup. Complete sign-in in that profile’s terminal. **Check and use this profile** verifies access and saves the choice for new sessions. The check can consume a small amount of Claude usage. A discovered profile is not a verified login. The same login test appears in [first-run setup](welcome.md).
|
|
80
81
|
|
|
81
82
|
**API key.** Some runs of Claude, for example Grill, can use the Claude API and not a Claude session. Paste an Anthropic API key and press **Save** to turn this on. The key stays on this computer, in a file only you can read, outside every repository. PMOS never shows the key again: the row only says that a key is set. Press **Remove** to delete it. A key saved here is used before `ANTHROPIC_API_KEY`. A command that a run starts does not get the key. Only the computer that runs the workspace can change it. Set `PMOS_GRILL_API=off` to stop runs on the API.
|
|
82
83
|
|
|
84
|
+
## Claude's checks: when Claude grills, and what it may spend
|
|
85
|
+
|
|
86
|
+
Claude grills an initiative by itself and files what it finds under the initiative's ✦ (see the Claude proposes guide). There is no button to start it. This section is the only control.
|
|
87
|
+
|
|
88
|
+
**Grill by itself.** Full grills before an initiative leaves a stage, when a forecast turns at risk or will miss, when scope or dates move a lot, and once a month on running work with late work. Only at stage exits grills only before a stage ends. Off stops it. When `PMOS_GRILL=off` is set in the environment, the row says Off and cannot be changed here.
|
|
89
|
+
|
|
90
|
+
**Monthly credit for checks.** The most Claude's checks may spend in a month: $5, $10, $20 or $50. The bar under it shows what this month used. At the limit Claude pauses and the row says so; it never spends beyond the limit. `pmos grill mode` and `pmos grill cap` change the same two settings.
|
|
91
|
+
|
|
83
92
|
## Where the settings are kept
|
|
84
93
|
|
|
85
94
|
The settings that had a home before this page keep it. For example, the recording engine is kept by the notes engine, Validate consent by the validate route, and the theme and the new-session defaults in this browser.
|