create-pmos 0.548.0 → 0.550.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.
@@ -0,0 +1,100 @@
1
+ ---
2
+ type: Guide
3
+ title: "Run PMOS in the cloud"
4
+ timestamp: 2026-11-10
5
+ ---
6
+
7
+ # Run PMOS in the cloud
8
+
9
+ PMOS can run on a small always-on Linux server instead of a Mac. The server keeps PMOS up, keeps Claude signed in, keeps Remote Control on and answers your Online address (such as `pmos.pm-os.app`). The Mac stays as the fallback: nothing on it is deleted, and one line turns it back on.
10
+
11
+ The server runs the same `pmos` as the Mac. Records still sync through each repository's own git remote. Your Jira and Slack reads come from the claude.ai connectors of the Claude account you sign in with.
12
+
13
+ ## What you do
14
+
15
+ There are four steps. The first and the last need you, because they are accounts and sign-ins. The two pastes do everything else.
16
+
17
+ 1. **Make the server (about 5 minutes).** Use [Hetzner Cloud](https://console.hetzner.cloud). Select **Add server** and set:
18
+ - **Location:** the one nearest to you (Singapore for South-East Asia).
19
+ - **Image:** Ubuntu 24.04.
20
+ - **Type:** shared vCPU, 4 vCPU and 8 GB RAM. Each Claude session uses up to 0.5 GB, and a smaller server slows down when several run.
21
+ - **SSH key:** paste the Mac's public key. To show it, run `cat ~/.ssh/id_ed25519.pub` on the Mac. If the file is missing, run `ssh-keygen -t ed25519` first.
22
+ - **Backups:** on. Hetzner then keeps a copy of the whole server every day.
23
+
24
+ Copy the server's IP address.
25
+
26
+ 2. **On the Mac, paste one line.** Use the IP address from step 1:
27
+
28
+ ```sh
29
+ curl -fsSL https://unpkg.com/create-pmos/cloud-setup.sh | bash -s -- move root@<server-ip>
30
+ ```
31
+
32
+ It takes about 10 minutes. It checks that the Mac can reach the server, then stops PMOS on the Mac. It copies PMOS to the server and starts it there.
33
+
34
+ 3. **Sign in once (about 2 minutes).** From the Mac or any computer:
35
+
36
+ ```sh
37
+ ssh -t <your-mac-user>@<server-ip> pmos-cloud signin
38
+ ```
39
+
40
+ Claude shows a link. Open it on any device, sign in with your Claude account and paste the code back. GitHub then shows a code: open its link, enter the code and allow access. Last, Remote Control opens: answer any question it asks, such as trusting the folder, then press Ctrl-B and then D. It keeps running after you leave.
41
+
42
+ 4. **Check it.** Open your Online address on your phone, or run `ssh <your-mac-user>@<server-ip> pmos-cloud status`. Every line shows ✓ when all is ready.
43
+
44
+ When the Mac is off or cannot be reached, skip step 2. Paste this on the server instead, as root:
45
+
46
+ ```sh
47
+ curl -fsSL https://unpkg.com/create-pmos/cloud-setup.sh | bash
48
+ ```
49
+
50
+ This starts an empty PMOS for the user `pmos`. After the sign-in, add each product repository with `pmos-cloud add <owner/repo>`, and set up the Online address with `pmos-cloud online pmos.pm-os.app`. Chats, notes and settings that are only on the Mac stay there until you run step 2.
51
+
52
+ ## What the move copies
53
+
54
+ | Item | Where it goes on the server | Why |
55
+ |---|---|---|
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
+ | 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
+ | `~/.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 › Claude | An alias in `~/.bashrc` | Unattended Claude work runs as that profile, as on the Mac. |
60
+ | `~/.gitconfig` | The same path | Your git name and email. The macOS keychain line is removed, and GitHub is reached over HTTPS. |
61
+
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.
63
+
64
+ The move does not copy Claude or GitHub sign-ins, because the Mac keeps them in its keychain. Step 3 makes new ones on the server.
65
+
66
+ ## What runs on the server
67
+
68
+ - **The minute check.** A systemd timer runs `pmos up --keep` every minute and 20 seconds after a restart, like the Mac's login item. It does nothing when PMOS answers. It starts PMOS when PMOS is down, and replaces PMOS when PMOS is stuck. It waits while an in-page update runs.
69
+ - **Remote Control.** After the sign-in, the same check keeps `claude remote-control` running in the tmux session `pmos-remote-control`, as "PMOS cloud (<server>)". It uses `--permission-mode auto`, because nobody is at the server to answer.
70
+ - **Online.** If Online was on at the Mac, it is on at the server, and the server runs the tunnel. The move turned Online off on the Mac, so only one computer answers.
71
+ - **The firewall.** Only SSH is open. PMOS listens on the server only. Cloudflare reaches it through the tunnel from inside the server.
72
+ - **Backups.** PMOS copies its state folder every night to `~/pmos-backups`, as on the Mac. Hetzner's Backups copies the whole server every day.
73
+
74
+ ## `pmos-cloud` on the server
75
+
76
+ | Command | What it does |
77
+ |---|---|
78
+ | `pmos-cloud status` | Shows the workspace, the Claude sign-in, Remote Control, GitHub and Online, each with ✓ or the next step. |
79
+ | `pmos-cloud signin` | Signs in to Claude and GitHub. It skips a sign-in that is already done. Remote Control then starts. |
80
+ | `pmos-cloud online [host] [tunnel]` | Sets up the Online address on a server that has no tunnel files. It signs in to Cloudflare, uses the tunnel `pmos` (or makes it), and writes `~/.cloudflared/config.yml`. Then turn Online on in Settings › Online. |
81
+ | `pmos-cloud add <owner/repo>…` | Clones a repository to `~/Project` and adds it to PMOS. |
82
+ | `pmos-cloud logs [n]` | Shows the last lines of the minute check's log. |
83
+ | `pmos-cloud stop` · `pmos-cloud start` | Stops PMOS, Remote Control and the tunnel, and keeps the minute check from starting them again. `start` undoes this. |
84
+
85
+ To open PMOS without the Online address, run `ssh -N -L 7433:127.0.0.1:7433 <you>@<server-ip>`. Then open `http://localhost:7433`. Settings › Online can be changed only this way, because PMOS treats the request as one from the server itself.
86
+
87
+ ## Go back to the Mac
88
+
89
+ 1. On the server: `pmos-cloud stop`.
90
+ 2. On the Mac: `curl -fsSL https://unpkg.com/create-pmos/cloud-setup.sh | bash -s -- mac-on`. PMOS starts within a minute.
91
+ 3. On the Mac, turn Online on in Settings › Online.
92
+
93
+ Records that both computers push to a git remote stay in step. Chats, notes and settings that changed on the server after the move are only on the server.
94
+
95
+ ## Limits
96
+
97
+ - The server must run Ubuntu or Debian. Other Linux systems need the steps done by hand.
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 › Claude shows the sign-in prompt. Run `pmos-cloud signin` again.
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 Claude 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.** Claude'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. Claude acts on everything else by itself, so there is no Can wait.
22
- - **Claude did** lists what Claude 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, Claude 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 Claude did** opens the rest.
22
+ - **Claude did** lists what Claude 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, Claude 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 Claude did** opens the rest. A kind Claude shows you comes first. **By product** opens Settings › Claude, where you set how Claude 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 Claude 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.
@@ -41,6 +41,7 @@ PMOS has three places: **Home**, **Board** and **Intelligence**. The round menu
41
41
 
42
42
  - [What Claude does behind the scenes](agent-capabilities.md): every job Claude runs by itself, when it runs, what it reads, where you see it, how to stop it, and what it fixes by itself; the three classes of change (D106), what is applied at once with Undo, what waits for you, and how a job goes back to propose; long-running goals; the team of role agents; the idle lab; and the PM-only acts, how each is checked and recorded, and how an agent's act is logged under its name (D98).
43
43
  - [Layout and first run](layout.md): the three places, the menu button, the Viewer and its trail, docking panels, the keys and the phone; the first run; why a new PMOS starts quiet and what opens each place; the PMOS app and the login item; and Adler, Claude's face, with Settings › General › Adler.
44
+ - [Run PMOS in the cloud](cloud.md): move PMOS from the Mac to an always-on server with one paste, the one sign-in that is yours, what runs on the server, `pmos-cloud`, and how to go back to the Mac.
44
45
  - [Settings, switches and data freshness](settings-and-switches.md): what each section of Settings holds, every `PMOS_` environment variable with its default and the Settings entry that does the same, and when each source is read again and how old it is.
45
46
 
46
47
  ### Home and your day
@@ -82,12 +82,14 @@ Press a program's name on the Board to open its panel. Home links to it with `?p
82
82
  The Viewer of a program, and the product page, are one page. There is no Work and Dashboard switch.
83
83
 
84
84
  - The top shows Claude's ✦ line, then the goal card with its milestones and the forecast bar. Goals show a short title, not the KR's full text.
85
+ - On the product page, **The story so far** comes under the ✦ line. Claude writes it from the records, and every line shows its source as a chip. This story is your weekly update: the update leads with it, without the sources. The ✦ line then says "Your weekly update is this story." Claude keeps it current when it prepares the weekly report. With no story, there is no card.
85
86
  - Each goal row shows the KR as a chip, then a short title, then one grey line on how it reads. The KR id alone is never the title.
86
87
  - When Claude proposes changes, a folded row under the goal card counts them. Only the owner sees this row. Press it to open every proposal, each with Claude's pick: ✕ drops it, ✎ opens it to change, ✓ keeps the pick.
87
88
  - On the product page, the same row also holds **Goals I would change**: a KR whose wording reads badly, with the old words struck through, the new words, one reason and a test read (its source and number). Claude lists a goal only when its test read returned a number.
88
89
  - The tabs are **Tasks**, **Initiatives** (the default), **Reports** and **Documents**.
89
90
  - The product page also shows a **Programs** card and a **Health budgets** card. Its **Initiatives** tab lists the product's own initiatives, then one card for each program that holds some of them.
90
91
  - A teammate on a shared board sees the same page, with no proposals.
92
+ - A shared Board link of a product shows the same story above the timeline, without the sources and without what Claude did.
91
93
 
92
94
  ## Claude suggests milestones
93
95
 
@@ -12,7 +12,7 @@ Press the round menu button at the bottom of any page, then the **Settings** ico
12
12
  | Section | What it holds |
13
13
  |---|---|
14
14
  | General | The theme (Light, Dark or Auto), whether the Viewer opens as a column or a popup, 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
- | Claude | The Claude profile that new sessions start with, the Anthropic API key for Claude's own runs, Sharpen prompts, and **Checks**: when Claude grills an initiative by itself and the monthly credit for its checks. |
15
+ | Claude | **How Claude decides** for each kind of change, the calls that are **Always yours**, and Claude's **Lessons**. Then the Claude profile that new sessions start with, the Anthropic API key for Claude's own runs, Sharpen prompts, and **Checks**: when Claude grills an initiative by itself and the monthly credit for its checks. |
16
16
  | Connectors | Every connector your Claude session has. A switch chooses only what PMOS reads on its own. PMOS reads and never posts. |
17
17
  | 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
18
  | Updates | The version of the app and of each workspace's kit, the check for updates, and what changed. |
@@ -39,6 +39,20 @@ Under the update card, **Updates** shows what changed in the published kits. **T
39
39
  - A change published before Claude wrote stories shows the pull request's title and its sentence instead.
40
40
  - The card in **General** that says a new PMOS is ready opens **Updates**.
41
41
 
42
+ ## Claude: how Claude decides, and its Lessons
43
+
44
+ **How Claude decides** lists each kind of change that Claude made by itself, for example "Notes on where work stands" or "Task names". Each row says how many Claude made and how many you kept. Each kind has three ways:
45
+
46
+ - **Quietly**: Claude does it and lists it in Claude did.
47
+ - **Show me**: Claude does it and shows it first in Claude did.
48
+ - **Ask first**: Claude does not do it. It waits for your ✓ as a proposal.
49
+
50
+ Claude 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 Claude asks first for 7 days. Press a way to set a kind yourself. Your way wins over Claude's, the 7 days included. Press the way Claude would pick to give the choice back to Claude. **By product** under Claude did on Your day opens this section.
51
+
52
+ **Always yours** lists the calls Claude 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.
53
+
54
+ **Lessons** lists what Claude 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.
55
+
42
56
  ## Claude: the profile and the API key
43
57
 
44
58
  **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).
