create-pmos 0.474.0 → 0.475.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.
Files changed (49) hide show
  1. package/README.md +5 -3
  2. package/bin/create-pmos.js +23 -1
  3. package/install.ps1 +2 -1
  4. package/install.sh +6 -1
  5. package/package.json +14 -14
  6. package/payload/KIT-VERSION +1 -1
  7. package/payload/planning/evals/eval-calibration.md +1 -1
  8. package/payload/planning/okrs/health-budgets.md +1 -1
  9. package/payload/state/discoveries.md +1 -1
  10. package/workspace/README.md +1 -1
  11. package/workspace/bin/pmos.js +1 -1
  12. package/workspace/changelog.json +13 -0
  13. package/workspace/fixtures/fake-claude-onboard.js +48 -0
  14. package/workspace/guide/briefing-premium.md +2 -7
  15. package/workspace/guide/index.md +2 -2
  16. package/workspace/guide/launcher.md +14 -32
  17. package/workspace/guide/layout.md +1 -1
  18. package/workspace/guide/settings.md +3 -3
  19. package/workspace/guide/welcome.md +64 -21
  20. package/workspace/lib/claude-readiness.js +143 -0
  21. package/workspace/lib/engine/calendar-import.js +5 -0
  22. package/workspace/lib/freshness.js +5 -3
  23. package/workspace/lib/launcher-cli.js +83 -8
  24. package/workspace/lib/onboarding-progress.js +36 -0
  25. package/workspace/lib/project-onboard.js +363 -0
  26. package/workspace/lib/route-modules.js +2 -0
  27. package/workspace/lib/routes-onboard.js +188 -0
  28. package/workspace/lib/routes-onboarding.js +5 -4
  29. package/workspace/lib/routes-setup.js +88 -0
  30. package/workspace/package-lock.json +2 -2
  31. package/workspace/package.json +1 -1
  32. package/workspace/project-onboard-flow-test.js +135 -0
  33. package/workspace/public/pm/cozy-claude-setup.js +90 -0
  34. package/workspace/public/pm/cozy-onboard.css +60 -0
  35. package/workspace/public/pm/cozy-onboard.js +226 -0
  36. package/workspace/public/pm/cozy-settings.js +8 -2
  37. package/workspace/public/pm/home-app.js +10 -0
  38. package/workspace/public/pm/premium-first.js +1 -1
  39. package/workspace/public/pm/premium-welcome-model.js +1 -1
  40. package/workspace/public/pm/premium-welcome.js +107 -62
  41. package/workspace/public/pm/premium.css +16 -0
  42. package/workspace/public/pm/setup-checklist.js +22 -0
  43. package/workspace/public/premium.html +1 -0
  44. package/workspace/server.js +28 -6
  45. package/workspace/skills/calendar-sync.skill +1 -1
  46. package/workspace/test-files.json +6 -3
  47. package/workspace/test-lists/briefing-premium.json +1 -3
  48. package/workspace/test-lists/claude-onboarding-build.json +9 -0
  49. 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
- From then on, the daily driver is just one word, from any repo folder:
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:** `pmos launcher on` (start at login), and meeting-notes transcription (its engine is Apple Silicon only).
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.
@@ -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(spawnSync('pmos', [targetDir, ...NO_OPEN], { stdio: 'inherit', shell: process.platform === 'win32' }));
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 PowerShell and type: pmos'
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
- ok "PMOS is ready. Next time, open Terminal and type: pmos"
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.474.0",
3
+ "version": "0.475.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.475.0",
37
+ "at": "2026-11-01T06:12:23.972Z",
38
+ "f": 3,
39
+ "prs": [
40
+ {
41
+ "n": 1110,
42
+ "t": "Set up a project from the Cozy Home in one guided conversation",
43
+ "s": "Set up a project from the Cozy Home in one guided conversation",
44
+ "k": "new"
45
+ }
46
+ ]
47
+ },
35
48
  {
36
49
  "v": "0.474.0",
37
50
  "at": "2026-11-01T01:28:22.776Z",
@@ -284,19 +297,6 @@
284
297
  "k": "fix"
285
298
  }
286
299
  ]
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
300
  }
301
301
  ]
302
302
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@dcaff102
1
+ kernel-source: pmos@80f908b7
2
2
  assembled: 2026-11-01
3
3
  mode: vendor
@@ -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-01T01:28:19Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-01T06:12:20Z"}
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-01T01:28:19Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-01T06:12:20Z"}
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-01T01:28:19Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-01T06:12:20Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -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.** `pmos launcher on` (once, from the repository you want) 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).
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
 
