create-pmos 0.536.0 → 0.538.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 (103) hide show
  1. package/package.json +81 -33
  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/state/discoveries.md +1 -1
  6. package/payload/state/log.md +1 -1
  7. package/workspace/board-columns-test.js +11 -10
  8. package/workspace/board-programs-test.js +27 -24
  9. package/workspace/board-publish-ui-test.js +19 -15
  10. package/workspace/board-shared-ui-test.js +16 -13
  11. package/workspace/board-workflows-test.js +26 -32
  12. package/workspace/briefing-premium-board-test.js +70 -50
  13. package/workspace/briefing-premium-insights-test.js +24 -31
  14. package/workspace/briefing-premium-metrics-test.js +2 -2
  15. package/workspace/calm-timeline-test.js +1 -1
  16. package/workspace/changelog.json +80 -0
  17. package/workspace/ev-everywhere-test.js +4 -5
  18. package/workspace/fixtures/board-premium-facts.js +1 -1
  19. package/workspace/fixtures/board-workflows-facts.js +7 -1
  20. package/workspace/fixtures/initiative-premium-facts.js +1 -1
  21. package/workspace/fixtures/insights-premium-facts.js +6 -6
  22. package/workspace/fixtures/program-ascent.js +1 -1
  23. package/workspace/guide/adler.md +2 -2
  24. package/workspace/guide/agent-capabilities.md +38 -6
  25. package/workspace/guide/board.md +20 -2
  26. package/workspace/guide/claude-proposes.md +1 -1
  27. package/workspace/guide/home.md +2 -2
  28. package/workspace/guide/index.md +3 -3
  29. package/workspace/guide/intelligence-okr-goals.md +18 -7
  30. package/workspace/guide/lifecycle.md +2 -2
  31. package/workspace/guide/programs.md +2 -2
  32. package/workspace/guide/reports-needs-you.md +5 -5
  33. package/workspace/guide/settings.md +14 -11
  34. package/workspace/guide/workflows.md +3 -3
  35. package/workspace/guide/your-impact.md +1 -1
  36. package/workspace/lib/agent-team.js +262 -0
  37. package/workspace/lib/ai-cli.js +36 -4
  38. package/workspace/lib/bg-queue.js +9 -4
  39. package/workspace/lib/board-premium.js +6 -3
  40. package/workspace/lib/goal-source.js +77 -0
  41. package/workspace/lib/grill-runs.js +6 -3
  42. package/workspace/lib/headless.js +36 -4
  43. package/workspace/lib/idle-lab-engine.js +7 -6
  44. package/workspace/lib/initiative-premium.js +6 -3
  45. package/workspace/lib/insights-premium.js +1 -1
  46. package/workspace/lib/job-graph.js +191 -0
  47. package/workspace/lib/okr-goals.js +3 -0
  48. package/workspace/lib/orchestrator-keeprate.js +108 -7
  49. package/workspace/lib/pmos-verbs.js +3 -0
  50. package/workspace/lib/proposal-runs.js +8 -5
  51. package/workspace/lib/proposals.js +32 -2
  52. package/workspace/lib/report-slots.js +14 -10
  53. package/workspace/lib/routes-boards.js +2 -2
  54. package/workspace/lib/routes-insights-premium.js +11 -4
  55. package/workspace/lib/routes-premium-dashboards.js +20 -6
  56. package/workspace/lib/routes-proposals.js +10 -5
  57. package/workspace/lib/routes-your-move.js +6 -7
  58. package/workspace/lib/status-proof.js +45 -0
  59. package/workspace/lib/status-signal.js +4 -2
  60. package/workspace/lib/task-links.js +3 -1
  61. package/workspace/lib/team-cli.js +164 -0
  62. package/workspace/lib/team-runs.js +244 -0
  63. package/workspace/lib/verify-runs.js +112 -0
  64. package/workspace/okr-goals-ui-test.js +10 -13
  65. package/workspace/package-lock.json +2 -2
  66. package/workspace/package.json +1 -1
  67. package/workspace/premium-vw-backlog-test.js +2 -2
  68. package/workspace/premium-vw-jira-test.js +2 -2
  69. package/workspace/public/pm/bd-acts.js +30 -45
  70. package/workspace/public/pm/bd-ini-panel.js +38 -27
  71. package/workspace/public/pm/bd-publish.js +1 -1
  72. package/workspace/public/pm/bd-span.js +2 -1
  73. package/workspace/public/pm/bd-views.js +7 -5
  74. package/workspace/public/pm/bd-wf.js +5 -28
  75. package/workspace/public/pm/c3-ini-ui.js +9 -7
  76. package/workspace/public/pm/cozy-board.css +75 -31
  77. package/workspace/public/pm/cozy-insights.css +18 -0
  78. package/workspace/public/pm/cozy-nav.js +2 -2
  79. package/workspace/public/pm/cozy-search.js +29 -7
  80. package/workspace/public/pm/cozy-settings.js +39 -20
  81. package/workspace/public/pm/home-data.js +3 -1
  82. package/workspace/public/pm/home-ini-model.js +15 -1
  83. package/workspace/public/pm/home-ini.js +9 -3
  84. package/workspace/public/pm/ini-tail.js +61 -0
  85. package/workspace/public/pm/ini-view-model.js +10 -7
  86. package/workspace/public/pm/premium-board.js +119 -119
  87. package/workspace/public/pm/premium-insights.js +95 -112
  88. package/workspace/public/pm/premium-report-intel.js +3 -2
  89. package/workspace/public/pm/readonly.js +4 -3
  90. package/workspace/public/pm/stage-chip.js +2 -1
  91. package/workspace/public/pm/status-proof.js +43 -0
  92. package/workspace/public/premium-board.html +14 -35
  93. package/workspace/public/premium-intelligence.html +7 -9
  94. package/workspace/server.js +35 -1
  95. package/workspace/sort-order-test.js +10 -8
  96. package/workspace/test-files.json +4 -2
  97. package/workspace/test-lists/agent-team.json +9 -0
  98. package/workspace/test-lists/job-graph.json +11 -0
  99. package/workspace/test-lists/status-proof.json +5 -0
  100. package/workspace/workflows-setup-test.js +3 -2
  101. package/workspace/public/premium-chat.html +0 -14
  102. package/workspace/public/premium-initiative.html +0 -15
  103. package/workspace/public/premium-work.html +0 -14
