create-pmos 0.389.0 → 0.390.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.389.0",
3
+ "version": "0.390.0",
4
4
  "description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -32,6 +32,18 @@
32
32
  "audit"
33
33
  ],
34
34
  "pmosChanges": [
35
+ {
36
+ "v": "0.390.0",
37
+ "at": "2026-10-22T02:01:40.673Z",
38
+ "f": 2,
39
+ "prs": [
40
+ {
41
+ "n": 1003,
42
+ "t": "One report editor with Brief tab and one Insights row per report",
43
+ "s": "One report editor with Brief tab and one Insights row per report"
44
+ }
45
+ ]
46
+ },
35
47
  {
36
48
  "v": "0.389.0",
37
49
  "at": "2026-10-21T22:57:56.719Z",
@@ -284,23 +296,6 @@
284
296
  "s": "Quiet the standing chat note until the box has focus (calmer first screen 3/5)"
285
297
  }
286
298
  ]
287
- },
288
- {
289
- "v": "0.370.0",
290
- "at": "2026-10-21T02:31:23.574Z",
291
- "f": 2,
292
- "prs": [
293
- {
294
- "n": 975,
295
- "t": "Sources is one list: sources by where they are read, then derived content (briefing-source-flow, slice 4)",
296
- "s": "One list in the shape of the approved mockup, following Wawan's split (2026-10-21) into main sources (raw) and derived content."
297
- },
298
- {
299
- "n": 977,
300
- "t": "The Chat button draws cleanly on the Chat page",
301
- "s": "The Chat button draws cleanly on the Chat page"
302
- }
303
- ]
304
299
  }
305
300
  ]
306
301
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@63a88212
2
- assembled: 2026-10-21
1
+ kernel-source: pmos@553436a5
2
+ assembled: 2026-10-22
3
3
  mode: vendor
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Eval calibration log"
4
4
  description: "Append-only record of every PM override of an evaluator verdict."
5
- generated: {by: process:create-pmos, at: "2026-10-21T22:57:53Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-22T02:01:37Z"}
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-10-21T22:57:53Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-22T02:01:37Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Discoveries and friction log"
4
4
  description: "Append-only record of what runs discovered and where the process rubbed."
5
- generated: {by: process:create-pmos, at: "2026-10-21T22:57:53Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-22T02:01:37Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  Newest first, ISO dates.
4
4
 
5
- ## 2026-10-21
5
+ ## 2026-10-22
6
6
 
7
7
  - Adopted OKF v0.2 (D73).
@@ -129,10 +129,10 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
129
129
  }
130
130
  /* I8 reports */
131
131
  await (async (pg, sel) => { if (await pg.locator('#listSeg').isHidden()) await pg.click('#listF'); await pg.click(sel); })(p, '#listSeg [data-f="rep"]'); await sleep(100);
132
- const rp = await p.evaluate(() => ({ rows: [...document.querySelectorAll('#listRows [data-rep]')].map((r) => r.querySelector('.dmn b').textContent + ' / ' + r.querySelector('.s').textContent), note: document.querySelector('#cRep .mhint').textContent, cap: document.querySelector('#repCap').textContent, setups: document.querySelectorAll('#listRows [data-setup]').length, dash: document.querySelectorAll('#listRows [data-d]').length }));
133
- ok('I8 the Reports filter lists the set-up reports, then the report files: cadence, slot, draft or issued', rp.rows.join() === 'biweekly · 14 Oct / Draft,monthly · 30 Sep / Issued 1 Oct' && rp.setups === 1 && rp.dash === 0 && /Nothing is sent from here/.test(rp.note) && rp.cap === '7', JSON.stringify(rp));
132
+ const rp = await p.evaluate(() => ({ rows: [...document.querySelectorAll('#listRows [data-rpt]')].map((r) => r.querySelector('.dmn b').textContent + ' / ' + r.querySelector('.s').textContent), note: document.querySelector('#cRep .mhint').textContent, cap: document.querySelector('#repCap').textContent, setups: document.querySelectorAll('#listRows [data-setup]').length, dash: document.querySelectorAll('#listRows [data-d]').length }));
133
+ ok('I8 the Reports filter lists the set-up reports, then one row per report with its cycles counted (PM 2026-10-22)', rp.rows.join() === 'biweekly / 1 draft,monthly / 1 issued' && rp.setups === 1 && rp.dash === 0 && /Nothing is sent from here/.test(rp.note) && rp.cap === '7', JSON.stringify(rp));
134
134
  await (async (pg, sel) => { if (await pg.locator('#listSeg').isHidden()) await pg.click('#listF'); await pg.click(sel); })(p, '#listSeg [data-f="all"]');