@@ -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-welcome.html?ws=${w.id}` : `${urlOf(port)}?ws=${w.id}`);
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
 
@@ -1,4 +1,17 @@
1
1
  [
2
+ {
3
+ "v": "0.475.0",
4
+ "at": "2026-11-01T06:12:23.972Z",
5
+ "f": 3,
6
+ "prs": [
7
+ {
8
+ "n": 1110,
9
+ "t": "Set up a project from the Cozy Home in one guided conversation",
10
+ "s": "Set up a project from the Cozy Home in one guided conversation",
11
+ "k": "new"
12
+ }
13
+ ]
14
+ },
2
15
  {
3
16
  "v": "0.474.0",
4
17
  "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-10-27
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
- Welcome is the premium first-run page, at `/premium-welcome.html`. It is a page of its own, with no rail. `pmos` opens it on a first run. The older `/welcome` page stays at its address.
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
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  type: Guide
3
3
  title: "Guide: start here"
4
- timestamp: 2026-10-13
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
- - [Welcome (first run)](welcome.md): scan a new folder, review the proposed portfolio, import it and undo it.
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-12
4
+ timestamp: 2026-10-30
5
5
  ---
6
6
 
7
7
  # Start the workspace without a terminal
8
8
 
9
- `pmos launcher` makes a PMOS app and a login item. After you set it up once, you do not need a terminal to start the workspace.
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
- ## Set it up once
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
- | The PMOS app | `~/Applications/PMOS.app`. Open it from Spotlight or Launchpad, or drag it to the Dock. | An app menu entry, `~/.local/share/applications/pmos.desktop`. |
26
- | The login item | `~/Library/LaunchAgents/com.pmos.workspace.plist` | `~/.config/autostart/pmos-workspace.desktop` |
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
- - **The app** opens the workspace in your browser. When no server runs, it starts one first. It does the same thing as `pmos` in a terminal.
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
- Both run `pmos up` on the repository you chose. They use the PATH that your terminal had when you typed `pmos launcher on`. That is how they find `claude`, `git` and `tmux`.
19
+ ## Change or repair the launcher
36
20
 
37
- What each start printed is in `launcher.log`, in the workspace state folder (`~/Library/Application Support/pmos` on macOS, `~/.local/state/pmos` on Linux).
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
- ## Check it
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`. It shows the repository, the node program and the `pmos` program that the app uses, and whether the login item is installed. A path marked "not found" stops the app. If you move or upgrade node, type `pmos launcher on` again.
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 it
27
+ ## Remove the launcher
44
28
 
45
- Type `pmos launcher off`. It removes the app and the login item. It removes only files that `pmos launcher on` wrote. A file with the same name that you wrote yourself stays.
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
- - The login item never starts remote (tailnet) mode, and it writes no token. To open the workspace from your phone, start remote mode yourself as `workspace/REMOTE.md` tells you.
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
- - **PMOS's own Claude login** (Claude sessions): a Claude login that only PMOS uses. A `/login` typed in a terminal replaces the account in `~/.claude`, and PMOS's background runs then fail with "OAuth session expired". Press **Set up**. PMOS makes the profile `pmos` (the folder `~/.claude-pmos`) and opens a Claude session under it. Type `/login` there and sign in once. Then press **Use for PMOS**. The row shows **In use**. Terminals keep working as before: sign in or switch there whenever you like, and PMOS's login is not touched. **Sign in again** opens the session again. PMOS never makes this the default by itself, and it holds no password.
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-10-31
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. The Welcome page asks for the same four on first run. |
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. |
@@ -76,7 +76,7 @@ Under the update card, **Updates** shows what changed in the published kits. **T
76
76
 
77
77
  ## Claude: the profile and the API key
78
78
 
79
- **Claude profile.** Pick one of the profiles on this computer, or **No profile**. New Claude sessions start with it. The list comes from the profile files in `~/.claude/profiles/`.
79
+ **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
80
 
81
81
  **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
82
 
@@ -1,38 +1,81 @@
1
1
  ---
2
2
  type: Guide
3
- title: "Guide: Welcome (first run)"
4
- timestamp: 2026-10-11
3
+ title: "First run: set up a project in Home"
4
+ timestamp: 2026-11-01
5
5
  ---
6
6
 
7
- # Welcome (first run)
7
+ # First run
8
8
 
