openplanr 1.5.0 → 1.5.2
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/README.md +17 -17
- package/dist/ai/prompts/prompt-builder.d.ts +1 -1
- package/dist/ai/prompts/prompt-builder.js +1 -1
- package/dist/ai/prompts/system-prompts.d.ts +1 -1
- package/dist/ai/prompts/system-prompts.d.ts.map +1 -1
- package/dist/ai/prompts/system-prompts.js +2 -2
- package/dist/ai/prompts/system-prompts.js.map +1 -1
- package/dist/ai/schemas/ai-response-schemas.js +4 -4
- package/dist/ai/schemas/ai-response-schemas.js.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +4 -4
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/rules.d.ts.map +1 -1
- package/dist/cli/commands/rules.js +33 -1
- package/dist/cli/commands/rules.js.map +1 -1
- package/dist/cli/commands/spec.d.ts +1 -1
- package/dist/cli/commands/spec.js +9 -9
- package/dist/cli/commands/spec.js.map +1 -1
- package/dist/generators/claude-generator.js +2 -2
- package/dist/generators/claude-generator.js.map +1 -1
- package/dist/generators/cursor-generator.js +7 -7
- package/dist/generators/cursor-generator.js.map +1 -1
- package/dist/models/types.d.ts +3 -3
- package/dist/services/spec-service.d.ts +5 -5
- package/dist/services/spec-service.js +7 -7
- package/dist/services/spec-service.js.map +1 -1
- package/dist/templates/rules/claude/CLAUDE.md.hbs +5 -5
- package/dist/templates/rules/claude/{openplanr-pipeline.md.hbs → planr-pipeline.md.hbs} +7 -7
- package/dist/templates/rules/codex/_pipeline-section.md.hbs +3 -3
- package/dist/templates/rules/cursor/agents/backend-agent.md +2 -2
- package/dist/templates/rules/cursor/agents/db-agent.md +3 -3
- package/dist/templates/rules/cursor/agents/designer-agent.md +6 -6
- package/dist/templates/rules/cursor/agents/devops-agent.md +4 -4
- package/dist/templates/rules/cursor/agents/doc-gen-agent.md +4 -4
- package/dist/templates/rules/cursor/agents/frontend-agent.md +2 -2
- package/dist/templates/rules/cursor/agents/qa-agent.md +4 -4
- package/dist/templates/rules/cursor/agents/specification-agent.md +8 -8
- package/dist/templates/rules/cursor/{openplanr-pipeline-plan.mdc.hbs → planr-pipeline-plan.mdc.hbs} +2 -2
- package/dist/templates/rules/cursor/{openplanr-pipeline-ship.mdc.hbs → planr-pipeline-ship.mdc.hbs} +3 -3
- package/dist/templates/rules/cursor/{openplanr-pipeline.mdc.hbs → planr-pipeline.mdc.hbs} +10 -10
- package/dist/templates/spec/spec-shaped.md.hbs +1 -1
- package/dist/templates/spec/spec.md.hbs +3 -3
- package/dist/templates/spec/task.md.hbs +1 -1
- package/dist/utils/constants.d.ts +6 -6
- package/dist/utils/constants.js +6 -6
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
> **Cursor adapter — synthesized from
|
|
2
|
-
> Source: `
|
|
1
|
+
> **Cursor adapter — synthesized from planr-pipeline.** Agent role system prompt (body-only). Used by `/cursor/rules/planr-pipeline.mdc` for Composer subagent dispatch.
|
|
2
|
+
> Source: `planr-pipeline/agents/doc-gen-agent.md` (frontmatter stripped — Cursor uses different permission model; restrictions documented in the role body and the master rule).
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
# Doc-Gen Agent
|
|
6
6
|
|
|
7
7
|
> **Phase:** Step 3.5 — Post-build (after qa-agent verdict is PASS)
|
|
8
|
-
> **Trigger:** Invoked by `/
|
|
8
|
+
> **Trigger:** Invoked by `/planr-pipeline:ship` if `--no-docs` not set
|
|
9
9
|
> **Mode:** Generates Markdown docs from US, tasks, and generated source code
|
|
10
10
|
## Path Resolution (NEW in pipeline v0.3.0)
|
|
11
11
|
|
|
@@ -165,7 +165,7 @@ See [architecture.md](architecture.md).
|
|
|
165
165
|
## Execution Steps
|
|
166
166
|
|
|
167
167
|
```
|
|
168
|
-
0. Receive feature name from /
|
|
168
|
+
0. Receive feature name from /planr-pipeline:ship as $ARGUMENTS
|
|
169
169
|
1. Verify QA gate passed (read output/feats/feat-$ARGUMENTS/qa-report.md → "Verdict: PASS")
|
|
170
170
|
If FAIL: skip silently, log warning
|
|
171
171
|
2. Load all us-*.md, task-*.md, qa-report.md, design-spec.md (if present)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
> **Cursor adapter — synthesized from
|
|
2
|
-
> Source: `
|
|
1
|
+
> **Cursor adapter — synthesized from planr-pipeline.** Agent role system prompt (body-only). Used by `/cursor/rules/planr-pipeline.mdc` for Composer subagent dispatch.
|
|
2
|
+
> Source: `planr-pipeline/agents/frontend-agent.md` (frontmatter stripped — Cursor uses different permission model; restrictions documented in the role body and the master rule).
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
# Frontend Agent
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
> **Cursor adapter — synthesized from
|
|
2
|
-
> Source: `
|
|
1
|
+
> **Cursor adapter — synthesized from planr-pipeline.** Agent role system prompt (body-only). Used by `/cursor/rules/planr-pipeline.mdc` for Composer subagent dispatch.
|
|
2
|
+
> Source: `planr-pipeline/agents/qa-agent.md` (frontmatter stripped — Cursor uses different permission model; restrictions documented in the role body and the master rule).
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
# QA Agent
|
|
6
6
|
|
|
7
7
|
> **Phase:** Step 3.5 — DEV Phase post-build gate
|
|
8
|
-
> **Trigger:** Invoked by `/
|
|
8
|
+
> **Trigger:** Invoked by `/planr-pipeline:ship` after all DEV tasks settle (success or 3-fail)
|
|
9
9
|
> **Mode:** READ-ONLY on source (Write granted only for `output/feats/feat-{name}/qa-report.md`)
|
|
10
10
|
## Path Resolution (NEW in pipeline v0.3.0)
|
|
11
11
|
|
|
@@ -128,7 +128,7 @@ or
|
|
|
128
128
|
## Execution Steps
|
|
129
129
|
|
|
130
130
|
```
|
|
131
|
-
0. Receive feature name from /
|
|
131
|
+
0. Receive feature name from /planr-pipeline:ship as $ARGUMENTS
|
|
132
132
|
1. List all output/feats/feat-$ARGUMENTS/us-*/tasks/task-*.md
|
|
133
133
|
2. For each task:
|
|
134
134
|
a. Parse Create / Modify / Preserve lists
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
> **Cursor adapter — synthesized from
|
|
2
|
-
> Source: `
|
|
1
|
+
> **Cursor adapter — synthesized from planr-pipeline.** Agent role system prompt (body-only). Used by `/cursor/rules/planr-pipeline.mdc` for Composer subagent dispatch.
|
|
2
|
+
> Source: `planr-pipeline/agents/specification-agent.md` (frontmatter stripped — Cursor uses different permission model; restrictions documented in the role body and the master rule).
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
# Specification Agent
|
|
6
6
|
|
|
7
7
|
> **Phase:** Step 1 — PO Phase (terminal agent in the PO chain)
|
|
8
|
-
> **Trigger:** Invoked by `/
|
|
8
|
+
> **Trigger:** Invoked by `/planr-pipeline:plan` after upstream agents complete
|
|
9
9
|
> **Chained after:** db-agent (if DatabaseType configured) → designer-agent (if PNGs present)
|
|
10
|
-
> **Input feature name:** Passed by `/
|
|
10
|
+
> **Input feature name:** Passed by `/planr-pipeline:plan` as `$ARGUMENTS` (e.g. `auth` → operates on `feat-auth`)
|
|
11
11
|
|
|
12
12
|
## Path Resolution (NEW in pipeline v0.3.0)
|
|
13
13
|
|
|
@@ -242,7 +242,7 @@ RULE 5 — DB alignment:
|
|
|
242
242
|
## Execution Steps
|
|
243
243
|
|
|
244
244
|
```
|
|
245
|
-
0. Receive feature name from /
|
|
245
|
+
0. Receive feature name from /planr-pipeline:plan as $ARGUMENTS (the {name} in feat-{name})
|
|
246
246
|
1. Load input/specs/spec-$ARGUMENTS.md
|
|
247
247
|
2. Load input/tech/stack.md
|
|
248
248
|
2a. For each path in stack.md's ActiveStackFiles list → load that stack file
|
|
@@ -251,9 +251,9 @@ RULE 5 — DB alignment:
|
|
|
251
251
|
(e.g. ${CLAUDE_PLUGIN_ROOT}/stacks/frontend/nextjs.md, .claude/stacks/backend/custom.md)
|
|
252
252
|
2b. Use stack-file conventions (folder layout, naming) when filling task file paths
|
|
253
253
|
3. Check if output/feats/feat-$ARGUMENTS/design-spec.md exists → set has_design = true/false
|
|
254
|
-
(Designer Agent should have run first via /
|
|
254
|
+
(Designer Agent should have run first via /planr-pipeline:plan if PNGs were present)
|
|
255
255
|
4. Check if output/db/schema.json exists → load if relevant
|
|
256
|
-
(DB Agent should have run first via /
|
|
256
|
+
(DB Agent should have run first via /planr-pipeline:plan if DatabaseType is configured)
|
|
257
257
|
5. Decompose spec into N User Stories
|
|
258
258
|
6. For each US:
|
|
259
259
|
a. Write us-{N}/us-{N}.md
|
|
@@ -261,7 +261,7 @@ RULE 5 — DB alignment:
|
|
|
261
261
|
c. If has_design: write task-1.md (UI, Frontend Agent) + task-2.md (Tech, Backend Agent)
|
|
262
262
|
d. If !has_design: write task-1.md (Tech only, Backend Agent) — per docs/rules.md R2
|
|
263
263
|
7. Log: "Specification Agent complete. N US, M tasks → output/feats/feat-$ARGUMENTS/"
|
|
264
|
-
8. STOP. Do not proceed to DEV phase. The /
|
|
264
|
+
8. STOP. Do not proceed to DEV phase. The /planr-pipeline:plan orchestrator stops here for human review.
|
|
265
265
|
```
|
|
266
266
|
|
|
267
267
|
---
|
package/dist/templates/rules/cursor/{openplanr-pipeline-plan.mdc.hbs → planr-pipeline-plan.mdc.hbs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "
|
|
2
|
+
description: "Planr Pipeline — PO Phase orchestration (plan {feature}). Decomposes a spec into User Stories + Tasks. STOPS at the human-review gate."
|
|
3
3
|
globs: []
|
|
4
4
|
alwaysApply: false
|
|
5
5
|
---
|
|
@@ -191,4 +191,4 @@ The user must explicitly say "ship {feature}" to proceed. Do not auto-chain.
|
|
|
191
191
|
|
|
192
192
|
---
|
|
193
193
|
|
|
194
|
-
*Generated by `planr rules generate --target cursor --scope pipeline`. Pairs with `
|
|
194
|
+
*Generated by `planr rules generate --target cursor --scope pipeline`. Pairs with `planr-pipeline-ship.mdc` for the DEV phase.*
|
package/dist/templates/rules/cursor/{openplanr-pipeline-ship.mdc.hbs → planr-pipeline-ship.mdc.hbs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "
|
|
2
|
+
description: "Planr Pipeline — DEV Phase orchestration (ship {feature}). Frontend ‖ backend → qa → devops ‖ doc-gen → snapshot → marker."
|
|
3
3
|
globs: []
|
|
4
4
|
alwaysApply: false
|
|
5
5
|
---
|
|
@@ -29,7 +29,7 @@ later run encounters this sentinel, surface a one-line reminder to refresh
|
|
|
29
29
|
|
|
30
30
|
### 1a — Detect planr spec mode
|
|
31
31
|
|
|
32
|
-
Same as `
|
|
32
|
+
Same as `planr-pipeline-plan.mdc` Step 1a:
|
|
33
33
|
|
|
34
34
|
1. If `.planr/config.json` has `idPrefix.spec` set, **spec-driven mode**.
|
|
35
35
|
2. `SPEC_DIR = .planr/specs/<SPEC-NNN-{feature}>/`.
|
|
@@ -239,4 +239,4 @@ If any task failed, list paths to error-report.md files.
|
|
|
239
239
|
|
|
240
240
|
---
|
|
241
241
|
|
|
242
|
-
*Generated by `planr rules generate --target cursor --scope pipeline`. Pairs with `
|
|
242
|
+
*Generated by `planr rules generate --target cursor --scope pipeline`. Pairs with `planr-pipeline-plan.mdc` for the PO phase.*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "
|
|
2
|
+
description: "Planr Pipeline orchestration — PO/DEV phase rules, R1 human gate, mode detection, runtime parity for {{projectName}}"
|
|
3
3
|
globs: [".planr/specs/**", "input/specs/**", "output/feats/**"]
|
|
4
4
|
alwaysApply: false
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
#
|
|
7
|
+
# Planr Pipeline (Cursor edition — Protocol v{{protocolVersion}})
|
|
8
8
|
|
|
9
|
-
You are operating inside
|
|
9
|
+
You are operating inside a planr-pipeline-aware project on **Cursor**.
|
|
10
10
|
The pipeline is a two-phase factory:
|
|
11
11
|
|
|
12
12
|
```
|
|
@@ -40,10 +40,10 @@ Before doing anything, decide the project mode:
|
|
|
40
40
|
## Routing
|
|
41
41
|
|
|
42
42
|
When the user says **"plan {feature}"** (or "decompose {feature}", "spec {feature}"):
|
|
43
|
-
follow `.cursor/rules/
|
|
43
|
+
follow `.cursor/rules/planr-pipeline-plan.mdc`.
|
|
44
44
|
|
|
45
45
|
When the user says **"ship {feature}"** (or "implement {feature}", "build {feature}"):
|
|
46
|
-
follow `.cursor/rules/
|
|
46
|
+
follow `.cursor/rules/planr-pipeline-ship.mdc`.
|
|
47
47
|
|
|
48
48
|
---
|
|
49
49
|
|
|
@@ -104,7 +104,7 @@ list. **Treat the restrictions as binding.**
|
|
|
104
104
|
- **R6** — Max 3 correction iterations per task. After 3, write
|
|
105
105
|
`error-report.md` and stop that task.
|
|
106
106
|
- **R7** — Refresh CLAUDE.md (or coexist with planr-managed CLAUDE.md) at end
|
|
107
|
-
of `/ship`. Cursor has no Stop hook — see `
|
|
107
|
+
of `/ship`. Cursor has no Stop hook — see `planr-pipeline-ship.mdc`
|
|
108
108
|
Step 5 for the alternative.
|
|
109
109
|
- **R8** — db-agent role is read-only. Never DDL/DML.
|
|
110
110
|
- **R9** — frontend role only writes UI files; backend role only writes
|
|
@@ -115,9 +115,9 @@ list. **Treat the restrictions as binding.**
|
|
|
115
115
|
## Conformance proof
|
|
116
116
|
|
|
117
117
|
On a successful `/ship` run, write the `.pipeline-shipped` YAML marker file
|
|
118
|
-
(see `
|
|
118
|
+
(see `planr-pipeline-ship.mdc` Step 5.5). The marker is the audit-grade
|
|
119
119
|
proof that the pipeline executed; the conformance test harness (in the
|
|
120
|
-
`
|
|
120
|
+
`planr-pipeline` repo at `conformance/runner.mjs`) verifies it.
|
|
121
121
|
|
|
122
122
|
---
|
|
123
123
|
|
|
@@ -126,9 +126,9 @@ proof that the pipeline executed; the conformance test harness (in the
|
|
|
126
126
|
This rule represents the **Cursor adapter** to the OpenPlanr Protocol v1.0.0.
|
|
127
127
|
Other supported runtimes:
|
|
128
128
|
|
|
129
|
-
- **Claude Code** — install the `
|
|
129
|
+
- **Claude Code** — install the `planr-pipeline` plugin (canonical surface)
|
|
130
130
|
- **Codex** — see the AGENTS.md generated by `planr rules generate --target codex --scope pipeline`
|
|
131
131
|
|
|
132
|
-
Full parity table: `
|
|
132
|
+
Full parity table: `planr-pipeline/docs/compatibility-matrix.md`.
|
|
133
133
|
|
|
134
134
|
*Generated by `planr rules generate --target cursor --scope pipeline`.*
|
|
@@ -84,6 +84,6 @@ _Optional hints to guide `planr spec decompose`. Not business requirements._
|
|
|
84
84
|
---
|
|
85
85
|
|
|
86
86
|
> **Pipeline handoff:** Once decomposed and reviewed, run from Claude Code:
|
|
87
|
-
> `/
|
|
87
|
+
> `/planr-pipeline:plan {{slug}}`
|
|
88
88
|
>
|
|
89
89
|
> _This spec was authored via `planr spec shape {{id}}` on {{date}}. Run `planr spec decompose {{id}}` to generate User Stories + Tasks._
|
|
@@ -64,10 +64,10 @@ _Optional hints to guide `planr spec decompose`. Not business requirements._
|
|
|
64
64
|
|
|
65
65
|
> **Next steps:**
|
|
66
66
|
>
|
|
67
|
-
> In Claude Code with the `
|
|
67
|
+
> In Claude Code with the `planr-pipeline` plugin:
|
|
68
68
|
> ```
|
|
69
|
-
> /
|
|
70
|
-
> /
|
|
69
|
+
> /planr-pipeline:plan {{slug}} # decompose + human review
|
|
70
|
+
> /planr-pipeline:ship {{slug}} # full DEV phase
|
|
71
71
|
> ```
|
|
72
72
|
>
|
|
73
73
|
> Bare CLI:
|
|
@@ -17,7 +17,7 @@ updated: "{{date}}"
|
|
|
17
17
|
> **User Story:** {{storyId}}
|
|
18
18
|
> **Spec:** {{specId}}
|
|
19
19
|
> **Type:** {{type}}
|
|
20
|
-
> **Agent:** `{{agent}}` (matches `
|
|
20
|
+
> **Agent:** `{{agent}}` (matches `planr-pipeline` subagent name; free-form for other tools)
|
|
21
21
|
> **Note:** T-NNN ID is **scoped to the parent spec** ({{specId}}), not project-globally unique.
|
|
22
22
|
|
|
23
23
|
## Objective
|
|
@@ -9,7 +9,7 @@ export declare const DEFAULT_CURSOR_RULES_DIR = ".cursor/rules";
|
|
|
9
9
|
* roles). Bumps RARELY — only on artifact-schema breaks or workflow
|
|
10
10
|
* contract changes, NOT on pipeline plugin patches.
|
|
11
11
|
*
|
|
12
|
-
* NOT to be confused with the
|
|
12
|
+
* NOT to be confused with the planr-pipeline plugin version (which moves
|
|
13
13
|
* fast and is tracked in the marketplace pin file, not here). Generated rule
|
|
14
14
|
* files reference the protocol contract; the runtime adapter (Claude Code
|
|
15
15
|
* plugin / Cursor MDC / Codex AGENTS.md) writes its own actual version into
|
|
@@ -17,10 +17,10 @@ export declare const DEFAULT_CURSOR_RULES_DIR = ".cursor/rules";
|
|
|
17
17
|
*
|
|
18
18
|
* Read by:
|
|
19
19
|
* - CursorGenerator (renders into Cursor MDC headers)
|
|
20
|
-
* - ClaudeGenerator (renders into the sibling `
|
|
20
|
+
* - ClaudeGenerator (renders into the sibling `planr-pipeline.md` reference card)
|
|
21
21
|
* - CodexGenerator (renders into the AGENTS.md pipeline section)
|
|
22
22
|
*
|
|
23
|
-
* See `
|
|
23
|
+
* See `planr-pipeline/docs/protocol/` for the full protocol spec.
|
|
24
24
|
*/
|
|
25
25
|
export declare const OPENPLANR_PROTOCOL_VERSION = "1.0.0";
|
|
26
26
|
export declare const ARTIFACT_DIRS: {
|
|
@@ -48,14 +48,14 @@ export declare const VALID_STATUSES: Partial<Record<ArtifactType, readonly strin
|
|
|
48
48
|
/**
|
|
49
49
|
* Spec-driven mode (third planning posture) uses a richer status lifecycle
|
|
50
50
|
* because each phase corresponds to a different role transition:
|
|
51
|
-
* PO authoring → AI decomposition → human review → handoff to
|
|
51
|
+
* PO authoring → AI decomposition → human review → handoff to planr-pipeline.
|
|
52
52
|
*
|
|
53
53
|
* - pending — SPEC created, body not yet written
|
|
54
54
|
* - shaping — SPEC body authored (manually or via `planr spec shape`)
|
|
55
55
|
* - decomposing — `planr spec decompose` is running (AI generating US + tasks)
|
|
56
56
|
* - decomposed — US + Task files written, awaiting human review
|
|
57
|
-
* - ready-for-pipeline — `planr spec promote` validated; ready for
|
|
58
|
-
* - in-pipeline —
|
|
57
|
+
* - ready-for-pipeline — `planr spec promote` validated; ready for planr-pipeline
|
|
58
|
+
* - in-pipeline — planr-pipeline `/plan` or `/ship` is running
|
|
59
59
|
* - done — DEV phase complete, code shipped
|
|
60
60
|
*/
|
|
61
61
|
export declare const VALID_SPEC_STATUSES: readonly ["pending", "shaping", "decomposing", "decomposed", "ready-for-pipeline", "in-pipeline", "done"];
|
package/dist/utils/constants.js
CHANGED
|
@@ -12,7 +12,7 @@ export const DEFAULT_CURSOR_RULES_DIR = '.cursor/rules';
|
|
|
12
12
|
* roles). Bumps RARELY — only on artifact-schema breaks or workflow
|
|
13
13
|
* contract changes, NOT on pipeline plugin patches.
|
|
14
14
|
*
|
|
15
|
-
* NOT to be confused with the
|
|
15
|
+
* NOT to be confused with the planr-pipeline plugin version (which moves
|
|
16
16
|
* fast and is tracked in the marketplace pin file, not here). Generated rule
|
|
17
17
|
* files reference the protocol contract; the runtime adapter (Claude Code
|
|
18
18
|
* plugin / Cursor MDC / Codex AGENTS.md) writes its own actual version into
|
|
@@ -20,10 +20,10 @@ export const DEFAULT_CURSOR_RULES_DIR = '.cursor/rules';
|
|
|
20
20
|
*
|
|
21
21
|
* Read by:
|
|
22
22
|
* - CursorGenerator (renders into Cursor MDC headers)
|
|
23
|
-
* - ClaudeGenerator (renders into the sibling `
|
|
23
|
+
* - ClaudeGenerator (renders into the sibling `planr-pipeline.md` reference card)
|
|
24
24
|
* - CodexGenerator (renders into the AGENTS.md pipeline section)
|
|
25
25
|
*
|
|
26
|
-
* See `
|
|
26
|
+
* See `planr-pipeline/docs/protocol/` for the full protocol spec.
|
|
27
27
|
*/
|
|
28
28
|
export const OPENPLANR_PROTOCOL_VERSION = '1.0.0';
|
|
29
29
|
export const ARTIFACT_DIRS = {
|
|
@@ -59,14 +59,14 @@ export const VALID_STATUSES = {
|
|
|
59
59
|
/**
|
|
60
60
|
* Spec-driven mode (third planning posture) uses a richer status lifecycle
|
|
61
61
|
* because each phase corresponds to a different role transition:
|
|
62
|
-
* PO authoring → AI decomposition → human review → handoff to
|
|
62
|
+
* PO authoring → AI decomposition → human review → handoff to planr-pipeline.
|
|
63
63
|
*
|
|
64
64
|
* - pending — SPEC created, body not yet written
|
|
65
65
|
* - shaping — SPEC body authored (manually or via `planr spec shape`)
|
|
66
66
|
* - decomposing — `planr spec decompose` is running (AI generating US + tasks)
|
|
67
67
|
* - decomposed — US + Task files written, awaiting human review
|
|
68
|
-
* - ready-for-pipeline — `planr spec promote` validated; ready for
|
|
69
|
-
* - in-pipeline —
|
|
68
|
+
* - ready-for-pipeline — `planr spec promote` validated; ready for planr-pipeline
|
|
69
|
+
* - in-pipeline — planr-pipeline `/plan` or `/ship` is running
|
|
70
70
|
* - done — DEV phase complete, code shipped
|
|
71
71
|
*/
|
|
72
72
|
export const VALID_SPEC_STATUSES = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openplanr",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "AI-powered planning CLI — backlog, sprints, task templates, estimation, GitHub and Linear sync, and AI agent rules for Cursor, Claude Code, and Codex",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cli/index.js",
|