create-pmos 0.560.0 → 0.561.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +20 -14
- package/payload/KIT-VERSION +1 -1
- package/payload/okf/core/templates/done-test-template.md +47 -0
- package/payload/okf/core/templates/experiment-record-template.md +62 -0
- package/payload/okf/core/templates/index.md +2 -0
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/changelog.json +19 -0
- package/workspace/guide/agent-capabilities.md +1 -1
- package/workspace/guide/home.md +1 -1
- package/workspace/guide/jira.md +2 -2
- package/workspace/guide/reports.md +1 -1
- package/workspace/guide/settings-and-switches.md +1 -0
- package/workspace/lib/actor.js +2 -2
- package/workspace/lib/artefacts.js +1 -1
- package/workspace/lib/autonomy.js +1 -1
- package/workspace/lib/board-goals.js +1 -1
- package/workspace/lib/chat-file-locate.js +2 -2
- package/workspace/lib/corrections-memory.js +1 -1
- package/workspace/lib/drive-guard.js +5 -5
- package/workspace/lib/driver.js +1 -1
- package/workspace/lib/first-input.js +1 -1
- package/workspace/lib/folder-repair.js +1 -1
- package/workspace/lib/git-identity.js +1 -1
- package/workspace/lib/goal-loop.js +1 -1
- package/workspace/lib/goal-source.js +1 -1
- package/workspace/lib/harness-parse.js +1 -1
- package/workspace/lib/impact-cli.js +1 -1
- package/workspace/lib/impact.js +1 -1
- package/workspace/lib/initiative-chat.js +1 -1
- package/workspace/lib/item-cli.js +1 -1
- package/workspace/lib/meeting-suggest.js +3 -3
- package/workspace/lib/meeting-terms.js +2 -2
- package/workspace/lib/notes.js +1 -1
- package/workspace/lib/okr-goals.js +2 -2
- package/workspace/lib/one-stage.js +1 -1
- package/workspace/lib/plan-items.js +3 -3
- package/workspace/lib/pm-slug.js +51 -0
- package/workspace/lib/profile-default.js +1 -1
- package/workspace/lib/program-chat.js +2 -2
- package/workspace/lib/programs.js +1 -1
- package/workspace/lib/ready-reports.js +1 -1
- package/workspace/lib/report-acts.js +3 -3
- package/workspace/lib/report-cli.js +1 -1
- package/workspace/lib/report-draft.js +1 -1
- package/workspace/lib/routes-autonomy.js +1 -1
- package/workspace/lib/routes-boards.js +3 -3
- package/workspace/lib/routes-insights-premium.js +1 -1
- package/workspace/lib/routes-programs.js +2 -2
- package/workspace/lib/session-name.js +1 -1
- package/workspace/lib/skill-store.js +4 -4
- package/workspace/lib/skills-registry.js +5 -2
- package/workspace/lib/transcript-read.js +1 -1
- package/workspace/lib/typesafe-settings.js +1 -1
- package/workspace/lib/worktree-gc.js +1 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/bd-asks.js +1 -1
- package/workspace/public/pm/bd-prog-panel.js +2 -2
- package/workspace/public/pm/bd-prog.js +1 -1
- package/workspace/public/pm/bd-span.js +1 -1
- package/workspace/public/pm/c3-ini-ui.js +1 -1
- package/workspace/public/pm/cozy-pick.js +1 -1
- package/workspace/public/pm/cozy-viewer.js +1 -1
- package/workspace/public/pm/goals-clear.js +1 -1
- package/workspace/public/pm/home-app.js +1 -1
- package/workspace/public/pm/home-ini-model.js +1 -1
- package/workspace/public/pm/ini-view.js +1 -1
- package/workspace/public/pm/loose-props.js +1 -1
- package/workspace/public/pm/premium-board.js +1 -1
- package/workspace/public/pm/premium-insights.js +1 -1
- package/workspace/public/pm/premium-report-read.js +1 -1
- package/workspace/public/pm/premium-shell.js +1 -1
- package/workspace/public/pm/prog-move.js +2 -2
- package/workspace/public/pm/stage-chip.js +1 -1
- package/workspace/public/pm/state.js +10 -10
- package/workspace/public/pm/tk-send.js +1 -1
- package/workspace/run-tests.js +5 -1
- package/workspace/server.js +16 -16
- package/workspace/skills/gather-requirements.skill +1 -1
- package/workspace/skills/impact-detect.skill +1 -1
- package/workspace/skills/live-notes.skill +1 -1
- package/workspace/skills/loose-propose.skill +1 -1
- package/workspace/skills/measure.skill +1 -1
- package/workspace/skills/metric-draft.skill +1 -1
- package/workspace/skills/report-design.skill +1 -1
- package/workspace/skills/report-setup.skill +1 -1
- package/workspace/skills/report-weekly.skill +1 -1
- package/workspace/skills/report-write.skill +1 -1
- package/workspace/skills/story-first.skill +1 -1
- package/workspace/test-lists/pm-slug.json +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.561.0",
|
|
4
4
|
"description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -33,6 +33,25 @@
|
|
|
33
33
|
"audit"
|
|
34
34
|
],
|
|
35
35
|
"pmosChanges": [
|
|
36
|
+
{
|
|
37
|
+
"v": "0.561.0",
|
|
38
|
+
"at": "2026-11-11T10:53:52.082Z",
|
|
39
|
+
"f": 4,
|
|
40
|
+
"prs": [
|
|
41
|
+
{
|
|
42
|
+
"n": 1292,
|
|
43
|
+
"t": "Canvas registry, batch log, and an experiment record per batch item",
|
|
44
|
+
"s": "Canvas registry, batch log, and an experiment record per batch item",
|
|
45
|
+
"k": "x"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"n": 1291,
|
|
49
|
+
"t": "Remove work-specific names from the published kit and derive the PM's name per install",
|
|
50
|
+
"s": "Remove work-specific names from the published kit and derive the PM's name per install",
|
|
51
|
+
"k": "fix"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
36
55
|
{
|
|
37
56
|
"v": "0.560.0",
|
|
38
57
|
"at": "2026-11-11T06:57:01.192Z",
|
|
@@ -291,19 +310,6 @@
|
|
|
291
310
|
"k": "new"
|
|
292
311
|
}
|
|
293
312
|
]
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"v": "0.541.0",
|
|
297
|
-
"at": "2026-11-08T05:40:26.472Z",
|
|
298
|
-
"f": 4,
|
|
299
|
-
"prs": [
|
|
300
|
-
{
|
|
301
|
-
"n": 1269,
|
|
302
|
-
"t": "Consolidation batch from the OS evaluation (switch list, day check, guide 60 → 19 pages)",
|
|
303
|
-
"s": "Consolidation batch from the OS evaluation (switch list, day check, guide 60 → 19 pages)",
|
|
304
|
-
"k": "x"
|
|
305
|
-
}
|
|
306
|
-
]
|
|
307
313
|
}
|
|
308
314
|
]
|
|
309
315
|
}
|
package/payload/KIT-VERSION
CHANGED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Template
|
|
3
|
+
title: Done Test Template
|
|
4
|
+
description: The scaffold for an experiment's done test (D107) at planning/done-tests/<id>.md — the checks that say the work is done, each with how to check it. Written and agreed before the build; it replaces the PRD and the rubric.
|
|
5
|
+
tags: [template, done-test, experiment, d107]
|
|
6
|
+
timestamp: 2026-11-11
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Done Test Template
|
|
10
|
+
|
|
11
|
+
**Situating context:** D107 made the done test the spec (D13 as amended): the checks are written and agreed before the build, and a team gets the kept specimen and this test, with no PRD. Use it with the [experiment record template](/okf/core/templates/experiment-record-template.md).
|
|
12
|
+
|
|
13
|
+
## How to use it
|
|
14
|
+
|
|
15
|
+
1. Copy the block below to `planning/done-tests/<id>.md`.
|
|
16
|
+
2. Write each check as a fact a reader can check in the diff or in the running product.
|
|
17
|
+
3. Say how to check it: a command, a test name, a file to read, or a screen at 390 px and at desktop width.
|
|
18
|
+
4. Commit it with the record, before any build commit.
|
|
19
|
+
|
|
20
|
+
## The done test
|
|
21
|
+
|
|
22
|
+
```markdown
|
|
23
|
+
---
|
|
24
|
+
type: Rubric
|
|
25
|
+
title: "Done test — <title>"
|
|
26
|
+
timestamp: <YYYY-MM-DD>
|
|
27
|
+
initiative: <id>
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Done test: <id>
|
|
31
|
+
|
|
32
|
+
<One or two sentences: where the item came from and what it changes for the PM.>
|
|
33
|
+
|
|
34
|
+
Every check must pass.
|
|
35
|
+
|
|
36
|
+
| # | Check | How to check |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| 1 | <a fact about the result> | <command, test, file or screen> |
|
|
39
|
+
| 2 | … | … |
|
|
40
|
+
| n | The suites that the diff reaches pass. | `npm run test:changed` in `workspace/`, and CI. |
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Rules
|
|
44
|
+
|
|
45
|
+
- **Grade the result, not the path** (D14). A check names what is true when the work is done.
|
|
46
|
+
- **A UI check names the screen and the width.** Follow the [design principles](/okf/products/pmos/references/design-principles.md).
|
|
47
|
+
- **Do not change a check after the build starts.** If a check is wrong, say so in the PR and let the PM decide.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Template
|
|
3
|
+
title: Experiment Record Template
|
|
4
|
+
description: The scaffold for an experiment record (D107) at planning/initiatives/<id>.md — Intent, Done test, kill condition. A record with done_test_path and kill passes the Initiative Gate in any lane, with no PRD. The batch lead writes one for every batch item before its build.
|
|
5
|
+
tags: [template, experiment, initiative, d107]
|
|
6
|
+
timestamp: 2026-11-11
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Experiment Record Template
|
|
10
|
+
|
|
11
|
+
**Situating context:** D107 made every piece of work an experiment, with a done test and a kill condition written before the build. Until batch 30 no PMOS-self record used that shape: batch 29 shipped nine PRs and wrote no record at all. This template is the short form the batch lead fills for each item (proposal P2 of the build-process evaluation, 2026-11-11). The procedure is in [planning/initiatives/README.md](/planning/initiatives/README.md#writing-a-record-for-a-batch-item).
|
|
12
|
+
|
|
13
|
+
## How to use it
|
|
14
|
+
|
|
15
|
+
1. Pick the id: lowercase words with hyphens, for example `board-by-goal-everywhere`. The id must match `^[a-z0-9][a-z0-9._-]*$`.
|
|
16
|
+
2. Copy the block below to `planning/initiatives/<id>.md` and fill every line.
|
|
17
|
+
3. Copy the [done test template](/okf/core/templates/done-test-template.md) to `planning/done-tests/<id>.md` and fill it.
|
|
18
|
+
4. Commit both before any build commit. The ladder checks that the done test first-appeared at or before the first build commit (O1).
|
|
19
|
+
|
|
20
|
+
## The record
|
|
21
|
+
|
|
22
|
+
```markdown
|
|
23
|
+
---
|
|
24
|
+
type: Initiative
|
|
25
|
+
title: "<what the experiment does, in the PM's words>"
|
|
26
|
+
timestamp: <YYYY-MM-DD>
|
|
27
|
+
id: <id>
|
|
28
|
+
parent_kr: <q3-2026:o1:kr1, or health:tech | health:security | health:ops>
|
|
29
|
+
done_test_path: planning/done-tests/<id>.md
|
|
30
|
+
kill: "<the result that would make us stop>"
|
|
31
|
+
status: "<batch NN item N: one sentence on the item>"
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
# Experiment: <title>
|
|
35
|
+
|
|
36
|
+
## Intent
|
|
37
|
+
|
|
38
|
+
<What Wawan asked for, quoted when it is short. What we want, the limits, and what we will not do.>
|
|
39
|
+
|
|
40
|
+
## Hypothesis
|
|
41
|
+
|
|
42
|
+
<If we build X, then Y happens for the PM.>
|
|
43
|
+
|
|
44
|
+
## Done test
|
|
45
|
+
|
|
46
|
+
[planning/done-tests/<id>.md](/planning/done-tests/<id>.md)
|
|
47
|
+
|
|
48
|
+
## Kill condition
|
|
49
|
+
|
|
50
|
+
See `kill:` above.
|
|
51
|
+
|
|
52
|
+
## Executor
|
|
53
|
+
|
|
54
|
+
<factory | team | team-agents>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Rules for each key
|
|
58
|
+
|
|
59
|
+
- **`done_test_path` and `kill`** are what the gate checks (D107). The done test file must exist. The kill condition must be a result someone can observe, not "if it does not work".
|
|
60
|
+
- **`parent_kr`** anchors the work to a KR or a health budget (D59). Use a health budget for upkeep.
|
|
61
|
+
- **`lane:`** is optional. With a done test the gate reads a lane only as a hint.
|
|
62
|
+
- **No `stage:` key.** `scripts/workflow-state.js` derives the stage.
|
|
@@ -14,3 +14,5 @@ OKF reserved file (no frontmatter). Directory listing for progressive disclosure
|
|
|
14
14
|
- [project-plan-template](project-plan-template.md) — A project spanning several initiatives or repositories (D68 project-plan lane): scope, milestones, owners, dependencies, risks, decision log.
|
|
15
15
|
- [decision-record-template](decision-record-template.md) — Meeting notes and decisions (D68 decision-record lane, light by default): decisions, actions, open questions.
|
|
16
16
|
- [report-weekly-template](report-weekly-template.md) — A regular status report (D68 report lane, light by default): what moved against which KR or domain goal, metrics, blockers, what needs the reader.
|
|
17
|
+
- [experiment-record-template](experiment-record-template.md) — The experiment record (D107) at planning/initiatives/<id>.md: Intent, Done test, kill condition. The batch lead writes one for every batch item before its build.
|
|
18
|
+
- [done-test-template](done-test-template.md) — An experiment's done test (D107) at planning/done-tests/<id>.md: the checks that say the work is done, written before the build.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Eval calibration log"
|
|
4
4
|
description: "Append-only record of every PM override of an evaluator verdict."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-11-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-11T10:53:48Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Health budgets"
|
|
4
4
|
description: "Closed registry of health-budget anchors (D59), edited only by the PM."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-11-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-11T10:53:48Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Discoveries and friction log"
|
|
4
4
|
description: "Append-only record of what runs discovered and where the process rubbed."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-11-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-11T10:53:48Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.561.0",
|
|
4
|
+
"at": "2026-11-11T10:53:52.082Z",
|
|
5
|
+
"f": 4,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1292,
|
|
9
|
+
"t": "Canvas registry, batch log, and an experiment record per batch item",
|
|
10
|
+
"s": "Canvas registry, batch log, and an experiment record per batch item",
|
|
11
|
+
"k": "x"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"n": 1291,
|
|
15
|
+
"t": "Remove work-specific names from the published kit and derive the PM's name per install",
|
|
16
|
+
"s": "Remove work-specific names from the published kit and derive the PM's name per install",
|
|
17
|
+
"k": "fix"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
2
21
|
{
|
|
3
22
|
"v": "0.560.0",
|
|
4
23
|
"at": "2026-11-11T06:57:01.192Z",
|
|
@@ -247,7 +247,7 @@ Some acts decide what the work is and when it is done. Since [D98](/okf/products
|
|
|
247
247
|
| Issue a report | Reports (arrives in Run 5) |
|
|
248
248
|
| Release a batch of factory work | The Board (arrives in Run 4) |
|
|
249
249
|
|
|
250
|
-
Each line that the workspace server writes for one of these acts says who wrote it (`by: pm
|
|
250
|
+
Each line that the workspace server writes for one of these acts says who wrote it (`by: pm:<your name>`, or the agent's `by`) and how (`via: ui` from the page, `via: cli` from a terminal).
|
|
251
251
|
|
|
252
252
|
An agent's items in the Breakdown are live as soon as it adds them, so there is no Keep card any more.
|
|
253
253
|
|
package/workspace/guide/home.md
CHANGED
|
@@ -139,7 +139,7 @@ The button with the panel icon shows or hides the list on the left. It works in
|
|
|
139
139
|
The Viewer keeps one trail on Home, the Board and Insights.
|
|
140
140
|
|
|
141
141
|
- A press inside the Viewer keeps the item behind the one it opens. For example: an initiative, then a ticket in its Tasks, then a Linked ticket, then that ticket's epic card. A press on the page outside the Viewer (a row in the list, a row on the Board) starts a new trail.
|
|
142
|
-
- ← goes one step back. Point to it to see where it goes, for example "Back to
|
|
142
|
+
- ← goes one step back. Point to it to see where it goes, for example "Back to Spring Sale Landing Page". At the first item of the trail, a computer shows no ←, and × closes. On a phone, ← at the first item closes the Viewer.
|
|
143
143
|
- → shows only after you go back. It goes one step forward. When you open something new, → goes away, as in a browser.
|
|
144
144
|
- To see the whole trail, point to ← or → on a computer, or hold it on a phone. The list shows the newest item first and ends with the page. Press an item to go to it. Press the page to close the Viewer.
|
|
145
145
|
- The browser's Back and Forward buttons and the back swipe on a phone move along the same trail. Back at the first item closes the Viewer. One more Back goes to the page before.
|
package/workspace/guide/jira.md
CHANGED
|
@@ -196,12 +196,12 @@ pmos jira summary --from <file|-> [--dry-run]
|
|
|
196
196
|
Your team may already plan in Jira, with an epic for each piece of work. Then link the initiative to its epics. You do not have to draft or push tickets.
|
|
197
197
|
|
|
198
198
|
1. Open the initiative. On a board with **Build and deliver** on, press **Link Jira epics** in the initiative header.
|
|
199
|
-
2. Type the epic keys, separated by commas, for example `
|
|
199
|
+
2. Type the epic keys, separated by commas, for example `SHOP-2685, WEB-120`. Each epic must be in one of the board's Jira projects.
|
|
200
200
|
3. Press **Save epics**.
|
|
201
201
|
|
|
202
202
|
The **Jira status check** then reads each epic and the issues under it. The initiative's **Jira items**, **Breakdown** and **Timeline** show them, and the board's **Backlog**, **Board** and **Timeline** too. They are read-only: change them in Jira.
|
|
203
203
|
|
|
204
|
-
An initiative record that names an epic in its frontmatter (`jira:
|
|
204
|
+
An initiative record that names an epic in its frontmatter (`jira: SHOP-2685`) is linked to it until you save epics on the page. Save an empty list to unlink.
|
|
205
205
|
|
|
206
206
|
An initiative whose tickets PMOS pushed keeps the tickets it pushed. The epic link is for initiatives with no pushed ticket.
|
|
207
207
|
|
|
@@ -451,7 +451,7 @@ Open Intelligence (`/premium-intelligence.html`), then **⋯ › Reports and das
|
|
|
451
451
|
1. **The reports that wait for you.** This part has no heading and no count. The count is in Your move on Home. A row shows the report name, the draft date, the readers, and the first line of the headline. Press the name to open the report or its setup. Each row has one ✓:
|
|
452
452
|
- **Issue**: the draft is ready. The ✓ issues the draft as you see it. Send it from your own mail.
|
|
453
453
|
- **Confirm the definition**: an agent proposed the definition of this report (for example the daily report), and nobody confirmed it yet. The ✓ changes `status: draft` to `status: stable` in the definition. It changes nothing else.
|
|
454
|
-
- **Move to <product>**: the report is about a different product than the one it is in. For example,
|
|
454
|
+
- **Move to <product>**: the report is about a different product than the one it is in. For example, a pricing review report was set up in the Acme Shop workspace. The ✓ moves the definition, the drafts and the setup to that product. A report that has an issued issue is not moved, because an issued report stays where it was issued.
|
|
455
455
|
- **Resume**: the report is paused. The ✓ starts its schedule again.
|
|
456
456
|
2. **Drafting on their moment.** The ready-made reviews (quarter, milestone, stage, did it work). They draft when their moment comes. Open the fold to see each switch.
|
|
457
457
|
3. **Weekly updates.** One line tells how many are on and off. Open the fold to see each switch.
|
|
@@ -146,6 +146,7 @@ An "off" switch accepts `off`, `0`, `false` or `no` unless the row says a differ
|
|
|
146
146
|
|---|---|---|---|
|
|
147
147
|
| `PMOS_WS_PORT` | The port of the workspace server. | 7433 | — |
|
|
148
148
|
| `PMOS_STATE_DIR` | The state folder. A server with its own state folder does not sync, warm or write a profile unless you tell it to. | the user state folder | — |
|
|
149
|
+
| `PMOS_PM` | The name PMOS records your own actions under (`pm:<name>`). Without it, PMOS uses the first word of your git user name, then your computer's user name. | your git first name | — |
|
|
149
150
|
| `PMOS_SELF_ROOT` | The repository that the launcher opened. It becomes the home workspace. | the folder above the app | — |
|
|
150
151
|
| `PMOS_DIR` | The PMOS folder that `pmos` opens. | `~/PMOS` | — |
|
|
151
152
|
| `PMOS_NO_OPEN` | `1` does not open a browser tab at start. | off | — |
|
package/workspace/lib/actor.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/* actor.js — who a write is, read from the CALL PATH, never from a field (pm-os-absorb, PRD R23 and R25).
|
|
3
3
|
*
|
|
4
|
-
* fromUi() → { by: 'pm
|
|
4
|
+
* fromUi() → { by: 'pm:<slug>', via: 'ui' } the page (the slug: lib/pm-slug.js), after the route's own checks
|
|
5
5
|
* fromCli({isTTY, env}) → { by, via: 'cli' } a bound agent session, else a terminal (the PM), else unknown
|
|
6
6
|
* isPm(actor) · isAgent(actor) · sessionOf(actor)
|
|
7
7
|
* pageName(by) → 'agent:sess-<n>' for 'agent:sess-<n>.<8hex>', else `by` unchanged
|
|
@@ -29,7 +29,7 @@ const fs = require('fs');
|
|
|
29
29
|
const path = require('path');
|
|
30
30
|
const crypto = require('crypto');
|
|
31
31
|
|
|
32
|
-
const PM_SLUG = '
|
|
32
|
+
const PM_SLUG = require('./pm-slug.js').slug();
|
|
33
33
|
const SESSION_RE = /^sess-\d+\.[0-9a-f]{8}$/;
|
|
34
34
|
const BY_RE = /^(?:pm:[a-z0-9_-]{1,40}|agent:unknown|agent:sess-\d+\.[0-9a-f]{8})$/;
|
|
35
35
|
const VIA = ['ui', 'cli'];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* artefacts.js — the seven artefacts of an agent-run workspace (requirement R18, decision D107).
|
|
3
3
|
* THE ONE WRITER and THE ONE FOLD of <state>/artefacts.jsonl.
|
|
4
4
|
*
|
|
5
|
-
* R18 (agreed by PM
|
|
5
|
+
* R18 (agreed by the PM 2026-11-09, "Yes to all"): exactly seven artefacts and no form. They replace the 36 core documents
|
|
6
6
|
* (lib/core-docs.js SETS and the workflow stage documents), the 9 driver proposal kinds (lib/driver.js WHATS.initiative), the 5 report
|
|
7
7
|
* cadences and the 6 lanes. Readings, sources, memory and agent ledgers are machinery, not artefacts, and stay as they are.
|
|
8
8
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
/* autonomy.js — what an agent may do by itself, and the safety net under it (D106, "Full autonomy now", PM
|
|
2
|
+
/* autonomy.js — what an agent may do by itself, and the safety net under it (D106, "Full autonomy now", the PM, 2026-11-08).
|
|
3
3
|
*
|
|
4
4
|
* THE THREE CLASSES. Every change an agent proposes has one class:
|
|
5
5
|
* A reversible upkeep with one right answer: tidy names, dates moved by evidence, a note → applied at once, with Undo
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* or a health budget of planning/okrs/health-budgets.md (D59: a budget is a goal). Each goal row on the Board says three things:
|
|
10
10
|
* meta the key result's id and whether it has a reading ("KR-A1 · no reading yet"), or a budget's "under its cap" / "over its cap"
|
|
11
11
|
* target what it must reach ("60.2% → ≥ 70% by Dec 2026"), from the OKR file's words; a budget's "20% cap a quarter"
|
|
12
|
-
* from where the reading comes from, or what it waits on ("Reads
|
|
12
|
+
* from where the reading comes from, or what it waits on ("Reads the shop dashboard once connected"); a budget's "2 of 11 initiatives"
|
|
13
13
|
* Nothing is invented: a key result with no reading says so, and an anchor that names no key result or budget is left out of `of` (the Board
|
|
14
14
|
* puts its rows under "No goal yet").
|
|
15
15
|
*
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
* base the session's own workspace id: a relative path resolves against its root.
|
|
10
10
|
* cwd the folder the session runs in (may be a subfolder or a worktree): a relative path is tried there first.
|
|
11
11
|
* named full paths Claude wrote elsewhere in the session. A relative path that is missing where it was tried is looked up among the ones
|
|
12
|
-
* that end with it (PM, 2026-10-27: "
|
|
12
|
+
* that end with it (PM, 2026-10-27: "pricing-leadership-pack.md" written as a bare name answered "No such file").
|
|
13
13
|
* home the user's home folder, for ~/.
|
|
14
14
|
* A bare file name still missing after that is looked for by name inside the base workspace (findByName): one match opens, more do not.
|
|
15
15
|
* reason: 'outside' (no served workspace holds the path), 'missing' (no such file), 'not-file' (a folder), 'bad' (no path).
|
|
16
16
|
* Both the path and each root are resolved to their real paths, so a symlink inside a workspace cannot lead out of it.
|
|
17
17
|
*
|
|
18
18
|
* extraRoots({ workspaces, worktreesOf, sessionDirs, home }) -> [{ id, root }]
|
|
19
|
-
* The folders an agent session writes in that are not served workspaces (PM, 2026-10-22: files Claude wrote in a git worktree of
|
|
19
|
+
* The folders an agent session writes in that are not served workspaces (PM, 2026-10-22: files Claude wrote in a git worktree of a product showed
|
|
20
20
|
* "Not in a workspace"). Two kinds only, so no other file on the machine becomes readable: the linked git worktrees of a served workspace's
|
|
21
21
|
* repository (the same repository, checked out in another folder) and the working folders of live sessions. Each gets a stable id `wt-<hash>`
|
|
22
22
|
* that GET /api/doc reads under the same root guard as a workspace. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
/* corrections-memory.js — the PM's ✕ reasons become curated memory by themselves (harness + memory evaluation, item 3, PM
|
|
2
|
+
/* corrections-memory.js — the PM's ✕ reasons become curated memory by themselves (harness + memory evaluation, item 3, the PM, 2026-11-08).
|
|
3
3
|
*
|
|
4
4
|
* When the PM drops a ✦ proposal or an idle-lab result and gives a reason, that reason is a correction every later run should know.
|
|
5
5
|
* remember() writes it to the repository's D72 memory (scripts/pmos-memory.js, through lib/memory.js) as one short entry:
|
|
@@ -198,7 +198,7 @@ const DISPOSITION_RE = /^\s*"?\s*(PROMOTE(D)?|ITERATE(D)?|KILL(ED)?)\b/i;
|
|
|
198
198
|
* every disposition-bearing `status:` line in this repo's own planning/initiatives/ on 2026-08-04:
|
|
199
199
|
* **26 of 30 were permitted**, including four real recorded PM dispositions —
|
|
200
200
|
*
|
|
201
|
-
* status: "CLOSED — disposed PROMOTE by PM
|
|
201
|
+
* status: "CLOSED — disposed PROMOTE by the PM 2026-07-28…"
|
|
202
202
|
* status: "CLOSED — PROMOTED 2026-07-28…"
|
|
203
203
|
* status: "…PM disposition 2026-07-29: ITERATE A…"
|
|
204
204
|
* status: "**PM disposition 2026-07-30: ITERATE C**"
|
|
@@ -225,7 +225,7 @@ const DISPOSITION_INTERNAL_RE = new RegExp(
|
|
|
225
225
|
* positives. An independent verifier then pointed out the obvious: **a driver forging a disposition
|
|
226
226
|
* defeats a case-sensitive guard by not pressing shift.**
|
|
227
227
|
*
|
|
228
|
-
* status: CLOSED — promoted 2026-07-28 by PM
|
|
228
|
+
* status: CLOSED — promoted 2026-07-28 by the PM prev=refused → mine=PERMITTED
|
|
229
229
|
*
|
|
230
230
|
* That is `workspace-doc-editing.md`'s real recorded disposition in lower case, and it was a strict
|
|
231
231
|
* regression against the module I was fixing — the same veto I wrote the rubric to catch, in the fix
|
|
@@ -250,7 +250,7 @@ const DISPOSITION_VERB = '(?:PROMOTE[SD]?|ITERATE[SD]?|KILL(?:ED|S)?)';
|
|
|
250
250
|
* reasoning that a passive clause ("was killed off upstream") is prose too. A third independent pass
|
|
251
251
|
* showed what that bought an attacker:
|
|
252
252
|
*
|
|
253
|
-
* status: got PROMOTED by PM
|
|
253
|
+
* status: got PROMOTED by the PM on 2026-07-28 prev=refused → PERMITTED
|
|
254
254
|
* status: not KILLED — shipped 2026-07-28 prev=refused → PERMITTED
|
|
255
255
|
*
|
|
256
256
|
* Neither is prose. Both are forged dispositions wearing an auxiliary. Swept against this
|
|
@@ -284,7 +284,7 @@ function isDisposition(value) {
|
|
|
284
284
|
* comma, a quote or an em dash between the determiner and the verb kept the carve-out firing
|
|
285
285
|
* while destroying the grammar that justifies it. A third independent pass walked through it:
|
|
286
286
|
*
|
|
287
|
-
* status: CLOSED — verdict is "PROMOTED" (PM
|
|
287
|
+
* status: CLOSED — verdict is "PROMOTED" (the PM) prev=refused → PERMITTED
|
|
288
288
|
* status: CLOSED. Leg A is: PROMOTED 2026-07-28 prev=refused → PERMITTED
|
|
289
289
|
*
|
|
290
290
|
* "is" is not modifying "PROMOTED" across a colon and a quote mark; it is a different clause.
|
|
@@ -522,7 +522,7 @@ function assertWritable(req) {
|
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
// (4)(5) and the false positive: matched on a status VALUE's leading token, structured or raw, so
|
|
525
|
-
// `status: "PROMOTED by PM
|
|
525
|
+
// `status: "PROMOTED by the PM"` is refused and `status: "derived from the promoted prototype"`
|
|
526
526
|
// is not. Prose that mentions a disposition is not a disposition.
|
|
527
527
|
if (carriesDisposition(req.payload)) {
|
|
528
528
|
throw new ForbiddenWrite('a disposition', 'promote/iterate/kill is the PM\'s (D60 step 7)');
|
package/workspace/lib/driver.js
CHANGED
|
@@ -57,7 +57,7 @@ const WHATS = Object.freeze({
|
|
|
57
57
|
});
|
|
58
58
|
// A claim without a pointer is not a proposal (PRD section 2: "Nothing without a pointer").
|
|
59
59
|
const NEEDS_SOURCE = Object.freeze(['evidence', 'sizing', 'assumption', 'stakeholders']);
|
|
60
|
-
// D106 (Full autonomy now, PM
|
|
60
|
+
// D106 (Full autonomy now, the PM, 2026-11-08): `auto` applies a class A or B proposal at once, with Undo (lib/autonomy.js); class C and a
|
|
61
61
|
// demoted job still wait for the PM. It is the default. `approve` is the old default: every proposal waits.
|
|
62
62
|
const MODES = Object.freeze(['off', 'shadow', 'approve', 'auto']);
|
|
63
63
|
const DEFAULT_MODE = 'auto';
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* delivery ends as 'unsent' so the caller can say so instead of leaving the session idle. Without `screen` (a plain shell, a
|
|
23
23
|
* test) the plan is as before.
|
|
24
24
|
*
|
|
25
|
-
* THE GATE (2026-10-21,
|
|
25
|
+
* THE GATE (2026-10-21, a product brief). Typed before Claude Code had drawn its box, only the first 178 characters of the
|
|
26
26
|
* prompt reached it (one tmux send-keys chunk), so pressing Enter again would have sent half a prompt. When the caller passes
|
|
27
27
|
* `wait` (true while the agent is not ready for typing yet), the prompt is not typed while it is true, until MAX_MS. The server
|
|
28
28
|
* answers it from the pane's foreground command: the login shell that starts the agent, or Claude Code with no input box drawn
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* (D70 as amended 2026-10-31). The PM: "if PMOS can fix it, it should just do it".
|
|
4
4
|
*
|
|
5
5
|
* WHY. A product folder left on a feature branch collects every record there, and the product looks empty on its default
|
|
6
|
-
* branch:
|
|
6
|
+
* branch: a program and initiatives could not be found. The PM should not have to know what a branch is.
|
|
7
7
|
*
|
|
8
8
|
* WHAT. In a DOCUMENT repository (profile pm-artifacts: every file is a record) whose own folder is not on the remote's
|
|
9
9
|
* default branch, repair() does, in this order, and stops at the first step that cannot be made safe:
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* once which identity this product uses, offering choices() (`pmos git-identity`), and saves the answer with set()
|
|
14
14
|
* (`pmos git-identity set`). The kit's AGENTS.md says so.
|
|
15
15
|
*
|
|
16
|
-
* The push login (batch 25, after #1176): the PM's Mac has more than one gh login (
|
|
16
|
+
* The push login (batch 25, after #1176): the PM's Mac has more than one gh login (a work one and a personal one), and a private repository
|
|
17
17
|
* of one account is "not found" to the other. set() with a login saves it as `pmos.pushLogin` and gives the repository its own
|
|
18
18
|
* credential helper for https://github.com: the inherited helpers are reset, and the one left asks gh for that login's token
|
|
19
19
|
* (`gh auth token --user <login>`), so `git push` there uses that login whichever gh login is active. `gh` commands run in the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/* goal-loop.js — a long-running goal: the PM sets it once, and agents work on it round after round until it is done (D106, "Full
|
|
3
|
-
* autonomy now", PM
|
|
3
|
+
* autonomy now", the PM, 2026-11-08: "Human is bottleneck").
|
|
4
4
|
*
|
|
5
5
|
* THE LOOP. One goal = done criteria, a budget and a list of forbidden actions, set once. Each round is one background agent run:
|
|
6
6
|
* plan the next step → act → verify against the done criteria → checkpoint (`pmos loop checkpoint`)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* listRecords(dir) · recordsDirOf(root) the kr-metrics records of a folder; a workspace's records folder
|
|
9
9
|
*
|
|
10
10
|
* WHY. Intelligence built its goal list from the OKR file (lib/okr-goals.js), while the product picker count, Your move's key result row, a report's KR
|
|
11
|
-
* slot and the dashboard save check each listed planning/records/kr-metrics.jsonl on their own: two producers of one concept.
|
|
11
|
+
* slot and the dashboard save check each listed planning/records/kr-metrics.jsonl on their own: two producers of one concept. one product had 10 key results in
|
|
12
12
|
* its OKR file and 1 record, so the picker said 1 goal. Here the OKR file's key results are the goals, and a KR metric record is a key result's readings,
|
|
13
13
|
* attached by id (its `goal` field naming the key, its `kr` anchor, or its title naming the key result). A record no key result claims (a North Star, a
|
|
14
14
|
* budget limit, a goal kept before the OKR file) is a loose goal and keeps working as it did. No record is rewritten.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ─────────────────────────────────────────────────────────────────────────────────────────
|
|
7
7
|
* VENDOR COUPLING — READ THIS BEFORE CHANGING ANYTHING HERE.
|
|
8
8
|
*
|
|
9
|
-
* Owner: the PM
|
|
9
|
+
* Owner: the PM. There is no upstream contract behind any of this.
|
|
10
10
|
*
|
|
11
11
|
* Every signal below is derived by reading the raw bytes ONE VENDOR'S CLI (Claude Code)
|
|
12
12
|
* happened to print into a PTY. Claude Code renders its TUI in place with cursor motion; we
|
|
@@ -17,7 +17,7 @@ const USAGE = [
|
|
|
17
17
|
'usage: pmos impact add|end|status — what Claude\'s impact run files for the PM to check (✓ real, ✕ not real)',
|
|
18
18
|
' pmos impact add --json <file|->',
|
|
19
19
|
' { "kind": "' + IM.KINDS.join('" | "') + '", "text": "<one plain sentence, no counts>", "who": "<a name, or empty>",',
|
|
20
|
-
' "at": "<ISO 8601, when it happened>", "source": { "url": "<https link>", "type": "' + IM.SOURCE_TYPES.join('" | "') + '", "label": "Slack · #
|
|
20
|
+
' "at": "<ISO 8601, when it happened>", "source": { "url": "<https link>", "type": "' + IM.SOURCE_TYPES.join('" | "') + '", "label": "Slack · #shop-data" } }',
|
|
21
21
|
' pmos impact end [--error "<why the run could not finish>"]',
|
|
22
22
|
' pmos impact status',
|
|
23
23
|
'Only what a person or a system outside you did in reaction to your work. Never Claude\'s own work. No source, no item. Nothing is sent.',
|
package/workspace/lib/impact.js
CHANGED
|
@@ -109,7 +109,7 @@ function clean(input) {
|
|
|
109
109
|
const type = str(s.type);
|
|
110
110
|
if (!SOURCE_TYPES.includes(type)) return { error: 'source.type is one of: ' + SOURCE_TYPES.join(', ') };
|
|
111
111
|
const label = one(s.label, LIM.label);
|
|
112
|
-
if (!label) return { error: 'source.label says where it is, for example "Slack · #
|
|
112
|
+
if (!label) return { error: 'source.label says where it is, for example "Slack · #shop-data"' };
|
|
113
113
|
const at = str(input.at);
|
|
114
114
|
if (!at || !Number.isFinite(Date.parse(at))) return { error: 'at is when it happened (ISO 8601)' };
|
|
115
115
|
const who = one(input.who, LIM.who);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
/* initiative-chat — what an initiative's chat knows about the initiative's workflow (bug 2026-10-25
|
|
2
|
+
/* initiative-chat — what an initiative's chat knows about the initiative's workflow (bug 2026-10-25).
|
|
3
3
|
* The PM changed an initiative's workflow on the page and asked its chat to move the initiative along it. The agent found no command that
|
|
4
4
|
* names an initiative's workflow, said the initiative was "not attached" to it, read the task stages of `pmos item` (lib/plan-tree.js) as
|
|
5
5
|
* the board's columns and moved 47 tasks. Two things are kept apart here, in the words the agent gets:
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*
|
|
17
17
|
* The SAME writer and the SAME fold the workspace page uses (lib/plan-items.js) — no server is needed, and
|
|
18
18
|
* the terminal and the page cannot disagree about an item. Who wrote a line is decided by the call path,
|
|
19
|
-
* never by an argument: `pm
|
|
19
|
+
* never by an argument: `pm:<slug>` at an interactive terminal, the bound session from PMOS_SESSION, and
|
|
20
20
|
* `agent:unknown` otherwise. There is no `keep` verb: Keep is the PM's press on the workspace page.
|
|
21
21
|
*/
|
|
22
22
|
const path = require('path');
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* WHERE A SPELLING COMES FROM. Three places, and nothing else: a word the PM fixed before (the same heard words, remembered), the
|
|
9
9
|
* meeting's invite (its title, its people, its agenda and its material, as the page sends them), and the repository of the note's
|
|
10
10
|
* workspace (lib/notes-repo.js reads its Markdown; D79 exclusions are honoured). A spelling counts only when it is the heard words
|
|
11
|
-
* written another way ("
|
|
11
|
+
* written another way ("Data dog" → "Datadog") or one or two letters away from them ("Data dock" → "Datadog"), with the same first
|
|
12
12
|
* letter. When nothing matches, the answer is null and the page shows no ✦ line (zero is silence): a guess is never shown.
|
|
13
13
|
*
|
|
14
14
|
* WHAT IT NEVER DOES. It writes nothing and sends nothing. No model is asked. */
|
|
@@ -27,7 +27,7 @@ function lev(a, b, max) {
|
|
|
27
27
|
}
|
|
28
28
|
return prev[b.length];
|
|
29
29
|
}
|
|
30
|
-
/** The words as they sound, roughly: "light" and "lite" fold to "lit", "
|
|
30
|
+
/** The words as they sound, roughly: "light" and "lite" fold to "lit", "Phillip" to "filip". English spelling only; nothing more clever. */
|
|
31
31
|
const fold = (s) => (String(s || '').toLowerCase().match(/[\p{L}\p{N}]+/gu) || []).map((w) => w.replace(/ght/g, 't').replace(/igh/g, 'i').replace(/ph/g, 'f').replace(/ck/g, 'k')
|
|
32
32
|
.replace(/(\p{L})\1/gu, '$1').replace(/^(.{3,})e$/u, '$1')).join('');
|
|
33
33
|
/** How far a spelling is from the heard words: 0 the same letters written another way, 1–2 letters away, or null (not the same word). */
|
|
@@ -55,7 +55,7 @@ function namesIn(text) {
|
|
|
55
55
|
}
|
|
56
56
|
return out;
|
|
57
57
|
}
|
|
58
|
-
/** A spelling no common word has: CamelCase ("
|
|
58
|
+
/** A spelling no common word has: CamelCase ("GitHub", "iPhone"), capitals ("CRM") or a digit. */
|
|
59
59
|
const distinct = (w) => /\p{Ll}\p{Lu}/u.test(w) || /^\p{Lu}{2,}$/u.test(w.replace(/\s+/g, '')) || /\d/.test(w);
|
|
60
60
|
const CACHE_MS = 60000;
|
|
61
61
|
const cache = new Map();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/* meeting-terms.js — a word heard wrong, fixed in place (batch 25 item 11 MvF/MvN; batch 27 item 12 word fix A: MpW1, MpW2, MpWPhone).
|
|
3
3
|
*
|
|
4
|
-
* The PM selects a word or a few words in a meeting's notes ("
|
|
5
|
-
* this note shows the words. Remembering it for LATER notes waits for the PM (batch 27 item 12): the ✦ ask "Remember “
|
|
4
|
+
* The PM selects a word or a few words in a meeting's notes ("Data dock") and fixes it ("Datadog"). The fix shows at once in every place
|
|
5
|
+
* this note shows the words. Remembering it for LATER notes waits for the PM (batch 27 item 12): the ✦ ask "Remember “Datadog” for your
|
|
6
6
|
* next meetings?" — ✓ makes it one of the lessons of lib/meeting-learn.js, of kind 'term' (its phrase is the heard words, its meaning the
|
|
7
7
|
* fix), so the agent's handoff carries it for later notes (meeting-learn.js handoffLines) and other notes underline the heard words with
|
|
8
8
|
* the fix as the guess. ✕ keeps it in this note only. A fix made before batch 27 was a lesson at once; it stays remembered.
|
package/workspace/lib/notes.js
CHANGED
|
@@ -1059,7 +1059,7 @@ const tagWords = (x) => [...(x.tags || []).map((t) => '#' + t), ...(x.people ||
|
|
|
1059
1059
|
/* ── the names and terms a note is heard and summarized with ─────────────────────────────────────── */
|
|
1060
1060
|
const MAX_VOCAB = 40;
|
|
1061
1061
|
const TERM_STOP = new Set(['The', 'A', 'An', 'And', 'Or', 'Of', 'For', 'To', 'In', 'On', 'With', 'From', 'By', 'At', 'New', 'Run', 'Phase', 'Add', 'Fix', 'Make', 'Notes', 'Note', 'Meeting']);
|
|
1062
|
-
/** Product terms in titles: acronyms (
|
|
1062
|
+
/** Product terms in titles: acronyms (CRM, SDK), mixed case (iPhone, GitHub) and capitalised words after the first. */
|
|
1063
1063
|
function termsIn(texts) {
|
|
1064
1064
|
const out = [];
|
|
1065
1065
|
for (const t of texts || []) {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* ONE GOAL SOURCE (OS evaluation T2). lib/goal-source.js source() is the goal list every reader takes: this file's key results, each with the KR metric
|
|
11
11
|
* record that reads it, and the records no key result claims. No other file lists the kr-metrics records for goals.
|
|
12
12
|
*
|
|
13
|
-
* WHY. Every product keeps an OKR file (
|
|
14
|
-
* Intelligence listed only the KR metric records, so
|
|
13
|
+
* WHY. Every product keeps an OKR file (for example okrs-h2-2026.md, 10 key results), and the Board anchors initiatives to it (KR-A1, O-C.KR-C1), but
|
|
14
|
+
* Intelligence listed only the KR metric records, so a product with 10 showed 1 goal and another 0. Here the file's key results are the list. A KR metric record is
|
|
15
15
|
* a key result's READER (its readings and recipe), attached by its `kr` field or by its title naming the key result's id; it is never a second
|
|
16
16
|
* goal. A key result with no reader says what it needs (the source the file names), never a number (the proven-only rule).
|
|
17
17
|
*
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* the step the other sources give)
|
|
20
20
|
* label the words the chip prints ("Discover", "Shipped", "On hold")
|
|
21
21
|
* setBy 'pm' | 'jira' | 'plan' | 'files'
|
|
22
|
-
* source one short line of what set it ("Jira
|
|
22
|
+
* source one short line of what set it ("Jira SHOP-2815 · Design Discovery", "your word: Completed", "3 dated plan items")
|
|
23
23
|
* readAt the ISO time of the read or the line that set it, or null for the files
|
|
24
24
|
*
|
|
25
25
|
* facts = { files: <lifecycle key the spec files give> | null,
|