135
- { const R = await open(); await (async (pg, sel) => { if (await pg.locator('#listSeg').isHidden()) await pg.click('#listF'); await pg.click(sel); })(R.page, '#listSeg [data-f="rep"]'); await R.page.locator('#listRows [data-rep]').first().click(); ok('I8 a report opens in the page\'s reader, not the console (premium-report-read R1)', await until(() => R.page.evaluate(() => document.querySelector('#dlg').classList.contains('rdrd') && document.querySelector('#dlg').classList.contains('on')), 5000) && /premium-insights\.html/.test(R.page.url()), R.page.url());
135
+ { const R = await open(); await (async (pg, sel) => { if (await pg.locator('#listSeg').isHidden()) await pg.click('#listF'); await pg.click(sel); })(R.page, '#listSeg [data-f="rep"]'); await R.page.locator('#listRows [data-rpt]').first().click(); ok('I8 a report opens in the page\'s reader, not the console (premium-report-read R1)', await until(() => R.page.evaluate(() => document.querySelector('#dlg').classList.contains('rdrd') && document.querySelector('#dlg').classList.contains('on')), 5000) && /premium-insights\.html/.test(R.page.url()), R.page.url());
136
136
  ok('I8 a draft report has Issue in the reader, so nothing sends you to the console to issue it', await until(() => R.page.evaluate(() => !!document.querySelector('#oMain [data-rr="issue"]')), 8000) && await R.page.evaluate(() => !document.querySelector('#repOpen') && !document.querySelector('#oMain a[href*="console.html"]')));
137
137
  await R.ctx.close(); }
138
138
  /* I9 labels */
@@ -141,7 +141,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
141
141
  /* I10 empty */
142
142
  {
143
143
  const R = await open({ model: mk({ outcomes: [] }) });
144
- ok('I10 with no KR metric the page says there is no insight yet, draws nothing, and the list still holds the report files', await R.page.evaluate(() => /No KR metric is recorded/.test(document.querySelector('#brief').textContent) && /No KR metric is recorded for this workspace/.test(document.querySelector('#dashBody').textContent) && document.querySelectorAll('#listRows [data-rep]').length === 2 && document.querySelectorAll('#dashBody .mch').length === 0 && /There is no insight yet/.test(document.querySelector('#brief').textContent) && document.querySelectorAll('#insAct button').length === 0));
144
+ ok('I10 with no KR metric the page says there is no insight yet, draws nothing, and the list still holds the report files', await R.page.evaluate(() => /No KR metric is recorded/.test(document.querySelector('#brief').textContent) && /No KR metric is recorded for this workspace/.test(document.querySelector('#dashBody').textContent) && document.querySelectorAll('#listRows [data-rpt]').length === 2 && document.querySelectorAll('#dashBody .mch').length === 0 && /There is no insight yet/.test(document.querySelector('#brief').textContent) && document.querySelectorAll('#insAct button').length === 0));
145
145
  ok('I10 with nothing to chart the top card is hidden (All measures stays a row of the list), and the hero\'s explanation waits behind an ⓘ (premium-calmer-first-screen)', await R.page.evaluate(() => document.querySelector('#cDash').hidden && document.querySelector('#insWhy').hidden && !!document.querySelector('#insEye .infob[aria-controls="insWhy"]') && !/Shown above/.test(document.querySelector('#repBody').textContent)));
146
146
  await R.ctx.close();
147
147
  const R2 = await open({ model: mk({ reportsOk: false, reports: [], missing: ['reports'] }) });
@@ -236,11 +236,11 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
236
236
  const pg1 = await q.evaluate(() => ({ rows: document.querySelectorAll('#listRows .dmr').length, pager: document.querySelector('#listPager').textContent }));
237
237
  await q.click('#listPager [data-pg="2"]'); await sleep(100);
238
238
  const pg2 = await q.evaluate(() => ({ rows: [...document.querySelectorAll('#listRows .dmo b')].map((b) => b.textContent), cur: document.querySelector('#listPager [aria-current="page"]').textContent }));
239
- ok('L5 six rows to a page with page numbers; page 2 holds the rest', pg1.rows === 6 && /1–6 of 7/.test(pg1.pager) && pg2.cur === '2' && pg2.rows.join() === 'monthly · 30 Sep', JSON.stringify([pg1, pg2]));
239
+ ok('L5 six rows to a page with page numbers; page 2 holds the rest', pg1.rows === 6 && /1–6 of 7/.test(pg1.pager) && pg2.cur === '2' && pg2.rows.join() === 'monthly', JSON.stringify([pg1, pg2]));
240
240
  await R.ctx.close();
241
241
  const lead = { 'planning/reports/biweekly/2026-10-14.md': 'Activation slipped to 28% this fortnight.' };
242
242
  const R2 = await open({ model: mk({ leads: lead }) });
243
- const ln = await R2.page.evaluate(() => ({ dash: [...document.querySelectorAll('#listRows [data-d] .nil')].map((e) => e.textContent), rep: [...document.querySelectorAll('#listRows [data-rep] .nil')].map((e) => e.textContent), su: document.querySelector('#listRows [data-setup] small').textContent }));
243
+ const ln = await R2.page.evaluate(() => ({ dash: [...document.querySelectorAll('#listRows [data-d] .nil')].map((e) => e.textContent), rep: [...document.querySelectorAll('#listRows [data-rpt] .nil')].map((e) => e.textContent), su: document.querySelector('#listRows [data-setup] small').textContent }));
244
244
  ok('L6 each dashboard row shows its top finding, a report row quotes its file, a setup with no file says no draft is written yet', ln.dash[0] === 'Time to first call will miss its 3 days target on 31 Dec unless it turns.' && ln.rep[0] === '“Activation slipped to 28% this fortnight.”' && /^No draft is written yet/.test(ln.su), JSON.stringify(ln));
245
245
  await R2.ctx.close();
246
246
  }
@@ -1,4 +1,16 @@
1
1
  [
2
+ {
3
+ "v": "0.390.0",
4
+ "at": "2026-10-22T02:01:40.673Z",
5
+ "f": 2,
6
+ "prs": [
7
+ {
8
+ "n": 1003,
9
+ "t": "One report editor with Brief tab and one Insights row per report",
10
+ "s": "One report editor with Brief tab and one Insights row per report"
11
+ }
12
+ ]
13
+ },
2
14
  {
3
15
  "v": "0.389.0",
4
16
  "at": "2026-10-21T22:57:56.719Z",
@@ -213,12 +213,11 @@ The right side can hold more than one item. When the dialog opens a related item
213
213
 
214
214
  ### The document page
215
215
 
216
- Every markdown document opens as one page in a tab: a report, a PRD, a new document or any other `.md` file. On a document sheet, click **Open as a page**. On a report, click **Edit**.
216
+ Every markdown document opens as one page in a tab: a PRD, a new document or any other `.md` file. On a document sheet, click **Open as a page**. A report is edited in its own dialog instead (see **Report files** under Insights).
217
217
 
218
218
  - **Page** shows the document as it reads. **Edit** lets you type on the page itself, with a toolbar, a **/** menu for blocks, and Ctrl+S to save. **Markdown** shows the source text. Only the sections you changed are written; the other sections and the front matter keep their exact text. A line that is only an HTML comment, such as `<!-- pmos:note … -->` or `<!-- pmos:slide … -->`, is not shown on the page, and a save writes it back as it was.
219
219
  - When the agent proposes an edit, the page shows it applied and highlighted. Click a highlight to see the old text, and click **Put it back** to restore it. The bar above the page has **Keep as vN**, which keeps the changes that remain, and **Undo all**, which asks first and then rejects the whole edit.
220
220
  - **Health**, **Links** and **Copies** under the toolbar show the document's checks, the documents it links to, and its linked copies. The checks only read the file.
221
- - A report also shows **Present**, **Print** and **Download** on the same toolbar.
222
221
 
223
222
  ### Confluence pages and Google Docs
224
223
 
@@ -358,19 +357,29 @@ Insights is the fifth place on the rail, at `/premium-insights.html`. It reads t
358
357
  - **Charts.** One chart for each KR metric that holds at least two readings. The line runs through the readings at their dates, so a month with no reading is a gap and not a zero. The dashed line is the metric's target. The chip is the record's own line status: on its line, behind it, or well behind it. Pressing a chart, or its Details link, opens the metric's record in the dialog with the read-only agent beside it.
359
358
  - **The insight.** The page opens with one finding across the board's measures, in a large line, with the reason and its numbers under it, up to two more findings, **Ask PMOS why** (opens the measure's dialog on the Conversation tab) and **See the chart**. A measure that is short of its target, with a target date after its last reading, gets a projection: a straight line through its last four readings (all, when fewer), carried to the target date. When the line lands short, the finding says the measure will miss its target on that date at this pace, where it lands, how far short, and when it would get there. When the line lands on or past the target, it says the measure is on course. The page says how the projection is made, and no forecast line is drawn on a chart. With no KR metric, or none with two readings, the page says there is no insight yet and why.
360
359
  - **The pinned dashboard.** The card under the insight shows the pinned dashboard: its insight band (the next findings on it, past the one the page leads with), and its charts. Its **⋯** holds **Unpin** (or **Pin**, with Not pinned when nothing is pinned), **Back to** the pinned one, **Edit** and **New chart**, and its **ⓘ** says what the dashboard is for. When nothing can be charted yet, the card is hidden and All measures is a row of the list; the insight's explanation is then behind the **ⓘ** next to Insight. Pressing a dashboard in the list shows it in this card. One dashboard per board is pinned, All measures included; pillar groups cannot be pinned. The pin is a line in `premium-dashboards.jsonl` and shows on Insights only.
361
- - **Dashboards and reports.** One list holds the dashboards (All measures, your saved ones, then the pillars the metrics name) and then the reports (your set-up reports, then the report files). One chip in the card's head (**All** with its count) opens **All**, **Dashboards** and **Reports**, and shows only when the list holds both kinds; it shows six rows to a page, with page numbers. A dashboard row shows its top finding and a pin. A report row quotes the opening sentence of its latest file; a set-up report with no file says no draft is written yet. **New** offers **Dashboard** or **Report**. Your requests and what PMOS found in your work stay at the top of the list. A saved dashboard draws its charts in the order you saved them. A chart whose record is gone, or that has fewer than two readings, is listed in its place with the reason and is not drawn.
360
+ - **Dashboards and reports.** One list holds the dashboards (All measures, your saved ones, then the pillars the metrics name) and then the reports (your set-up reports, then the report files). One chip in the card's head (**All** with its count) opens **All**, **Dashboards** and **Reports**, and shows only when the list holds both kinds; it shows six rows to a page, with page numbers. A dashboard row shows its top finding and a pin. A report has one row, whatever number of cycles it has: the row quotes the opening sentence of its latest cycle and counts its cycles (for example **1 draft**, **3 issued**, **1 archived**). A set-up report with no file says no draft is written yet. **New** offers **Dashboard** or **Report**. Your requests and what PMOS found in your work stay at the top of the list. A saved dashboard draws its charts in the order you saved them. A chart whose record is gone, or that has fewer than two readings, is listed in its place with the reason and is not drawn.
362
361
  - **Make or change a dashboard, a chart or a report in a chat.** There is no Insight Studio. **+**, then **Dashboard** or **Report**, and **New chart** in the dashboard's **⋯**, open the Chat page with a first line in the message box ("Make a dashboard of ") for you to finish and send. **Edit** on a saved dashboard or one of your charts, and **Shape it in a chat** on a report drawn from your work, open the Chat page with it in its tab beside the conversation. See [Reports from a chat](#reports-from-a-chat).
363
362
  - **The findings.** Each finding is one sentence with its reason, taken from the series: will miss its target at this pace, on course, behind its line for three readings in a row, behind and still moving away from the target, closing in, slipped, reached its target, or a large one-step move. No cause is given.
364
363
  - **Board measures.** The same four tiles as the Board's Metrics card, counted from the board's repository and drawn the same way. Choose **8 weeks**, **26 weeks** or **52 weeks**; the page keeps your choice. Press a measure to read its definition and values and to set its target: type a number and press **Save target**, or press **Clear target**. For Corrections, Blocked and Idle, lower is better, so the target is the most you accept; for Merged a week it is the least. The target goes to the workspace's state folder (`board-metric-targets.jsonl`) and the Board draws it too. An agent session cannot set one.
365
364
  - **No series recorded.** A KR metric with one reading or none is listed with the reason and is not drawn.
366
365
  - **Ask PMOS to set up a report.** The card has one rounded input, under the list. Type what the report is for and press the round send button inside it. The **+** at its left offers Dashboard or Report. The line under the input says it only proposes; its **ⓘ** shows the longer note. A background run proposes a report and does nothing else. The request is listed as Working, then Ready to review. A ready request opens with its proposal: **Set it up**, **Change it** (say what to change; the run revises it), or **Cancel**.
367
366
  - **Found in your work.** Up to three reports PMOS found in your calendar, mail or documents, each with why and what it saw. **Set it up** records the report and drafts its first cycle as a file. **Not a report** hides it and records it after 5 seconds, unless you press **Undo**. If the finding changed while the window was open, the window says what happened. It was already set up, it was marked not a report, or a new scan replaced it. The list is read again. Close the window and open the report from the list. If PMOS does not hear back, the window says nothing was recorded. Press the button to try again.
368
- - **Set up.** Your recurring reports, with their schedule and next draft. A report opens with **Draft it now** (for a report drawn from your work) and **Pause** or **Resume**.
369
- - **Report files.** The report files of the workspace, in the list, with cadence, slot and whether each is a draft or issued. Pressing one opens it on the page at the normal dialog size, with a status line (Draft or Issued, the saved design version, the file). The **slide deck / Document** menu picks the view: a deck is a title slide, then one slide for each section, with the arrow keys and a strip of slides; a document is a page. The **Read** menu holds **Present**, which shows the slide on the whole screen (the arrow keys move and Escape stops), and **Print or save as PDF**, which prints one slide to a page. **Download** gives PowerPoint, Word, Excel, CSV or the Markdown file; the files carry the words, not the look. **Edit** opens the words as a page. On a draft, **Issue** first says what it does, then **Issue it** freezes the cycle as you read it, through the console's own route; if the file changed since you opened it, nothing is issued and the reader shows the new words. Copies in Confluence or other tools are made in the console. Nothing is sent from this page.
370
- - **Edit the slides.** In the **Read** menu of a draft, **Edit the slides** opens the same file as a **Slides** tab beside the report. The rail on the left lists the slides. Drag a slide to move it, or use the up and down buttons on it; the buttons also duplicate and delete a slide, and **+ Slide** adds one from a layout. On the slide, click an item to select it, drag it to move it (a line shows when it is centred), and drag a corner to resize it. Double-click text to type. The toolbar adds text, an image, a chart, a table or a shape, and changes the layout of the slide or the theme of the deck. The bar under it changes the selected item: text style, alignment and colour; bars or a line and **Edit data** for a chart; rows and columns for a table. An image is a file that is already in the workspace: type its path, such as `planning/design/screen.png`. Speaker notes go in the box under the slide. **Undo** and **Redo** cover every change. **Present** opens the presenter view: the slide, the next slide, your speaker notes (you can type in them) and a timer. The arrow keys move, and Escape stops. **Slides only** hides the notes. **Audience window** opens a second window with the slide alone, for the screen you share; it follows your slide and closes when you stop. **Save** asks why the slides change, then writes the file; the reason goes in the Edit log. The file stays markdown: each slide is a heading with its text under it, and a hidden comment keeps the layout and the notes. If someone changed the text of a slide in the file, the editor shows the file's text and says so. If the file changed while the slides were open, Save stops and tells you to open the slides again. An issued report opens its slides read-only, with **Open the slides**.
371
- - **Shape a report's look.** On a draft, **Add a sample** takes a PDF, PowerPoint, Word, PNG or JPG file to follow. Each sample has an **×**: press it to remove that sample, and the next version, the design brief and each new cycle stop following it. Say how it should look in the conversation; PMOS draws the next design version (D1, D2, …) and says what it changed. Press a version to go back to it. **This is it** saves the version shown as the report's design, and PMOS draws the cycle to match. An issued cycle is frozen with its look.
372
-
373
- Not built: a second measure next to a chart, bar highlights, speaker notes and notes on a slide, changing a set-up report's audience, format or schedule, tile sizes and free layout, the finder's settings, and any measure no record holds. The console's own dashboards are separate and unchanged. KR metric records belong to a workspace, so every board of a workspace shows the same charts.
367
+ - **Set up.** A recurring report with no cycle yet, with its schedule and next draft. It opens with **Draft it now** (for a report drawn from your work) and **Pause** or **Resume**. Once it has a cycle, its row opens the report itself.
368
+ - **A report.** Pressing a report row opens its latest cycle on the page. Under the report's name, the cycle chip (for example **12 Oct · 4 cycles**) lists every cycle of the report, grouped **Draft**, **Issued** and **Archived**; pick one to read it. Over the report there is one row of icon buttons. Hold the pointer on a button, or focus it, to see its name:
369
+ - **Slides** and **Page** pick the view. Slides is a title slide, then one slide for each section, with the arrow keys and a strip of slides. Page is the document as it reads.
370
+ - **Brief** opens the report's brief in its own tab (see below).
371
+ - The state (**Draft**, **Issued** or **Archived**) and the schedule (for example **Mon 09:00**, **Off** or **None**). Press the schedule to change it: daily, weekly or every two weeks on a day, monthly, or **Off**, which pauses it. A report drawn from your work also has **Draft the next cycle now** there. A report with no template has no schedule; its menu says so and opens a chat to set one up.
372
+ - **Edit** (a draft only) edits in the same place: on Slides the slide editor, on Page the words. **Save** or **Cancel** brings the report back. No other tab opens.
373
+ - **Present** shows the slide on the whole screen; the arrow keys move and Escape stops.
374
+ - **Share** makes a link to a copy of the report as it is now, with a password if you want one, and an end date. The Brief is never shared.
375
+ - **Issue** (a draft only) first says what it does, then **Issue it** freezes the cycle as you read it. If the file changed since you opened it, nothing is issued and the reader shows the new words.
376
+ - **⋯** names the file, then has **Download** (PowerPoint, Word, Excel, CSV or the Markdown file; the files carry the words, not the look), **Print or save as PDF** (one slide to a page), and **Discard this draft** or, for an issued cycle, **Archive** and **Bring back**. Discard and Archive ask once. An issued report is never deleted.
377
+ - Copies in Confluence or other tools are made in the console. Nothing is sent from this page.
378
+ - **Edit the slides.** **Edit** on Slides opens the slide editor in the report's place. The rail on the left lists the slides. Drag a slide to move it, or use the up and down buttons on it; the buttons also duplicate and delete a slide, and **+ Slide** adds one from a layout. On the slide, click an item to select it, drag it to move it (a line shows when it is centred), and drag a corner to resize it. Double-click text to type. The toolbar adds text, an image, a chart, a table or a shape, and changes the layout of the slide or the theme of the deck. The bar under it changes the selected item: text style, alignment and colour; bars or a line and **Edit data** for a chart; rows and columns for a table. An image is a file that is already in the workspace: type its path, such as `planning/design/screen.png`. Speaker notes go in the box under the slide. **Undo** and **Redo** cover every change. **Present** opens the presenter view: the slide, the next slide, your speaker notes (you can type in them) and a timer. The arrow keys move, and Escape stops. **Slides only** hides the notes. **Audience window** opens a second window with the slide alone, for the screen you share; it follows your slide and closes when you stop. **Save** asks why the slides change, then writes the file and brings the report back; the reason goes in the Edit log. **Cancel** asks first if you changed something. The file stays markdown: each slide is a heading with its text under it, and a hidden comment keeps the layout and the notes. If someone changed the text of a slide in the file, the editor shows the file's text and says so. If the file changed while the slides were open, Save stops and tells you to open the slides again.
379
+ - **Shape a report's look.** On a draft, say how it should look in the box under the conversation. The clip in the box attaches a sample (a PDF, PowerPoint, Word, PNG or JPG file) to follow; each sample is a chip above the box, with an **×** that removes it. When PMOS has drawn a new look, one line over the report says **New look ready**, with the request it came from, and shows it. **Use it** saves it as the report's design, and PMOS draws the cycle to match. **Keep current** goes back to the look you had. An issued cycle is frozen with its look.
380
+ - **The Brief.** The Brief explains how the report is made. It is not part of the report. It reads what PMOS keeps for the report and says it in words: **At a glance** (what it is, who it is for, the decision, the schedule, the format, what makes it), **Questions it answers**, **In and out of scope**, **How it is structured**, **Where the data comes from** (with whether each source was reached), **How each number is worked out** (from where, how, compared with what, and when it is flagged), **Checks and caveats**, **Why it looks like this** (the samples, what stays the same, what changes, what it learned from you, and the earlier looks, each with **Go back to it**), **What changed**, and **Please confirm**. Where a record says nothing, the Brief says **not said** and lists the question under Please confirm; the head counts them (**2 to confirm**). **Correct** on a section puts `Correct "<section>":` in the box; finish the sentence and send it. PMOS writes a new version of the brief, and **Use it** at the top of the Brief keeps it. A report with no template has no brief to correct yet. PMOS keeps no glossary of terms, so the Brief has no section for what the words mean.
381
+
382
+ Not built: a second measure next to a chart, bar highlights, speaker notes and notes on a slide, changing a set-up report's audience or format, tile sizes and free layout, the finder's settings, and any measure no record holds. The console's own dashboards are separate and unchanged. KR metric records belong to a workspace, so every board of a workspace shows the same charts.
374
383
 
375
384
  ## Welcome
376
385
 
@@ -417,7 +426,7 @@ A document opens in one sheet on both the Board and the initiative page. Its sta
417
426
 
418
427
  The conversation beside every premium dialog is a real Claude Code session. Anything you can do in a Claude Code chat, you can do here.
419
428
 
420
- Every popup has this chat, including the ones that have no row of their own: a task, a document with no file, a set-up report, a measure, a meeting on another day, Sources, Settings, the Around-you rows and the forms (Add a task, Add a document, the board actions). Its conversation belongs to that one thing, so it is there again the next time you open it. Opening a popup starts nothing; the session starts when you send the first message, and Claude starts from what the popup shows: its title, its sub line and its facts. A draft report keeps its own **Say how it should look** box, and Insight Studio keeps its brief.
429
+ Every popup has this chat, including the ones that have no row of their own: a task, a document with no file, a set-up report, a measure, a meeting on another day, Sources, Settings, the Around-you rows and the forms (Add a task, Add a document, the board actions). Its conversation belongs to that one thing, so it is there again the next time you open it. Opening a popup starts nothing; the session starts when you send the first message, and Claude starts from what the popup shows: its title, its sub line and its facts. A draft report keeps its own **Say how it should look** box.
421
430
 
422
431
  - **Your first message** in a dialog starts one session for that row, the page or the initiative, in its repository. Claude gets the row as the page shows it: the title, what the page says, the facts and the files to start from. Then it gets your words.
423
432
  - **The message box** takes several lines. **Enter** sends; **Shift+Enter** starts a new line. The box grows as you type, up to about eight lines, and then scrolls. The send button stays at its foot, also with a phone keyboard open.
@@ -2,7 +2,8 @@
2
2
  /* lib/insights-premium.js — the premium Insights page's model, built from the KR metric records and the report files the console's Reports tab reads
3
3
  * (initiative briefing-premium-insights).
4
4
  *
5
- * build(facts) → model PURE. facts = { now, board, boards, outcomes, reports, reportsOk, missing[], saved, setups, pinned, leads }
5
+ * build(facts) → model PURE. facts = { now, board, boards, outcomes, reports, reportsOk, missing[], saved, setups, pinned, leads, archived }
6
+ * archived = the ids (cadence/slot) of the issued reports the PM archived: they are marked Archived and listed last
6
7
  * peekModel() → the last model built, for the agent to find a chart in (null before the first)
7
8
  *
8
9
  * facts come from the routes of lib/routes-c3-strategy.js and lib/routes-reports.js:
@@ -150,14 +151,15 @@ function dashInsightOf(L) {
150
151
 
151
152
  const REPORTS_MAX = 60;
152
153
  /** The report files, newest first. `lead` is the opening sentence of the file as the route read it (insights-one-list L6), '' when it has none. */
153
- function reportRows(reports, leads) {
154
- const L = leads || {};
155
- return (reports || []).slice().sort((a, b) => String(b.slot).localeCompare(String(a.slot)) || String(a.cadence).localeCompare(String(b.cadence))).slice(0, REPORTS_MAX).map((r) => {
156
- const issued = !!r.issued;
154
+ function reportRows(reports, leads, archived) {
155
+ const L = leads || {}, A = new Set(archived || []);
156
+ const gone = (r) => !!r.issued && A.has(r.cadence + '/' + r.slot);
157
+ return (reports || []).slice().sort((a, b) => (gone(a) - gone(b)) || String(b.slot).localeCompare(String(a.slot)) || String(a.cadence).localeCompare(String(b.cadence))).slice(0, REPORTS_MAX).map((r) => {
158
+ const issued = !!r.issued, arch = gone(r);
157
159
  return {
158
160
  key: 'rep:' + r.cadence + ':' + r.slot, cadence: r.cadence, slot: r.slot, date: shortDate(r.slot), state: issued ? 'issued' : r.status === 'draft' ? 'draft' : 'file',
159
- stateLabel: issued ? 'Issued' + (r.issued.at ? ' ' + shortDate(r.issued.at) : '') : r.status === 'draft' ? 'Draft' : 'Report file', path: r.path || '',
160
- lead: typeof L[r.path] === 'string' ? clip(L[r.path], 240) : '',
161
+ stateLabel: arch ? 'Archived' : issued ? 'Issued' + (r.issued.at ? ' ' + shortDate(r.issued.at) : '') : r.status === 'draft' ? 'Draft' : 'Report file', path: r.path || '',
162
+ lead: typeof L[r.path] === 'string' ? clip(L[r.path], 240) : '', archived: arch,
161
163
  };
162
164
  });
163
165
  }
@@ -266,7 +268,7 @@ function build(facts) {
266
268
  const dash = (id, name, L) => ({ id, name, keys: L.map((c) => c.key), total: L.length, off: offOf(L), chip: !L.length ? '' : offOf(L) ? offOf(L) + ' off its line' : 'On their lines' });
267
269
  const dashboards = [dash('all', 'All measures', charts)].concat(savedOf(f.saved, outcomes, charts.concat(mine), mineAll), pillars.length > 1 ? pillars.map((p) => dash('p:' + p, p, charts.filter((c) => c.pillar === p))) : []);
268
270
  const findings = findingsOf(charts);
269
- const rep = reportRows(f.reports, f.leads);
271
+ const rep = reportRows(f.reports, f.leads, f.archived);
270
272
  for (const d of dashboards) Object.assign(d, { insight: dashInsightOf(d.keys.map((k) => charts.concat(mine).find((c) => c.key === k)).filter(Boolean)) });
271
273
  const pin0 = f.pinned !== undefined ? f.pinned : ((f.saved || []).find((d) => d.main) || {}).id, pinned = pin0 && dashboards.some((d) => d.id === pin0) ? pin0 : null;
272
274
  const off = offOf(charts);
@@ -65,6 +65,8 @@ module.exports = {
65
65
  const missing = reportsOk ? [] : ['reports'];
66
66
  let saved = [], mine = [], pinned = null;
67
67
  if (pick && pick.id) { try { const root = require('path').resolve(ctx.getWs(pick.ws).root); saved = PD.list(root, pick.id); pinned = PD.pinned(root, pick.id); } catch { missing.push('dashboards'); } }
68
+ let archived = [];
69
+ if (pick) { try { archived = [...require('./report-setups.js').stateOf(require('path').resolve(ctx.getWs(pick.ws).root)).archived]; } catch { archived = []; } }
68
70
  if (pick && pick.id) { try { mine = require('./premium-charts.js').list(require('path').resolve(ctx.getWs(pick.ws).root), pick.id); } catch { missing.push('saved charts'); } }
69
71
  const su = await via(setups, '/api/report-setups' + q, req, ctx).catch(() => ({ status: 500, body: null }));
70
72
  const setupsOk = su.status === 200 && !!su.body && Array.isArray(su.body.setups);
@@ -73,7 +75,7 @@ module.exports = {
73
75
  const model = Insights.build({
74
76
  now: Date.now(), board: pick ? { ws: pick.ws, id: pick.id, name: pick.name } : { ws, id: null, name: 'Insights' }, boards: all.map((x) => ({ ws: x.ws, id: x.id, name: x.name })),
75
77
  outcomes, reports: reportsOk ? rp.body.reports || [] : [], reportsOk, missing, saved, mine,
76
- setups: setupsOk ? su.body : null, pinned, leads,
78
+ setups: setupsOk ? su.body : null, pinned, leads, archived,
77
79
  });
78
80
  ctx.json(res, { ok: true, state: 'ready', model, as_of: Date.now() });
79
81
  return true;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.389.0",
3
+ "version": "0.390.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.389.0",
9
+ "version": "0.390.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@xterm/addon-fit": "^0.11.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.389.0",
3
+ "version": "0.390.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",