@@ -15,6 +15,9 @@
15
15
  * pmEdited(state, { scope, artefact, field }) → bool the newest set of that field is the PM's: Claude asks before it changes it (board AwB)
16
16
  * viewOf(state, scope) → { scope, artefacts: [{ key, title, owner, for, fields, carried, empty }] } always all seven that fit the scope
17
17
  * migrate({ dir, coreDocs, driverLines, reports }, { now }) → { ok, carried, already, lines } idempotent; deletes nothing
18
+ * storyOf(state, scopes, { now, days }) → { at, lines: [{ text, sources }] } | null "The story so far" (board AwE): the Narrative's
19
+ * `now` (one paragraph per line) and its `week` lines of the last `days` days; every line carries the sources of its set
20
+ * lessonsOf(state) → [{ scope, text, sources, at }] every Lessons line of every scope, newest first (Settings › Claude, AwG2)
18
21
  *
19
22
  * THE LINES. Every line is { v: 1, ev, id, scope, at, by }.
20
23
  * set { artefact, field, text, sources: [{ label, ref }] } a value. A `one` field: the newest set wins. A `list` field: every set is a line.
@@ -237,6 +240,40 @@ function pmEdited(state, { scope, artefact, field } = {}) {
237
240
  return !!sets.length && /^pm:/.test(String(sets[sets.length - 1].by || ''));
238
241
  }