@@ -22,54 +22,33 @@
22
22
  are the side panel below (initiative premium-agreed-design). -->
23
23
  <main class="stage cz-panel bd-main" id="stage">
24
24
  <h1 class="vh">Board</h1>
25
- <!-- the toolbar (AgBoard): the product picker; the view toggle, Find, Filter, the bell, New initiative and ⋯. On a phone (AgBoardPhone):
26
- the picker, "Board", Find, Filter, one view button and New initiative (BdPhone). -->
25
+ <!-- the toolbar: seven controls (UI grill U2, 8 Nov), the same on a phone and a desktop: the product picker, the View chip (the four views; in
26
+ it the span and the Columns of the timeline, and Shared with me), the pill of what needs a look with its (i) (the legend, the sprints and
27
+ releases, the Jira read), Find (it opens Search, scoped to this Board), the tune button (Group, Sort and Filter), a quiet blue New and ⋯
28
+ (Publish a read-only copy, Cancelled and archived). Theme, Sources and Settings live in Settings, one press away in the place menu.
29
+ No workflow chips: the Board does not pick a workflow (bd-wf.js). -->
27
30
  <div class="bd-hd">
28
31
  <div id="crumbHost" class="bd-pickw"></div>
29
- <!-- a phone's span picker on the timeline (TsCPhone, TsCPhoneSpan): the span buttons become one picker beside the product picker -->
30
- <span class="bd-grpw2 bd-spw" id="bdSpanPick" hidden></span>
31
- <span class="bd-title" aria-hidden="true">Board</span>
32
+ <!-- the View chip: the four views, the span and the Columns on the timeline, Shared with me -->
33
+ <span class="bd-grpw2 bd-vieww" id="bdVieww"><button type="button" class="bd-chip bd-vbtn" id="bdView" aria-haspopup="true" aria-expanded="false" aria-controls="bdViewMenu" aria-label="View. Change view" title="View"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 6h11M9 12h11M9 18h11M4.5 6h.01M4.5 12h.01M4.5 18h.01"/></svg><svg class="bd-chv" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><span class="bd-grpm bd-viewm" id="bdViewMenu" role="group" aria-label="View" hidden></span></span>
34
+ <!-- what needs a look: one pill of dots and numbers, and its (i): the timeline's legend, the sprints and releases, the Jira read -->
35
+ <div class="bd-chipset" id="bdChipset"></div>
32
36
  <div class="bd-tools">
33
- <div class="bd-seg bd-views" id="ibTabs" role="group" aria-label="View">
34
- <button type="button" class="bd-ib" data-v="stages" aria-pressed="false" aria-label="By stage: a column for each stage" title="By stage: a column for each stage"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 4h4v16H4zM10 4h4v10h-4zM16 4h4v13h-4z"/></svg></button>
35
- <button type="button" class="bd-ib" data-v="track" aria-pressed="true" aria-label="Stage track: each initiative on its stages" title="Stage track: each initiative on its stages"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 5h18v4H3zM3 11h18v4H3zM3 17h12v3H3z"/></svg></button>
36
- <button type="button" class="bd-ib" data-v="time" aria-pressed="false" aria-label="Timeline: each initiative on its dates" title="Timeline: each initiative on its dates"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 6h9M8 12h11M6 18h7"/></svg></button>
37
- <button type="button" class="bd-ib" data-v="list" aria-pressed="false" aria-label="List: every initiative, one row each" title="List: every initiative, one row each"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 6h11M9 12h11M9 18h11M4.5 6h.01M4.5 12h.01M4.5 18h.01"/></svg></button>
38
- </div>
39
- <!-- the grouping (PgBoard, PgBoardProduct): programs first, or By product; shown only when a program holds an initiative of this board -->
40
- <span class="bd-grpw2 bd-hide-s" id="bdGrpw" hidden></span>
41
- <span class="bd-vr bd-hide-s"></span>
42
37
  <button type="button" class="bd-ib" id="bdFind" aria-label="Find an initiative or work-item" title="Find an initiative or work-item" aria-haspopup="dialog"><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>
