create-pmos 0.396.0 → 0.398.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/package.json +25 -25
  2. package/payload/KIT-VERSION +2 -2
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/scripts/nine-stages.js +49 -20
  6. package/payload/state/discoveries.md +1 -1
  7. package/payload/state/log.md +1 -1
  8. package/workspace/briefing-premium-adddoc-test.js +103 -74
  9. package/workspace/briefing-premium-board-test.js +316 -154
  10. package/workspace/briefing-premium-calendar-2-test.js +135 -195
  11. package/workspace/briefing-premium-calendar-3-test.js +143 -413
  12. package/workspace/briefing-premium-calendar-test.js +86 -185
  13. package/workspace/briefing-premium-doc-edit-test.js +95 -83
  14. package/workspace/briefing-premium-initiative-test.js +166 -294
  15. package/workspace/briefing-premium-insights-test.js +351 -214
  16. package/workspace/briefing-premium-metrics-test.js +53 -118
  17. package/workspace/briefing-premium-products-test.js +40 -27
  18. package/workspace/briefing-premium-sources-test.js +91 -52
  19. package/workspace/briefing-premium-test.js +150 -633
  20. package/workspace/briefing-premium-work-test.js +88 -269
  21. package/workspace/changelog.json +24 -0
  22. package/workspace/fixtures/board-premium-facts.js +2 -1
  23. package/workspace/fixtures/board-premium-jira.js +28 -0
  24. package/workspace/fixtures/board-premium-trail.js +32 -0
  25. package/workspace/fixtures/initiative-premium-facts.js +2 -1
  26. package/workspace/fixtures/initiatives-api/list.json +30 -42
  27. package/workspace/fixtures/initiatives-api/roadmap.json +40 -56
  28. package/workspace/fixtures/initiatives-api/sheet.json +10 -14
  29. package/workspace/fixtures/insights-premium-facts.js +11 -2
  30. package/workspace/fixtures/premium-viewer-fixtures.js +182 -0
  31. package/workspace/guide/briefing-premium.md +3 -1
  32. package/workspace/guide/home.md +47 -0
  33. package/workspace/guide/index.md +2 -0
  34. package/workspace/guide/lifecycle.md +51 -0
  35. package/workspace/home-shot.js +38 -0
  36. package/workspace/lib/agent-roles.js +71 -0
  37. package/workspace/lib/board-premium.js +160 -3
  38. package/workspace/lib/board-trail.js +223 -0
  39. package/workspace/lib/engine/boards.js +15 -14
  40. package/workspace/lib/engine/nine-stages.js +49 -20
  41. package/workspace/lib/engine/signals/detectors.js +13 -11
  42. package/workspace/lib/home-work-item.js +58 -0
  43. package/workspace/lib/insights-goals.js +196 -0
  44. package/workspace/lib/insights-premium.js +126 -1
  45. package/workspace/lib/insights-records.js +101 -0
  46. package/workspace/lib/jira-tickets.js +1 -1
  47. package/workspace/lib/route-modules.js +4 -0
  48. package/workspace/lib/routes-board-premium.js +3 -2
  49. package/workspace/lib/routes-board-trail.js +33 -0
  50. package/workspace/lib/routes-home-desk.js +176 -0
  51. package/workspace/lib/routes-initiatives.js +1 -1
  52. package/workspace/lib/routes-insights-premium.js +19 -3
  53. package/workspace/lib/routes-insights-records.js +129 -0
  54. package/workspace/lib/routes-notes.js +1 -0
  55. package/workspace/lib/routes-viewer.js +108 -0
  56. package/workspace/lib/transcript-steps.js +123 -0
  57. package/workspace/lib/vendor/scripts/nine-stages.js +49 -20
  58. package/workspace/lib/viewer-meeting.js +205 -0
  59. package/workspace/lib/viewer-report.js +89 -0
  60. package/workspace/package-lock.json +2 -2
  61. package/workspace/package.json +1 -1
  62. package/workspace/premium-agreed-viewer-shots.js +76 -0
  63. package/workspace/premium-board-actions-test.js +85 -73
  64. package/workspace/premium-briefing-depth-test.js +66 -53
  65. package/workspace/premium-chat-attach-test.js +54 -63
  66. package/workspace/premium-chat-chart-tab-test.js +35 -36
  67. package/workspace/premium-chat-context-test.js +22 -19
  68. package/workspace/premium-chat-goal-view-test.js +28 -26
  69. package/workspace/premium-chat-notes-test.js +29 -33
  70. package/workspace/premium-chat-report-tab-test.js +35 -25
  71. package/workspace/premium-chat-term-test.js +16 -14
  72. package/workspace/premium-chat-viewer-test.js +60 -53
  73. package/workspace/premium-core-doc-issue-test.js +50 -41
  74. package/workspace/premium-html-viewer-test.js +17 -18
  75. package/workspace/premium-phone-card-test.js +8 -2
  76. package/workspace/premium-phone-room-test.js +42 -31
  77. package/workspace/premium-report-read-test.js +115 -197
  78. package/workspace/premium-viewer-download-test.js +19 -22
  79. package/workspace/premium-viewer-flicker-test.js +11 -16
  80. package/workspace/premium-viewer-share-test.js +6 -9
  81. package/workspace/premium-viewer-test.js +41 -60
  82. package/workspace/premium-vw-backlog-test.js +53 -31
  83. package/workspace/premium-vw-cal-test.js +82 -123
  84. package/workspace/premium-vw-copy-test.js +17 -33
  85. package/workspace/premium-vw-doc-test.js +12 -11
  86. package/workspace/premium-vw-item-test.js +50 -48
  87. package/workspace/premium-vw-jira-test.js +55 -26
  88. package/workspace/premium-vw-meet-test.js +118 -187
  89. package/workspace/premium-vw-notes-test.js +85 -107
  90. package/workspace/premium-vw-rec-test.js +72 -193
  91. package/workspace/premium-vw-slides-test.js +46 -50
  92. package/workspace/premium-welcome-test.js +3 -2
  93. package/workspace/premium-work-depth-test.js +63 -51
  94. package/workspace/public/pm/bd-acts.js +305 -0
  95. package/workspace/public/pm/bd-span.js +224 -0
  96. package/workspace/public/pm/bd-stages.js +47 -0
  97. package/workspace/public/pm/c3-doc-sheet.js +1 -1
  98. package/workspace/public/pm/c3-md.js +3 -395
  99. package/workspace/public/pm/c3-phone-detail.js +1 -1
  100. package/workspace/public/pm/c3-phone-model.js +3 -68
  101. package/workspace/public/pm/chat-term.js +3 -3
  102. package/workspace/public/pm/cozy-board.css +640 -0
  103. package/workspace/public/pm/cozy-home.css +580 -0
  104. package/workspace/public/pm/cozy-home.js +172 -0
  105. package/workspace/public/pm/cozy-initiative.css +138 -0
  106. package/workspace/public/pm/cozy-insights.css +421 -0
  107. package/workspace/public/pm/cozy-md.js +396 -0
  108. package/workspace/public/pm/cozy-nav.js +65 -0
  109. package/workspace/public/pm/cozy-placeholder.js +26 -0
  110. package/workspace/public/pm/cozy-viewer.css +143 -0
  111. package/workspace/public/pm/cozy-viewer.js +144 -0
  112. package/workspace/public/pm/cozy-vw.css +485 -0
  113. package/workspace/public/pm/cozy.css +254 -0
  114. package/workspace/public/pm/home-adddoc.js +48 -0
  115. package/workspace/public/pm/home-app.js +905 -0
  116. package/workspace/public/pm/home-around.js +515 -0
  117. package/workspace/public/pm/home-chat.js +459 -0
  118. package/workspace/public/pm/home-data.js +312 -0
  119. package/workspace/public/pm/home-draft.js +68 -0
  120. package/workspace/public/pm/home-more.js +249 -0
  121. package/workspace/public/pm/home-phone-card.js +109 -0
  122. package/workspace/public/pm/home-work.js +519 -0
  123. package/workspace/public/pm/lifecycle-lens-model.js +45 -27
  124. package/workspace/public/pm/lifecycle-lens.js +22 -11
  125. package/workspace/public/pm/phone-moment.js +69 -0
  126. package/workspace/public/pm/pm-work-view.js +1 -1
  127. package/workspace/public/pm/premium-attach.js +4 -0
  128. package/workspace/public/pm/premium-board.js +544 -253
  129. package/workspace/public/pm/premium-brief.js +1 -1
  130. package/workspace/public/pm/premium-chart-tab.js +110 -62
  131. package/workspace/public/pm/premium-chat.js +17 -10
  132. package/workspace/public/pm/premium-deck.js +3 -3
  133. package/workspace/public/pm/premium-first.js +25 -21
  134. package/workspace/public/pm/premium-initiative-head.js +138 -0
  135. package/workspace/public/pm/premium-initiative.js +28 -4
  136. package/workspace/public/pm/premium-insights.js +950 -440
  137. package/workspace/public/pm/premium-meeting.js +61 -549
  138. package/workspace/public/pm/premium-notes.js +1 -1
  139. package/workspace/public/pm/premium-report-frame.css +20 -0
  140. package/workspace/public/pm/premium-report-read.js +509 -480
  141. package/workspace/public/pm/premium-report-tab.js +87 -63
  142. package/workspace/public/pm/premium-shell.js +107 -124
  143. package/workspace/public/pm/premium-viewer.js +27 -1
  144. package/workspace/public/pm/premium-vw-cal.js +187 -48
  145. package/workspace/public/pm/premium-vw-doc.css +6 -0
  146. package/workspace/public/pm/premium-vw-doc.js +40 -2
  147. package/workspace/public/pm/premium-vw-file.js +2 -2
  148. package/workspace/public/pm/premium-vw-jira-model.js +22 -5
  149. package/workspace/public/pm/premium-vw-jira.css +11 -0
  150. package/workspace/public/pm/premium-vw-jira.js +11 -4
  151. package/workspace/public/pm/premium-vw-meet.js +6 -83
  152. package/workspace/public/pm/premium-vw-mtg.js +731 -0
  153. package/workspace/public/pm/premium-vw-notes.js +56 -69
  154. package/workspace/public/pm/premium-vw-open.js +35 -0
  155. package/workspace/public/pm/premium-vw-page.js +16 -0
  156. package/workspace/public/pm/premium-vw-rec.js +11 -215
  157. package/workspace/public/pm/premium-vw-slides.css +5 -0
  158. package/workspace/public/pm/premium-vw-slides.js +44 -8
  159. package/workspace/public/pm/term-view.js +22 -0
  160. package/workspace/public/premium-board.html +57 -64
  161. package/workspace/public/premium-chat.html +7 -33
  162. package/workspace/public/premium-initiative.html +8 -41
  163. package/workspace/public/premium-insights.html +63 -62
  164. package/workspace/public/premium-viewer.html +20 -0
  165. package/workspace/public/premium-work.html +6 -72
  166. package/workspace/public/premium.html +21 -66
  167. package/workspace/public/vendor/nunito-var.woff2 +0 -0
  168. package/workspace/server.js +25 -3
  169. package/workspace/test-files.json +1 -0
  170. package/workspace/test-lists/home-libs.json +9 -0
  171. package/workspace/test-lists/premium-agreed-viewer.json +9 -0
  172. package/workspace/test-lists/premium-report-read.json +1 -1
  173. package/workspace/test-lists/premium-vw-agreed.json +9 -0
  174. package/workspace/test-lists/premium-vw-notes.json +1 -1
  175. package/workspace/third-party/README.md +1 -0
  176. package/workspace/public/pm/premium-work.js +0 -719
  177. package/workspace/public/pm/premium.js +0 -1133