239
242
 
243
+ /** "The story so far" of a product (board AwE, the weekly update): the Narrative of the first scope that has one, else nothing.
244
+ * `now` gives one paragraph per line of its text; the `week` lines of the last `days` days follow, oldest first. With as many sources as
245
+ * lines, line N shows source N; otherwise the sources of a set ride on its last line. Pure. */
246
+ function storyOf(state, scopes, { now, days = 7 } = {}) {
247
+ const t = now == null ? Date.now() : now;
248
+ for (const sc of scopes || []) {
249
+ const v = viewOf(state, sc);
250
+ const n = v && v.artefacts.find((a) => a.key === 'narrative');
251
+ if (!n || n.empty) continue;
252
+ const lines = [];
253
+ const add = (set) => {
254
+ const ps = String(set.text || '').split(/\n+/).map((x) => x.trim()).filter(Boolean);
255
+ const src = set.sources || [];
256
+ // one source per line, in order, when the agent gave as many as it wrote lines; else every source rides on the last line
257
+ ps.forEach((x, i) => lines.push({ text: x, sources: src.length === ps.length && ps.length > 1 ? [src[i]] : i === ps.length - 1 ? src : [] }));
258
+ };
259
+ if (n.fields.now) add(n.fields.now);
260
+ for (const w of n.fields.week || []) if (Date.parse(w.at || '') >= t - days * 86400000) add(w);
261
+ if (!lines.length) continue;
262
+ const ats = [n.fields.now, ...(n.fields.week || [])].filter(Boolean).map((x) => x.at).filter(Boolean).sort();
263
+ return { scope: v.scope, at: ats[ats.length - 1] || null, lines };
264
+ }
265
+ return null;
266
+ }
267
+ /** Every Lessons line, newest first. Pure. */
268
+ function lessonsOf(state) {
269
+ const out = [];
270
+ for (const [scope, m] of state || new Map()) {
271
+ const x = m.get('lessons');
272
+ if (x) for (const l of x.sets) if (l.field === 'line') out.push({ scope, text: l.text, sources: l.sources || [], at: l.at || null });
273
+ }
274
+ return out.sort((a, b) => String(b.at).localeCompare(String(a.at)));
275
+ }
276
+
240
277
  // ── writes ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────
241
278
  const refuse = (status, error) => ({ ok: false, status, error });
242
279
  const oneLine = (v, max) => typeof v === 'string' && v.trim().length >= 1 && v.trim().length <= max && !/[\r\n\x00-\x08\x0b-\x1f]/.test(v);
@@ -374,7 +411,7 @@ function migrateRepo(root, { now } = {}) {
374
411
  }
375
412
 