43
- <button type="button" class="bd-ib bd-show-s" id="bdView" aria-label="Change view" title="Change view"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 5h18v4H3zM3 11h18v4H3zM3 17h12v3H3z"/></svg></button>
44
- <!-- the timeline's columns (batch 19 item 5, StsA8Board): which show beside the names; a desktop timeline only -->
45
- <span class="bd-grpw2" id="bdColsw" hidden><button type="button" class="bd-ib" id="bdCols" aria-haspopup="true" aria-expanded="false" aria-controls="bdColsMenu" aria-label="Columns" title="Columns"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16v14H4zM10 5v14M15 5v14"/></svg></button><span class="bd-grpm bd-colm" id="bdColsMenu" role="group" aria-labelledby="bdColsH" hidden></span></span>
46
- <button type="button" class="bd-ib" id="bdSort" data-so-btn aria-haspopup="menu" aria-label="Sort. Now: My order" title="Sort · My order"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 4v16M4 17l3 3 3-3M13 6h8M13 12h6M13 18h4"/></svg></button>
47
- <button type="button" class="bd-ib" id="bdFilter" aria-label="Filter by owner, kind or sprint" title="Filter by owner, kind or sprint" aria-haspopup="dialog"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg></button>
48
- <button type="button" class="bd-ib bd-hide-s" id="bdBell" aria-label="Notifications" title="Notifications" aria-haspopup="dialog"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 16v-5a6 6 0 0 1 12 0v5l2 2H4zM10 21h4"/></svg></button>
49
- <button type="button" class="bd-ib bd-hide-s" id="bdPublish" aria-label="Publish a read-only copy of the board" title="Publish a read-only copy" aria-haspopup="dialog" aria-expanded="false" hidden><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 15V4M8 8l4-4 4 4M5 13v5a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-5"/></svg><span class="bpn" hidden></span></button>
50
- <button type="button" class="bd-ib solid" id="newIni" aria-label="New program or initiative" title="New program or initiative" aria-haspopup="menu"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button>
38
+ <!-- the tune button: Group, Sort and the filters (owner, category, sprint), with a dot while one is on -->
39
+ <button type="button" class="bd-ib" id="bdFilter" aria-label="Group, sort and filter" title="Group, sort and filter" aria-haspopup="dialog"><svg class="bd-icf" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><svg class="bd-ict" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h9M17 7h3M4 17h3M11 17h9M15 5v4M9 15v4"/></svg><i class="bd-pip bd-tune-pip" hidden></i></button>
40
+ <button type="button" class="bd-ib bd-new" id="newIni" aria-label="New program or initiative" title="New program or initiative" aria-haspopup="menu"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button>
51
41
  <div class="tools tools-top"><span class="vh" id="snap" role="status">Reading the board</span></div>
52
42
  </div>
53
43
  </div>
54
- <!-- the tabs (Initiatives, Shared; batch 24 item 7 took Documents off: an initiative's Documents fold and Search's Documents filter reach them),
55
- the span picker and the chips: sprint and release, This sprint, one pill for new asks, late, at risk, blocked and idle, the legend behind (i), Jira as Adler -->
56
- <div class="bd-chiprow">
57
- <div class="bd-tabs" role="tablist" aria-label="Board">
58
- <button type="button" role="tab" class="bd-tab" id="tabIni" aria-selected="true" aria-controls="cIni">Initiatives <span class="n" id="nIni"></span></button>
59
- <button type="button" role="tab" class="bd-tab" id="tabShared" aria-selected="false" aria-controls="cShared">Shared <span class="n" id="nShared"></span></button>
60
- </div>
61
- <!-- the span picker (batch 24 item 7, canvas BbB): one chip that opens Sprint to 5 yr; the timeline only -->
62
- <span class="bd-grpw2 bd-spw" id="bdSpans" role="group" aria-label="Span" hidden></span>
63
- <div class="bd-chipset" id="bdChipset"></div>
64
- </div>
65
44
 
66
- <section class="bd-sec" id="cIni" role="tabpanel" aria-labelledby="tabIni">
45
+ <section class="bd-sec" id="cIni" aria-labelledby="hIni">
67
46
  <h2 class="vh" id="hIni">Initiatives</h2>
68
47
  <div id="bdShowing" hidden></div>
69
48
  <!-- the skeleton until the board is read (page-open-speed, SpD): grey rows shaped like programs and initiatives, no names, no counts -->
