create-pmos 0.540.0 → 0.542.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 (117) hide show
  1. package/package.json +33 -39
  2. package/payload/KIT-VERSION +1 -1
  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/workspace/README.md +1 -1
  7. package/workspace/adler-moments-test.js +4 -8
  8. package/workspace/briefing-premium-board-test.js +1 -1
  9. package/workspace/briefing-premium-initiative-test.js +1 -1
  10. package/workspace/briefing-premium-sources-test.js +3 -3
  11. package/workspace/briefing-premium-test.js +2 -4
  12. package/workspace/changelog.json +32 -0
  13. package/workspace/ev-everywhere-test.js +3 -3
  14. package/workspace/fixtures/doc-category-labelled.json +1 -1
  15. package/workspace/guide/agent-capabilities.md +236 -28
  16. package/workspace/guide/breakdown.md +5 -20
  17. package/workspace/guide/claude-proposes.md +269 -37
  18. package/workspace/guide/cli.md +603 -0
  19. package/workspace/guide/home.md +182 -21
  20. package/workspace/guide/index.md +23 -59
  21. package/workspace/guide/initiatives-and-next-steps.md +235 -5
  22. package/workspace/guide/intelligence-okr-goals.md +122 -5
  23. package/workspace/guide/jira.md +2 -15
  24. package/workspace/guide/knowledge-graph.md +143 -18
  25. package/workspace/guide/layout.md +209 -4
  26. package/workspace/guide/notes.md +74 -6
  27. package/workspace/guide/proactive-engine.md +3 -14
  28. package/workspace/guide/programs.md +199 -4
  29. package/workspace/guide/reports.md +405 -41
  30. package/workspace/guide/scheduled-tasks-and-cli.md +6 -28
  31. package/workspace/guide/settings-and-switches.md +397 -0
  32. package/workspace/guide/statuses.md +141 -4
  33. package/workspace/home-rows-test.js +19 -24
  34. package/workspace/lib/briefing-premium-agent.js +7 -2
  35. package/workspace/lib/cos-chat.js +75 -0
  36. package/workspace/lib/done-feed.js +33 -0
  37. package/workspace/lib/grill-runs.js +1 -1
  38. package/workspace/lib/headless.js +29 -2
  39. package/workspace/lib/loop-health.js +65 -0
  40. package/workspace/lib/pmos-verbs.js +41 -40
  41. package/workspace/lib/proposal-runs.js +1 -1
  42. package/workspace/lib/proposals.js +44 -9
  43. package/workspace/lib/routes-sources.js +2 -0
  44. package/workspace/lib/routes-your-move.js +25 -4
  45. package/workspace/lib/verify-runs.js +22 -1
  46. package/workspace/lib/verify-work-cli.js +1 -1
  47. package/workspace/package-lock.json +2 -2
  48. package/workspace/package.json +1 -1
  49. package/workspace/public/pm/batch-press.js +184 -0
  50. package/workspace/public/pm/bd-fc-card.js +2 -1
  51. package/workspace/public/pm/bd-next.js +2 -1
  52. package/workspace/public/pm/chat-src.js +18 -0
  53. package/workspace/public/pm/cozy-home.css +4 -0
  54. package/workspace/public/pm/cozy-lab-ins.js +17 -1
  55. package/workspace/public/pm/cozy-nav.js +22 -21
  56. package/workspace/public/pm/cozy-search.js +18 -9
  57. package/workspace/public/pm/cozy-today.css +7 -0
  58. package/workspace/public/pm/cozy-viewer.js +1 -1
  59. package/workspace/public/pm/goal-chat.js +1 -1
  60. package/workspace/public/pm/good-morning.js +1 -1
  61. package/workspace/public/pm/home-app.js +65 -14
  62. package/workspace/public/pm/home-chat.js +8 -4
  63. package/workspace/public/pm/home-day.js +46 -14
  64. package/workspace/public/pm/home-today.js +5 -4
  65. package/workspace/public/pm/ini-props.js +7 -2
  66. package/workspace/public/pm/ini-view.css +14 -0
  67. package/workspace/public/pm/move-rank.js +67 -9
  68. package/workspace/public/pm/outbox-view.js +35 -0
  69. package/workspace/public/pm/page-chat.css +2 -0
  70. package/workspace/public/pm/page-chat.js +33 -5
  71. package/workspace/replaced-tests.json +19 -1
  72. package/workspace/run-tests.js +23 -4
  73. package/workspace/server.js +2 -1
  74. package/workspace/task-links-test.js +6 -2
  75. package/workspace/test-lists/chief-of-staff-chat.json +9 -0
  76. package/workspace/guide/adler.md +0 -71
  77. package/workspace/guide/agents-act.md +0 -68
  78. package/workspace/guide/ask-the-past.md +0 -46
  79. package/workspace/guide/board.md +0 -58
  80. package/workspace/guide/briefing-premium.md +0 -14
  81. package/workspace/guide/console-calendar.md +0 -24
  82. package/workspace/guide/core-documents.md +0 -58
  83. package/workspace/guide/data-freshness.md +0 -164
  84. package/workspace/guide/descriptions.md +0 -43
  85. package/workspace/guide/docs.md +0 -39
  86. package/workspace/guide/forecast.md +0 -66
  87. package/workspace/guide/horizon-scan.md +0 -82
  88. package/workspace/guide/idle-lab.md +0 -46
  89. package/workspace/guide/initiative-driver.md +0 -102
  90. package/workspace/guide/initiatives-roadmap.md +0 -131
  91. package/workspace/guide/integrated-work.md +0 -93
  92. package/workspace/guide/launcher.md +0 -39
  93. package/workspace/guide/lifecycle.md +0 -64
  94. package/workspace/guide/metric-drafts.md +0 -75
  95. package/workspace/guide/moments.md +0 -43
  96. package/workspace/guide/my-work.md +0 -40
  97. package/workspace/guide/next-prompt.md +0 -64
  98. package/workspace/guide/outcomes.md +0 -39
  99. package/workspace/guide/people.md +0 -48
  100. package/workspace/guide/pm-only-acts.md +0 -88
  101. package/workspace/guide/pm-only-lines.md +0 -61
  102. package/workspace/guide/present-in-a-meeting.md +0 -57
  103. package/workspace/guide/published-board.md +0 -116
  104. package/workspace/guide/ready-made-dashboards.md +0 -62
  105. package/workspace/guide/rehearse.md +0 -52
  106. package/workspace/guide/report-design.md +0 -126
  107. package/workspace/guide/report-slides.md +0 -43
  108. package/workspace/guide/report-structure.md +0 -91
  109. package/workspace/guide/reports-needs-you.md +0 -34
  110. package/workspace/guide/reports-set-up.md +0 -68
  111. package/workspace/guide/settings.md +0 -67
  112. package/workspace/guide/today.md +0 -44
  113. package/workspace/guide/validate-with-typesafe.md +0 -144
  114. package/workspace/guide/welcome.md +0 -90
  115. package/workspace/guide/what-you-missed.md +0 -42
  116. package/workspace/guide/workflows.md +0 -107
  117. package/workspace/guide/your-impact.md +0 -57
