create-pmos 0.668.0 → 0.670.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.
@@ -100,6 +100,20 @@ function offerMod(repoRoot, opts) {
100
100
  for (const k of m.kept) console.log(` mod: kept ${k}`);
101
101
  }
102
102
 
103
+ // Which profile a new kit gets: --code / --pm when given, else product-code when the folder already
104
+ // holds code (a package manifest or source files), else pm-artifacts. → { profile, why }
105
+ function chooseProfile(targetRoot, opts = {}) {
106
+ if (opts.code) return { profile: 'product-code', why: 'you passed --code' };
107
+ if (opts.pm) return { profile: 'pm-artifacts', why: 'you passed --pm' };
108
+ let detect = null;
109
+ for (const p of [path.join(WORKSPACE, 'lib', 'profile-default.js'), path.join(__dirname, '..', '..', 'workspace', 'lib', 'profile-default.js')]) {
110
+ try { if (fs.existsSync(p)) { detect = require(p); break; } } catch {}
111
+ }
112
+ const c = detect ? detect.looksLikeCode(targetRoot) : { code: false };
113
+ if (c.code) return { profile: 'product-code', why: `this folder holds code (${c.why}); pass --pm for a documents repository` };
114
+ return { profile: 'pm-artifacts', why: 'no code found here; pass --code if this repository will hold a product\'s code' };
115
+ }
116
+
103
117
  function vendor(targetRoot, opts) {
104
118
  payloadOrDie();
105
119
  const kit = path.join(targetRoot, 'pmos');
@@ -108,10 +122,12 @@ function vendor(targetRoot, opts) {
108
122
  fs.cpSync(PAYLOAD, kit, { recursive: true });
109
123
  stampInstall(kit, 'vendor');
110
124
  // D68 — the default user is a PM: a new repository is a pm-artifacts repository (documents,
111
- // strategy, specifications — PM lanes, the brief → draft → review → approved ladder). `--code`
112
- // keeps today's product-code behaviour. An existing .pmos-profile is never overwritten.
125
+ // strategy, specifications — PM lanes, the brief → draft → review → approved ladder). A folder that
126
+ // already holds code is a product-code repository (the workspace's rule, lib/profile-default.js,
127
+ // PM 2026-10-31). `--code` and `--pm` say it outright. An existing .pmos-profile is never overwritten.
113
128
  const profileFile = path.join(targetRoot, '.pmos-profile');
114
- const profile = opts && opts.code ? 'product-code' : 'pm-artifacts';
129
+ const chosen = chooseProfile(targetRoot, opts);
130
+ const profile = chosen.profile;
115
131
  if (!fs.existsSync(profileFile)) {
116
132
  fs.writeFileSync(profileFile, `${profile}\n# PMOS repository profile (D68): pm-artifacts | product-code\n`);
117
133
  }
@@ -125,7 +141,8 @@ function vendor(targetRoot, opts) {
125
141
  }
126
142
  }
127
143
  console.log(`✅ PMOS kit vendored at ${kit} (${kitVersion().split('\n')[0]})`);
128
- console.log(` profile: ${fs.readFileSync(profileFile, 'utf8').split('\n')[0]} (${profileFile})`);
144
+ const kept = fs.readFileSync(profileFile, 'utf8').split('\n')[0];
145
+ console.log(` profile: ${kept} (${profileFile})${kept === profile ? ` — ${chosen.why}` : ' — kept as it was'}`);
129
146
  reportSkillLinks(cockpit.linkSkills(targetRoot));
130
147
  offerMod(targetRoot, opts);
131
148
  console.log(`
@@ -427,8 +444,9 @@ function main() {
427
444
  const positional = args.filter((a) => !a.startsWith('-'));
428
445
  if (args.includes('--help') || args.includes('-h')) {
429
446
  console.log('usage:');
430
- console.log(' create-pmos [target-dir] vendor the file-mode kit into a repo (pm-artifacts profile, D68)');
431
- console.log(' create-pmos [target-dir] --code …as a product-code repository instead (code lanes and ladder)');
447
+ console.log(' create-pmos [target-dir] vendor the file-mode kit into a repo (product-code if it holds code, else pm-artifacts, D68)');
448
+ console.log(' create-pmos [target-dir] --code …as a product-code repository (code lanes and ladder)');
449
+ console.log(' create-pmos [target-dir] --pm …as a pm-artifacts (documents) repository, even if it holds code');
432
450
  console.log(' create-pmos [target-dir] --no-mod …without offering the pmos-cockpit mod in .claude/settings.json');
433
451
  console.log(' create-pmos --update [kit-or-repo] refresh only the kit kernel (add --offer-mod to offer the mod in .claude/settings.json)');
434
452
  console.log(' create-pmos workspace [repo-dir] install/upgrade + launch the Terminal Workspace GUI');
@@ -444,8 +462,8 @@ function main() {
444
462
  } else if (args.includes('--update')) {
445
463
  update(positional[0], { offerMod: args.includes('--offer-mod') });
446
464
  } else {
447
- vendor(path.resolve(positional[0] || '.'), { code: args.includes('--code'), noMod: args.includes('--no-mod') });
465
+ vendor(path.resolve(positional[0] || '.'), { code: args.includes('--code'), pm: args.includes('--pm'), noMod: args.includes('--no-mod') });
448
466
  }
449
467
  }
450
468
  if (require.main === module) main();
451
- else module.exports = { hide, globalRoot, runInstalledPmos, launcherCurrent, launchWorkspace, installedWorkspaceVersion, installWorkspaceGlobal, stopWorkspaceServer, resetRoot: () => { rootMemo = null; } };
469
+ else module.exports = { chooseProfile, hide, globalRoot, runInstalledPmos, launcherCurrent, launchWorkspace, installedWorkspaceVersion, installWorkspaceGlobal, stopWorkspaceServer, resetRoot: () => { rootMemo = null; } };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.668.0",
3
+ "version": "0.670.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": {
@@ -33,6 +33,25 @@
33
33
  "audit"
34
34
  ],
35
35
  "pmosChanges": [
36
+ {
37
+ "v": "0.670.0",
38
+ "at": "2026-11-22T05:07:36.130Z",
39
+ "f": 4,
40
+ "prs": [
41
+ {
42
+ "n": 1457,
43
+ "t": "Create-pmos picks the code profile itself; OKR template the board resolves",
44
+ "s": "Create-pmos picks the code profile itself; OKR template the board resolves",
45
+ "k": "new"
46
+ },
47
+ {
48
+ "n": 1463,
49
+ "t": "Settings is built from the design system's blocks",
50
+ "s": "Settings is built from the design system's blocks",
51
+ "k": "new"
52
+ }
53
+ ]
54
+ },
36
55
  {
37
56
  "v": "0.668.0",
38
57
  "at": "2026-11-22T04:47:26.459Z",
@@ -339,19 +358,6 @@
339
358
  "k": "new"
340
359
  }
341
360
  ]
342
- },
343
- {
344
- "v": "0.636.0",
345
- "at": "2026-11-20T00:18:49.118Z",
346
- "f": 4,
347
- "prs": [
348
- {
349
- "n": 1418,
350
- "t": "The PMOS UI design system in the workspace, prototypes and the kit",
351
- "s": "The PMOS UI design system in the workspace, prototypes and the kit",
352
- "k": "new"
353
- }
354
- ]
355
361
  }
356
362
  ]
357
363
  }
package/payload/AGENTS.md CHANGED
@@ -33,7 +33,7 @@ It refuses frontmatter, fenced and indented code, table rows, headings, delibera
33
33
 
34
34
  | Hosted tool (as skills name them) | File-mode equivalent |
35
35
  |---|---|
36
- | `create_initiative` | write `pmos/state/initiatives/<id>.md` (frontmatter: id, title, parent_kr, stage, status, **type** — the D56 lane, default `feature` — plus `intent` for the chore lane, prd_path, rubric_path, created; plus `outcome_metric` + `outcome_horizon` — the D57 declaration for post-ship success criteria. No initiative goes without one: after you create it, and once its PRD exists, run `pmos outcomes propose <id>` and show the cited draft; write it with `pmos outcomes declare` only after the PM's yes; plus `description` — one paragraph that says what the initiative is, shown in About before any PRD exists: `pmos initiative describe <id>` lists the cited lines to draft it from, and `pmos initiative describe <id> "<text>"` writes it only after the PM's yes) |
36
+ | `create_initiative` | write `pmos/state/initiatives/<id>.md` (frontmatter: id, title, parent_kr — `<period>:<objective>:<kr>` such as `q4-2026:o1:kr1`, naming a KR in `pmos/planning/okrs/` written from `pmos/okf/core/templates/okr-template.md`, or `health:<id>` —, stage, status, **type** — the D56 lane, default `feature` — plus `intent` for the chore lane, prd_path, rubric_path, created; plus `outcome_metric` + `outcome_horizon` — the D57 declaration for post-ship success criteria. No initiative goes without one: after you create it, and once its PRD exists, run `pmos outcomes propose <id>` and show the cited draft; write it with `pmos outcomes declare` only after the PM's yes; plus `description` — one paragraph that says what the initiative is, shown in About before any PRD exists: `pmos initiative describe <id>` lists the cited lines to draft it from, and `pmos initiative describe <id> "<text>"` writes it only after the PM's yes) |
37
37
  | `save_spec` | the PRD file itself at `pmos/planning/prd/<id>-prd.md` (set `prd_path` on the initiative file) |
38
38
  | `get_spec` / `get_planning_artifact` | read `pmos/planning/…` |
39
39
  | `get_skill` | read `pmos/skills/<name>.skill` |
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@670028fc
1
+ kernel-source: pmos@82978c76
2
2
  assembled: 2026-11-22
3
3
  mode: vendor
@@ -15,5 +15,6 @@ OKF reserved file (no frontmatter). Directory listing for progressive disclosure
15
15
  - [decision-record-template](decision-record-template.md) — Meeting notes and decisions (D68 decision-record lane, light by default): decisions, actions, open questions.
16
16
  - [report-weekly-template](report-weekly-template.md) — A regular status report (D68 report lane, light by default): what moved against which KR or domain goal, metrics, blockers, what needs the reader.
17
17
  - [experiment-record-template](experiment-record-template.md) — The experiment record (D107) at planning/initiatives/<id>.md: Intent, Done test, kill condition. The batch lead writes one for every batch item before its build.
18
+ - [okr-template](okr-template.md) — One period's OKR file in the shape the anchor resolver reads: `## O1 — …` headings, `**KR1**` bullets, anchors `q4-2026:o1:kr1`.
18
19
  - [done-test-template](done-test-template.md) — An experiment's done test (D107) at planning/done-tests/<id>.md: the checks that say the work is done, written before the build.
19
20
  - [agent-eval-set-template](agent-eval-set-template.md) — The done test of an initiative marked agent: true (agent-product-lane): a simulation eval set with scenarios (input conversation, expected behaviour, scoring rubric) and a pass threshold.
@@ -0,0 +1,25 @@
1
+ ---
2
+ type: Template
3
+ title: OKR Template
4
+ description: The scaffold for one period's OKR file at planning/okrs/okrs-<quarter>-<year>.md, in the shape the anchor resolver reads, so an initiative's parent_kr resolves on the board.
5
+ tags: [template, okr, anchor]
6
+ timestamp: 2026-11-22
7
+ ---
8
+
9
+ # OKRs — Q4 2026
10
+
11
+ **Situating context:** the second-repo pilot (2026-11-22) wrote KRs as `**kr-fair-split:**` bullets and anchored work to a bare `kr-fair-split`. The Initiative Gate passed them, because it only checks that `parent_kr` is not empty, but the board showed every initiative blocked on anchor. The [okr skill](/skills/okr.skill) fills this template. Copy it to `planning/okrs/okrs-q4-2026.md` (in a kit repo, `pmos/planning/okrs/`) and replace the example text.
12
+
13
+ The shape the resolver reads:
14
+
15
+ - The period is in the H1 (`# OKRs — Q4 2026`), in a `period: 2026-Q4` line, or in the file name.
16
+ - Each objective is a heading `## O1 — <name>`.
17
+ - Each KR is a bullet under its objective that starts with `**KR1**`, `**KR2**`, … (or `**KR-<word>**`, with capital `KR`).
18
+ - An initiative anchors with `parent_kr: q4-2026:o1:kr1` (period, objective, KR), or with a health budget such as `parent_kr: health:tech`.
19
+
20
+ ## O1 — A split you can pay without arguing
21
+
22
+ - **KR1** — Every split adds up to the bill to the cent.
23
+ - baseline: 6,834 of 10,000 random bills do not add up → target: 0 · source: the product's test suite
24
+ - **KR2** — Real bills work: a tip and uneven shares.
25
+ - baseline: 0 of 2 → target: 2 of 2 · source: the product's test suite
@@ -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-22T04:47:23Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-22T05:07:32Z"}
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-22T04:47:23Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-22T05:07:32Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -54,6 +54,7 @@ operationalizes the [okr-tree](/okf/core/concepts/okr-tree.md) concept.
54
54
 
55
55
  - OKR instances are **operational** — under `/planning/okrs/`, not in the OKF bundle.
56
56
  - Filename: period-slugged, e.g. `okrs-q3-2026.md`.
57
+ - Shape: fill [the OKR template](/okf/core/templates/okr-template.md). Objectives are `## O1 — <name>` headings and KRs are `**KR1**` bullets under them, so the board can resolve an initiative's `parent_kr: q3-2026:o1:kr1`. A lowercase `kr-…` bullet or a bare `kr-…` anchor passes the gate but shows as blocked on the board.
57
58
 
58
59
  ## Quality bar
59
60
 
@@ -56,6 +56,7 @@ operationalizes the [okr-tree](/okf/core/concepts/okr-tree.md) concept.
56
56
 
57
57
  - OKR instances are **operational** — under `/planning/okrs/`, not in the OKF bundle.
58
58
  - Filename: period-slugged, e.g. `okrs-q3-2026.md`.
59
+ - Shape: fill [the OKR template](/okf/core/templates/okr-template.md). Objectives are `## O1 — <name>` headings and KRs are `**KR1**` bullets under them, so the board can resolve an initiative's `parent_kr: q3-2026:o1:kr1`. A lowercase `kr-…` bullet or a bare `kr-…` anchor passes the gate but shows as blocked on the board.
59
60
 
60
61
  ## Quality bar
61
62
 
@@ -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-22T04:47:23Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-22T05:07:32Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -1,4 +1,23 @@
1
1
  [
2
+ {
3
+ "v": "0.670.0",
4
+ "at": "2026-11-22T05:07:36.130Z",
5
+ "f": 4,
6
+ "prs": [
7
+ {
8
+ "n": 1457,
9
+ "t": "Create-pmos picks the code profile itself; OKR template the board resolves",
10
+ "s": "Create-pmos picks the code profile itself; OKR template the board resolves",
11
+ "k": "new"
12
+ },
13
+ {
14
+ "n": 1463,
15
+ "t": "Settings is built from the design system's blocks",
16
+ "s": "Settings is built from the design system's blocks",
17
+ "k": "new"
18
+ }
19
+ ]
20
+ },
2
21
  {
3
22
  "v": "0.668.0",
4
23
  "at": "2026-11-22T04:47:26.459Z",
@@ -24,7 +24,7 @@ This page lists every job, so you know what runs and why. Each row links to the
24
24
  - **One run for each initiative.** A background run never starts on an initiative that another background run is working on. It tries again a minute later.
25
25
  - **Idle work waits for you to step away.** The idle work starts only when you have not used PMOS for 30 minutes, or in the last hour of your working day if you never stepped away. It also waits when 3 background runs are live, inside quiet hours, and at the spending limit.
26
26
  - **Your hours.** Scheduled jobs run inside your working hours and never inside your quiet hours.
27
- - **A spending limit.** PMOS's checks spend at most the monthly credit you set in Settings › PMOS › Checks ($5, $10, $20 or $50). At the limit PMOS pauses. It never spends beyond the limit.
27
+ - **A spending limit.** PMOS's checks spend at most the monthly credit you set in Settings › Checks ($5, $10, $20 or $50). At the limit PMOS pauses. It never spends beyond the limit.
28
28
  - **PMOS learns from your no.** When you give a reason with ✕, or rewrite a grill finding's next step with ✎, the next grill or task check on that initiative reads your last 3 reasons first. It still only proposes.
29
29
  - **Every run is logged.** Each job writes its own ledger in the runtime folder on this computer. Only you see it, and it never goes into a repository.
30
30
 
@@ -78,7 +78,7 @@ When the verifier is running, a change it fails counts like an Undo. Home says o
78
78
  - `pmos ai off` stops every agent job, and every change that would apply by itself. `pmos ai on` starts them again.
79
79
  - `PMOS_AUTONOMY=off` in the environment stops only what applies by itself. Proposals still come.
80
80
  - `pmos driver mode approve` makes every Driver proposal wait for you again.
81
- - The spending limit in Settings › PMOS › Checks holds.
81
+ - The spending limit in Settings › Checks holds.
82
82
 
83
83
  ### Long-running goals
84
84
 
@@ -105,7 +105,7 @@ A loop never sends a message, moves a Jira ticket, merges into a product reposit
105
105
  | [Initiative Driver](initiatives-and-next-steps.md) | An initiative is created, moved or sent back. The unblock sweep runs every 30 minutes in working hours. At most 3 runs at once. | The initiative record, its tasks and its Jira tickets | The Agent strip of the initiative, and Needs you | Board settings › Agent: Off. `PMOS_DRIVER=off` |
106
106
  | [Found elsewhere](claude-proposes.md) | You add an initiative | Drive, Docs, Sheets, Slides, Jira, the calendar, meeting notes, Gmail, Slack and Confluence | The initiative's ✦ | `PMOS_PROPOSE=off` |
107
107
  | [New dates, done and tidy names](claude-proposes.md) | Each morning, and when a date passes | The tasks of the initiative, and the evidence that work happened | The initiative's ✦ | `PMOS_PROPOSE=off` |
108
- | [Grill](claude-proposes.md) | Before an initiative leaves a stage, when a forecast turns at risk, when scope or dates move a lot, and once a month on running work with late work. Also when you write "grill this" in the initiative's chat. | The initiative, your stored research, your meeting notes and the decisions that stand | "PMOS grilled it" under the initiative's ✦ | Settings › PMOS › Checks: Off. `PMOS_GRILL=off` |
108
+ | [Grill](claude-proposes.md) | Before an initiative leaves a stage, when a forecast turns at risk, when scope or dates move a lot, and once a month on running work with late work. Also when you write "grill this" in the initiative's chat. | The initiative, your stored research, your meeting notes and the decisions that stand | "PMOS grilled it" under the initiative's ✦ | Settings › Checks: Off. `PMOS_GRILL=off` |
109
109
  | [You decided this before](claude-proposes.md) | You add an initiative that repeats an earlier decision | `DECISIONS.md`, the decision records, the PM journal, `planning/out-of-scope/` and the initiative records | The initiative's ✦ | `pmos ai off past-repeat` |
110
110
  | [Initiative descriptions](claude-proposes.md) | Once a day. At most 3 drafts a day for each product. | The PRD's first Problem or Why paragraph, or the record's own first paragraph | "Description" under the initiative's ✦ | `pmos ai off descriptions`. `PMOS_DESCRIPTIONS=off` |
111
111
  | [Expected outcomes](claude-proposes.md) | Once a day. At most 3 drafts a day for each product. When a check date passes: the verdict, from the goal's reading or one short run. | The PRD's success criteria, or the anchored key result. For a verdict: the goal's reading, or the lines the run cites | "Expected outcome" under the initiative's ✦. A verdict is recorded with Undo. Your move when PMOS cannot tell. | `pmos ai off outcomes`. `PMOS_OUTCOMES=off` |
@@ -120,7 +120,7 @@ A loop never sends a message, moves a Jira ticket, merges into a product reposit
120
120
  | [Your impact](claude-proposes.md) | PMOS reads once a day. Home shows the week after it ends. | Slack, mail, Jira, your meeting notes, your documents and your key results | Adler's sprout on Home, and your impact log | Settings › General › Your impact. `PMOS_IMPACT=off` |
121
121
  | [Morning brief and day check](proactive-engine.md) | The morning brief at 06:45, once you schedule it. The day check every 60 minutes by default (30, 60 or off). | Calendar, Wispr Flow, Slack, Jira and Confluence are on by default. Mail, GitHub, Drive, Figma and websites are off by default. Mail: subjects and senders only. | Today | Each source is a setting. `pmos proactive settings` |
122
122
  | [Day tasks](proactive-engine.md) | You press Prepare my day. At most 5 sessions at once. | The sources of the brief, read-only | Today: a draft waits for Approve or Revise | Do not press Prepare my day |
123
- | [Next prompt and Sharper](home.md) | After PMOS replies, and when you stop typing a rough prompt | The reply and your message | Cards above the chat box. Nothing is sent. | Settings › PMOS. `pmos ai off next-prompt`, `pmos ai off sharpen-prompt` |
123
+ | [Next prompt and Sharper](home.md) | After PMOS replies, and when you stop typing a rough prompt | The reply and your message | Cards above the chat box. Nothing is sent. | Settings › Your account. `pmos ai off next-prompt`, `pmos ai off sharpen-prompt` |
124
124
  | [Rehearse a plan](claude-proposes.md) | You ask PMOS to move a date or cut a task or an initiative | Task links, initiative records, goals and program charters | Your session, before PMOS makes the change | `pmos ai off rehearse` |
125
125
  | [Data refresh](settings-and-switches.md) | In working hours: the calendar every 30 minutes, and Jira, My work and your tools every hour. Tracker items on Friday 15:30. | Each tool with your own connection, read-only | Each page shows how old its data is | Settings › Data refresh |
126
126
 
@@ -195,7 +195,7 @@ Before you see a result, PMOS proves it:
195
195
  - Each claim must quote what was read: a prototype quotes the initiative's own words at `path:line`, and a scan quotes a line of a page the run read.
196
196
  - What is not proven is dropped, and the reason is logged. `pmos lab status` shows this month's runs, and `pmos ai log idle-lab` shows each drop.
197
197
 
198
- Specimens stay in the runtime folder on this computer. Nothing goes into a product repository before your ✓. The idle lab's spend counts toward the same limit as the grill in Settings › PMOS › Checks.
198
+ Specimens stay in the runtime folder on this computer. Nothing goes into a product repository before your ✓. The idle lab's spend counts toward the same limit as the grill in Settings › Checks.
199
199
 
200
200
  The run uses only the `pmos lab` commands in the [Command reference](cli.md).
201
201
 
@@ -227,7 +227,7 @@ What each part does:
227
227
  - **What the run gets.** Each run gets the PMOS design system for pages and its charts: the stylesheet and the rules (one lit thing per screen, icon-only buttons, the assistant is PMOS). A product that keeps its own copy of the system in `pmos/design-system/` gets its own brand (colours and fonts) with PMOS's parts. A product with only its own token sheet keeps its own look. The idle lab's prototypes get the same. The run also gets the initiative's name and the product's Intent, the files you attached, the element you pointed at, and your copy edits and sliders. A prototype must fit a 390 px phone screen.
228
228
  - **What the run can do.** A run can only read and write in its own folder in the runtime folder, plus the last version and the files you attached. It has no shell, no web and nothing that sends. Nothing goes into a product repository before your ✓.
229
229
  - **What the canvas can do.** The prototype runs in a sandboxed frame. It cannot reach PMOS. The canvas talks to it only to show a screen, point, pin, play and apply your edits.
230
- - **Your prototype rules.** After a version renders and before it opens, PMOS checks it against your prototype rules: no device or browser frame, no instructions on the screen, no sample copy, and each rule PMOS learns from your corrections. When a correction is true of every prototype (for example "no device frame"), the chat adds it as a rule (`pmos lab rule add`). PMOS keeps a rule only when it fails a bad example and passes a good one, so a button such as "See the week" is never read as an instruction. A change to one version ("make the alert orange") or a taste ("calmer") never becomes a rule. A version that breaks a rule gets one fix run, given only the lines that broke it. You see only the fixed version, with one quiet line: "PMOS fixed 3 things before showing you this." When the fix does not reach a rule, the version still opens and the line names the rule it breaks. When nothing was fixed, there is no line. Settings › PMOS › Prototype rules lists the rules with Undo.
230
+ - **Your prototype rules.** After a version renders and before it opens, PMOS checks it against your prototype rules: no device or browser frame, no instructions on the screen, no sample copy, and each rule PMOS learns from your corrections. When a correction is true of every prototype (for example "no device frame"), the chat adds it as a rule (`pmos lab rule add`). PMOS keeps a rule only when it fails a bad example and passes a good one, so a button such as "See the week" is never read as an instruction. A change to one version ("make the alert orange") or a taste ("calmer") never becomes a rule. A version that breaks a rule gets one fix run, given only the lines that broke it. You see only the fixed version, with one quiet line: "PMOS fixed 3 things before showing you this." When the fix does not reach a rule, the version still opens and the line names the rule it breaks. When nothing was fixed, there is no line. Settings › Prototype rules lists the rules with Undo.
231
231
  - **The design critic.** After the prototype rules, a separate read-only session reads the version's desk and phone screenshots and its page against every standing design rule of your product. Each rule is a named check: each numbered principle in your design principles and each rule in your `design-rules.json`. A finding must name the rule it breaks, so the critic reports broken rules, not taste. Its findings go into the same one fix run. After the fix it reads only those rules again, so "PMOS fixed n things" is never claimed unchecked. A critic that cannot run never holds the version. `pmos lab critic` runs it on any screenshots, and `PMOS_CRITIC=off` turns it off.
232
232
  - **No time limit.** A version takes as long as the ask needs. While PMOS makes it, the Viewer shows what it is doing now (for example "Building screen 3 of 7"), the steps done, a progress bar and the time so far, with a Stop press. A run that writes nothing for 10 minutes is stuck: PMOS stops it. A version that does not render, that is stuck or that you stop is "not made" with the reason, and the chat says so. The Viewer still opens it: it says why and shows the version it was made from. While a version is being made, a new ask on the same initiative waits: PMOS says what is running.
233
233
  - **Lessons.** Each change sentence, ✓ and ✕ is a Lessons line of the experiment (`pmos artefacts show`). Each version that rendered is a Specimens line. The one you keep is the kept specimen.
@@ -71,7 +71,7 @@ PMOS never pushes back with a decision that a later one replaced: such a finding
71
71
 
72
72
  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 PMOS pauses until the next month.
73
73
 
74
- Set when PMOS grills, and how much it may spend, in **Settings › PMOS › Checks** (see [Settings](settings-and-switches.md)) or with `pmos grill mode`, `pmos grill cap` and `pmos grill spend`. `PMOS_GRILL=off` turns it off on this computer. The `pmos grill` commands are in the [Command reference](cli.md).
74
+ Set when PMOS grills, and how much it may spend, in **Settings › Checks** (see [Settings](settings-and-switches.md)) or with `pmos grill mode`, `pmos grill cap` and `pmos grill spend`. `PMOS_GRILL=off` turns it off on this computer. The `pmos grill` commands are in the [Command reference](cli.md).
75
75
 
76
76
  ## The guard on every AI job
77
77
 
@@ -170,7 +170,7 @@ Every proposal carries its source. Nothing is sent.
170
170
 
171
171
  - `pmos grill decisions [--all]`: the decisions that stand, one line each with its file and line. With `--all`, also the superseded and reverted ones and what replaced them.
172
172
 
173
- Set when PMOS grills, and how much it may spend, with these commands (or in **Settings › PMOS › Checks**):
173
+ Set when PMOS grills, and how much it may spend, with these commands (or in **Settings › Checks**):
174
174
 
175
175
  - `pmos grill mode [full|exits|off]`: when PMOS grills by itself. `exits` grills only before a stage ends. `PMOS_GRILL=off` turns it off on this computer.
176
176
  - `pmos grill cap [<dollars>]`: the monthly credit cap, in US dollars (10 by default).
@@ -247,7 +247,7 @@ The idle lab run uses only the first three commands:
247
247
  - `pmos lab delete <initiative> [--file <round>/<A>/<a>.html | --version <n> [--key A]] [--ws <id>]`: delete one prototype version. Without `--file` or `--version`, PMOS deletes the prototype now. The version goes out of the Viewer and is not used for the next version. Its folder, with your edits, is kept aside, so the command prints the Undo. The Viewer's trash in the version bar does the same. A background lab run cannot use this command.
248
248
  - `pmos lab undo <batch> [--ws <id>]`: bring a deleted version back, with its edits.
249
249
  - `pmos lab rule add --json - [--again]`: add one of your prototype rules from a correction. The JSON is `{ "title", "words", "tests": [{ "in": "text" | "attr" | "source", "re", "flags"? }], "bad", "good" }`: `text` reads the screen's words without buttons and links, `attr` reads each element's class and id, and `bad` and `good` are two small HTML pages. PMOS keeps the rule only when it fails `bad` and passes `good`. `--again` adds a rule you undid, only when you say it again. The initiative chat runs it; a background lab run cannot.
250
- - `pmos lab rule list`: the rules every prototype version is checked against before it opens. The same list is in Settings › PMOS › Prototype rules.
250
+ - `pmos lab rule list`: the rules every prototype version is checked against before it opens. The same list is in Settings › Prototype rules.
251
251
  - `pmos lab critic <file…> [--ws <id>]`: the design critic reads screenshots (.png, .jpg, .webp) or HTML files, given as full paths, against every standing design rule of the product. Each rule is one named check: each numbered principle in the product's design principles, and each rule in its `design-rules.json`. A product with neither gets a short base set. Each finding names the check it breaks. Use it on a release's screenshots or a design board before anyone else sees them. The running PMOS server starts one read-only session.
252
252
  - `pmos lab critic checks [--root <dir>]`: the checks the critic uses for the product in that folder. No server is needed.
253
253
  - `pmos lab critic label <run> <n> real|noise`: your word on finding `n` of a critic run. `pmos lab critic stats` counts the runs, the findings, and how many you called real or noise.
@@ -56,7 +56,7 @@ This starts an empty PMOS for the user `pmos`. After the sign-in, add each produ
56
56
  | The PMOS state folder: chats, notes, settings, Online and the product list | `~/.local/state/pmos` | Your PMOS is the same as it was on the Mac. |
57
57
  | Every repository PMOS hosts, with its git history (no `node_modules`) | The same path as on the Mac | Paths and product ids do not change. |
58
58
  | `~/.cloudflared`: the tunnel's files | The same path | The same tunnel and DNS record answer your Online address. No DNS change is needed. |
59
- | The name and folder of the Claude profile in Settings › PMOS | An alias in `~/.bashrc` | Unattended PMOS work runs as that profile, as on the Mac. |
59
+ | The name and folder of the Claude profile in Settings › Your account | An alias in `~/.bashrc` | Unattended PMOS work runs as that profile, as on the Mac. |
60
60
  | `~/.gitconfig` | The same path | Your git name and email. The macOS keychain line is removed, and GitHub is reached over HTTPS. |
61
61
 
62
62
  The server uses the same user name and home folder as the Mac, such as `/Users/<you>`. That is why no path needs to change.
@@ -96,5 +96,5 @@ Records that both computers push to a git remote stay in step. Chats, notes and
96
96
 
97
97
  - The server must run Ubuntu or Debian. Other Linux systems need the steps done by hand.
98
98
  - A product repository with no git remote is copied once, at the move. After that, the Mac and the server do not sync it.
99
- - Claude's sign-in on the server lasts as long as a sign-in on any computer. When it expires, `pmos-cloud status` shows ✗ for Claude, and Settings › PMOS shows the sign-in prompt. Run `pmos-cloud signin` again.
99
+ - Claude's sign-in on the server lasts as long as a sign-in on any computer. When it expires, `pmos-cloud status` shows ✗ for Claude, and Settings › Your account shows the sign-in prompt. Run `pmos-cloud signin` again.
100
100
  - The two pastes download the newest create-pmos release from `unpkg.com`. If unpkg is down, copy `cloud-setup.sh` from the create-pmos package (`npm pack create-pmos`) and run it with `bash cloud-setup.sh move root@<server-ip>`.
@@ -19,7 +19,7 @@ Home, the Board, Insights and the Viewer use one typeface, Plus Jakarta Sans, wi
19
19
  - **The quarter.** One bar with all goals of the products Home reads: reached, on track, still reading, at risk and will miss, each with its count. A black tick marks your line, for example "line 18". One sentence says how many goals are on track or better, and one line says why. When no goal has a reading yet, the sentence says that instead, for example "3 goals, none read yet." **By product** opens Intelligence. With no goals, there is no bar. With no line, there is no tick, and PMOS can propose a line with ✦: press ✓ to keep it, or ✕ to not set one this quarter. A product that could not be read is named and is not counted.
20
20
  - **The left column.** PMOS's lead says it straight, for example "Straight answer: 5 calls are yours. I did the other 54." When a source such as Jira cannot be read, one quiet line under the lead says so and what it shows instead, with an icon to read it again. The source never takes the lead's place.
21
21
  - **Your move** shows only the calls that always wait for you: a verdict, a new request or a decision, a message to people, a move the team reads, a merge, and a delete or spend. Each row starts with its kind and says why, for example "Message · I drafted it. It goes to people and cannot be unsent." It also shows its due day (orange when late) and the goal it moves when a goal reads it. At most 5 show. **N more calls of yours** opens the rest. PMOS acts on everything else by itself, so there is no Can wait.
22
- - **PMOS did** lists what PMOS finished by itself, newest first. Each row has a one-line reason, for example "Did it quietly. You kept this kind 4 times before.", and Undo. Undo works for 14 days. After two Undos in a row on one kind, PMOS asks first for that kind for 7 days. A run that stopped is one amber line at the top, never a row in Your move. **N more PMOS did** opens the rest. A kind PMOS shows you comes first. **By product** opens Settings › PMOS, where you set how PMOS decides for each kind.
22
+ - **PMOS did** lists what PMOS finished by itself, newest first. Each row has a one-line reason, for example "Did it quietly. You kept this kind 4 times before.", and Undo. Undo works for 14 days. After two Undos in a row on one kind, PMOS asks first for that kind for 7 days. A run that stopped is one amber line at the top, never a row in Your move. **N more PMOS did** opens the rest. A kind PMOS shows you comes first. **By product** opens Settings › How PMOS decides, where you set how PMOS decides for each kind.
23
23
  - **Since yesterday**: up to 3 new items, then **New for you · N** to see all of them. ✓✓ marks all of them seen.
24
24
  - **The right column.** Today's agenda, not to scale: a line at the time now, each meeting with its prep note, ✦ picks in free time, and "3 h free" for a long free stretch. The meeting where your call is decided has an orange edge. Under it, **Notes since yesterday**: meeting notes with their main lines, and recordings with no initiative. When PMOS finds the initiative a recording belongs to, press the link icon to link it.
25
25
  - **In the hour before a meeting**, the meeting's prep leads: what to agree, the points, and the record icon. The quarter shows only when it moved since the morning. Past meetings fade, with their notes under them.
@@ -381,7 +381,7 @@ The sliders icon on the Sharper card sets how PMOS sharpens:
381
381
 
382
382
  The same menu has the **Sharpen as I type** switch. Off means no Sharpening… line and no Sharper card.
383
383
 
384
- ### Settings › PMOS › Sharpen prompts
384
+ ### Settings › Your account › Sharpen prompts
385
385
 
386
386
  | Row | What it does |
387
387
  |---|---|
@@ -353,7 +353,7 @@ The list on the left shows your weekly meeting, the draft and your tickets from
353
353
 
354
354
  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.
355
355
 
356
- Settings › PMOS has the same sign-in and test controls.
356
+ Settings › Your account has the same sign-in and test controls.
357
357
 
358
358
  ### What this was tested with
359
359
 
@@ -7,13 +7,16 @@ timestamp: 2026-11-18
7
7
 
8
8
  # Settings, switches and data freshness
9
9
 
10
- Press the round menu button at the bottom of any page, then the **Settings** icon. While a source is stale, Settings opens at **Connectors** with the stale source first. Settings has five sections:
10
+ Press the round menu button at the bottom of any page, then the **Settings** icon. While a source is stale, Settings opens at **Connectors** with the stale source first. The top line is the path, for example **Settings › General**, with ×. The sections are at the left, and each is made of rows: a choice is a row of tabs and an on/off is a switch.
11
11
 
12
12
  | Section | What it holds |
13
13
  |---|---|
14
14
  | General | The theme (Light, Dark or Auto), the products Home, the Board and Intelligence read, when Your day ends, the Your impact switch, and that agents write to Jira only after you press Commit. When a new PMOS is ready, a card here says so. Under **Extras**, **Adler ›** and **Jev and Laya ›** open their own settings (see below). |
15
- | PMOS | **How PMOS decides** for each kind of change, the calls that are **Always yours**, and PMOS's **Lessons**. Then the Claude profile that new sessions start with, the Anthropic API key for PMOS's own runs, Sharpen prompts, and **Checks**: when PMOS grills an initiative by itself and the monthly credit for its checks. |
15
+ | How PMOS decides | One suggestion from PMOS when it sees a pattern in what you kept, each kind of change PMOS makes by itself, the calls that are **Always yours**, and PMOS's **Lessons**. |
16
+ | Checks | When PMOS grills an initiative by itself and the monthly credit for its checks. |
17
+ | Prototype rules | What every prototype version is checked for before you see it. |
16
18
  | Connectors | Every connector your Claude session has, and a directory of services you can connect. A switch chooses only what PMOS reads on its own. PMOS reads and never posts. |
19
+ | Your account | The Claude login and profile that new sessions start with, the Anthropic API key for PMOS's own runs, and Sharpen prompts. |
17
20
  | Workspaces | The repositories PMOS works in. Remove forgets the address only; the folder is not deleted. Add one by its folder path. The **Workflows ›** row opens the stages each kind of initiative goes through, inside Settings, which then takes the whole window. See [Workflows](statuses.md). |
18
21
  | Updates | The version of the app and of each workspace's kit, the check for updates, and what changed. |
19
22
 
@@ -41,7 +44,7 @@ Under the update card, **Updates** shows what changed in the published kits. **T
41
44
  - A change published before PMOS wrote stories shows the pull request's title and its sentence instead.
42
45
  - The card in **General** that says a new PMOS is ready opens **Updates**.
43
46
 
44
- ## PMOS: how PMOS decides, and its Lessons
47
+ ## How PMOS decides, and its Lessons
45
48
 
46
49
  **How PMOS decides** lists each kind of change that PMOS made by itself, for example "Notes on where work stands" or "Task names". Each row says how many PMOS made and how many you kept. Each kind has three ways:
47
50
 
@@ -51,11 +54,13 @@ Under the update card, **Updates** shows what changed in the published kits. **T
51
54
 
52
55
  PMOS picks the way by itself. A new kind is **Show me** until you keep 3 of its changes; then it is **Quietly**. Two Undos on a kind and PMOS asks first for 7 days. Press a way to set a kind yourself. Your way wins over PMOS's, the 7 days included. Press the way PMOS would pick to give the choice back to PMOS. **By product** under PMOS did on Your day opens this section.
53
56
 
57
+ When PMOS sees a pattern, one suggestion opens the section, with **Why**, **PMOS will**, **What changes** and **Based on**. It comes only from real counts: a kind PMOS made at least 5 times and you never undid can go **Quietly**; a kind you set to **Quietly** and then undid twice can go **Ask first**. ✓ sets the way, ✕ hides that suggestion on this computer, and the pencil takes you to the kind's own row.
58
+
54
59
  **Always yours** lists the calls PMOS never makes by itself, whatever it has learned: a new request, a verdict on an outcome, a message to people, a move the team reads in Jira or on the Board, and a merge, a delete or spend.
55
60
 
56
- **Lessons** lists what PMOS got wrong and what it changed, newest first, from the Lessons of every product. The first line says what went wrong; the next says what changed.
61
+ **Lessons** lists what PMOS got wrong and what it changed, newest first, from the Lessons of every product. The list is folded: press **See the lessons** to open it. The first line says what went wrong; the next says what changed.
57
62
 
58
- ## PMOS: the profile and the API key
63
+ ## Your account: the profile, the API key and Sharpen prompts
59
64
 
60
65
  **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](layout.md).
61
66
 
@@ -70,15 +75,15 @@ At the bottom of **General**, **Extras** has two rows. Press the arrow on a row
70
75
  - **Adler ›**: how much of Adler you see (Full, Face only or Off), motion, celebrations, Quiet after, and Dress for the day. See [Adler, PMOS's face](layout.md).
71
76
  - **Jev and Laya ›**: the TypeSafe key for Jev, the local model Laya, and the switches for each repository: whether Jev may read it, sort documents, check claims and label notes.
72
77
 
73
- ## PMOS › Checks: when PMOS grills, and what it may spend
78
+ ## Checks: when PMOS grills, and what it may spend
74
79
 
75
- PMOS grills an initiative by itself and files what it finds under the initiative's ✦ (see [PMOS proposes](claude-proposes.md)). There is no button to start it. **Checks**, under PMOS, is the only control.
80
+ PMOS grills an initiative by itself and files what it finds under the initiative's ✦ (see [PMOS proposes](claude-proposes.md)). There is no button to start it. **Checks** is the only control.
76
81
 
77
82
  **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.
78
83
 
79
84
  **Monthly credit for checks.** The most PMOS's checks may spend in a month: $5, $10, $20 or $50. The bar under it shows what this month used. At the limit PMOS pauses and the row says so; it never spends beyond the limit. `pmos grill mode` and `pmos grill cap` change the same two settings.
80
85
 
81
- ## PMOS › Prototype rules: what every prototype version is checked for
86
+ ## Prototype rules: what every prototype version is checked for
82
87
 
83
88
  PMOS checks each prototype version against these rules after it renders and before it opens in the Viewer (see [The live round](agent-capabilities.md)). A version that breaks one gets one fix run, and you see only the fixed version. Each rule comes from your own words: the row shows the rule, what you said and the date. There is no button to run the checks and nothing to pick: PMOS adds a rule from a correction in the chat that is true of every prototype.
84
89
 
@@ -122,8 +127,8 @@ An "off" switch accepts `off`, `0`, `false` or `no` unless the row says a differ
122
127
  | `PMOS_DRIVER` | `off` starts no [Initiative Driver](initiatives-and-next-steps.md) run and no horizon scan. | on | — |
123
128
  | `PMOS_CHECKER` | `off` stops the check of the Driver's drafts. | on | — |
124
129
  | `PMOS_PROPOSE` | `off` stops the runs that file proposals under an initiative's ✦. | on | — |
125
- | `PMOS_GRILL` | `off` stops the grills that PMOS starts by itself. | on | PMOS › Checks › Grill by itself |
126
- | `PMOS_GRILL_API` | `off` stops grills on the Claude API and keeps them in a background session. | on when a key is set | PMOS › API key (Remove) |
130
+ | `PMOS_GRILL` | `off` stops the grills that PMOS starts by itself. | on | Checks › Grill by itself |
131
+ | `PMOS_GRILL_API` | `off` stops grills on the Claude API and keeps them in a background session. | on when a key is set | Your account › API key (Remove) |
127
132
  | `PMOS_DECISION_MEMORY` | `off` stops decision memory. | on | — |
128
133
  | `PMOS_DESCRIPTIONS` | `off` stops the daily [initiative descriptions](claude-proposes.md). | on | `pmos ai off descriptions` |
129
134
  | `PMOS_OUTCOMES` | `off` stops the daily read for [expected outcomes](claude-proposes.md). | on | `pmos ai off outcomes` |
@@ -369,7 +374,7 @@ Press › on a row to open its page. A change you make there shows on the Connec
369
374
  | Waiting for your permission | A background read cannot ask you. Open the session and allow it, or stop it and read again. |
370
375
  | Waiting for your answer | Open the session and answer it, or stop it and read again. |
371
376
  | Still reading after N min | Nothing, usually. PMOS stops it at 30 min. |
372
- | Signed out | Sign in again in Settings › PMOS. PMOS ends the read at once. |
377
+ | Signed out | Sign in again in Settings › Your account. PMOS ends the read at once. |
373
378
  | The session was gone | Nothing. PMOS restarted or the computer slept, and the next read starts on time. |
374
379
 
375
380
  ↗ opens the session. ■ is **Stop and read again**: it stops the read and starts the same services again. A read of a tool that has not ended after 30 minutes is stopped by itself, and History says why. A stuck service holds back only itself: the other services keep their rhythm.
@@ -419,7 +424,7 @@ The amber row on Settings › Connectors, and the amber box on the other section
419
424
  |---|---|---|
420
425
  | The connector is not connected | after the first try | **Connect** the source in your Claude connectors (claude.ai/settings/connectors) |
421
426
  | The sign-in of the connector expired | after the same failure twice | **Reconnect** the source in your Claude connectors |
422
- | Claude is signed out on this computer | after the same failure twice | **Sign in to Claude** in Settings › PMOS (Terminal: run `claude`, type /login) |
427
+ | Claude is signed out on this computer | after the same failure twice | **Sign in to Claude** in Settings › Your account (Terminal: run `claude`, type /login) |
423
428
  | The network, a rate limit, a connector that did not start, or a skill error | after 5 tries | ↻ **Read it again** |
424
429
  | The source is read only when you press Refresh | at once | ↻ **Read it again** |
425
430
 
@@ -119,7 +119,7 @@ function view(h, name = 'It') {
119
119
  const tried = n ? `PMOS read it again ${n === 1 ? 'once' : n + ' times'} since ${hm(h.attempts[0].at)}${c ? `, and ${c.why}` : ''}.` : '';
120
120
  let action = null;
121
121
  if (h.state === 'needs-you') {
122
- if (h.cause === 'claude-signin') action = { label: 'Sign in to Claude', how: require('./claude-signin.js').how(), sec: 'claude' };
122
+ if (h.cause === 'claude-signin') action = { label: 'Sign in to Claude', how: require('./claude-signin.js').how(), sec: 'account' };
123
123
  else if (h.cause === 'connector-missing') action = { label: 'Connect ' + name, how: 'Turn on its connector in your Claude connectors.', href: CONNECTORS };
124
124
  else if (h.cause === 'sign-in') action = { label: 'Reconnect ' + name, how: 'Sign in to its connector again in your Claude connectors.', href: CONNECTORS };
125
125
  else action = { label: 'Read ' + name + ' again', how: h.cause === 'manual' ? 'You chose to read it only when you press ↻.' : 'PMOS stopped after ' + n + ' tries.', read: true };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.668.0",
3
+ "version": "0.670.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.668.0",
9
+ "version": "0.670.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@anthropic-ai/sdk": "^1.3.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.668.0",
3
+ "version": "0.670.0",
4
4
  "private": true,
5
5
  "description": "PMOS Terminal Workspace — local companion hosting real PTYs beside the library and gates (D62)",
6
6
  "license": "MIT",
@@ -371,7 +371,6 @@
371
371
  .cz .ev-gcap { flex-wrap: wrap; }
372
372
  .cz .ev-gcap .ev-small { flex: 1 1 160px; }
373
373
  .cz .ev-gbar { position: relative; flex: 1 1 200px; height: 8px; border-radius: 4px; background: var(--cz-well2, var(--cz-well)); overflow: hidden; }
374
- .cz .ev-gbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--cz-blue); }
375
374
  @media (max-width: 600px) { .cz .ev-trow:has(.ev-seg[aria-label="Grill by itself"]), .cz .ev-trow:has(.ev-seg[aria-label="Monthly credit for checks"]) { flex-wrap: wrap; } }
376
375
  /* Settings › Jev and Laya (canvas JlA1Empty–JlA4Phone): the key and Laya rows, Claude's ✦ for Laya, the repositories in one well */
377
376
  .ev-st .ev-jl-lead { margin: 0 0 8px; }
@@ -490,9 +489,6 @@
490
489
  }
491
490
  @media (min-width: 761px) and (max-height: 640px) { .pm-ds .cz-fabm.ev-menu.ev-rail a { height: 48px; } }
492
491
  /* Settings, one container (slice 1, board StSettings): each group of rows is one card with a thin border */
493
- .ev-st .ev-tcard { border-radius: 16px; background: var(--cz-card); box-shadow: inset 0 0 0 1px var(--cz-hair); overflow: hidden; margin: 6px 0 4px; flex: none; }
494
- .ev-st .ev-tcard > .ev-trow { padding-left: 18px; padding-right: 18px; margin: 0; border-radius: 0; }
495
- .ev-st .ev-tcard > .ev-trow:last-child { border-bottom: 0; }
496
492
  /* a published read-only copy (pm/readonly.js, html.ro) has no places to go to: no rail, and the page keeps its own left edge */
497
493
  @media (min-width: 761px) {
498
494
  html.ro body.cz-railon .cz-fabw { display: none !important; }
@@ -525,3 +521,21 @@
525
521
  body.cz-phmore .lb-bar, body.cz-phmore .evp-hd { padding-right: 48px; } /* so do Library and Events: their + sat under the ⋯ */
526
522
  body.cz-phmore .ev-scrim { background: rgba(42,46,53,.22); }
527
523
  }
524
+
525
+ /* Settings from the design system (settings-ds-page, board SettingsDS; pm/set-ds.js). The parts (pm-set, pm-tabs, pm-switch, pm-block,
526
+ * pm-sug, pm-badge, pm-path) come from komorebi.css; this only places them inside the dialog. */
527
+ .ev-st.pm-ds .ev-st-nav .pm-tab { height: auto; min-height: 36px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius-md); text-align: left; text-decoration: none; font-size: var(--fs-body); }
528
+ .ev-st.pm-ds .ev-st-nav .pm-tab[aria-current="page"] { background: var(--card); color: var(--ink); }
529
+ .ev-st.pm-ds .ev-st-nav .pm-tab .ev-k { margin-left: auto; }
530
+ .ev-st.pm-ds .ev-st-main { gap: 16px; }
531
+ .ev-st.pm-ds .ev-top .ev-grow { flex: 1; }
532
+ .ev-st.pm-ds .ev-trow.pm-set { padding: 8px 0; border-bottom: 0; }
533
+ .ev-st.pm-ds .pm-block > .pm-set:first-child, .ev-st.pm-ds .pm-block > .head + .pm-set { border-top: 0; }
534
+ .ev-st.pm-ds .pm-block .ev-lead { margin: 0; }
535
+ .ev-st.pm-ds .pm-block.list .ev-lead { padding: 0 16px 8px; }
536
+ .ev-st.pm-ds .pm-block.list .pm-li { min-height: 44px; }
537
+ .ev-st.pm-ds .pm-tabs { flex: none; }
538
+ .ev-st.pm-ds svg.ev-gbar { flex: 1 1 200px; height: 8px; }
539
+ .ev-st.pm-ds svg.ev-gbar .bg { fill: var(--well); }
540
+ .ev-st.pm-ds svg.ev-gbar .fg { fill: var(--leaf); }
541
+
@@ -197,7 +197,7 @@ export function connectorRows(sources, health, now = Date.now()) {
197
197
  const behind = (s.state === 'stale' || s.state === 'never') && s.id !== 'repository' && !mend && !sch.next_run;
198
198
  out.push({ id: s.id, name, trouble: 0, why: line && !mend && s.state !== 'building' ? line.text : '', when, act: behind ? read : null, ...(job ? { job } : {}) });
199
199
  }
200
- for (const i of alone) out.push({ id: 'issue:' + i.key, name: i.name || 'Background work', trouble: 3, why: i.why, when: '', act: i.key === 'signedout' ? { kind: 'sec', label: 'Open Settings › PMOS', sec: 'claude' } : null });
200
+ for (const i of alone) out.push({ id: 'issue:' + i.key, name: i.name || 'Background work', trouble: 3, why: i.why, when: '', act: i.key === 'signedout' ? { kind: 'sec', label: 'Open Settings › Your account', sec: 'account' } : null });
201
201
  return out.map((r, k) => ({ r, k })).sort((a, b) => (a.r.trouble || 9) - (b.r.trouble || 9) || a.k - b.k).map((x) => x.r);
202
202
  }
203
203