70
49
  <div id="ibBody"><div class="ls-bd" aria-hidden="true"><div class="ls-bh"><i class="ls-sk ls-w40"></i><span class="ls-stg"><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i><i class="ls-sk"></i></span><i class="ls-sk ls-w30"></i></div><div class="ls-br pg"><i class="ls-sk ls-w60"></i><span></span><i class="ls-sk ls-w55"></i></div><div class="ls-br"><i class="ls-sk ls-w75"></i><div class="ls-trk"><i class="ls-tdot"></i><i class="ls-tdot on"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i></div><i class="ls-sk ls-w70"></i></div><div class="ls-br"><i class="ls-sk ls-w75"></i><div class="ls-trk"><i class="ls-tdot"></i><i class="ls-tdot on"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i></div><i class="ls-sk ls-w70"></i></div><div class="ls-br pg"><i class="ls-sk ls-w60"></i><span></span><i class="ls-sk ls-w55"></i></div><div class="ls-br"><i class="ls-sk ls-w75"></i><div class="ls-trk"><i class="ls-tdot"></i><i class="ls-tdot on"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i></div><i class="ls-sk ls-w70"></i></div><div class="ls-br pg"><i class="ls-sk ls-w60"></i><span></span><i class="ls-sk ls-w55"></i></div><div class="ls-br"><i class="ls-sk ls-w75"></i><div class="ls-trk"><i class="ls-tdot"></i><i class="ls-tdot on"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i><i class="ls-tdot"></i></div><i class="ls-sk ls-w70"></i></div></div></div>
71
50
  </section>
72
- <section class="bd-sec" id="cShared" role="tabpanel" aria-labelledby="tabShared" hidden></section>
51
+ <section class="bd-sec" id="cShared" aria-label="Shared with me" hidden></section>
73
52
 
74
53
  <!-- the help frame: what finishes each step (the step heads open it) -->
75
54
  <div class="bd-pop bd-pop-xw" id="popSteps" role="dialog" aria-labelledby="hSteps" hidden></div>
@@ -7,7 +7,7 @@
7
7
  <title>PMOS · Intelligence</title>
8
8
  <!-- Intelligence (batch 15 item 1; it was Insights, and /premium-insights.html still serves it): ONE page, no tabs, drawn to the frames Iq8Overview,
9
9
  Iq8Suggest and Iq8Phone. The ✦ strip, the North Star with its inputs, Claude's drafted metrics, the key results by objective with the health budgets,
10
- then "Did it work?". Reports and dashboards, Delivery trends, Sources and Export sit in ⋯. Old ?tab=goals|outcomes|library links land on the matching
10
+ then "Did it work?". A key result with no reading is not a table row: it waits in "Waiting on a source" (U3). ⋯ holds Reports and dashboards and Export only. Old ?tab=goals|outcomes|library links land on the matching
11
11
  section or panel. Before it: the premium Insights in the Agreed design (initiative premium-agreed-design, G1 and G2; before it briefing-premium-insights and insights-one-list),
12
12
  with the Uncovered features frames IsGoal, IsTarget, IsLibrary, IsMenus and IsPhone (initiative premium-uncovered-features).
13
13
  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
@@ -34,17 +34,13 @@
34
34
  <div class="cz-tools ins-tools">
35
35
  <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>
36
36
  <span class="cz-vr ins-dk"></span>
37
- <span class="ins-mw"><button type="button" class="cz-ib" id="findB" aria-haspopup="dialog" aria-expanded="false" aria-controls="findRow" aria-label="Find a goal or report" title="Find a goal 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><div class="ins-menu ins-right ins-findp" id="findRow" role="dialog" aria-label="Find" hidden><div class="ins-finp"><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" aria-controls="findRes"><button type="button" class="ins-kbd" id="findX" aria-label="Clear and close the search" title="Clear and close">Esc</button></div><div id="findRes" class="ins-fres" role="listbox" aria-label="Found"></div></div></span>
37
+ <span class="ins-mw"><button type="button" class="cz-ib" id="findB" aria-haspopup="dialog" aria-label="Find a goal or report. Opens Search" title="Find a goal 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></span>
38
38
  <span class="ins-mw ins-dk"><button type="button" class="cz-ib" id="filtB" aria-haspopup="dialog" aria-expanded="false" aria-controls="filtMenu" aria-label="Filter by status, owner or kind" title="Filter by status, owner or kind"><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 ins-filtp" id="filtMenu" role="dialog" aria-label="Filter" hidden></div></span>
39
39
  <span class="ins-mw"><button type="button" class="cz-ib" id="repB" aria-haspopup="menu" aria-expanded="false" aria-controls="repMenu" aria-label="Make a report from this" title="Make a report from this"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 3h9l4 4v14H6zM14 3v5h5M9 18v-3M12 18v-6M15 18v-4"/></svg></button><div class="ins-menu ins-right ins-rpmenu" id="repMenu" role="menu" aria-label="Make a report from" hidden></div></span>
40
40
  <span class="ins-mw"><button type="button" class="cz-ib solid" id="newB" aria-label="New metric or key result" title="New metric or key result"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button></span>
41
- <span class="ins-mw"><button type="button" class="cz-ib" id="moreB" aria-haspopup="menu" aria-expanded="false" aria-controls="moreMenu" aria-label="More: reports and dashboards, metrics, delivery trends, sources, export" title="More: reports and dashboards, metrics, delivery trends, sources, export"><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>
41
+ <span class="ins-mw"><button type="button" class="cz-ib" id="moreB" aria-haspopup="menu" aria-expanded="false" aria-controls="moreMenu" aria-label="More: reports and dashboards, export" title="More: reports and dashboards, export"><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>
42
42
  <button type="button" role="menuitem" data-more="library"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 3h9l4 4v14H6zM14 3v5h5M9 13h6M9 17h4"/></svg><span>Reports and dashboards<small id="libSub"></small></span><span class="k" id="libNew"></span></button>