@@ -1,13 +1,13 @@
1
1
  ---
2
2
  type: Guide
3
- title: "What Claude does behind the scenes"
4
- description: "The runbook of the workspace agent: each job Claude runs by itself, when it runs, what it reads, where its result shows, how to stop it, what it fixes by itself, the rules every job follows, and how to see what ran."
3
+ title: "What Claude does behind the scenes, and what stays yours"
4
+ description: "Every job Claude runs by itself, what agents apply by themselves with Undo (D106), long-running goals, the team of role agents, the idle lab, and the PM-only acts."
5
5
  timestamp: 2026-11-08
6
6
  ---
7
7
 
8
8
  # What Claude does behind the scenes
9
9
 
10
- Claude works in the background while the workspace runs. It reads your records and the tools you connected, it drafts, and it checks. Since D106 (Full autonomy now), a change that is reversible is applied at once, with Undo for 14 days. A change that other people see, or that cannot be undone, waits for your ✓. A background job never sends, posts, pushes or merges anything. See [Agents act by themselves](agents-act.md).
10
+ Claude works in the background while the workspace runs. It reads your records and the tools you connected, it drafts, and it checks. Since D106 (Full autonomy now), a change that is reversible is applied at once, with Undo for 14 days. A change that other people see, or that cannot be undone, waits for your ✓. A background job never sends, posts, pushes or merges anything. See [Agents act by themselves](#agents-act-by-themselves).
11
11
 
12
12
  This page lists every job, so you know what runs and why. Each row links to the page with the full detail.
13
13
 
@@ -28,28 +28,86 @@ This page lists every job, so you know what runs and why. Each row links to the
28
28
  - **Claude learns from your no.** When you give a reason with ✕, or rewrite a grill finding's next step with ✎, the next grill or task check on that initiative reads your last 3 reasons first. It still only proposes.
29
29
  - **Every run is logged.** Each job writes its own ledger in the runtime folder on this computer. Only you see it, and it never goes into a repository.
30
30
 
31
+ ## Agents act by themselves
32
+
33
+ PMOS agents finish work without waiting for you. A change that can be undone is applied at once and listed with Undo. A change that other people see, or that cannot be undone, waits for you. This is decision D106 (Full autonomy now, 2026-11-08).
34
+
35
+ ### The three classes
36
+
37
+ | Class | What it is | Examples | What happens |
38
+ |---|---|---|---|
39
+ | A | Upkeep with one right answer | A tidy task name, a date moved by evidence, a note | Applied at once. Undo for 14 days. |
40
+ | B | A judgment that can be undone | A problem statement, evidence, an expected outcome, a description, a task, a grill fix, what was found elsewhere | Applied at once. Undo for 14 days. |
41
+ | C | Seen by others, or cannot be undone | A message to a person, a Jira move, a stage move, a merge into a product repository, a delete, spend | Waits for your ✓. |
42
+
43
+ A change with no Undo waits too, whatever its class. A "maybe" or a possible duplicate that Claude found elsewhere waits, because it is a question for you.
44
+
45
+ ### Undo
46
+
47
+ Each change an agent applies is listed for 14 days with Undo. Undo puts the record back as it was. If someone changed the record since, Undo keeps that change.
48
+
49
+ - `pmos autonomy status` lists what agents applied in the last 14 days, each with its id.
50
+ - `pmos driver undo <proposal>` undoes a change of the Initiative Driver.
51
+ - A ✦ change is undone on its initiative's ✦, as before.
52
+
53
+ Each Undo counts as a correction, so the north star (human corrections per agent run) still sees it.
54
+
55
+ ### A job goes back to propose
56
+
57
+ Undo is also the safety net. A job goes back to propose for 7 days on one product when:
58
+
59
+ - its last two changes were both undone, or
60
+ - one of its changes was reverted, or
61
+ - in the last 7 days it applied 4 or more changes and more than 30% of them were undone.
62
+
63
+ When the verifier is running, a change it fails counts like an Undo. Home says once that a job went back to propose. The job applies by itself again after the 7 days. `pmos autonomy restore <job>` ends it early.
64
+
65
+ ### Stop it
66
+
67
+ - `pmos ai off` stops every agent job, and every change that would apply by itself. `pmos ai on` starts them again.
68
+ - `PMOS_AUTONOMY=off` in the environment stops only what applies by itself. Proposals still come.
69
+ - `pmos driver mode approve` makes every Driver proposal wait for you again.
70
+ - The spending limit in Settings › Claude › Checks holds.
71
+
72
+ ### Long-running goals
73
+
74
+ Set a goal once, and agents work on it round after round until it is done.
75
+
76
+ - A goal has one sentence, one done criterion for each thing that must be true (each one checkable), and the actions it must never do. The budget is 20 rounds and 24 hours by default.
77
+ - Each round is one background run: it plans the next step, does it, checks it against the criteria, and records a checkpoint. The next round starts when the queue allows.
78
+ - The loop ends when every criterion is met, or when its rounds or hours are used. If the computer restarts, the loop goes on from its last checkpoint.
79
+ - A loop stops for you only with a named reason: it needs a class C act, it needs a sign-in or secret only you have, it cannot cut the goal into steps, its check failed with no retries left, its work conflicts with other work, an outcome check it depends on is overdue, or three rounds met nothing new. You answer it with `pmos loop resume`.
80
+
81
+ A loop never sends a message, moves a Jira ticket, merges into a product repository, deletes or spends. It files those as proposals and goes on with the rest. The `pmos autonomy` and `pmos loop` commands are in the [Command reference](cli.md).
82
+
83
+ ### What did not change
84
+
85
+ - Class C still waits for you (D65 point h: the factory proposes and never merges into a product repository).
86
+ - No request header is logged (D08).
87
+ - Every line an agent writes names the agent (D98).
88
+
31
89
  ## The jobs
32
90
 
33
91
  | Job | When it runs | What it reads | Where you see it | How to stop it |
34
92
  |---|---|---|---|---|
35
- | [Goal loops](agents-act.md) | A goal you set with `pmos loop start`: one round each minute the queue allows, until the goal is done, its budget is spent, or it needs you for a named reason. | The goal, its done criteria, and what the last round found | `pmos loop status` | `pmos loop stop <id>`. `pmos ai off goal-loops` |
36
- | [Initiative Driver](initiative-driver.md) | An initiative is created, moved or sent back. The unblock sweep runs every 30 minutes in working hours. At most 3 runs at once. | The initiative record, its tasks and its Jira tickets | The Agent strip of the initiative, and Needs you | Board settings › Agent: Off. `PMOS_DRIVER=off` |
93
+ | [Goal loops](#long-running-goals) | A goal you set with `pmos loop start`: one round each minute the queue allows, until the goal is done, its budget is spent, or it needs you for a named reason. | The goal, its done criteria, and what the last round found | `pmos loop status` | `pmos loop stop <id>`. `pmos ai off goal-loops` |
94
+ | [Initiative Driver](initiatives-and-next-steps.md) | An initiative is created, moved or sent back. The unblock sweep runs every 30 minutes in working hours. At most 3 runs at once. | The initiative record, its tasks and its Jira tickets | The Agent strip of the initiative, and Needs you | Board settings › Agent: Off. `PMOS_DRIVER=off` |
37
95
  | [Found elsewhere](claude-proposes.md) | You add an initiative | Drive, Docs, Sheets, Slides, Jira, the calendar, meeting notes, Gmail, Slack and Confluence | The initiative's ✦ | `PMOS_PROPOSE=off` |
38
96
  | [New dates, done and tidy names](claude-proposes.md) | Each morning, and when a date passes | The tasks of the initiative, and the evidence that work happened | The initiative's ✦ | `PMOS_PROPOSE=off` |
39
97
  | [Grill](claude-proposes.md) | Before an initiative leaves a stage, when a forecast turns at risk, when scope or dates move a lot, and once a month on running work with late work. Also when you write "grill this" in the initiative's chat. | The initiative, your stored research, your meeting notes and the decisions that stand | "Claude grilled it" under the initiative's ✦ | Settings › Claude › Checks: Off. `PMOS_GRILL=off` |
40
- | [You decided this before](ask-the-past.md) | You add an initiative that repeats an earlier decision | `DECISIONS.md`, the decision records, the PM journal, `planning/out-of-scope/` and the initiative records | The initiative's ✦ | `pmos ai off past-repeat` |
41
- | [Initiative descriptions](descriptions.md) | Once a day. At most 3 drafts a day for each product. | The PRD's first Problem or Why paragraph, or the record's own first paragraph | "Description" under the initiative's ✦ | `pmos ai off descriptions`. `PMOS_DESCRIPTIONS=off` |
42
- | [Expected outcomes](outcomes.md) | Once a day. At most 3 drafts a day for each product. | The PRD's success criteria, or the anchored key result | "Expected outcome" under the initiative's ✦. Today when a check is due. | `pmos ai off outcomes`. `PMOS_OUTCOMES=off` |
43
- | [Metric drafts](metric-drafts.md) | A product with no North Star, the first 14 days of a quarter, a program with no goal, and an initiative that gets a PRD | The last 8 weeks of real readings | The page of that product, program or initiative | `PMOS_METRIC_DRAFT=off` |
44
- | [Horizon scan](horizon-scan.md) | Daily by default, at most once a day, the first time you step away after 09:00. Scan now: at most 3 a day. | The public web for your kept watch list, and your repository | Report documents and proposals you approve | Cadence: Off. `PMOS_SCAN=off` |
98
+ | [You decided this before](claude-proposes.md) | You add an initiative that repeats an earlier decision | `DECISIONS.md`, the decision records, the PM journal, `planning/out-of-scope/` and the initiative records | The initiative's ✦ | `pmos ai off past-repeat` |
99
+ | [Initiative descriptions](claude-proposes.md) | Once a day. At most 3 drafts a day for each product. | The PRD's first Problem or Why paragraph, or the record's own first paragraph | "Description" under the initiative's ✦ | `pmos ai off descriptions`. `PMOS_DESCRIPTIONS=off` |
100
+ | [Expected outcomes](claude-proposes.md) | Once a day. At most 3 drafts a day for each product. | The PRD's success criteria, or the anchored key result | "Expected outcome" under the initiative's ✦. Today when a check is due. | `pmos ai off outcomes`. `PMOS_OUTCOMES=off` |
101
+ | [Metric drafts](claude-proposes.md) | A product with no North Star, the first 14 days of a quarter, a program with no goal, and an initiative that gets a PRD | The last 8 weeks of real readings | The page of that product, program or initiative | `PMOS_METRIC_DRAFT=off` |
102
+ | [Horizon scan](intelligence-okr-goals.md) | Daily by default, at most once a day, the first time you step away after 09:00. Scan now: at most 3 a day. | The public web for your kept watch list, and your repository | Report documents and proposals you approve | Cadence: Off. `PMOS_SCAN=off` |
45
103
  | Idle lab | When you have not used PMOS for 30 minutes. One run at a time, at most 3 results each time you step away. | Prototypes: the initiative's record, PRD and earlier specimens. Scans: public pages only, read through `pmos lab page`, and no repository. | "Claude prototyped it", "Claude improved it" and "Claude scanned for it" under the initiative's ✦. A finding that fits no initiative: Intelligence › Lab. | `pmos ai off idle-lab` |
46
- | [What you might have missed](what-you-missed.md) | Each Monday, for the week before. It uses no model. | Records only: tasks, dates, initiatives and Jira status | One ✦ in Home's chat, at most 3 items | `pmos ai off drift`. `PMOS_DRIFT=off` |
47
- | [Your impact](your-impact.md) | Claude reads once a day. Home shows the week after it ends. | Slack, mail, Jira, your meeting notes, your documents and your key results | Adler's sprout on Home, and your impact log | Settings › General › Your impact. `PMOS_IMPACT=off` |
104
+ | [What you might have missed](claude-proposes.md) | Each Monday, for the week before. It uses no model. | Records only: tasks, dates, initiatives and Jira status | One ✦ in Home's chat, at most 3 items | `pmos ai off drift`. `PMOS_DRIFT=off` |
105
+ | [Your impact](claude-proposes.md) | Claude reads once a day. Home shows the week after it ends. | Slack, mail, Jira, your meeting notes, your documents and your key results | Adler's sprout on Home, and your impact log | Settings › General › Your impact. `PMOS_IMPACT=off` |
48
106
  | [Morning brief and day check](proactive-engine.md) | The morning brief at 06:45, once you schedule it. The day check every 60 minutes by default (30, 60 or off). | Calendar, Wispr Flow, Slack, Jira and Confluence are on by default. Mail, GitHub, Drive, Figma and websites are off by default. Mail: subjects and senders only. | Today | Each source is a setting. `pmos proactive settings` |
49
107
  | [Day tasks](proactive-engine.md) | You press Prepare my day. At most 5 sessions at once. | The sources of the brief, read-only | Today: a draft waits for Approve or Revise | Do not press Prepare my day |
50
- | [Next prompt and Sharper](next-prompt.md) | After Claude replies, and when you stop typing a rough prompt | The reply and your message | Cards above the chat box. Nothing is sent. | Settings › Claude. `pmos ai off next-prompt`, `pmos ai off sharpen-prompt` |
51
- | [Rehearse a plan](rehearse.md) | You ask Claude to move a date or cut a task or an initiative | Task links, initiative records, goals and program charters | Your session, before Claude makes the change | `pmos ai off rehearse` |
52
- | [Data refresh](data-freshness.md) | In working hours: the calendar every 30 minutes, and Jira, My work and your tools every hour. Tracker items on Friday 15:30. | Each tool with your own connection, read-only | Each page shows how old its data is | Settings › Data refresh |
108
+ | [Next prompt and Sharper](home.md) | After Claude replies, and when you stop typing a rough prompt | The reply and your message | Cards above the chat box. Nothing is sent. | Settings › Claude. `pmos ai off next-prompt`, `pmos ai off sharpen-prompt` |
109
+ | [Rehearse a plan](claude-proposes.md) | You ask Claude to move a date or cut a task or an initiative | Task links, initiative records, goals and program charters | Your session, before Claude makes the change | `pmos ai off rehearse` |
110
+ | [Data refresh](settings-and-switches.md) | In working hours: the calendar every 30 minutes, and Jira, My work and your tools every hour. Tracker items on Friday 15:30. | Each tool with your own connection, read-only | Each page shows how old its data is | Settings › Data refresh |
53
111
 
54
112
  Ask about the past runs only when you ask a question in an initiative's chat. It answers from the records, with the file and line of each claim, and says **No record found** when no record answers.
55
113
 
@@ -71,7 +129,7 @@ Sync by itself is on by default. `PMOS_AUTO_SYNC=0` stops the sync, the repair a
71
129
  - It does not create an initiative. The Horizon scan proposes one, and you approve it.
72
130
  - It does not record a verdict on an outcome. The verdict is always yours.
73
131
 
74
- When you ask an agent session to do a piece of work, it can finish it, including acts that were yours alone. Each line it writes names the agent, so you see who did it. See [PM-only acts](pm-only-acts.md).
132
+ When you ask an agent session to do a piece of work, it can finish it, including acts that were yours alone. Each line it writes names the agent, so you see who did it. See **PM-only acts**.
75
133
 
76
134
  ## See what ran, and turn it off
77
135
 
@@ -105,13 +163,7 @@ The rules:
105
163
  - **One run for each initiative, and a daily budget.** A role runs at most a set number of times each day (`pmos team roles` shows it). Its runs share the queue's limit of 3 background runs.
106
164
  - **Proposals first.** Until auto mode is on for a role's class, a role run writes nothing. It files what it would write, and the dispatch ends in one inbox entry with what each role did, proposed and found.
107
165
 
108
- The commands:
109
-
110
- - `pmos team roles`: each role, what it owns, what wakes it, its class and its daily budget.
111
- - `pmos team dispatch <initiative>`: the chief of staff picks the roles that the initiative needs and runs them in order. `--roles spec,eval` picks them yourself. `pmos team dispatch --goal "<goal>"` does the same for a goal in words.
112
- - `pmos team status`: who works on what, what waits, and the inbox entries of ended dispatches.
113
- - `pmos team pause <role|all>` and `pmos team resume <role|all>`: stop or restart a role's runs. `pmos ai off team` stops the whole team.
114
- - Inside a role run only: `pmos team wrote <path>`, `pmos team done "<summary>" [--propose <path> "<what>"]` and `pmos team verdict <path> pass|fail "<why>"`.
166
+ The `pmos team` commands, and the three that only a role run uses, are in the [Command reference](cli.md). `pmos ai off team` stops the whole team.
115
167
 
116
168
  ## The idle lab
117
169
 
@@ -130,10 +182,166 @@ Before you see a result, PMOS proves it:
130
182
 
131
183
  Specimens stay in the runtime folder on this computer. Nothing goes into a product repository before your ✓. The idle lab's spend counts toward the same limit as the grill in Settings › Claude › Checks.
132
184
 
133
- The run uses only these commands:
134
-
135
- - `pmos lab page <url>`: a scan run reads one public page. PMOS refuses a private or local address and keeps the page text, so a quote can be checked.
136
- - `pmos lab file <group> --json -`: a run files one result. It waits until the run ends and the proof passes.
137
- - `pmos lab status`: in a run, what it filed. Outside a run, this month's idle lab runs and spend.
185
+ The run uses only the `pmos lab` commands in the [Command reference](cli.md).
138
186
 
139
187
  Not proven yet: the compare view's Production and Design columns stay left out until PMOS shows on your computer that it can render production from the product repository and read the design.
188
+
189
+ ## The idle lab: where its results wait
190
+
191
+ When you step away from PMOS, Claude can use the idle time to make prototypes and to scan the web for your initiatives. Each result is checked before you see it: a prototype must open and render, and a scan claim must cite a page Claude read. Nothing is written to a product repository before you press ✓.
192
+
193
+ ### Where a result waits
194
+
195
+ A result for one initiative waits under that initiative's blue ✦, in one of three groups:
196
+
197
+ - **Claude prototyped it.** A first round of 2 or 3 different ways to do it, as thumbnails. Press a thumbnail to open it in the compare view.
198
+ - **Claude improved it.** A new round of one prototype. It says what changed, usually one thing, and where the change came from: your ✕ reason, a grill finding or a scan finding.
199
+ - **Claude scanned for it.** A finding to attach as evidence, with the pages Claude read.
200
+
201
+ ✓ keeps it as one of the initiative's documents. ✕ asks why first. Claude learns from the reason, and you can leave it empty. Press ✕ again to drop it. Undo in the toast takes a ✓ back.
202
+
203
+ A result that fits no initiative waits in **Intelligence › Lab**. ✓ keeps the finding.
204
+
205
+ ### The compare view
206
+
207
+ The compare view shows a prototype beside what it changes:
208
+
209
+ - **Production**: the screen as it is on the product repository's main branch.
210
+ - **Design**: the design for the screen, from Figma or a Claude canvas.
211
+ - **Prototype**: the round you opened.
212
+
213
+ A column with no source is left out, with one line that says why. Claude is still proving that it can render production and read the design, so for now those two columns are left out and the prototype shows alone. **Where they differ** lists the differences as numbered pins. **History** lists every round: press a round to show it in the Prototype column. ✓ and ✕ in the header keep or drop the round shown.
214
+
215
+ Each prototype opens in a sandboxed frame. It cannot reach PMOS or your data.
216
+
217
+ ### Intelligence › Lab
218
+
219
+ The Lab shows only once there is something to show. Top to bottom:
220
+
221
+ - One ✦ line for the week: the idle time Claude used, how many results you kept, and how many findings fit no initiative.
222
+ - The findings that fit no initiative, each with ✓ and ✕.
223
+ - **What Claude did in the background**: every background job this week, not only the idle lab. Each row says in plain words what Claude did, why it ran and what came out, and when. For example: "Checked Inline login for eShop for risks · monthly check · 3 findings waiting · Sat 00:32", or "Redrew TSC Monthly Product Update in its saved look · 19:37". **See what it found** shows only when a result waits on the initiative. It opens the initiative, where the result is. It is not a second copy.
224
+ - **You kept**: how many prototypes and scans you kept.
225
+ - **Next time you step away**: what Claude plans to do next. Claude picks these by itself. To skip one, say so in chat.
226
+
227
+ The top of this page lists every background job and how to stop it.
228
+
229
+ ## PM-only acts: what you and your agents can do
230
+
231
+ Some acts decide what the work is and when it is done. Since [D98](/okf/products/pmos/adr/d98-agents-finish-asked-work.md), an agent that you asked to do a piece of work does these acts too, so it can finish the work without stopping to ask you. It does not ask you to type anything. Every line it writes names the agent (`by: agent:sess-…`, or `agent:unknown`), so you see who acted, and you can move it back, withdraw it or return the run.
232
+
233
+ ### The acts
234
+
235
+ | Act | Where you do it |
236
+ |---|---|
237
+ | Accept a run, approve or return a review, approve a document | Not on the page yet. In your own terminal, run `node scripts/record-acceptance.js`. |
238
+ | Accept or send back a step that an agent ran | Not on the page yet. A later run adds it. |
239
+ | Approve a contract | Not on the page yet. In your own terminal, run `node scripts/log-run.js` with `PM_approved: true` in the contract. |
240
+ | Record a D60 disposition of a prototype | Not on the page yet. A later run adds it. |
241
+ | Hold, close, cancel or reopen an initiative | The initiative's lifecycle menu |
242
+ | Adopt an open proposal (Move to Now was retired with the horizons, D105) | Initiatives (arrives with the Initiatives screen) |
243
+ | Change the anchor (`parent_kr`) of an initiative | The document editor, or the confirm step of Add a repository |
244
+ | Bind a session to an initiative | The session's initiative menu, or + session on an initiative |
245
+ | Issue a report | Reports (arrives in Run 5) |
246
+ | Release a batch of factory work | The Board (arrives in Run 4) |
247
+
248
+ Each line that the workspace server writes for one of these acts says who wrote it (`by: pm:wawan`, or the agent's `by`) and how (`via: ui` from the page, `via: cli` from a terminal).
249
+
250
+ An agent's items in the Breakdown are live as soon as it adds them, so there is no Keep card any more.
251
+
252
+ ### How the workspace checks a press
253
+
254
+ When the workspace server starts, it makes a new random value for this launch. It puts the value in the page that it serves to your browser. It does not put the value in any terminal session, and it does not write the value to a log.
255
+
256
+ Each press from the page sends three things: the page's own address (the Origin), the launch value, and the request. The server refuses the press when:
257
+
258
+ - the request has no Origin, or the Origin is a different site or a different port;
259
+ - the launch value is missing or wrong.
260
+
261
+ A press that carries an agent session's `x-pmos-session` value passes these checks like yours, and its line names that agent, never you.
262
+
263
+ The server also refuses a request that sets a field that only the server sets, for example `by`, `via`, `at` or `grant`.
264
+
265
+ A press that is refused writes nothing.
266
+
267
+ The terminal on the page sends the launch value when it connects. A session that you start with + session on an initiative is bound to that initiative only when the value is correct. If it is not correct, the session starts without an initiative and the terminal says why.
268
+
269
+ #### When a press is refused
270
+
271
+ If the workspace started again after you opened the page, the page reads the new launch value and sends your press again, one time. You do not have to do anything.
272
+
273
+ If a press shows "the workspace restarted, so reload the page, then try again", reload the page, then press again.
274
+
275
+ ### Acts from a terminal
276
+
277
+ A command that does one of these acts asks you, at your own terminal, to type a word first, usually the initiative id. Type the id exactly, then press Enter. If the text does not match, the command writes nothing.
278
+
279
+ Inside an agent session (the session has a `PMOS_SESSION` value) the command does the act without asking, and records the session as `by`. A command that runs without a terminal, for example in a pipe or a script, is recorded as `agent:unknown`, not as you.
280
+
281
+ ### How each act is recorded and checked
282
+
283
+ Each act adds one line to a ledger in the repository, with its `by` and `via` (see above). These checks protect the lines:
284
+
285
+ - **In the workspace.** A press sends the launch value (see above). A request without it is refused.
286
+ - **At a terminal.** A command asks you to type a confirmation, or records the agent session as `by` (see above).
287
+ - **In a cockpit session.** The cockpit mod's guards deny some direct writes, for example a hand-written line in `acceptances.jsonl` or `grants.jsonl`. [kit/mods/pmos-cockpit/README.md](/kit/mods/pmos-cockpit/README.md) lists them.
288
+ - **In CI.** The Initiative Gate runs `scripts/check-pm-lines.js`. It fails on a PM-only line that is not attested (see below). It needs the full git history: on a shallow clone it fails and asks for `fetch-depth: 0`.
289
+
290
+ These checks find a forged line. They do not make a forgery impossible. A program that runs as your own user can still write a line that looks like yours.
291
+
292
+ #### The Today card "A PM-only line is not attested"
293
+
294
+ Today shows a needs-repair card for each PM-only line that fails a check. The card names the file and the line number, for example `planning/runs/placements.jsonl line 12`. Press **Show line** to see the line. The cause is one of these:
295
+
296
+ | Cause | What it means | What to do |
297
+ |---|---|---|
298
+ | … has no via | The line was written after `via_required_from` and does not say how. A writer always adds `via`, so a person or a program added the line by hand. | If you did the act, do it again from the workspace or the terminal, then remove the hand-written line in a commit. If you did not do it, remove the line. |
299
+ | … cites a grant that grants.jsonl does not hold | The line names a grant that does not exist. | Remove the line. Do the act again; the press mints a new grant. |
300
+ | … cites a grant that does not cover it | The grant exists, but it is for a different act: another scope, another state or initiative, or a time outside the grant's 120 minutes. | Remove the line. Do the act again; the press mints a new grant. |
301
+ | … names no PM or agent session | The `by` of the line names neither you nor an agent session. | Remove the line. Do the act again from the workspace or the terminal. |
302
+ | … arrived in an agent-authored commit | The line claims you as `by`, but a commit by an agent added it. This is how a line that a script wrote, or a patch added with `git apply`, arrives. An agent's own line (`by: agent:…`) is not flagged. | Look at the commit. If the act is yours, commit the ledger line yourself, without an agent trailer. Otherwise remove the line. |
303
+ | An agent acceptance is not backed by the Review Gate | An agent's acceptance has no passing Review Gate row for its run, or its basis does not match that row. | Remove the line, or run the Review Gate for the run first. |
304
+
305
+ A line can have more than one cause. The card then lists each one.
306
+
307
+ #### Older lines
308
+
309
+ `via_required_from` in `planning/plan-rules.json` is the time from which a PM-only line must say how it was written. Lines written before that time have no `via`. The gate counts them once for each file and does not fail on them. A line counts as older only when both of these are true:
310
+
311
+ - Its own time is before `via_required_from`.
312
+ - The commit that added it comes before the commit that set `via_required_from`, in the git history.
313
+
314
+ The gate does not use the dates of a commit, because the person or program that makes a commit can set them. While the value is `null`, every line counts as older.
315
+
316
+ ### Grants for a bulk change and a Release
317
+
318
+ Some presses mint a grant: permission for one action, used once, for 120 minutes.
319
+
320
+ - **A bulk lifecycle change.** In the Initiatives list, select up to 20 initiatives and change their lifecycle. The press mints one `lifecycle-bulk` grant that names the state and each initiative. Each lifecycle line cites that grant. If the grant writer refuses or is missing, the press writes nothing. An anchor change is never a bulk act: change anchors one at a time.
321
+ - **A Release.** A Release of a factory batch mints one `release` grant for that batch.
322
+
323
+ To mint a grant at a terminal in a cockpit session, type `/pmos-grant release:<initiative>:<batch-id>` or `/pmos-grant lifecycle-bulk:<state>:<id>,<id>`. The state is one of `active`, `closed`, `on-hold` and `cancelled`.
324
+
325
+ ### What an agent can write
326
+
327
+ An agent can do every act in the table above, and it can:
328
+
329
+ - add items, which are live at once, and change, move, block and withdraw any item, yours included;
330
+ - create an initiative (it lands at the end of the Roadmap), write report text, and record a measurement with a source;
331
+ - rank an initiative on the Roadmap; the move applies at once.
332
+
333
+ Every line it writes names the agent. Some things stay yours:
334
+
335
+ - An agent's acceptance is not marked as yours and carries no `pm_label`; that label is your calibration answer.
336
+ - A run does not answer its own permission request.
337
+ - Merging and publishing follow their own rules (D93, D94), and the factory's propose-only rule (D65) is unchanged.
338
+
339
+ ### What this does not prevent
340
+
341
+ A program that runs as your own user can read the page, as your browser does, and send a press. A program that fakes a terminal can type the id. The workspace closes the paths that an agent's tools use by default.
342
+
343
+ Some paths are still open:
344
+
345
+ - A program can connect to the terminal socket without the launch value. It cannot bind a session to an initiative, but it can start a session and type into any terminal, including your own shell. A `pmos` command that it types in your shell runs as you.
346
+ - An agent's `pmos item` commands are not yet checked against the initiative that its session is bound to, and a session value that names no session is recorded as `agent:unknown`.
347
+ - An undo is not automatic. You undo an agent's act with an ordinary act of your own: move the item back, withdraw it, or return the run. See [Breakdown](breakdown.md) for the items.
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  type: Guide
3
- title: "An initiative's tasks, and pmos item"
4
- description: "Where an initiative's tasks show in the workspace, how an agent adds tasks, who made a change, and the pmos item commands."
5
- timestamp: 2026-11-03
3
+ title: "An initiative's tasks"
4
+ description: "Where an initiative's tasks show in the workspace, how an agent adds tasks, and who made a change."
5
+ timestamp: 2026-11-08
6
6
  ---
7
7
 
8
- # An initiative's tasks, and pmos item
8
+ # An initiative's tasks
9
9
 
10
10
  An initiative owns its task breakdown. In the workspace, its tasks show under the initiative in Home's list (the 3 most urgent, then **Show N more tasks**) and on the initiative's page in the Viewer. Press **+** at the top of Home's list, then **Task**, to add one. A check box is a task: amber when it is late. [Home](home.md) explains the list.
11
11
 
@@ -13,7 +13,6 @@ An initiative owns its task breakdown. In the workspace, its tasks show under th
13
13
 
14
14
  An agent can add items with `pmos item add`. Since D98 its items are live at once: they show under the initiative and count in its progress, with no Keep card. Each item names the agent that added it, so you can withdraw it if you do not want it. A Keep line from before D98 has no effect any more and is not flagged.
15
15
 
16
-
17
16
  ## Who made a change
18
17
 
19
18
  Each line in the file names who wrote it. The history of an item shows it as:
@@ -30,18 +29,4 @@ An agent can change, move and withdraw any item, the items you added included. E
30
29
 
31
30
  A terminal that the workspace starts for an agent is marked as that agent's, so its commands are recorded as the agent even when they run at a terminal. Your own shell terminals are not marked, so their commands are recorded as you.
32
31
 
33
- ## From a terminal: pmos item
34
-
35
- Every command takes `--json` for output a script can read, and `--root <dir>` to name the repository. Without `--root`, the command uses the repository of the current folder.
36
-
37
- | Command | What it does |
38
- |---|---|
39
- | `pmos item add <initiative> "<title>" --stage <stage>` | Adds an item. Options: `--due`, `--start` (YYYY-MM-DD), `--owner you\|agent\|person:<name>\|tracker:<ref>`, `--after <item>`, `--milestone`, `--note "<text>"`. |
40
- | `pmos item set <item> …` | Changes fields: `--title`, `--stage`, `--due`, `--start`, `--owner`, `--after`, `--milestone` or `--no-milestone`, `--note`, `--blocked "<reason>"`. Give `none` to clear a field. |
41
- | `pmos item move <item> todo\|doing\|review\|done` | Changes the state. An agent adds `--evidence commit:<sha>` (or `pr:`, `file:`, `session:`, `note:`) when it moves an item to Done. If it forgot, it runs the same move to Done again with `--evidence`. |
42
- | `pmos item withdraw <item>` | Withdraws an item. An agent can withdraw only its own items. |
43
- | `pmos item list <initiative>` | Lists the items by stage, with the progress. |
44
-
45
- A stage is its id or its label, for example `build` or `Build`. An item id is the initiative id, a dot, and ten characters, for example `partner-sso.k3j9x0p2qa`.
46
-
47
- The command decides who wrote the line from where it runs. It does not take a `--by` option.
32
+ The `pmos item` commands are in the [Command reference](cli.md).