create-pmos 0.775.0 → 0.777.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 +44 -44
- package/payload/AGENTS.md +1 -0
- package/payload/KIT-VERSION +1 -1
- 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 +43 -0
- package/workspace/guide/agent-capabilities.md +1 -0
- package/workspace/guide/cli.md +10 -0
- package/workspace/guide/initiatives-and-next-steps.md +2 -0
- package/workspace/guide/jira.md +6 -2
- package/workspace/lib/headless.js +1 -0
- package/workspace/lib/jira-cli.js +20 -5
- package/workspace/lib/jira-criteria.js +87 -11
- package/workspace/lib/job-graph.js +1 -0
- package/workspace/lib/pmos-verbs.js +3 -0
- package/workspace/lib/routes-jira-epics.js +1 -1
- package/workspace/lib/routes-principles.js +6 -4
- package/workspace/lib/routes-strategy-card.js +65 -4
- package/workspace/lib/strategy-card.js +69 -6
- package/workspace/lib/strategy-cli.js +105 -0
- package/workspace/lib/strategy-sources.js +76 -0
- package/workspace/lib/task-describe.js +3 -3
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/bd-strategy.js +35 -7
- package/workspace/public/pm/cozy-pop-work.js +12 -6
- package/workspace/skills/jira-criteria.skill +3 -3
- package/workspace/skills/strategy-draft.skill +31 -0
- package/workspace/test-lists/strategy-draft.json +9 -0
- package/workspace/test-lists/ticket-criteria-from-files.json +9 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: strategy-draft
|
|
3
|
+
label: "Draft the product's five-line strategy (once, from its own files)"
|
|
4
|
+
description: "Draft the five strategy lines of this product (who it is for, the problem, the bet, how we win, what we won't do) from its own initiatives, PRDs, goals and docs, each line citing the files it came from. The lines show at once on the Strategy card, where the PM edits or undoes them."
|
|
5
|
+
run: agent
|
|
6
|
+
agent: claude
|
|
7
|
+
output:
|
|
8
|
+
- Strategy
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
/strategy-draft — draft the FIVE-LINE STRATEGY of THIS product from its own files. Each line is short, plain and true to what the product's files already say. The PM edits or undoes each line on the Strategy card. Work only from what you can read here.
|
|
12
|
+
|
|
13
|
+
The five lines and their keys:
|
|
14
|
+
- `for` — Who it is for: the people the product serves, as its files name them.
|
|
15
|
+
- `problem` — The problem: what those people struggle with, that the product exists to fix.
|
|
16
|
+
- `bet` — The bet: what the product does about it, the one idea it stakes on.
|
|
17
|
+
- `win` — How we win: why this product wins over the other ways people solve the problem.
|
|
18
|
+
- `wont` — What we won't do: what the product leaves out on purpose, as its files show (out-of-scope lists, non-goals, parked or killed work).
|
|
19
|
+
|
|
20
|
+
Rules that always hold:
|
|
21
|
+
1. ONE KIND OF WRITE. Your only write is `pmos strategy draft` (step 3), once per line. Write no file. Send, post or share nothing.
|
|
22
|
+
2. CITED. Every line cites 1 to 5 sources it came from: file paths that `pmos strategy sources` lists (or another file of this product), or a tracker key (ABC-123). Cite the files that say it, not the files near it.
|
|
23
|
+
3. NOTHING INVENTED. Never invent customers, numbers, dates, competitors or features the files do not name. If the files do not show a line, leave that line blank: four true lines are correct, five guessed ones are not.
|
|
24
|
+
4. SHORT. One line each, at most 160 characters, in the product's own words. No marketing tone.
|
|
25
|
+
5. NEVER OVER THE PM. `pmos strategy draft` refuses a line that is already written. Leave it.
|
|
26
|
+
|
|
27
|
+
Procedure:
|
|
28
|
+
1. Run `pmos strategy show` for the lines already written, and `pmos strategy sources` for the product's files you may cite.
|
|
29
|
+
2. Read the files that tell you most: the product's README or brief, its goals (okrs), its PRDs and the intent of its newest initiatives. Look for who it serves, the pain, the bet, the edge and the deliberate limits.
|
|
30
|
+
3. For each blank line you can support, run once: `pmos strategy draft --line <key> --text "<the line>" --source <ref> [--source <ref>]`. A refused draft says why: fix it or leave the line out.
|
|
31
|
+
4. End with one line: which lines you drafted, and which you left blank and why.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "PMOS drafts each product's five-line strategy from its own files (initiative strategy-draft, done test planning/done-tests/strategy-draft.md C1-C8). Pure checks, the CLI and the routes in process, with a stubbed seed. No connector, model or network.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"strategy-draft.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"strategy-draft.test.js": 2
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "ticket-criteria-from-files (A384): acceptance criteria for Jira tickets whose initiative has no done test, from the initiative's own files (lib/jira-criteria.js fromFiles over lib/task-describe.js sourcesOf). No test reaches Jira or a model.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"jira-criteria-files.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"jira-criteria-files.test.js": 2
|
|
8
|
+
}
|
|
9
|
+
}
|