43
- <button type="button" role="menuitem" data-more="metrics"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 4h11a3 3 0 0 1 3 3v13H8a3 3 0 0 1-3-3zM5 17a3 3 0 0 1 3-3h11"/></svg><span>Metrics<small>the list, or the tree under the North Star</small></span><span class="k" id="metN"></span></button>
44
- <button type="button" role="menuitem" data-more="trends"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg><span>Delivery trends<small>blocked, late, idle, scope, merged</small></span></button>
45
- <button type="button" role="menuitem" data-more="sources"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4c4.4 0 8 1.3 8 3s-3.6 3-8 3-8-1.3-8-3 3.6-3 8-3zM4 7v10c0 1.7 3.6 3 8 3s8-1.3 8-3V7"/></svg><span>Sources<small>opens Settings › Connectors</small></span><span class="k" id="srcAge"></span></button>
46
- <button type="button" role="menuitem" data-more="export"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4v11M7 10l5 5 5-5M5 20h14"/></svg>Export<span class="k">CSV</span></button>
47
- <button type="button" role="menuitem" data-more="about"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 8h.01M11 12h1v5h1M12 3a9 9 0 1 0 0 18a9 9 0 1 0 0-18"/></svg>About these numbers</button>
43
+ <button type="button" role="menuitem" data-more="export"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4v11M7 10l5 5 5-5M5 20h14"/></svg>Export CSV</button>
48
44
  </div></span>
49
45
  </div>
50
46
  </div>
@@ -60,6 +56,8 @@
60
56
  <div class="ins-tbl" id="goalTbl" role="table" aria-label="Key results"></div>
61
57
  <div class="ins-cards" id="goalCards" role="list" aria-label="Key results"></div>
62
58
  </section>
59
+ <!-- Waiting on a source (U3): one row per source with the key results it unblocks and its one connect ✓. Hidden when nothing waits. -->
60
+ <section class="ins-pane ins-wait" id="waitList" aria-labelledby="hWait" hidden></section>
63
61
  <!-- Did it work? (Iq8Overview): shipped work to judge and in its window, a drafted verdict with ✓ Keep; decided ones fold. Hidden when empty. -->
64
62
  <section class="ins-pane" id="pOutcomes" aria-label="Did it work?" hidden>
65
63
  <div class="ins-tbl" id="outTbl" role="table" aria-label="Did it work?"></div>
@@ -71,7 +69,7 @@
71
69
 
72
70
  <!-- Reports and dashboards (⋯; the old Library): Found in your work, requests from Home, the reports, then the dashboards -->
73
71
  <aside class="ins-side ins-lib" id="libSide" role="dialog" aria-modal="false" aria-labelledby="libTitle" tabindex="-1" hidden>
74
- <div class="ins-sh"><div><h2 id="libTitle">Reports and dashboards</h2></div><span class="ins-st"><a class="cz-ib" id="newRep" href="/premium.html?ask=insights" aria-label="New report: Claude drafts it from this view" title="New report: Claude drafts it from this view"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></a></span><button type="button" class="cz-ib" id="libX" aria-label="Close" title="Close"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
72
+ <div class="ins-sh"><div><h2 id="libTitle">Reports and dashboards</h2></div><button type="button" class="cz-ib" id="libX" aria-label="Close" title="Close"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
75
73
  <div class="ins-sb" id="repBody"></div>
76
74
  <span class="vh" id="repCap"></span>
77
75
  </aside>
@@ -3017,6 +3017,23 @@ const grillRuns = require('./lib/grill-runs.js').create({
3017
3017
  warn: (what, e) => warnWriteFail(what, e),
3018
3018
  });
3019
3019
  const grillTick = () => { try { grillRuns.tick({}); } catch (e) { warnWriteFail('grill tick', e); } };
3020
+ // the role agents (brief agent-team, GO): each role a record with the artifacts it owns (lib/agent-team.js), its triggers and its runs
3021
+ // (lib/team-runs.js), started as headless kind `team` through the orchestrator gate, one background run per initiative. `pmos team dispatch`
3022
+ // writes the chief of staff's plan; this tick runs it. Class A/B auto-applies only where lib/autonomy.js says so; until then every role proposes.
3023
+ const teamRuns = require('./lib/team-runs.js').create({
3024
+ workspaces: () => [...workspaces.values()],
3025
+ stateDirFor: (w) => (isPlanNeedsTree(w) ? stateDirFor(w) : null),
3026
+ inis: (w) => { const TR = require('./lib/team-runs.js'); return grillShape(w).filter((x) => !x.resting && x.stage).map((x) => {
3027
+ const st = x.stages.find((y) => y.key === x.stage || y.name === x.stage); const f = TR.factsOf(w.root, x.ini);
3028
+ return { ini: x.ini, board: x.board, stage: st ? st.name : x.stage, has: { ...f, tasks: f.tasks || x.tasks.length > 0 } }; }); },
3029
+ promptFor: (skillId) => { const h = homeWorkspace(); const t = taskById(skillId, h ? h.root : SELF_ROOT); return t && t.prompt ? t.prompt : null; },
3030
+ autoFor: (cls, o) => { try { const A = require('./lib/autonomy.js'); return typeof A.autoFor === 'function' ? !!A.autoFor(cls, o) : false; } catch { return false; } },
3031
+ spawn: (spec) => orchSpawn.spawn({ name: spec.name, agent: 'claude', ws: spec.ws, origin: spec.origin, initialInput: spec.initialInput, initiative: spec.initiative, extraEnv: spec.env,
3032
+ writePaths: spec.writePaths, autoDelete: undefined, onDone: spec.onDone }),
3033
+ stop: (s) => { if (s && s.child) stopHeadless(s); },
3034
+ warn: (what, e) => warnWriteFail(what, e),
3035
+ });
3036
+ const teamTick = () => { try { teamRuns.tick({}); } catch (e) { warnWriteFail('team tick', e); } };
3020
3037
  // batch 15 item 1 (canvas Iq8Suggest and Iq9Draft): Claude drafts metrics without being asked (lib/metric-draft-runs.js): a product with no North