@@ -5,74 +5,75 @@
5
5
  <meta name="pmos-nonce" content="" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
7
7
  <title>PMOS · Insights</title>
8
- <!-- The premium Insights (initiative briefing-premium-insights, slice 9; insights-one-list puts the insight first, the pinned dashboard on top and one paged list below). The fourth place on the rail, in the Briefing's shell. It reads GET /api/insights-premium, built from the KR metric records and the report files the console's Reports tab reads, and GET /api/board-metrics-premium for the Board measures card, whose one press sets a target (POST /api/board-metric-targets/save). -->
9
- <link rel="preload" href="/vendor/geist-var.woff2" as="font" type="font/woff2" crossorigin />
10
- <link rel="stylesheet" href="/pm/premium.css" />
11
- <link rel="stylesheet" href="/pm/premium-wide.css" />
12
- <link rel="stylesheet" href="/pm/premium-insights.css" />
8
+ <!-- The premium Insights in the Agreed design (initiative premium-agreed-design, G1 and G2; before it briefing-premium-insights and insights-one-list).
9
+ One bar: the product picker, the tabs Goals, Outcomes and Library, the view, the period and the icon tools. No page header; the floating place menu
10
+ (pm/cozy-nav.js) replaces the rail. It reads GET /api/insights-premium (the KR metric records, the board's initiatives, the report files and setups)
11
+ and GET /api/board-metrics-premium for the Delivery trends tiles, whose one press sets a target (POST /api/board-metric-targets/save). -->
12
+ <link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
13
+ <link rel="stylesheet" href="/pm/cozy.css" />
14
+ <link rel="stylesheet" href="/pm/cozy-insights.css" />
13
15
  </head>
14
- <body>
15
- <div class="sky"><i class="a"></i><i class="b"></i><i class="c"></i></div>
16
- <nav class="rail glass" aria-label="Places">
17
- <i class="ind"></i>
18
- <button class="pl" data-go="brief"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg>Briefing</button>
19
- <button class="pl" data-go="work"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3"/><path d="m8.5 12 2.5 2.5 4.5-5"/></svg>My work</button>
20
- <button class="pl pchat" data-go="chat" aria-label="Chat" title="Chat"><span class="orb"><svg class="i" viewBox="0 0 24 24"><path d="M4 5h16v11h-9l-5 4v-4H4z"/><path d="M12 7.6l.8 1.9 1.9.8-1.9.8-.8 1.9-.8-1.9-1.9-.8 1.9-.8z"/></svg><i class="cdot" hidden></i></span>Chat</button>
21
- <button class="pl" data-go="init"><svg class="i" viewBox="0 0 24 24"><path d="M12 3 3 8l9 5 9-5z"/><path d="m3 13 9 5 9-5"/></svg>Board</button>
22
- <button class="pl" data-go="rep" aria-current="page"><svg class="i" viewBox="0 0 24 24"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg>Insights</button>
23
- </nav>
16
+ <body class="cz">
17
+ <!-- Insights has no dialog, dock or veil of the old shell: pm/premium-shell.js binds to a detached copy when #dlg is absent, and a report opens in
18
+ the Viewer card (pm/cozy-viewer.js). The floating place menu (pm/cozy-nav.js) is the page's navigation; there is no rail. The toast is the shell's. -->
19
+ <div class="ins-toast" id="toast" role="status" aria-live="polite"></div>
24
20
 
25
- <div class="dock glass" id="dock" inert><span class="nm">Insights</span><span class="sep"></span><span class="cnt"><b id="dN">·</b><span id="dLab">need a look</span></span><span class="sep hide-s"></span><span class="pl2 hide-s" id="dNext"></span><span class="sp"></span><button class="round" id="theme2" aria-label="Switch light or dark" style="width:44px;height:44px"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
26
- <div class="veil" id="veil"></div>
27
- <div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
28
- <div class="grab"></div>
29
- <div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
30
- <div class="dtools"><button class="round dx2" id="dPane" aria-label="Hide the conversation" aria-pressed="true" title="Hide the conversation"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="M9 4v16"/></svg></button><button class="round dx2" id="dExpand" aria-label="Full screen" aria-pressed="false" title="Full screen"><svg class="i" viewBox="0 0 24 24"><path id="dExpP" d="M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7"/></svg></button><button class="round dx2" id="dClose" aria-label="Close"><svg class="i" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></div>
31
- <div class="dtabs" id="dTabs"><div class="seg" role="group" aria-label="Sections"><i class="pill"></i><button data-t="out" aria-pressed="true">Detail</button><button data-t="chat" aria-pressed="false">Conversation</button></div></div>
32
- <div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
33
- <section class="pane p-out" id="dOut" aria-label="Detail"><div class="otop"><span class="ol" id="oLab">Detail</span></div><div class="obody" id="oMain"></div><div class="tabhint"><span>The action is on the Conversation tab.</span><button type="button" id="tabGo">Open it</button></div></section></div>
34
- </div>
35
- <div class="toast glass" id="toast" role="status"></div>
36
- <main class="stage" id="stage">
37
- <header class="top rise" style="--d:0">
38
- <h1 class="vh">Insights</h1><div id="crumbHost"></div>
39
- <div class="tools tools-top"><span class="vh" id="snap">Reading the records</span></div>
40
- </header>
41
- <section class="hero ins-hero rise" style="--d:2" id="insHero" aria-label="Insight">
42
- <p class="ieye" id="insEye"></p>
43
- <p class="brief ihead" id="brief" aria-live="polite"></p>
44
- <p class="iwhy" id="insWhy"></p>
45
- <ul class="imore" id="insMore"></ul>
46
- <div class="iact" id="insAct"></div>
47
- <p class="note inote" id="insNote"></p>
48
- </section>
49
- <section class="card pdcard rise" style="--d:5" id="cDash" aria-labelledby="hDash">
50
- <div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg></span><h2 id="hDash">Dashboard</h2><button type="button" class="infob" id="dashAboutB" aria-controls="dashAbout" aria-expanded="false" aria-label="About this dashboard" title="About this dashboard"><i aria-hidden="true">i</i></button><i class="ptag" id="dashTag"></i><small id="dashCap"></small><span class="dmw"><button type="button" class="round dmore" id="dashMore" aria-haspopup="true" aria-expanded="false" aria-controls="dashBar" aria-label="More for this dashboard" title="More" hidden><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><circle cx="6" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="18" cy="12" r="1"/></svg></button><div class="nact pdbar dmenu glass" id="dashBar" role="group" aria-label="Dashboard actions" hidden></div></span></div>
51
- <div class="ifold" id="dashAbout" hidden><p class="note pdp" id="dashPurpose"></p></div>
52
- <div id="dashBody"></div>
21
+ <main class="cz-panel ins stage" id="stage">
22
+ <h1 class="vh">Insights</h1>
23
+ <div class="ins-bar" id="insBar">
24
+ <span class="ins-mw ins-pkw"><button type="button" class="cz-pick" id="prodPick" aria-haspopup="menu" aria-expanded="false" aria-controls="prodMenu" aria-label="Switch product"><span id="prodName">pmos</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu" id="prodMenu" role="menu" aria-label="Products" hidden></div></span>
25
+ <span class="ins-ttl" aria-hidden="true">Insights</span>
26
+ <div class="cz-tabs ins-tabs" role="tablist" aria-label="Insights">
27
+ <button type="button" role="tab" class="cz-tab" id="tabGoals" data-tab="goals" aria-controls="pGoals" aria-selected="true">Goals <span class="n" id="nGoals"></span></button>
28
+ <button type="button" role="tab" class="cz-tab" id="tabOutcomes" data-tab="outcomes" aria-controls="pOutcomes" aria-selected="false" tabindex="-1">Outcomes <span class="n" id="nOutcomes"></span></button>
29
+ <button type="button" role="tab" class="cz-tab" id="tabLibrary" data-tab="library" aria-controls="pLibrary" aria-selected="false" tabindex="-1">Library <span class="n" id="repCap"></span></button>
30
+ </div>
31
+ <span class="cz-vr ins-vw"></span>
32
+ <span class="ins-mw ins-vw"><button type="button" class="cz-chip gh" id="viewChip" aria-haspopup="menu" aria-expanded="false" aria-controls="viewMenu">View: <b id="viewName">All goals</b><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu" id="viewMenu" role="menu" aria-label="Views" hidden></div></span>
33
+ <div class="cz-tools ins-tools">
34
+ <span class="ins-mw ins-perw"><button type="button" class="cz-chip" id="perChip" aria-haspopup="menu" aria-expanded="false" aria-controls="perMenu"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 6h16v14H4zM4 10h16M9 3v4M15 3v4"/></svg><b id="perName">Q4</b><span class="ins-perd" id="perSub"></span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu ins-permenu" id="perMenu" role="menu" aria-label="Period" hidden></div></span>
35
+ <span class="cz-vr ins-dk"></span>
36
+ <button type="button" class="cz-ib" id="findB" aria-expanded="false" aria-controls="findRow" aria-label="Find a goal, initiative or report" title="Find a goal, initiative or report"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M11 4a7 7 0 1 0 0 14a7 7 0 1 0 0-14M20 20l-4-4"/></svg></button>
37
+ <span class="ins-mw ins-dk"><button type="button" class="cz-ib" id="filtB" aria-haspopup="menu" aria-expanded="false" aria-controls="filtMenu" aria-label="Filter by objective, owner, type or lane" title="Filter by objective, owner, type or lane"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><i class="ins-fdot" id="filtDot" hidden></i></button><div class="ins-menu ins-right" id="filtMenu" role="menu" aria-label="Filter" hidden></div></span>
38
+ <span class="ins-mw"><button type="button" class="cz-ib solid" id="newB" aria-haspopup="menu" aria-expanded="false" aria-controls="newMenu" aria-label="New goal, dashboard or chart" title="New goal, dashboard or chart"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button><div class="ins-menu ins-right" id="newMenu" role="menu" aria-label="New" hidden>
39
+ <button type="button" role="menuitem" data-new="goal">New goal<small>A number PMOS reads, with a target and a date</small></button>
40
+ <button type="button" role="menuitem" data-new="dash">New dashboard<small>Pick goals in the table, then save them as a view</small></button>
41
+ <button type="button" role="menuitem" data-new="chart">New chart<small>One goal drawn one way, on a dashboard</small></button>
42
+ </div></span>
43
+ <span class="ins-mw ins-dk"><button type="button" class="cz-ib" id="moreB" aria-haspopup="menu" aria-expanded="false" aria-controls="moreMenu" aria-label="More: sources, export, about these numbers" title="More: sources, export, about these numbers"><svg viewBox="0 0 24 24" aria-hidden="true" stroke-width="3"><path d="M5 12h.01M12 12h.01M19 12h.01"/></svg></button><div class="ins-menu ins-right" id="moreMenu" role="menu" aria-label="More" hidden>
44
+ <button type="button" role="menuitem" data-more="sources">Sources<small>What this page reads, and what it could not read</small></button>
45
+ <button type="button" role="menuitem" data-more="export">Export<small>The goals as a CSV file</small></button>
46
+ <button type="button" role="menuitem" data-more="about">About these numbers<small>Where each number comes from</small></button>
47
+ </div></span>
48
+ </div>
49
+ </div>
50
+ <div class="ins-find" id="findRow" hidden><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M11 4a7 7 0 1 0 0 14a7 7 0 1 0 0-14M20 20l-4-4"/></svg><input id="findIn" maxlength="120" autocomplete="off" placeholder="Find a goal, initiative or report" aria-label="Find a goal, initiative or report"><button type="button" class="cz-ib" id="findX" aria-label="Clear and close the search" title="Clear and close"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
51
+
52
+ <!-- Goals (AgInsGoals; the cards on a phone are AgInsPhone) -->
53
+ <section class="ins-pane" id="pGoals" role="tabpanel" aria-labelledby="tabGoals">
54
+ <div class="ins-strip" id="insHero"><span class="sp" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z"/></svg></span><p class="t" id="insText" aria-live="polite"><b id="insEye"></b> <span id="brief">Reading the records.</span> <span id="insWhy"></span></p><a class="cz-chip gh" id="askWhy" href="/premium.html?ask=insights"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z"/></svg>Ask why</a></div>
55
+ <div class="ins-tbl" id="goalTbl" role="table" aria-label="Goals"></div>
56
+ <div class="ins-cards" id="goalCards" role="list" aria-label="Goals"></div>
53
57
  </section>
54
- <section class="card nrep rise" style="--d:6" id="cRep" aria-labelledby="hRep">
55
- <div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><path d="M4 6h16M4 12h16M4 18h10"/></svg></span><h2 id="hRep">Dashboards and reports</h2><small id="repCap"></small><span class="lfw"><button type="button" class="lfchip" id="listF" aria-haspopup="true" aria-expanded="false" aria-controls="listSeg" hidden></button><span class="lfmenu glass" id="listSeg" role="group" aria-label="Show" hidden></span></span></div>
56
- <div id="repBody"></div>
57
- <div class="lpager" id="listPager"></div>
58
- <form class="nrpill" id="repAsk">
59
- <span class="newm"><button class="nrplus" type="button" id="listNew" aria-haspopup="menu" aria-expanded="false" aria-controls="listMenu" aria-label="New dashboard or report" title="New"><svg class="i" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg></button>
60
- <span class="lmenu" id="listMenu" role="menu" hidden><button type="button" role="menuitem" id="pdNew">Dashboard</button><button type="button" role="menuitem" id="repNew">Report</button></span></span>
61
- <input id="repAskIn" maxlength="500" autocomplete="off" placeholder="Ask PMOS to set up a report" aria-label="Ask PMOS to set up a report">
62
- <button class="nrgo" id="repAskGo" type="submit" aria-label="Ask" title="Ask"><svg class="i" viewBox="0 0 24 24"><path d="M12 19V5M6 11l6-6 6 6"/></svg></button>
63
- </form>
64
- <p class="note nask-n nrline">Only proposes. Nothing is set up until you press Set it up. <button type="button" class="infob" aria-controls="repFold" aria-expanded="false" aria-label="About reports and the pin" title="About reports and the pin"><i aria-hidden="true">i</i></button></p>
65
- <div class="ifold" id="repFold" hidden><p class="mhint">Ask starts a background run that only proposes a report. A report is a file in the repository. PMOS drafts it, you read it. <b>Nothing is sent from here.</b> The pin puts one dashboard at the top of this page. It shows nowhere else. Open a report to read it, edit its words or issue a draft.</p></div>
58
+
59
+ <!-- Outcomes (AgInsOutcomes): shipped work against what it promised -->
60
+ <section class="ins-pane" id="pOutcomes" role="tabpanel" aria-labelledby="tabOutcomes" hidden>
61
+ <div class="ins-strip"><span class="sp" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z"/></svg></span><p class="t" id="outText"></p></div>
62
+ <div class="ins-tbl" id="outTbl" role="table" aria-label="Outcomes"></div>
66
63
  </section>
67
- <section class="card rise" style="--d:7" id="cBm" aria-labelledby="hBm" hidden>
68
- <div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg></span><h2 id="hBm">Board measures</h2><button type="button" class="infob" aria-controls="bmFold" aria-expanded="false" aria-label="About the Board measures" title="About the Board measures"><i aria-hidden="true">i</i></button><small id="bmCap"></small><div class="seg mper" id="bmRange" role="group" aria-label="Range"><i class="pill"></i><button data-w="8" aria-pressed="true">8 weeks</button><button data-w="26" aria-pressed="false">26 weeks</button><button data-w="52" aria-pressed="false">52 weeks</button></div></div>
69
- <p class="ilead" id="bmLead" hidden></p>
70
- <div class="ifold" id="bmFold" hidden><p class="mhint" id="bmHint"></p><p class="note" id="bmNote"></p></div>
71
- <div class="bt2 ibt" id="bmBody"></div>
64
+
65
+ <!-- Library (AgInsLibrary): reports, then dashboards. Reports are made in Home. -->
66
+ <section class="ins-pane" id="pLibrary" role="tabpanel" aria-labelledby="tabLibrary" hidden>
67
+ <div class="ins-lbar"><span class="ins-chips" id="listSeg" role="group" aria-label="Show"></span><span class="cz-vr"></span><button type="button" class="cz-chip gh" id="sugB" hidden></button><span class="note ins-lnote">Reports are made in Home, in Product. This list opens them in the reader.</span></div>
68
+ <div id="repBody"></div>
72
69
  </section>
73
- <div class="footi"><button type="button" class="infob wide" aria-controls="footFold" aria-expanded="false" aria-label="About this page" title="About this page"><i aria-hidden="true">i</i><span>About this page</span></button></div>
74
- <div class="ifold" id="footFold" hidden><p class="foot" id="foot">Charts read the KR metric records of this workspace and never invent a number. A press here records only what it says: a dashboard or a chart in the workspace's state folder, a report setup, request or dismissal in the report ledger, or a report's look in its design folder. The Board measures card counts the Board's four measures from the repository, over 8, 26 or 52 weeks; a target set there is saved in the workspace's state folder and drawn on the Board too. Left out: any measure no record holds. Nothing is sent from this page.</p></div>
75
70
  </main>
71
+
72
+ <aside class="ins-side" id="side" role="dialog" aria-modal="false" aria-labelledby="sideTitle" tabindex="-1" hidden>
73
+ <div class="ins-sh"><div><p class="ins-eye" id="sideEye"></p><h2 id="sideTitle"></h2></div><span class="ins-st" id="sideTools"></span><button type="button" class="cz-ib" id="sideX" aria-label="Close" title="Close"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
74
+ <div class="ins-sb" id="sideBody"></div>
75
+ <div class="ins-sf"><p class="note" id="sideNote"></p><p class="note ins-sm" id="sideMsg" role="status"></p><span class="ins-sa" id="sideAct"></span></div>
76
+ </aside>
76
77
  <noscript>This page needs JavaScript.</noscript>
77
78
  <script type="module" src="/pm/premium-insights.js"></script>
78
79
  </body>
@@ -0,0 +1,20 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="pmos-nonce" content="" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
7
+ <title>PMOS · Viewer</title>
8
+ <!-- The Viewer on its own page (initiative premium-agreed-design, area viewer). It is the address "Open in a new tab" gives an item:
9
+ ?open=meeting&note=<id> or &event=<id>&date=YYYY-MM-DD, ?open=calendar, ?open=notes, ?open=report&path=reports/<cadence>/<date>.md,
10
+ each with an optional &ws=. The item opens in the same Viewer card Home shows (cozy-viewer.js), here as the whole page. -->
11
+ <link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
12
+ <link rel="stylesheet" href="/pm/cozy.css" />
13
+ <link rel="stylesheet" href="/pm/cozy-vw.css" />
14
+ </head>
15
+ <body class="cz vz-solo">
16
+ <main class="vz-host" data-cz-viewer-host></main>
17
+ <p class="vz-gone" id="vzGone" hidden>Nothing is open. <a href="/premium.html">Go to Home</a></p>
18
+ <script type="module" src="/pm/premium-vw-page.js"></script>
19
+ </body>
20
+ </html>
@@ -2,79 +2,13 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="pmos-nonce" content="" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
7
- <title>PMOS · My work</title>
8
- <!-- The premium My work (initiative briefing-premium-work, slice 4). The second place on the rail, in the Briefing's shell. It reads GET /api/my-work-premium, built from the list the Work page reads, and presses through the existing /api/pm-items routes. -->
9
- <link rel="preload" href="/vendor/geist-var.woff2" as="font" type="font/woff2" crossorigin />
10
- <link rel="stylesheet" href="/pm/premium.css" />
11
- <link rel="stylesheet" href="/pm/premium-wide.css" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>PMOS · Home</title>
7
+ <!-- premium-agreed-design H3: Home replaced this page. The server answers this address with a redirect to /premium.html and the same query;
8
+ this file only covers a copy served without that server. -->
9
+ <meta http-equiv="refresh" content="0; url=/premium.html" />
12
10
  </head>
13
11
  <body>
14
- <div class="sky"><i class="a"></i><i class="b"></i><i class="c"></i></div>
15
- <nav class="rail glass" aria-label="Places">
16
- <i class="ind"></i>
17
- <button class="pl" data-go="brief"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg>Briefing</button>
18
- <button class="pl" data-go="work" aria-current="page"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3"/><path d="m8.5 12 2.5 2.5 4.5-5"/></svg>My work</button>
19
- <button class="pl pchat" data-go="chat" aria-label="Chat" title="Chat"><span class="orb"><svg class="i" viewBox="0 0 24 24"><path d="M4 5h16v11h-9l-5 4v-4H4z"/><path d="M12 7.6l.8 1.9 1.9.8-1.9.8-.8 1.9-.8-1.9-1.9-.8 1.9-.8z"/></svg><i class="cdot" hidden></i></span>Chat</button>
20
- <button class="pl" data-go="init"><svg class="i" viewBox="0 0 24 24"><path d="M12 3 3 8l9 5 9-5z"/><path d="m3 13 9 5 9-5"/></svg>Board</button>
21
- <button class="pl" data-go="rep"><svg class="i" viewBox="0 0 24 24"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg>Insights</button>
22
- </nav>
23
-
24
- <div class="dock glass" id="dock" inert><span class="nm">My work</span><span class="sep"></span><span class="cnt"><b id="dN">·</b><span id="dLab">to clear</span></span><span class="sep hide-s"></span><span class="pl2 hide-s" id="dNext"></span><span class="sp"></span><button class="round" id="theme2" aria-label="Switch light or dark" style="width:44px;height:44px"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
25
- <div class="veil" id="veil"></div>
26
- <div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
27
- <div class="grab"></div>
28
- <div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
29
- <div class="dtools"><button class="round dx2" id="dPane" aria-label="Hide the conversation" aria-pressed="true" title="Hide the conversation"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="M9 4v16"/></svg></button><button class="round dx2" id="dExpand" aria-label="Full screen" aria-pressed="false" title="Full screen"><svg class="i" viewBox="0 0 24 24"><path id="dExpP" d="M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7"/></svg></button><button class="round dx2" id="dClose" aria-label="Close"><svg class="i" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></div>
30
- <div class="dtabs" id="dTabs"><div class="seg" role="group" aria-label="Sections"><i class="pill"></i><button data-t="out" aria-pressed="true">Detail</button><button data-t="chat" aria-pressed="false">Conversation</button></div></div>
31
- <div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
32
- <section class="pane p-out" id="dOut" aria-label="Detail"><div class="otop"><span class="ol" id="oLab">Detail</span></div><div class="obody" id="oMain"></div><div class="tabhint"><span>The action is on the Conversation tab.</span><button type="button" id="tabGo">Open it</button></div></section></div>
33
- </div>
34
- <div class="toast glass" id="toast" role="status"></div>
35
- <main class="stage" id="stage">
36
- <header class="top rise" style="--d:0">
37
- <h1 class="vh">My work</h1><div class="where"><span class="glass name" aria-hidden="true">My work</span></div>
38
- <div class="tools tools-top"><span class="vh" id="snap">Reading your list</span></div>
39
- </header>
40
- <section class="hero">
41
- <p class="date rise" style="--d:1" id="date"></p>
42
- <p class="brief rise" style="--d:2" id="brief" aria-live="polite"></p>
43
- </section>
44
- <form class="cap glass rise" style="--d:3" id="cap" autocomplete="off">
45
- <svg class="i" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></svg>
46
- <input id="capIn" placeholder="Add anything to your list" aria-label="Add an item to your list" maxlength="300">
47
- <button class="capb" type="submit" aria-label="Add it to your list" title="Add it to your list"><svg class="i" viewBox="0 0 24 24"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button>
48
- </form>
49
- <div class="tx rise" style="--d:4" id="tx"><span class="hint" id="capHint" aria-live="polite">One line. The date and priority are read from it, for example "Reply to Rina about SSO by Friday".</span></div>
50
- <section class="card rise" style="--d:5;margin-top:24px" id="queue" aria-labelledby="hQueue">
51
- <div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3"/><path d="M8 9h8M8 13h8M8 17h5"/></svg></span><h2 id="hQueue">Work queue</h2><small id="qCap"></small><span id="xFocus" class="xfo" role="group" aria-label="Focus today"></span></div>
52
- <div class="qbar"><div class="qtabs" id="qTabs" role="tablist" aria-label="Work queue"></div><button type="button" class="qmore" id="qMore" aria-haspopup="true" aria-expanded="false" aria-controls="qMenu">More<svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="m7 10 5 5 5-5"/></svg></button><div class="qmenu glass" id="qMenu" role="tablist" aria-label="More of the Work queue" hidden></div></div>
53
- <div class="tgrid" id="qBody" role="tabpanel" aria-labelledby="hQueue"></div>
54
- <p class="note" id="qNote" style="margin-top:14px"></p>
55
- </section>
56
- <div class="cols2" style="margin-top:24px">
57
- <div>
58
- <section class="card rise" style="--d:8" id="waitCard" aria-labelledby="hWait">
59
- <div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg></span><h2 id="hWait">Waiting on others</h2><small id="waitCap"></small></div>
60
- <div id="waitBody"></div>
61
- </section>
62
- </div>
63
- <div>
64
- <section class="card rise" style="--d:9" id="frCard" aria-labelledby="hFr">
65
- <div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="5" width="16" height="15" rx="3"/><path d="m8.5 13 2.5 2.5 4.5-5"/></svg></span><h2 id="hFr">Weekly review</h2><small id="frCap"></small></div>
66
- <div id="frBody"></div>
67
- </section>
68
- <section class="card rise" style="--d:9" id="revCard" aria-labelledby="hRev" hidden>
69
- <div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><path d="M4 12a8 8 0 0 1 14-5.3M20 12a8 8 0 0 1-14 5.3"/><path d="M18 3v4h-4M6 21v-4h4"/></svg></span><h2 id="hRev">Untouched</h2><small id="revCap"></small></div>
70
- <div class="revc"><p id="revTxt"></p><button id="revBtn" type="button">Look at them</button></div>
71
- </section>
72
- </div>
73
- </div>
74
- <div class="footi"><button type="button" class="infob wide" aria-controls="footFold" aria-expanded="false" aria-label="About this page" title="About this page"><i aria-hidden="true">i</i><span>About this page</span></button></div>
75
- <div class="ifold" id="footFold" hidden><p class="foot" id="foot">This page reads your list, the same one the Work page reads. It writes only when you press a button that says what it does, and each press uses the Work page's own route. Starting an agent from a list is not built here. The Kept and Done tabs show only your own items. Answers, ideas and reports an agent files on its own, effort figures and review timing need records PMOS does not hold yet. Jira and Slack items appear only when an agent session has read them.</p></div>
76
- </main>
77
- <noscript>This page needs JavaScript.</noscript>
78
- <script type="module" src="/pm/premium-work.js"></script>
12
+ <p>This page moved to <a href="/premium.html">Home</a>.</p>
79
13
  </body>
80
14
  </html>
@@ -4,11 +4,11 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="pmos-nonce" content="" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
7
- <title>PMOS · Briefing</title>
8
- <!-- The premium Briefing (initiative briefing-premium, slice 1). The default page (premium-default-page); the console is at /console.html.
9
- The rail's other three places open the matching console tab until their slices land. Slice 2 adds the PM's own presses (record a decision, put a row off, return a run, save a note); the page never writes on its own. -->
10
- <!-- Add to Home Screen: this is the default page, so it carries what the console carried. The manifest is fetched with credentials because over the
11
- tailnet every request needs the session cookie. -->
7
+ <title>PMOS · Home</title>
8
+ <!-- Home in the Agreed design (initiative premium-agreed-design, Home; mockup Main.dc.html place="work"). One desk: the list on the left, the chat
9
+ in the middle and the Viewer on the right. An initiative is a layout of this page (?ini=<id>): its card sits at the top of the list. On a phone
10
+ the chat is the page, and "N need you" in the top bar opens the list as a sheet. It replaces the Briefing, My work, Chat and the initiative
11
+ page; their addresses open it. The default page; the old console stays at /console.html and nothing here links to it. -->
12
12
  <link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials" />
13
13
  <meta name="theme-color" content="#090b0c" />
14
14
  <meta name="mobile-web-app-capable" content="yes" />
@@ -16,68 +16,23 @@
16
16
  <meta name="apple-mobile-web-app-title" content="PMOS" />
17
17
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
18
18
  <link rel="apple-touch-icon" href="/icons/apple-touch-icon.png" />
19
- <link rel="preload" href="/vendor/geist-var.woff2" as="font" type="font/woff2" crossorigin />
20
- <link rel="stylesheet" href="/pm/premium.css" />
21
- <link rel="stylesheet" href="/pm/premium-wide.css" />
19
+ <link rel="preload" href="/vendor/nunito-var.woff2" as="font" type="font/woff2" crossorigin />
20
+ <link rel="stylesheet" href="/pm/cozy.css" />
21
+ <link rel="stylesheet" href="/pm/cozy-home.css" />
22
22
  </head>
23
- <body>
24
- <div class="sky"><i class="a"></i><i class="b"></i><i class="c"></i></div>
25
- <nav class="rail glass" aria-label="Places">
26
- <i class="ind"></i>
27
- <button class="pl" data-go="brief" aria-current="page"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg>Briefing</button>
28
- <button class="pl" data-go="work"><svg class="i" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3"/><path d="m8.5 12 2.5 2.5 4.5-5"/></svg>My work</button>
29
- <button class="pl pchat" data-go="chat" aria-label="Chat" title="Chat"><span class="orb"><svg class="i" viewBox="0 0 24 24"><path d="M4 5h16v11h-9l-5 4v-4H4z"/><path d="M12 7.6l.8 1.9 1.9.8-1.9.8-.8 1.9-.8-1.9-1.9-.8 1.9-.8z"/></svg><i class="cdot" hidden></i></span>Chat</button>
30
- <button class="pl" data-go="init"><svg class="i" viewBox="0 0 24 24"><path d="M12 3 3 8l9 5 9-5z"/><path d="m3 13 9 5 9-5"/></svg>Board</button>
31
- <button class="pl" data-go="rep"><svg class="i" viewBox="0 0 24 24"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg>Insights</button>
32
- </nav>
33
-
34
- <div class="dock glass" id="dock" inert><span class="nm">Briefing</span><span class="sep"></span><span class="cnt"><b id="dN">·</b><span id="dLab">for you</span></span><span class="sep hide-s"></span><span class="pl2 hide-s" id="dNext"></span><span class="sp"></span><button class="round" id="theme2" aria-label="Switch light or dark" style="width:44px;height:44px"><svg class="i" viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z"/></svg></button></div>
35
- <div class="veil" id="veil"></div>
36
- <div class="dlg" id="dlg" role="dialog" aria-modal="true" aria-labelledby="dTitle" tabindex="-1" data-mode="split" inert>
37
- <div class="grab"></div>
38
- <div class="dhead"><div class="dht"><p class="label" id="dEye"></p><h2 id="dTitle"></h2><p class="dsub" id="dSub"></p></div>
39
- <div class="dtools"><button class="round dx2" id="dPane" aria-label="Hide the conversation" aria-pressed="true" title="Hide the conversation"><svg class="i" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="M9 4v16"/></svg></button><button class="round dx2" id="dExpand" aria-label="Full screen" aria-pressed="false" title="Full screen"><svg class="i" viewBox="0 0 24 24"><path id="dExpP" d="M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7"/></svg></button><button class="round dx2" id="dClose" aria-label="Close"><svg class="i" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div></div>
40
- <div class="dtabs" id="dTabs"><div class="seg" role="group" aria-label="Sections"><i class="pill"></i><button data-t="out" aria-pressed="true">Detail</button><button data-t="chat" aria-pressed="false">Conversation</button></div></div>
41
- <div class="dgrid" id="dGrid" data-tab="out"><section class="pane p-work" id="dBody" aria-label="Conversation"></section>
42
- <section class="pane p-out" id="dOut" aria-label="Detail"><div class="otop"><span class="ol" id="oLab">Detail</span></div><div class="obody" id="oMain"></div><div class="tabhint"><span>The action is on the Conversation tab.</span><button type="button" id="tabGo">Open it</button></div></section></div>
43
- </div>
44
- <div class="toast glass" id="toast" role="status"></div>
45
- <main class="stage" id="stage">
46
- <header class="top rise" style="--d:0">
47
- <h1 class="vh">Briefing</h1><div class="where"><span class="glass name" aria-hidden="true">Briefing</span></div>
48
- <div class="tools tools-top"><span class="vh" id="snap">Reading the repository</span>
49
- <span id="pkPark" hidden><span class="pkw" id="pkw" hidden><button class="fchip" id="pick" aria-haspopup="menu" aria-expanded="false" aria-controls="pickMenu">Products<em id="pickN"></em></button><div class="crmenu pkmenu" id="pickMenu" role="menu" hidden></div></span></span></div>
50
- </header>
51
- <section class="hero">
52
- <p class="date rise" style="--d:1" id="date"></p>
53
- <p class="brief rise" style="--d:2" id="brief" aria-live="polite"></p>
54
- <p class="rfline" id="rfLine" role="status" hidden></p>
55
- </section>
56
- <div class="cols2">
57
- <div>
58
- <section class="card rise" id="movesCard" style="--d:6" aria-labelledby="hMoves">
59
- <div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><path d="M5 12l4.5 4.5L19 7"/></svg></span><h2 id="hMoves">What you need to do</h2><small id="movesCap"></small></div>
60
- <div class="mprog" id="mprog" role="progressbar" aria-label="Done today" aria-valuemin="0" hidden><b></b></div>
61
- <div class="rank" id="rank"></div>
62
- <div class="calm" id="calm" hidden><i><svg class="i" viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></i><div><b>Nothing needs you right now.</b><small id="calmNext"></small></div></div>
63
- <p class="note" id="order" style="margin-top:14px"></p>
64
- <p class="note" id="putoff" hidden></p>
65
- </section>
66
- </div>
67
- <div>
68
- <section class="card rise" id="todayCard" style="--d:7" aria-labelledby="hToday">
69
- <div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg></span><h2 id="hToday">Calendar</h2><small id="todayCap"></small><div class="chm" id="calM"><button type="button" class="chmore" id="calMore" aria-haspopup="true" aria-expanded="false" aria-controls="calMenu" aria-label="Calendar options" title="Notes, sources and the full calendar"><svg class="i" viewBox="0 0 24 24"><circle cx="5" cy="12" r="1.6"/><circle cx="12" cy="12" r="1.6"/><circle cx="19" cy="12" r="1.6"/></svg></button><div class="chmenu" id="calMenu" hidden><button class="fbtn" data-opts="todayOpts" aria-expanded="false" aria-controls="todayOpts" aria-label="Filter sources"><svg class="i" viewBox="0 0 24 24"><path d="M4 7h9M17 7h3M4 17h3M11 17h9"/><circle cx="15" cy="7" r="2"/><circle cx="9" cy="17" r="2"/></svg><span>Filter sources</span></button></div></div></div>
70
- <div id="wkStrip"></div>
71
- <div class="prep" id="prep" hidden></div>
72
- <div class="opts" id="todayOpts" inert><div><div class="chips" id="srcChips" role="group" aria-label="Sources"></div></div></div>
73
- <div class="tl" id="tl" role="group" aria-label="Today. Use the up and down arrow keys to move between rows."></div>
74
- </section>
75
- </div>
76
- </div>
77
- <div class="footi"><button type="button" class="infob wide" aria-controls="footFold" aria-expanded="false" aria-label="About this page" title="About this page"><i aria-hidden="true">i</i><span>About this page</span></button></div>
78
- <div class="ifold" id="footFold" hidden><p class="foot" id="foot">This page reads the repository's records. It writes only when you press a button that says it records: a decision goes to pm-decisions.md, a returned run to the corrections ledger, a put-off row and a note to the workspace's state folder. It keeps its last answer in the workspace's state folder, so a reload is quick. Counts come from derived state at the time shown above.</p></div>
23
+ <body class="cz cz-home">
24
+ <header class="hm-top" id="hmTop">
25
+ <div class="hm-top-t"><b id="hmTopTitle">Home</b><span id="hmTopSub"></span></div>
26
+ <button type="button" class="hm-needs" id="hmNeeds" aria-controls="hmList" aria-expanded="false"><i aria-hidden="true"></i><span id="hmNeedsN">Reading</span></button>
27
+ <button type="button" class="hm-ib" id="hmMoreP" aria-haspopup="menu" aria-label="More" title="More"><svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="6" cy="12" r="1.4"/><circle cx="12" cy="12" r="1.4"/><circle cx="18" cy="12" r="1.4"/></svg></button>
28
+ </header>
29
+ <main class="hm-desk" id="hmDesk">
30
+ <aside class="hm-list" id="hmList" aria-label="Sessions"></aside>
31
+ <section class="hm-chat" id="hmChat" aria-label="Conversation"></section>
32
+ <div class="hm-vw" data-cz-viewer-host></div>
79
33
  </main>
80
- <noscript>This page needs JavaScript.</noscript>
81
- <script type="module" src="/pm/premium.js"></script>
34
+ <div class="hm-menu" id="hmMenu" role="menu" aria-label="More" hidden></div>
35
+ <div class="hm-toast" id="toast" role="status" aria-live="polite"></div>
36
+ <script type="module" src="/pm/home-app.js"></script>
82
37
  </body>
83
38
  </html>
@@ -3208,6 +3208,9 @@ function sessionConversation(s) {
3208
3208
  // held back shows on the next poll even when the file has not moved since
3209
3209
  const h = transcriptHarness(s) || {};
3210
3210
  const out = { ...c, turn: h.turn || null, openCall: h.openCall ? h.openCall.verb : null, model: h.model || null };
3211
+ // premium-agreed-design (Home): the agent's own step list (TodoWrite) and the open call as a change, re-read only when the file moved
3212
+ if (!(s.stepsRead && s.stepsStamp === stamp)) { s.stepsRead = require('./lib/transcript-steps.js').readSteps(found.file, scrub, s.root); s.stepsStamp = stamp; }
3213
+ out.steps = s.stepsRead.steps; out.stepsAt = s.stepsRead.stepsAt; out.change = out.turn === 'tool' ? s.stepsRead.change : null;
3211
3214
  // the prompt is on the screen, not in the transcript: read it only while a tool call is open
3212
3215
  const ask = out.turn === 'tool' ? paneAsk(s) : null;
3213
3216
  return ask ? { ...out, ask } : out;
@@ -3405,6 +3408,9 @@ function sessionList() {
3405
3408
  initiative: 'initiative' in s ? (s.initiative == null ? null : s.initiative) : null,
3406
3409
  attributed_by: 'initiative' in s ? (s.attributedBy || null) : null,
3407
3410
  work_type: s.workType || null,
3411
+ // premium-agreed-design (Home): the skill that started the session, and the role name the chat shows for it (lib/agent-roles.js; "Claude" when none)
3412
+ skill: (s.modelAsk && s.modelAsk.skill) || null,
3413
+ role: require('./lib/agent-roles.js').roleOf({ skill: s.modelAsk && s.modelAsk.skill, origin: s.origin }),
3408
3414
  profile_id: 'profile' in s ? (s.profile == null ? null : s.profile) : null,
3409
3415
  profile_line: profilesLib.profileLine(
3410
3416
  !('profile' in s) ? undefined
@@ -6410,16 +6416,30 @@ async function handleRequest(req, res) {
6410
6416
  // for itself still lands in the console. The older shell (public/index.html) stays at '/classic.html'.
6411
6417
  // ROLLBACK, one line: change the final 'premium.html' in the readFile name chain below to 'c3.html' and delete the '/c3.html'
6412
6418
  // redirect block above.
6419
+ // premium-agreed-design H3: Home replaced the Briefing, My work and Chat. My work and Chat open Home with their own query, so an
6420
+ // ?item=, ?about=, ?open= or ?say= link still lands on what it named.
6421
+ if (p === '/premium-work' || p === '/premium-work.html' || p === '/premium-chat' || p === '/premium-chat.html') {
6422
+ res.writeHead(302, { Location: '/premium.html' + url.search, 'Cache-Control': 'no-store' });
6423
+ return res.end();
6424
+ }
6425
+ // premium-agreed-design (Home): the initiative is a layout inside Home. ?id=<x> becomes ?ini=<x>; the other query keys go along.
6426
+ if (p === '/premium-initiative' || p === '/premium-initiative.html') {
6427
+ const q = new URLSearchParams(url.search);
6428
+ if (q.has('id')) { q.set('ini', q.get('id')); q.delete('id'); }
6429
+ const s = q.toString();
6430
+ res.writeHead(302, { Location: '/premium.html' + (s ? '?' + s : ''), 'Cache-Control': 'no-store' });
6431
+ return res.end();
6432
+ }
6413
6433
  if (p === '/c3.html' || p === '/c3') {
6414
6434
  res.writeHead(302, { Location: (url.search ? '/console.html' : '/premium.html') + url.search, 'Cache-Control': 'no-store' });
6415
6435
  return res.end();
6416
6436
  }
6417
- if (p === '/' || p === '/index.html' || p === '/console' || p === '/console.html' || p === '/classic' || p === '/classic.html' || p === '/welcome' || p === '/welcome.html' || p === '/premium' || p === '/premium.html' || p === '/premium-work' || p === '/premium-work.html' || p === '/premium-board' || p === '/premium-board.html' || p === '/premium-initiative' || p === '/premium-initiative.html' || p === '/premium-insights' || p === '/premium-insights.html' || p === '/premium-welcome' || p === '/premium-welcome.html' || p === '/premium-chat' || p === '/premium-chat.html') {
6437
+ if (p === '/' || p === '/index.html' || p === '/console' || p === '/console.html' || p === '/classic' || p === '/classic.html' || p === '/welcome' || p === '/welcome.html' || p === '/premium' || p === '/premium.html' || p === '/premium-work' || p === '/premium-work.html' || p === '/premium-board' || p === '/premium-board.html' || p === '/premium-initiative' || p === '/premium-initiative.html' || p === '/premium-insights' || p === '/premium-insights.html' || p === '/premium-welcome' || p === '/premium-welcome.html' || p === '/premium-chat' || p === '/premium-chat.html' || p === '/premium-viewer' || p === '/premium-viewer.html') {
6418
6438
  // pm-os-absorb Run 2 (R25, X11): the per-launch nonce goes into the base meta line, nowhere else. no-store, so a
6419
6439
  // restarted server never answers a press from a page that holds the previous launch's value. The page code is
6420
6440
  // referenced under this launch's build prefix.
6421
6441
  const n = pmGuard.launchNonce();
6422
- return fs.readFile(path.join(PUB, (p === '/classic' || p === '/classic.html') ? 'index.html' : (p === '/welcome' || p === '/welcome.html') ? 'welcome.html' : (p === '/premium' || p === '/premium.html') ? 'premium.html' : (p === '/premium-work' || p === '/premium-work.html') ? 'premium-work.html' : (p === '/premium-board' || p === '/premium-board.html') ? 'premium-board.html' : (p === '/premium-initiative' || p === '/premium-initiative.html') ? 'premium-initiative.html' : (p === '/premium-insights' || p === '/premium-insights.html') ? 'premium-insights.html' : (p === '/premium-welcome' || p === '/premium-welcome.html') ? 'premium-welcome.html' : (p === '/premium-chat' || p === '/premium-chat.html') ? 'premium-chat.html' : (p === '/console' || p === '/console.html') ? 'c3.html' : 'premium.html'), 'utf8', (err, html) => {
6442
+ return fs.readFile(path.join(PUB, (p === '/classic' || p === '/classic.html') ? 'index.html' : (p === '/welcome' || p === '/welcome.html') ? 'welcome.html' : (p === '/premium' || p === '/premium.html') ? 'premium.html' : (p === '/premium-work' || p === '/premium-work.html') ? 'premium-work.html' : (p === '/premium-board' || p === '/premium-board.html') ? 'premium-board.html' : (p === '/premium-initiative' || p === '/premium-initiative.html') ? 'premium-initiative.html' : (p === '/premium-insights' || p === '/premium-insights.html') ? 'premium-insights.html' : (p === '/premium-welcome' || p === '/premium-welcome.html') ? 'premium-welcome.html' : (p === '/premium-chat' || p === '/premium-chat.html') ? 'premium-chat.html' : (p === '/premium-viewer' || p === '/premium-viewer.html') ? 'premium-viewer.html' : (p === '/console' || p === '/console.html') ? 'c3.html' : 'premium.html'), 'utf8', (err, html) => {
6423
6443
  if (err) { res.writeHead(404); res.end('not found'); return; }
6424
6444
  let out = withBuild(html);
6425
6445
  if (n) out = out.replace('<meta name="' + pmGuard.NONCE_META + '" content="" />', '<meta name="' + pmGuard.NONCE_META + '" content="' + n + '" />');
@@ -6506,6 +6526,7 @@ async function handleRequest(req, res) {
6506
6526
  // because the terminal renders bold — with only the regular face the browser synthesises it.
6507
6527
  if (p === '/vendor/space-grotesk-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'space-grotesk-var.woff2'));
6508
6528
  if (p === '/vendor/geist-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'geist-var.woff2'));
6529
+ if (p === '/vendor/nunito-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'nunito-var.woff2')); // the Agreed design's face (premium-agreed-design)
6509
6530
  if (p === '/vendor/geist-mono-var.woff2') return serveFile(res, path.join(PUB, 'vendor', 'geist-mono-var.woff2'));
6510
6531
  if (p === '/vendor/ibm-plex-mono-400.woff2') return serveFile(res, path.join(PUB, 'vendor', 'ibm-plex-mono-400.woff2'));
6511
6532
  // 500 joined 400/700 with the four-panel design, whose section labels and pills are medium-weight
@@ -7250,7 +7271,8 @@ async function handleRequest(req, res) {
7250
7271
  }
7251
7272
  const c = sessionConversation(sess);
7252
7273
  return json(res, { ok: true, id: sess.id, agent: sess.agent, messages: c.messages, state: c.state || null, missing: c.missing || null, turn: c.turn || null,
7253
- openCall: c.openCall || null, model: c.model || null, ask: c.ask || null, stamp: c.stamp || null });
7274
+ openCall: c.openCall || null, model: c.model || null, ask: c.ask || null, stamp: c.stamp || null,
7275
+ steps: c.steps || null, stepsAt: c.stepsAt || null, change: c.change || null });
7254
7276
  }
7255
7277
  if (p === '/api/sessions/transcript' && req.method === 'GET') {
7256
7278
  const sess = sessions.get(String(url.searchParams.get('id') || ''));
@@ -45,6 +45,7 @@
45
45
  "chat-file-locate.test.js",
46
46
  "briefing-premium-work.test.js",
47
47
  "briefing-premium-board.test.js",
48
+ "board-trail.test.js",
48
49
  "briefing-premium-insights.test.js",
49
50
  "briefing-premium-initiative.test.js",
50
51
  "briefing-premium-adddoc.test.js",
@@ -0,0 +1,9 @@
1
+ {
2
+ "_comment": "premium-agreed-design: the server modules Home's chat reads (agent roles, transcript steps, Make a work-item). Pure, node.",
3
+ "modules": [
4
+ "home-libs.test.js"
5
+ ],
6
+ "seconds": {
7
+ "home-libs.test.js": 1
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "_comment": "Initiative premium-agreed-design, area viewer (I1): the pure header card of the premium initiative page. The page itself runs in briefing-premium-initiative-test.js; the Viewer's Jira ticket (V1) in premium-vw-jira*.",
3
+ "modules": [
4
+ "premium-initiative-head.test.js"
5
+ ],
6
+ "seconds": {
7
+ "premium-initiative-head.test.js": 1
8
+ }
9
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "_comment": "Initiative premium-report-read: a report document read on the premium Insights page (deck, page, Present, download, print) and its look (samples, design versions, This is it), against the real server on a scratch repository with a stub claude for the report-design job.",
2
+ "_comment": "Initiative premium-report-read, re-pointed for premium-agreed-design (area viewer): a report cycle read in the Viewer card (/premium-viewer.html?open=report): deck, page, Present, download, print, edit, issued, the writes, floors, issue and archive, against the real server on a scratch repository.",
3
3
  "seconds": {
4
4
  "premium-report-read-test.js": 60
5
5
  },
@@ -0,0 +1,9 @@
1
+ {
2
+ "_comment": "Initiative premium-agreed-design, area viewer: the meeting (prep, live, after), Calendar | Notes and the report panel in the czViewer card, the pure halves and the file-mode records behind them (lib/viewer-meeting.js, lib/viewer-report.js, lib/routes-viewer.js).",
3
+ "modules": [
4
+ "premium-vw-agreed.test.js"
5
+ ],
6
+ "seconds": {
7
+ "premium-vw-agreed.test.js": 2
8
+ }
9
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "_comment": "Initiative premium-viewer, R9: the Notes list in the premium dialog, a note opened beside it, and the note sheet's Before, During and After stages other views plug into.",
2
+ "_comment": "Initiative premium-viewer, R9; re-pointed for premium-agreed-design (area viewer): the Notes side of Calendar | Notes in the Viewer card (/premium-viewer.html?open=notes), grouped by initiative, a series as one row, search, a note opened in the card and Change what it is about.",
3
3
  "modules": [
4
4
  "premium-vw-notes.test.js"
5
5
  ],
@@ -51,6 +51,7 @@ Two binary font faces are vendored under `public/vendor/` for `public/premium.ht
51
51
  |---|---|---|---|
52
52
  | Geist (variable) | SIL Open Font License 1.1 | `public/vendor/geist-var.woff2` | `19f9c92546aa300c312235e3125af1b81394d8db9a4bc4a425cd5b641d2d54e1` |
53
53
  | Geist Mono (variable) | SIL Open Font License 1.1 | `public/vendor/geist-mono-var.woff2` | `684ad5b531f81d43c1e8c7038262d5db7cdc1f68006e04d6c7769efa8d33c8cc` |
54
+ | Nunito (variable, latin) | SIL Open Font License 1.1 | `public/vendor/nunito-var.woff2` | `ba344451eab25b217a165363b1982048a5e5830a0daf36577973955a04cac793` |
54
55
 
55
56
  The licences are in this folder: [geist-OFL.LICENSE](geist-OFL.LICENSE) and [geist-mono-OFL.LICENSE](geist-mono-OFL.LICENSE). The files are the ones in `prototype/premium-ux-concept/fonts/`.
56
57