9
- The Welcome page is the first screen of a new folder. It asks who you are and where your work lives, reads your folder and the tools you choose, shows what it found, and sets up your portfolio from it.
9
+ Setup is a conversation in Home. It replaces the chat on the right while it runs, and the list of your work stays on the left. There is no separate setup page.
10
10
 
11
- ## How you get there
11
+ Home starts setup when PMOS has no project yet. `pmos` also starts it on a first run. To start it again, open `/premium.html?onboard=1`. The old addresses `/welcome` and `/premium-welcome.html` open the same conversation.
12
12
 
13
- Run `pmos` in a plain folder that PMOS has not imported. The terminal says "first run — opening Welcome" and the browser opens `/welcome`. A folder that already has its own PMOS state folder opens the console as before. After an import, `pmos` opens the console.
13
+ Setup saves its progress on this computer, outside any project folder. A reload continues from the same step.
14
14
 
15
- Run `pmos welcome` to open the page on purpose, for example to scan a folder again or to undo an import. `pmos welcome <path>` opens it for another folder.
15
+ ## What you need
16
16
 
17
- Choose **Not now** on the first screen, or **Skip setup** on the screens after it, to go to the console. Welcome then stops opening on its own for that folder. `pmos welcome` still opens it. To go back, choose **Back** or a step you finished in the steps bar at the top.
17
+ The desktop installers set up Node.js, Git, Claude Code and the PMOS launcher. PMOS needs a writable folder for the project, a writable local settings folder, and a current browser. The local server must run while you use the app.
18
18
 
19
- ## The promise
19
+ Setup needs a Claude Code login on this computer. Signing in on the Claude website alone does not sign in Claude Code. Jira, Slack, Google Drive and other tools need their own connections under that same login.
20
20
 
21
- The page says it before the scan: PMOS reads only, writes nothing in your folders or your tools, and sends nothing out. The folder scan runs on your machine and uses no model. The tools you tick are read by your agent session with your own connection, read-only. The import is stored in the PMOS state folder, never in your folder.
21
+ ## 1. Connect Claude and test the login
22
22
 
23
- ## The steps
23
+ Choose **Set up a separate PMOS login**, or select an existing Claude setup. A profile name does not prove that the account is signed in.
24
24
 
25
- 1. **About you.** Type your name, your role, what you do in one line, and your job description. Every field is optional. Choose **Continue** to save them. The morning brief and the day check use them to judge what matters to you. `pmos proactive settings` shows them, and `pmos proactive settings --role <text> --work <text> --duties <text>` changes them.
26
- 2. **Your sources.** The page shows the folder and its path. Choose **Add another folder** to open the system folder chooser and add a second folder. Under **Tools**, tick the tools PMOS can read: Calendar (your meetings today and for the next 14 days), Jira (the issues assigned to you), Inbox (the threads waiting on you, by subject and sender only) and Slack (messages that mention you and your direct messages, as short summaries). None is ticked at first. Choose **Scan** to start. With tools ticked, the button reads, for example, **Scan the folder and read 2 tools**. Calendar and Jira each start their read-only skill as an agent session. Inbox and Slack are turned on for your daily brief, and the day is prepared now; if the morning brief was not scheduled, it is scheduled for 06:45 each day. A spinner shows while the scan runs. A large folder can take a minute or two, and the rest of PMOS keeps working.
27
- 3. **First look.** One sentence gives the counts: initiatives, documents, deadlines, stale documents, duplicates, people and risks. Up to ten findings follow. Each finding shows the file and line it comes from. Choose **Continue**.
28
- 4. **Your portfolio.** PMOS proposes one board for each product folder (`products/<name>/`). If there is no product folder, it proposes one board for the whole folder. Each board lists its initiatives. Each row has a checkbox, a title you can edit, a lane, an anchor, a stage and a document count. Choose the document count to see the documents. Use the board list on a row to move it to another board. Each board shows how many documents PMOS could not place. High and medium confidence rows start checked. The button reads **Import N initiatives into M boards**. The numbers change as you check, uncheck and move rows.
29
- 5. **Questions.** This step appears only when the scan could not decide something. There are three questions at most. Each question shows its default already chosen. Choose **Import** to accept what is chosen. Choose **Skip** to leave a question open: for the anchor question, the proposed anchors then stay marked for you to confirm later.
30
- 6. **First Briefing.** After the import, the page lists up to five things that need you first. An item that belongs to an imported initiative names the initiative and its board. Under **Your tools**, each tool you ticked says it is being read; its items join your Briefing in PMOS when the agent session finishes. Choose **Open PMOS** to go to the console. Choose **Undo this import** to take the import back and return to your portfolio.
25
+ Complete Claude's sign-in in the terminal that opens. Type `/login` there if needed. PMOS does not copy your password or credentials.
31
26
 