3021
3038
  // Star, a program charter with no goal, an initiative that gets a PRD with no success metric, and next quarter's key results. The run's only
3022
3039
  // write is `pmos metrics draft`; the PM's ✓ keep writes the kr-metrics record. At most 2 at once, once per scope. PMOS_METRIC_DRAFT=off.
@@ -3078,6 +3095,20 @@ const impactRuns = require('./lib/impact-runs.js').create({
3078
3095
  warn: (what, e) => warnWriteFail(what, e),
3079
3096
  });
3080
3097
  const impactTick = () => { try { impactRuns.tick({}); } catch (e) { warnWriteFail('impact tick', e); } };
3098
+ // loop-telemetry: the verifier after merge (Wawan, 2026-11-08: "Run the verifier on merged PRs"). One fresh headless evaluator at a time grades
3099
+ // the newest merged run that owes a verdict in an open PMOS checkout (lib/verify-runs.js); its only write is `node scripts/verifier.js record`,
3100
+ // pinned to that run. It also marks merged work items integrated (scripts/verify-work.js, no model). Nothing gates a merge.
3101
+ // Off with PMOS_VERIFY=off or `pmos ai off verify`.
3102
+ const verifyRuns = require('./lib/verify-runs.js').create({
3103
+ roots: () => [...workspaces.values()].map((w) => ({ id: w.id, root: w.root })),
3104
+ open: deepOpenNow,
3105
+ headlessOff: () => headlessLib.switchedOff(process.env),
3106
+ env: process.env,
3107
+ spawn: (spec) => orchSpawn.spawn({ name: spec.name, agent: 'claude', ws: spec.ws, origin: spec.origin, initialInput: spec.initialInput, extraEnv: spec.env, autoDelete: undefined, onDone: spec.onDone }),
3108
+ stop: (s) => { if (s && s.child) stopHeadless(s); },
3109
+ warn: (what, e) => warnWriteFail(what, e),
3110
+ });
3111
+ const verifyTick = () => { try { verifyRuns.tick({}); } catch (e) { warnWriteFail('verify tick', e); } };
3081
3112
  // weekly-drift-check (What would I have missed): each Monday the server reads every open product's records for quiet drift (lib/drift-runs.js).
3082
3113
  // Structured signals only, no session and no model. Its only write is the person's own ledger <runtime>/drift/drift.jsonl, through the shared
3083
3114
  // guard (lib/ai-guard.js). Off with PMOS_DRIFT=off or `pmos ai off drift`. Nothing is sent.
@@ -3290,10 +3321,12 @@ bgQueue.register('propose', gated('propose', proposalTick));
3290
3321
  bgQueue.register('grill', () => grillTick());
3291
3322
  bgQueue.register('metric-drafts', () => metricDraftTick());
3292
3323
  bgQueue.register('impact', () => impactTick());
3324
+ bgQueue.register('verify', () => verifyTick());
3293
3325
  bgQueue.register('metric-reads', () => metricReadTick());
3294
3326
  bgQueue.register('forecast', () => forecastTick());
3295
3327
  bgQueue.register('report-design', () => reportDesignTick());
3296
3328
  bgQueue.register('report-structure', () => reportStructureTick());
3329
+ bgQueue.register('team', () => teamTick());
3297
3330
  bgQueue.register('scan', (turn) => gated('scan', () => scanTick(turn))());
3298
3331
  // idle lab build E (lib/idle-lab-engine.js): while the PM is away Claude prototypes and scans for the initiatives, proves each result (a
3299
3332
  // specimen renders in a headless browser; every claim quotes what was read, through lib/ai-guard.js) and files it under the ✦. Step 5 of the