376
413
  module.exports = {
377
- pmEdited,
414
+ pmEdited, storyOf, lessonsOf,
378
415
  LEDGER, EVENTS, ARTEFACTS, KEYS, EXECUTORS, FROM_DOCS, FROM_WHATS, FROM_CADENCES, FROM_LANES,
379
416
  parseScope, targetOfDoc, targetOfWhat, fieldOf, file, readLines, append, fold, viewOf, checkSet, set, undo,
380
417
  planMigration, migrate, migrateRepo, reportDrafts, dirOf, proposalText,
@@ -38,6 +38,14 @@
38
38
  * `kept` (earlier changes of its job and product nobody undid) and `reason` (reasonOf)
39
39
  * reasonOf({ cls, why, kept }) → one line: how Claude did it and why ("Did it quietly. You kept this kind 4 times before.")
40
40
  * restore(stateDir, { job, product }, actor, { now })
41
+ *
42
+ * HOW CLAUDE DECIDES (Settings › Claude, agent-run workspace boards AwG and AwG2, agreed by the PM 2026-11-10). The jobs are grouped into
43
+ * KINDS of change the PM can name ("Notes on where work stands"). Each kind has a WAY:
44
+ * quiet Claude does it and lists it in Claude did (the kind is kept: SHOW_UNTIL or more of its changes nobody undid)
45
+ * show Claude does it and shows it first in Claude did (a new kind, until the PM keeps SHOW_UNTIL)
46
+ * ask Claude asks first: the change waits as a proposal (two Undos on a kind: the demotion above, for 7 days)
47
+ * The PM may set any kind (setting claude.ways, { kind: way }); the PM's way wins over the automatic one, a demotion included.
48
+ * WAYS · SHOW_UNTIL · KIND_LIST · kindOf(job) · waysSet(settingsDir) · autoWay({ kept, demoted }) · kindsOf(dirs, { now, settingsDir })
41
49
  */
42
50
  const fs = require('fs');
43
51
  const path = require('path');
@@ -54,6 +62,8 @@ const KINDS = Object.freeze(['undo', 'revert', 'verifier-fail']);
54
62
  const EVENTS = Object.freeze(['applied', 'setback', 'demote', 'seen', 'restore']);
55
63
  const JOB_RE = /^(driver|propose|ai|goal):[a-z0-9][a-z0-9-]{0,40}$/;
56
64
  const isObj = (v) => !!v && typeof v === 'object' && !Array.isArray(v);
65
+ const WAYS = Object.freeze(['quiet', 'show', 'ask']);
66
+ const SHOW_UNTIL = 3;
57
67
  const one = (s, n) => String(s == null ? '' : s).replace(/\s+/g, ' ').trim().slice(0, n);
58
68
 
59
69
  /* The Initiative Driver's kinds (lib/driver.js WHATS). */
@@ -70,6 +80,36 @@ const PROPOSAL_CLASS = Object.freeze({
70
80
  description: 'B', outcome: 'B', found: 'B', status: 'B', grill: 'B', links: 'B', prototyped: 'B', improved: 'B', scanned: 'B',
71
81
  });
72
82
 
83
+ /* The kinds of change the PM can name, each with the jobs it holds (Settings › Claude, How Claude decides). A job in no kind (a role
84
+ * agent's ai:<role>, a goal loop) keeps the automatic rules only. */
85
+ const k = (key, label, jobs) => Object.freeze({ key, label, jobs: Object.freeze(jobs) });
86
+ const KIND_LIST = Object.freeze([
87
+ k('notes', 'Notes on where work stands', ['driver:note']),
88
+ k('problem', 'Problem statements and evidence', ['driver:problem', 'driver:evidence', 'driver:sizing', 'driver:assumption', 'driver:stakeholders', 'driver:overlap']),
89
+ k('experiment', 'The experiment and its next step', ['driver:artefact', 'driver:doc', 'driver:next-step']),
90
+ k('outcome', 'Expected outcomes and check dates', ['propose:outcome']),
91
+ k('names', 'Task names', ['propose:names']),
92
+ k('dates', 'Dates moved by evidence', ['propose:dates']),
93
+ k('status', 'Closing tasks Jira marked Done', ['propose:status']),
94
+ k('description', 'Descriptions and links', ['propose:description', 'propose:links']),
95
+ k('found', 'What Claude found elsewhere', ['propose:found', 'propose:scanned', 'propose:improved', 'propose:prototyped']),
96
+ k('grill', 'Fixes from a check', ['propose:grill']),
97
+ ]);
98
+ const KIND_OF_JOB = new Map(KIND_LIST.flatMap((x) => x.jobs.map((j) => [j, x.key])));
99
+ const kindOf = (job) => KIND_OF_JOB.get(String(job || '')) || null;
100
+ /** The ways the PM set, { kind: way }, from the settings (claude.ways). {} when none or unreadable. */
101
+ function waysSet(settingsDir) {
102
+ if (!settingsDir) return {};
103
+ try {
104
+ const v = require('./settings-store.js').get(settingsDir, 'claude.ways');
105
+ const out = {};
106
+ if (isObj(v)) for (const [kk, w] of Object.entries(v)) if (KIND_LIST.some((x) => x.key === kk) && WAYS.includes(w)) out[kk] = w;
107
+ return out;
108
+ } catch { return {}; }
109
+ }
110
+ /** The automatic way of a kind: ask while demoted, quiet once kept SHOW_UNTIL times, else show. Pure. */
111
+ const autoWay = ({ kept = 0, demoted = false } = {}) => (demoted ? 'ask' : kept >= SHOW_UNTIL ? 'quiet' : 'show');
112
+
73
113
  const classOfDriver = (what) => DRIVER_CLASS[what] || 'C';
74
114
  function classOfProposal(p) {
75
115
  if (!isObj(p)) return 'C';
@@ -186,7 +226,12 @@ function decide({ stateDir, job, product, cls, mode = 'auto', undoable = true, n
186
226
  if (mode !== 'auto') return { apply: false, why: `the mode is ${mode}` };
187
227
  if (cls === 'C' || !CLASSES.includes(cls)) return { apply: false, why: 'class C: seen by others or not reversible, so it waits for the daily press' };
188
228
  if (!undoable) return { apply: false, why: 'no Undo for this change, so it waits' };
189
- const d = demotedNow(fold(read(stateDir)), job, product, now);
229
+ const set = waysSet(settingsDir)[kindOf(job)];
230
+ if (set === 'ask') return { apply: false, why: 'you set this kind to Ask first' };
231
+ if (set) return { apply: true, why: `class ${cls}: applied with Undo, as you set this kind` };
232
+ // a demotion holds for its whole kind (How Claude decides: "two Undos on a kind and it asks first"), so evidence waits when problems were undone
233
+ const st = fold(read(stateDir)), kind = KIND_LIST.find((x) => x.key === kindOf(job));
234
+ const d = (kind ? kind.jobs : [job]).map((j) => demotedNow(st, j, product, now)).find(Boolean) || null;
190
235
  if (d) return { apply: false, why: `back to propose until ${d.until.slice(0, 10)}: ${d.why}` };
191
236
  return { apply: true, why: `class ${cls}: applied with Undo` };
192
237
  }
@@ -212,28 +257,60 @@ const markSeen = (stateDir, n, { now } = {}) => append(stateDir, { ev: 'seen', j
212
257
  /** The one-line reason a change shows beside its Undo (agent-run workspace, board AwA: "each change says why"). Honest from the ledger:
213
258
  * a kind the PM kept before is done quietly and says how often; the first of its kind is done and shown; the evidence follows when the
214
259
  * change carries one. Pure. */
215
- function reasonOf({ cls = null, why = '', kept = 0 } = {}) {
216
- const how = kept > 0 ? 'Did it quietly. You kept this kind ' + (kept === 1 ? 'once' : kept + ' times') + ' before.'
217
- : 'Did it and showed you. It is the first of its kind' + (cls === 'A' ? ', and it is upkeep with one right answer.' : '.');
260
+ function reasonOf({ cls = null, why = '', kept = 0, way = null } = {}) {
261
+ const w0 = WAYS.includes(way) && way !== 'ask' ? way : autoWay({ kept });
262
+ const times = kept === 1 ? 'once' : kept + ' times';
263
+ const how = w0 === 'quiet' ? (kept > 0 ? 'Did it quietly. You kept this kind ' + times + ' before.' : 'Did it quietly, as you set this kind.')
264
+ : kept > 0 ? 'Did it and showed you. You kept this kind ' + times + (way === 'show' ? ' before; you asked to see it.' : '; it shows until you keep ' + SHOW_UNTIL + '.')
265
+ : 'Did it and showed you. It is the first of its kind' + (cls === 'A' ? ', and it is upkeep with one right answer.' : '.');
218
266
  const w = one(why, 200);
219
267
  return w ? how + ' ' + w.replace(/\.?$/, '.') : how;
220
268
  }
221
269
 
222
270
  /** The Done group: what agents applied by themselves in the last `days` days and nobody undid, newest first. */
223
- function done(stateDir, { now, days = UNDO_DAYS } = {}) {
271
+ function done(stateDir, { now, days = UNDO_DAYS, settingsDir = null } = {}) {
224
272
  const t = now == null ? Date.now() : now;
225
273
  const since = t - days * DAY;
274
+ const set = waysSet(settingsDir);
226
275
  const out = [];
227
276
  for (const j of fold(read(stateDir)).jobs.values()) {
228
277
  let kept = 0;
278
+ const own = set[kindOf(j.job)] || null;
229
279
  for (const a of j.applied) {
230
- if (!a.undone && Date.parse(a.at) >= since) out.push({ ...a, kept, reason: reasonOf({ cls: a.cls, why: a.why, kept }) });
280
+ if (!a.undone && Date.parse(a.at) >= since) {
281
+ const way = own && own !== 'ask' ? own : autoWay({ kept });
282
+ out.push({ ...a, kept, way, reason: reasonOf({ cls: a.cls, why: a.why, kept, way: own }) });
283
+ }
231
284
  if (!a.undone) kept++;
232
285
  }
233
286
  }
234
287
  return out.sort((a, b) => Date.parse(b.at) - Date.parse(a.at));
235
288
  }
236
289
 
290
+ /** How Claude decides, per kind, over the state folders of every product (Settings › Claude). made: changes applied by itself; kept: the
291
+ * ones nobody undid; undone; way: what Claude does now; set: the PM's way or null; auto: the automatic way; until: the end of a demotion.
292
+ * Only the kinds with a change or a way the PM set are listed (zero is silence), most made first. */
293
+ function kindsOf(dirs, { now, settingsDir = null } = {}) {
294
+ const t = now == null ? Date.now() : now;
295
+ const set = waysSet(settingsDir);
296
+ const acc = new Map(KIND_LIST.map((x) => [x.key, { made: 0, kept: 0, undone: 0, until: null }]));
297
+ for (const d of dirs || []) {
298
+ const st = fold(read(d));
299
+ for (const j of st.jobs.values()) {
300
+ const kk = kindOf(j.job); if (!kk) continue;
301
+ const a = acc.get(kk);
302
+ a.made += j.applied.length;
303
+ a.undone += j.applied.filter((x) => x.undone).length;
304
+ a.kept += j.applied.filter((x) => !x.undone).length;
305
+ if (j.demote && Date.parse(j.demote.until) > t && (!a.until || j.demote.until > a.until)) a.until = j.demote.until;
306
+ }
307
+ }
308
+ return KIND_LIST.map((x) => {
309
+ const a = acc.get(x.key), auto = autoWay({ kept: a.kept, demoted: !!a.until });
310
+ return { kind: x.key, label: x.label, made: a.made, kept: a.kept, undone: a.undone, auto, set: set[x.key] || null, way: set[x.key] || auto, until: a.until };
311
+ }).filter((x) => x.made || x.set).sort((p, q) => q.made - p.made);
312
+ }
313
+
237
314
  /** May this applied change still be undone (within 14 days, not undone yet)? */
238
315
  function undoOpen(stateDir, ref, { now } = {}) {
239
316
  const a = fold(read(stateDir)).applied.get(ref);
@@ -250,6 +327,7 @@ function restore(stateDir, { job, product }, actor, { now } = {}) {
250
327
  }
251
328
 
252
329
  module.exports = {
330
+ WAYS, SHOW_UNTIL, KIND_LIST, kindOf, waysSet, autoWay, kindsOf,
253
331
  LEDGER, CLASSES, DRIVER_CLASS, PROPOSAL_CLASS, DEMOTE_DAYS, UNDO_DAYS, RATE_LIMIT, RATE_MIN, KINDS,
254
332
  classOfDriver, classOfProposal, killed, autoFor, file, read, fold, recordApplied, reasonOf, recordSetback, decide, demotedNow, notices, markSeen, done, undoOpen, restore,
255
333
  };
@@ -60,6 +60,11 @@ module.exports = {
60
60
  for (const sc of scopes) { const dk = '/api/ready-reports/dashboard?' + new URLSearchParams({ ws, scope: sc }).toString(); const d = await via(RRoutes, dk, req, ctx); if (d.body && d.body.ok) answers[dk] = d.body; }
61
61
  const ik = '/api/boards/items?ws=' + encodeURIComponent(ws) + '&board=' + encodeURIComponent(board); const it = await via(Boards, ik, req, ctx); if (it.body && it.body.ok) answers[ik] = it.body;
62
62
  }
63
+ // the product's story (board AwF): the same Narrative as its page, above the timeline; the pack drops the sources
64
+ if (selection.some((s) => s.kind === 'product')) {
65
+ const sk = '/api/artefacts/story?ws=' + encodeURIComponent(ws); const st = await via(require('./routes-artefacts.js'), sk, req, ctx);
66
+ if (st.body && st.body.ok && st.body.story) answers[sk] = st.body;
67
+ }
63
68
  const meta = { by: q.get('by') || '', at: q.get('at') || '', ends: q.get('ends') || '', viewer: q.get('viewer') || '', hub: q.get('hub') || '', view: q.get('view') || '' };
64
69
  ctx.json(res, { ok: true, pack: Pack.buildPack({ ws, board, selection, answers, meta }) });
65
70
  } catch (e) { return bad(String((e && e.message) || e).slice(0, 240), /not on this board|Pick at least|at most 2 MB|product, a program/.test(String(e && e.message)) ? 400 : 500); }
@@ -8,7 +8,8 @@
8
8
  * ws, board the board the answers are from (a product is a board)
9
9
  * selection [{ kind: 'product' | 'program' | 'initiative', id }], one or more; the pack holds the union
10
10
  * answers { '/api/…?query': body } — the Board's GET answers, as the workspace's own routes gave them. Pure: nothing is read here.
11
- * The one program and product page (batch 21 item 2) reads two more: /api/ready-reports/dashboard (teammateDash) and /api/boards/items
11
+ * The one program and product page (batch 21 item 2) reads two more: /api/ready-reports/dashboard (teammateDash) and /api/boards/items;
12
+ * a product carries its story, /api/artefacts/story, as text lines only (board AwF: no sources, no Claude's activity)
12
13
  * meta { by, at, ends, viewer, hub? } — shown on the one line above the Board, and the version of the Board's code that reads the pack
13
14
  * assertSize(pack) throws the host's limit (2 MB, H5)
14
15
  *
@@ -173,6 +174,11 @@ function buildPack({ ws, board, selection, answers, meta }) {
173
174
  if (Array.isArray(body.items)) body.items = body.items.filter((t) => t && R.keep.has(t.ini));
174
175
  if (Array.isArray(body.initiatives)) body.initiatives = body.initiatives.filter((x) => x && R.keep.has(x.id || x));
175
176
  responses[k] = sweep(settled(body), needles) || {};
177
+ } else if (p === '/api/artefacts/story') {
178
+ // "The story so far" (board AwF): a stakeholder reads the same story as the product page, without its sources or Claude's activity
179
+ const st = R.wholeBoard && answers[k] && answers[k].story;
180
+ const lines = st && Array.isArray(st.lines) ? st.lines.map((l) => sweep(String((l && l.text) || ''), needles)).filter((x) => x) : [];
181
+ if (lines.length) responses[p + '?' + new URLSearchParams({ ws: q.get('ws') || ws }).toString()] = { ok: true, ws: q.get('ws') || ws, story: { at: st.at || null, lines: lines.map((text) => ({ text })) } };
176
182
  } else if (p === '/api/initiative-layout') {
177
183
  if (R.keep.has(q.get('initiative'))) responses[k] = sweep(clone(answers[k]), needles) || {};
178
184
  }
@@ -3,6 +3,11 @@
3
3
  *
4
4
  * GET /api/artefacts?ws&scope → { ok, ws, scope, kind, artefacts: [{ key, title, owner, for, labels, fields, carried, empty }] }
5
5
  * scope: portfolio (default), board:<id>, goal:<id>, experiment:<id> (initiative:<id> is an alias)
6
+ * GET /api/artefacts/story?ws → { ok, ws, story: { scope, at, lines: [{ text, sources }] } | null } "The story so far" on the product
7
+ * page (board AwE): the Narrative of board:<ws>, else of the portfolio (lib/artefacts.js storyOf). A shared
8
+ * Board carries it without the sources (lib/board-pack.js).
9
+ * GET /api/artefacts/lessons → { ok, lessons: [{ ws, product, scope, text, at }] } every product's Lessons, newest first, at most 20
10
+ * (Settings › Claude, board AwG2)
6
11
  * GET /api/artefacts/map → { ok, artefacts, rows: [{ from, name, artefact, field, note }] } what every older shape became
7
12
  * POST /api/artefacts/set { ws, scope, artefact, field, text } → { ok, line } the PM edits one line from the Viewer (board AwB: "You edit
8
13
  * any line"). A page press (pm-guard requirePagePress); the actor is the PM, so Claude asks before it
@@ -44,6 +49,23 @@ async function handle(req, res, url, ctx) {
44
49
  }
45
50
  if (req.method !== 'GET') return send(405, { ok: false, error: 'the artefacts are read here; the PM edits a line with POST /api/artefacts/set' });
46
51
  if (sub === 'map') return send(200, { ok: true, artefacts: A.KEYS, rows: require('./artefacts-cli.js').mapRows() });
52
+ if (sub === 'lessons') {
53
+ const out = [];
54
+ for (const w of (ctx.workspaceList ? ctx.workspaceList() : []).filter((x) => x && x.root && !x.linked)) {
55
+ let dir; try { dir = A.dirOf(w.root); } catch { continue; }
56
+ for (const l of A.lessonsOf(A.fold(A.readLines(A.file(dir))))) out.push({ ws: w.id, product: w.label || w.name || w.id, scope: l.scope, text: l.text, at: l.at });
57
+ }
58
+ out.sort((a, b) => String(b.at).localeCompare(String(a.at)));
59
+ return send(200, { ok: true, lessons: out.slice(0, 20) });
60
+ }
61
+ if (sub === 'story') {
62
+ const w = wsOf(ctx, url.searchParams.get('ws'));
63
+ if (!w || !w.root) return send(404, { ok: false, error: 'no such workspace' });
64
+ let dir;
65
+ try { dir = A.dirOf(w.root); } catch (e) { return send(409, { ok: false, error: String((e && e.message) || e) }); }
66
+ const scopes = (A.parseScope('board:' + w.id) ? ['board:' + w.id] : []).concat('portfolio');
67
+ return send(200, { ok: true, ws: w.id, story: A.storyOf(A.fold(A.readLines(A.file(dir))), scopes) });
68
+ }
47
69
  if (sub) return send(404, { ok: false, error: 'no such artefacts route' });
48
70
  const q = url.searchParams;
49
71
  const w = wsOf(ctx, q.get('ws'));
@@ -2,7 +2,7 @@
2
2
  /* routes-autonomy.js — what agents did by themselves, and its Undo (D106, "Full autonomy now").
3
3
  *
4
4
  * GET /api/autonomy?ws → { ok, ws, done: [change], notices: [demotion], failed: [run] }
5
- * change: { ref, job, title, cls, at, undo_until, ini, reason } the changes agents applied by themselves in the last 14 days that
5
+ * change: { ref, job, title, cls, way, at, undo_until, ini, reason } way: quiet | show (lib/autonomy.js: show draws first) the changes agents applied by themselves in the last 14 days that
6
6
  * nobody undid, newest first: the Done group ("Claude did" on Your day, "Claude's work" in the Viewer; agent-run workspace, boards
7
7
  * AwA and AwB). title is said as an act ("Wrote the problem: …"); reason is lib/autonomy.js reasonOf, one line.
8
8
  * notices: the jobs that fell back to propose and Home has not said so yet (say it once).
@@ -11,6 +11,9 @@
11
11
  * line where the work is.
12
12
  * POST /api/autonomy/undo { ws, ref } → { ok, back, demoted? } Undo of one change: a Driver proposal (p-…) or a ✦ batch (pk-…)
13
13
  * POST /api/autonomy/seen { ws, job, product, until } → { ok } Home said the demotion once
14
+ * GET /api/autonomy/kinds → { ok, kinds: [{ kind, label, made, kept, undone, auto, set, way, until }], showUntil }
15
+ * How Claude decides (Settings › Claude, boards AwG and AwG2), over every product's state folders: lib/autonomy.js kindsOf. The PM
16
+ * sets a kind's way with POST /api/settings { key: 'claude.ways', value: { kind: quiet | show | ask } }.
14
17
  *
15
18
  * Every POST passes pm-guard requirePagePress. An Undo is a correction (the north star) and a setback of its job (lib/autonomy.js).
16
19
  */
@@ -115,12 +118,18 @@ async function handle(req, res, url, ctx) {
115
118
  if (!w) return send(bad(404, 'no such workspace'));
116
119
  const done = [], notices = [], dirs = dirsOf(ctx, w);
117
120
  for (const d of dirs) {
118
- for (const a of A.done(d)) done.push({ ref: a.ref, job: a.job, title: sayOf(a), cls: a.cls, at: a.at, undo_until: new Date(Date.parse(a.at) + A.UNDO_DAYS * DAY).toISOString(), ini: a.ini || null, reason: a.reason });
121
+ for (const a of A.done(d, { settingsDir: ctx.runtimeDir || null })) done.push({ ref: a.ref, job: a.job, title: sayOf(a), cls: a.cls, way: a.way, at: a.at, undo_until: new Date(Date.parse(a.at) + A.UNDO_DAYS * DAY).toISOString(), ini: a.ini || null, reason: a.reason });
119
122
  for (const n of A.notices(d)) notices.push(n);
120
123
  }
121
124
  done.sort((a, b) => Date.parse(b.at) - Date.parse(a.at));
122
125
  return send({ status: 200, body: { ok: true, ws: w.id, done, notices, failed: failedOf(w, dirs) } });
123
126
  }
127
+ if (sub === 'kinds' && req.method === 'GET') {
128
+ const list = (ctx.workspaceList ? ctx.workspaceList() : []).filter((w) => w && w.root && !w.linked);
129
+ const dirs = [];
130
+ for (const w of list) for (const d of dirsOf(ctx, w)) if (!dirs.includes(d)) dirs.push(d);
131
+ return send({ status: 200, body: { ok: true, kinds: A.kindsOf(dirs, { settingsDir: ctx.runtimeDir || null }), showUntil: A.SHOW_UNTIL } });
132
+ }
124
133
  if (sub !== 'undo' && sub !== 'seen') return send(bad(404, 'no such autonomy route'));
125
134
  if (req.method !== 'POST') return send(bad(405, 'POST only'));
126
135
  const read = await ctx.readJson(req);
@@ -105,6 +105,9 @@ const DEFS = Object.freeze({
105
105
  // `pmos ai off [job]` and `pmos ai on [job]` set them; PMOS_AI=off wins over both.
106
106
  'ai.on': bool('checks', 'computer', true),
107
107
  'ai.off': { section: 'checks', scope: 'computer', type: 'jobs', max: 40, def: [] },
108
+ // Settings › Claude › How Claude decides (lib/autonomy.js KIND_LIST): the way the PM set for a kind of change, { kind: quiet | show | ask }.
109
+ // A kind left out follows the automatic way. The PM's way wins over it, a demotion included.
110
+ 'claude.ways': { section: 'claude', scope: 'computer', type: 'ways', max: 30, def: {} },
108
111
  });
109
112
 
110
113
  /* The environment variables that win over a setting, here or in a setting's own store. `key` names the setting the page
@@ -168,6 +171,8 @@ function validate(key, value) {
168
171
  }
169
172
  // ['*'] alone is every workspace (the product picker's All, lib/briefing-premium-products.js)
170
173
  case 'ids': return value === null || Array.isArray(value) && (value.length === 1 && value[0] === '*' || value.length <= d.max && value.every((x) => typeof x === 'string' && WS_ID.test(x)) && new Set(value).size === value.length) ? null : `${key} must list at most ${d.max} workspace ids, each once, or ['*'] for every one`;
174
+ case 'ways': return value && typeof value === 'object' && !Array.isArray(value) && Object.keys(value).length <= d.max
175
+ && Object.entries(value).every(([k, v]) => /^[a-z][a-z-]{1,30}$/.test(k) && ['quiet', 'show', 'ask'].includes(v)) ? null : `${key} must map at most ${d.max} kinds of change to quiet, show or ask`;
171
176
  case 'jobs': return Array.isArray(value) && value.length <= d.max && value.every((x) => typeof x === 'string' && /^[a-z][a-z0-9-]{1,40}$/.test(x)) && new Set(value).size === value.length ? null : `${key} must list at most ${d.max} job ids, each once`;
172
177
  // Dress for the day (pm/cozy-seasons.js): a day's key is its charm key, as in DAYS there
173
178
  case 'country': return value === '' || typeof value === 'string' && /^[A-Z]{2}$/.test(value) ? null : `${key} must be a two-letter country code, or empty for this computer's`;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.548.0",
3
+ "version": "0.550.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.548.0",
9
+ "version": "0.550.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.548.0",
3
+ "version": "0.550.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",
@@ -1517,6 +1517,12 @@ span.tg-ng { cursor: default; }
1517
1517
  /* the shared-by line ends with two quiet icons, Open in my PMOS and Get PMOS; the tabs of a link of several picks sit under it (batch 27 items 1 to 3) */
1518
1518
  .ro-by { display: flex; align-items: center; gap: 8px; }
1519
1519
  .ro-by .ro-txt { flex: 1; min-width: 0; }
1520
+ /* "The story so far" above the timeline (board AwF, pm/readonly.js storyOf): the product page's story, no sources */
1521
+ .ro-story { margin: 12px 18px 16px; padding: 16px 20px 18px; border-radius: 18px; background: var(--cz-card); border: 1px solid var(--cz-hair); display: flex; flex-direction: column; gap: 8px; }
1522
+ .ro-story p { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--cz-ink); }
1523
+ .ro-story p b, .ro-sth b { font-weight: var(--fw-strong); color: var(--cz-ink); }
1524
+ .ro-sth { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: var(--fs-row); }
1525
+ .ro-sth small { font-size: var(--fs-label); color: var(--cz-ink3); }
1520
1526
  .ro-ways { display: inline-flex; gap: 4px; flex: none; }
1521
1527
  .ro-way { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--cz-ink2); background: var(--cz-well); }
1522
1528
  .ro-way:hover { color: var(--cz-ink); }
@@ -393,3 +393,8 @@
393
393
  /* a quiet place (pm/quiet-place.js, onboarding B3 ObA4Gradual): one honest line instead of empty tables, until its moment comes */
394
394
  .qp-on > :not(.qp-line) { display: none !important; }
395
395
  .qp-line { margin: 18vh auto 0; max-width: 520px; padding: 0 16px; text-align: center; font-size: var(--fs-row); font-weight: var(--fw-strong); color: var(--cz-ink2); line-height: 1.5; }
396
+ /* Settings › Claude › How Claude decides and Lessons (boards AwG, AwG2): a lesson says what went wrong in amber, what changed in blue */
397
+ .cz .ev-lead { margin: 0 0 4px; }
398
+ .cz .ev-ls { display: flex; flex-direction: column; gap: 2px; }
399
+ .cz .ev-ls .ev-ms { color: var(--cz-late); }
400
+ .cz .ev-ls .ev-nx { color: var(--cz-blueink); }