32
- ## Undo
27
+ Choose **Test this login**. The test makes one small Claude request and may use your account allowance. It runs with no tools, no hooks and no connectors, and it does not read your files.
33
28
 
34
- **Undo this import** retracts the import. Nothing is deleted: the import and its undo stay in the record. You can then change the portfolio and import again. When you open Welcome after an import, the page shows the first Briefing with the Undo link.
29
+ A failed test shows the reason: not signed in, Claude Code missing or too old, no network, or no account usage. A failed test does not switch to a different account, and setup does not continue until a test passes.
35
30
 
36
- ## What the page does not do
31
+ If you change the login after a passing test, setup asks you to test again. Results from the earlier login are dropped.
37
32
 
38
- The page does not change your folder. It does not open the files that the exclusion list names, such as `.git`, `node_modules` and files that look like secrets. It reads no tool you did not tick, and nothing before you choose **Scan**. The PMOS server itself calls nothing outside this computer. It does not import from Drive or other tools.
33
+ ## 2. Describe the project
34
+
35
+ Type the project name and a few words about it. For example: "Checkout redesign, payments team. Jira key PAY." To use a folder you already have, include its path.
36
+
37
+ ## 3. Choose the folder
38
+
39
+ Setup proposes a new folder under `PMOS` in your home folder, named after the project. Nothing is created until you confirm. Setup never proposes a folder that already holds files. If the name is taken, it adds a number.
40
+
41
+ To use a folder you already have, choose **Choose an existing folder…**, or type its path. Setup then shows what is already there: a Git repository, a README, or an existing PMOS install. In an existing folder, setup adds only what is missing; your files and history stay as they are. **Put the new folder somewhere else…** changes where the new folder goes.
42
+
43
+ The search step can also read the folder's README and Git history.
44
+
45
+ ## 4. Search your connected tools
46
+
47
+ Choose **Show what I can read**. Setup lists the connectors of the tested login. This step makes no Claude request. A connector that needs sign-in is shown but cannot be selected; sign in to it in Claude first.
48
+
49
+ Select the sources, then choose **Search, read-only**. Searching uses some of your account usage. The search can only use tools whose names say they read, search, list or get. Every other tool is refused before it runs. Setup asks for no permission and sends no message.
50
+
51
+ Each source shows one result: what it found, nothing found, or why it could not read. A source that could not be read adds nothing to the review.
52
+
53
+ To skip the search, choose **Skip, use my description**.
54
+
55
+ ## 5. Review what was found
56
+
57
+ Each proposed field names the source it came from, with a link. A field is empty when no source supports it. Setup does not invent an owner, a goal or a Jira project.
58
+
59
+ Edit any field, and clear the findings you do not want. If more than one Jira project matched, choose one before you continue. Treat what a connector returns as information to check, not as instructions.
60
+
61
+ ## 6. Set up PMOS
62
+
63
+ Choose **Set up PMOS in** the folder. Setup creates the folder if it is new, sets up Git in a new folder, installs PMOS, adds one line to `CLAUDE.md`, and saves the project context to `pmos/planning/project-context.md`.
64
+
65
+ If the folder already has PMOS, setup reuses it as it is and does not reinstall it. The button then says **Open PMOS in**. If a different project context file is already there, setup saves a second one beside it.
66
+
67
+ Each step is recorded. If setup stops part of the way, run it again and it continues from the step that did not finish.
68
+
69
+ ## 7. Open the project
70
+
71
+ The project opens in My Work. The last turn lists what setup did and offers next steps, such as checking the project context or showing what is open in Jira. An agent does not start automatically.
72
+
73
+ ## Repair the login later
74
+
75
+ Home shows a **Claude needs attention** card only when the saved login has failed: signed out, removed, unreachable or refused. A login that was not tested since a restart shows nothing. **Test the login again** reopens setup at the login test, for the same profile. PMOS never switches accounts itself.
76
+
77
+ Settings › Claude has the same sign-in and test controls.
78
+
79
+ ## What this was tested with
80
+
81
+ The automated tests use a stand-in Claude program, not a real account or real connectors. They check the flags of every Claude call, the refused tools, the folder rules and the PMOS install. A live sign-in and a live connector search were not part of those tests.