@@ -4557,7 +4590,8 @@ function startHeadless(base, workdir, kind, launchArgs, env, initialInput, addDi
4557
4590
  // A kind that reads the PM's sources gets the read-shaped connector tools of this login (lib/headless.js CONNECTOR_READ_KINDS).
4558
4591
  const args = headlessLib.argsFor(kind, { modelArgs: launchArgs, addDirs: Array.isArray(addDirs) ? addDirs : [], writePaths: Array.isArray(writePaths) ? writePaths : [],
4559
4592
  budgetUsd: !env ? null : kind === 'grill' ? env.PMOS_GRILL_BUDGET : kind === 'lab-proto' || kind === 'lab-scan' ? env.PMOS_LAB_BUDGET : null,
4560
- connectorTools: headlessLib.CONNECTOR_READ_KINDS.includes(kind) ? knownConnectorTools(env) : [] });
4593
+ connectorTools: headlessLib.CONNECTOR_READ_KINDS.includes(kind) ? knownConnectorTools(env) : [],
4594
+ team: kind === 'team' && env ? { role: env.PMOS_TEAM_ROLE, mode: env.PMOS_TEAM_MODE } : null });
4561
4595
  const s = { ...base, cwd: workdir, state: 'working', pty: null, tmux: null, headless: kind, child: null,
4562
4596
  note: '', buf: '', cols: 80, rows: 24, clients: new Set(), created: nowISO(), lastOutputAt: Date.now() };
4563
4597
  const say = (text) => {
@@ -81,8 +81,10 @@ const route = async (page) => {
81
81
  {
82
82
  LAY = { sort: 'mine', top: [], inis: {} };
83
83
  const { ctx, page: p, errors } = await board();
84
- const btn = await p.evaluate(() => { const b = document.querySelector('#bdSort'); return b ? { label: b.getAttribute('aria-label'), text: b.textContent.trim() } : null; });
85
- ok('B the sort button sits in the header, icon only, and says the sort now', !!btn && btn.label === 'Sort. Now: My order' && btn.text === '', JSON.stringify(btn));
84
+ // UI grill U2: Sort is a part of the tune button (Group, sort and filter); it has no button of its own
85
+ const tuneSort = async () => { await p.click('#bdFilter'); return until(() => p.evaluate(() => { const g = document.querySelector('#bdPop [role="radiogroup"][aria-label="Sort"]'); return g ? [...g.querySelectorAll('[data-so-pick]')].map((b) => b.textContent.trim() + (b.getAttribute('aria-checked') === 'true' ? '*' : '')) : null; })); };
86
+ const btn = await tuneSort(); await p.keyboard.press('Escape');
87
+ ok('B Sort sits in the tune button, no button of its own, and says the sort now', !(await p.$('#bdSort')) && !!btn && btn[0] === 'My order*', JSON.stringify(btn));
86
88
  const k0 = await top(p, '#ibBody');
87
89
  ok('B nothing arranged yet: the program first, then the product', k0[0] === 'g:project-ascent' && k0.length >= 2 && k0.slice(1).every((k) => k.startsWith('p:')), JSON.stringify(k0));
88
90
  const pk = k0[k0.length - 1];
@@ -105,16 +107,16 @@ const route = async (page) => {
105
107
  await until(async () => (await top(p, '#ibBody'))[0] === 'g:project-ascent');
106
108
  ok('B Undo saves the layout before back', posts.length === 2 && posts[1].top.length === 0 && (await top(p, '#ibBody'))[0] === 'g:project-ascent', JSON.stringify(posts));
107
109
  // the menu
108
- await p.click('#bdSort');
109
- const menu = await until(() => p.evaluate(() => { const m = document.querySelector('.so-menu'); return m ? [...m.querySelectorAll('.so-mi')].map((b) => b.textContent.trim() + (b.getAttribute('aria-checked') === 'true' ? '*' : '')) : null; }));
110
- ok('B the menu: My order (ticked), Your turn first, Next date first, By stage, Name A to Z', !!menu && menu.join('|') === 'My order*|Your turn first|Next date first|By stage|Name, A to Z', JSON.stringify(menu));
110
+ const menu = await tuneSort();
111
+ ok('B the Sort choices: My order (ticked), Your turn first, Next date first, By stage, Name A to Z', !!menu && menu.join('|') === 'My order*|Your turn first|Next date first|By stage|Name, A to Z', JSON.stringify(menu));
111
112
  if (process.env.SHOTS) await p.screenshot({ path: process.env.SHOTS + '/board-menu.png' });
112
- await p.click('.so-menu [data-so-mode="name"]');
113
+ await p.click('#bdPop [data-so-pick="name"]');
113
114
  await until(() => posts.length === 3);
114
- const label = await until(() => p.evaluate(() => { const l = document.querySelector('#bdSort').getAttribute('aria-label'); return /Name/.test(l) ? l : null; }));
115
+ const label = await until(() => p.evaluate(() => { const b = document.querySelector('#bdPop [data-so-pick="name"]'); return b && b.getAttribute('aria-checked') === 'true' ? b.textContent.trim() : null; }));
116
+ await p.keyboard.press('Escape');
115
117
  const kn = await top(p, '#ibBody');
116
118
  const names = await p.evaluate(() => [...document.querySelectorAll('#ibBody [data-po-list="@top"] > [data-po-id]')].map((r) => (r.querySelector('.bd-prdb span, .bt-pg b, b') || r).textContent.trim().toLowerCase()));
117
- ok('B Name, A to Z: one save, the button says it, and the groups go A to Z', posts[2].sort === 'name' && !!label && names.join('|') === names.slice().sort((a, b) => a.localeCompare(b)).join('|'), JSON.stringify({ label, kn, names }));
119
+ ok('B Name, A to Z: one save, the tune sheet says it, and the groups go A to Z', posts[2].sort === 'name' && !!label && names.join('|') === names.slice().sort((a, b) => a.localeCompare(b)).join('|'), JSON.stringify({ label, kn, names }));
118
120
  // a move out of another sort keeps what is on screen and goes back to My order
119
121
  const rows = await p.evaluate(() => { const l = [...document.querySelectorAll('#ibBody [data-po-list^="@p:"]')][0]; return l ? { key: l.dataset.poList.slice(1), ids: [...l.querySelectorAll(':scope > [data-po-id]')].map((r) => r.dataset.poId) } : null; });
120
122
  if (rows && rows.ids.length > 1) {
@@ -123,11 +123,13 @@
123
123
  "glossary.test.js",
124
124
  "needs-overdue.test.js",
125
125
  "briefing-scope.test.js",
126
- "settings-store.test.js", "ai-guard.test.js",
126
+ "settings-store.test.js",
127
+ "ai-guard.test.js",
127
128
  "priority.test.js",
128
129
  "claude-readiness.test.js",
129
130
  "setup-routes.test.js",
130
- "project-onboard.test.js"
131
+ "project-onboard.test.js",
132
+ "loop-telemetry.test.js"
131
133
  ],
132
134
  "panels": [
133
135
  "pm-r7-test.js",
@@ -0,0 +1,9 @@
1
+ {
2
+ "_comment": "The role agents under the chief of staff (brief agent-team, GO): lib/agent-team.js (role registry, write allowlist, triggers, Evaluator independence), lib/team-runs.js (dispatch runner, one inbox entry), lib/team-cli.js (pmos team), the headless kind `team` and the bg-queue job `team`. Pure, node, temp folders.",
3
+ "modules": [
4
+ "agent-team.test.js"
5
+ ],
6
+ "seconds": {
7
+ "agent-team.test.js": 1
8
+ }
9
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "_comment": "OS evaluation T1: the declared background job graph (lib/job-graph.js) with its no-reader and two-producers rules, the keep rate of every ✦ job (lib/orchestrator-keeprate.js fromProposals/byJob, `pmos ai status`) and the learning edge (lib/proposals.js lessonsOf, grill and task-check prompts). Pure, node.",
3
+ "modules": [
4
+ "job-graph.test.js",
5
+ "star-keeprate.test.js"
6
+ ],
7
+ "seconds": {
8
+ "job-graph.test.js": 1,
9
+ "star-keeprate.test.js": 1
10
+ }
11
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "_comment": "OS evaluation T3 (status provenance rule): lib/status-proof.js and its browser twin public/pm/status-proof.js gate every status word, number or tile on { source, readAt }; lib/status-signal.js stamps both on every status but No signal; the invariant fails on a status chip word in lib/ or public/pm/ that neither routes through the helper nor is listed in KNOWN with its reason. Pure.",
3
+ "modules": ["status-proof.test.js"],
4
+ "seconds": { "status-proof.test.js": 1 }
5
+ }
@@ -357,8 +357,9 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
357
357
  const G = await open();
358
358
  await G.page.click('#czFab');
359
359
  await G.page.click('[data-cz-settings]');
360
- const link = await until(() => G.page.evaluate(() => { const a = [...document.querySelectorAll('#evSettings .ev-st-nav a')].find((x) => x.textContent.trim() === 'Workflows'); return a ? a.getAttribute('href') : null; }));
361
- ok('G the Settings dialog has a Workflows row that opens this page', link === '/premium-workflows.html', link);
360
+ await G.page.click('#evSettings [data-ev-sec="workspaces"]'); // U4: Workflows is a row in Settings › Workspaces, not a section
361
+ const link = await until(() => G.page.evaluate(() => { const a = document.querySelector('#evSettings .ev-st-main [data-ev-wf]'); return a ? a.getAttribute('href') : null; }));
362
+ ok('G Settings › Workspaces has a Workflows row that opens this page', link === '/premium-workflows.html', link);
362
363
  await G.ctx.close();
363
364
  finish();
364
365
  })();
@@ -1,14 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
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" />
10
- </head>
11
- <body>
12
- <p>This page moved to <a href="/premium.html">Home</a>.</p>
13
- </body>
14
- </html>
@@ -1,15 +0,0 @@
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" />
7
- <title>PMOS · Home</title>
8
- <!-- The initiative is a layout of Home now (initiative premium-agreed-design, Home): the server answers /premium-initiative.html?id=<id> with a
9
- redirect to /premium.html?ini=<id>. This page is only reached without the server's redirect, and it goes to the same place. -->
10
- <script>
11
- (function () { var q = new URLSearchParams(location.search); if (q.has('id')) { q.set('ini', q.get('id')); q.delete('id'); } var s = q.toString(); location.replace('/premium.html' + (s ? '?' + s : '')); })();
12
- </script>
13
- </head>
14
- <body></body>
15
- </html>
@@ -1,14 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
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" />
10
- </head>
11
- <body>
12
- <p>This page moved to <a href="/premium.html">Home</a>.</p>
13
- </body>
14
- </html>