compound-workflow 1.3.0 → 1.3.1
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
CHANGED
|
@@ -48,11 +48,11 @@ To update to a new release, see [Updating compound-workflow](#updating-compound-
|
|
|
48
48
|
|
|
49
49
|
## Workflow at a glance
|
|
50
50
|
|
|
51
|
-
Clarify what to build
|
|
51
|
+
Clarify what to build -> plan how (fidelity + confidence) -> triage todos -> execute -> review -> capture learnings -> log and assess.
|
|
52
52
|
|
|
53
53
|
```mermaid
|
|
54
54
|
flowchart LR
|
|
55
|
-
A["brainstorm"] --> B["plan"] --> C["
|
|
55
|
+
A["brainstorm"] --> B["plan"] --> C["triage"] --> D["work"] --> E["review"] --> F["capture"] --> G["metrics"]
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
---
|
|
@@ -63,8 +63,8 @@ flowchart LR
|
|
|
63
63
|
|------|--------|---------|---------------|
|
|
64
64
|
| Clarify what to build | Dialogue only; no code | `/workflow:brainstorm [topic]` | `docs/brainstorms/` |
|
|
65
65
|
| Define how (fidelity + confidence) | Plan only; no code; include agentic access + validation contract | `/workflow:plan [description or brainstorm path]` | `docs/plans/` |
|
|
66
|
-
| Execute | File-based todos; risk-tier testing; evidence-backed completion; no auto-ship | `/workflow:work <plan-path>` | `todos/` |
|
|
67
66
|
| Ready the queue | Priority/dependencies + executable agentic contract checks for pending todos | `/workflow:triage` | — |
|
|
67
|
+
| Execute | File-based todos; risk-tier testing; evidence-backed completion; no auto-ship | `/workflow:work <plan-path>` | `todos/` |
|
|
68
68
|
| Validate quality | Evidence-based review + agentic executability checks; no fixes by default | `/workflow:review [PR, branch, or current]` | pass / pass-with-notes / fail |
|
|
69
69
|
| Capture learnings | One solution doc for future use | `/workflow:compound [context]` | `docs/solutions/` |
|
|
70
70
|
| Log and improve | Session log + optional aggregate review | `/metrics` + `/assess weekly 7` (or monthly) | `docs/metrics/daily/`, weekly/monthly |
|
|
@@ -77,13 +77,15 @@ flowchart LR
|
|
|
77
77
|
|
|
78
78
|
**Intent:** Plan only; no code; fidelity + confidence; include an agentic access + validation contract. **Command:** `/workflow:plan [description or brainstorm path]`. **Output:** `docs/plans/`.
|
|
79
79
|
|
|
80
|
-
#### 3.
|
|
80
|
+
#### 3. Ready the queue (triage)
|
|
81
81
|
|
|
82
|
-
**Intent:**
|
|
82
|
+
**Intent:** Priority/dependencies for pending todos and readiness checks for agentic executability. **Command:** `/workflow:triage`. **Output:** —.
|
|
83
83
|
|
|
84
|
-
#### 4.
|
|
84
|
+
#### 4. Execute (work)
|
|
85
85
|
|
|
86
|
-
**Intent:**
|
|
86
|
+
**Intent:** File-based todos; risk-tier testing; success-criteria evidence + quality gates before completion; no auto-ship. **Command:** `/workflow:work <plan-path>`. **Output:** `todos/`.
|
|
87
|
+
|
|
88
|
+
`/workflow:work` must not run until `/workflow:triage` has approved executable ready todos.
|
|
87
89
|
|
|
88
90
|
#### 5. Validate quality (review)
|
|
89
91
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"compound-workflow","version":"1.3.
|
|
1
|
+
{"name":"compound-workflow","version":"1.3.1","description":"Clarify → plan → execute → verify → capture. One Install action for Cursor, Claude, and OpenCode.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/cjerochim/compound-workflow.git"},"bin":{"compound-workflow":"scripts/install-cli.mjs"},"files":["src","scripts",".cursor-plugin",".claude-plugin","skills"],"scripts":{"check:pack-readme":"node scripts/check-pack-readme.mjs"},"engines":{"node":">=18"},"devDependencies":{"@semantic-release/git":"^10.0.1","@semantic-release/npm":"^13.1.4","semantic-release":"^25.0.3"}}
|
|
@@ -861,13 +861,15 @@ Examples:
|
|
|
861
861
|
|
|
862
862
|
After writing the plan file, use **AskQuestion** to present these options:
|
|
863
863
|
|
|
864
|
+
Do not route directly from plan generation to `/workflow:work`.
|
|
865
|
+
|
|
864
866
|
**Question:** "Plan ready at `docs/plans/YYYY-MM-DD-<type>-<slug>-plan.md`. What would you like to do next?"
|
|
865
867
|
|
|
866
868
|
**Options:**
|
|
867
869
|
|
|
868
870
|
1. **Open plan in editor** - Open the plan file for review
|
|
869
871
|
2. **Review and refine** - Improve the document through structured self-review
|
|
870
|
-
3. **Start `/workflow:
|
|
872
|
+
3. **Start `/workflow:triage`** - Triage todos derived from this plan before execution
|
|
871
873
|
4. **Create Issue** - Create issue in project tracker (GitHub/Linear)
|
|
872
874
|
5. **Other** - Adjust the plan
|
|
873
875
|
|
|
@@ -880,13 +882,14 @@ Based on selection:
|
|
|
880
882
|
|
|
881
883
|
- **Open plan in editor** → Open the plan file in the editor (navigate to `docs/plans/<plan_filename>.md`)
|
|
882
884
|
- **Review and refine** → Load `document-review` skill.
|
|
885
|
+
- **Start `/workflow:triage`** → Ensure plan todos exist (create via `file-todos` if needed), then run `/workflow:triage` to approve priority/dependencies and the executable ready queue.
|
|
883
886
|
- **Technical review** → Load `technical-review` skill; then if user agrees to changes, load `document-review` to update the plan.
|
|
884
887
|
- **Create Issue** → See "Issue Creation" section below
|
|
885
888
|
- **Other** → Accept free text for rework or specific changes
|
|
886
889
|
|
|
887
890
|
**Note:** Only if `/deepen-plan` exists in this repo and the user has enabled it (e.g., ultrathink), you may run `/deepen-plan` after plan creation for extra depth; it is optional, not required.
|
|
888
891
|
|
|
889
|
-
Loop back to options after changes until user selects `/workflow:
|
|
892
|
+
Loop back to options after changes until user selects `/workflow:triage` or ends the session.
|
|
890
893
|
|
|
891
894
|
## Issue Creation
|
|
892
895
|
|
|
@@ -928,6 +931,6 @@ When user selects "Create Issue", detect their project tracker from repo guidanc
|
|
|
928
931
|
|
|
929
932
|
5. **After creation:**
|
|
930
933
|
- Display the issue URL
|
|
931
|
-
- Ask if they want to proceed to `/workflow:
|
|
934
|
+
- Ask if they want to proceed to `/workflow:triage`
|
|
932
935
|
|
|
933
936
|
NEVER CODE! Just research and write the plan.
|
|
@@ -10,6 +10,7 @@ argument-hint: "[optional: todo path, issue id, status filter ('pending'|'ready'
|
|
|
10
10
|
Turn todo items into a prioritized executable queue.
|
|
11
11
|
|
|
12
12
|
This command does not implement fixes. It approves and organizes work so `/workflow:work` can execute without ambiguity.
|
|
13
|
+
Output of this command is the only executable queue for `/workflow:work`.
|
|
13
14
|
|
|
14
15
|
## Inputs
|
|
15
16
|
|
|
@@ -91,6 +91,12 @@ The input must be a plan file path.
|
|
|
91
91
|
|
|
92
92
|
1.6. **Agentic Access + Validation Preflight (HARD GATE)**
|
|
93
93
|
|
|
94
|
+
Contract checksum (MUST all be true before implementation):
|
|
95
|
+
|
|
96
|
+
- triage completed for this plan
|
|
97
|
+
- isolation gate recorded (`worktree_decision`, context, `gate_status: passed`)
|
|
98
|
+
- blocking spikes execute before dependent build todos
|
|
99
|
+
|
|
94
100
|
Before any implementation commands:
|
|
95
101
|
|
|
96
102
|
- Verify each `ready` todo has an executable Agentic Execution Contract:
|
package/src/AGENTS.md
CHANGED
|
@@ -40,7 +40,7 @@ Onboarding:
|
|
|
40
40
|
|
|
41
41
|
- `/install` -> one action: writes opencode.json, merges AGENTS.md, creates dirs, preserves Repo Config Block (run `npx compound-workflow install` in the project)
|
|
42
42
|
|
|
43
|
-
This workspace currently implements `brainstorm`, `plan`, `work`, `review`, `compound`, and optional QA utilities.
|
|
43
|
+
This workspace currently implements `brainstorm`, `plan`, `triage`, `work`, `review`, `compound`, and optional QA utilities.
|
|
44
44
|
|
|
45
45
|
Use the canonical command names (`/workflow:plan`, `/workflow:work`, `/workflow:review`, etc.). This template does not ship aliases.
|
|
46
46
|
|
|
@@ -154,7 +154,7 @@ worktree_bootstrap_notes:
|
|
|
154
154
|
|
|
155
155
|
## Implemented Components (Current Scope)
|
|
156
156
|
|
|
157
|
-
- Commands: `workflow:brainstorm`, `workflow:plan`, `workflow:
|
|
157
|
+
- Commands: `workflow:brainstorm`, `workflow:plan`, `workflow:triage`, `workflow:work`, `workflow:review`, `workflow:compound` (under `.agents/commands/workflow/`), plus `test-browser`, `metrics`, `assess`, `setup`, `sync` (root commands)
|
|
158
158
|
- Skills: `brainstorming`, `document-review`, `technical-review`, `compound-docs` (alias: `compound_doc`), `capture-skill`, `file-todos`, `agent-browser`, `git-worktree`, `process-metrics`, `react-ddd-mvc-frontend`, `xstate-actor-orchestration`, `standards`, `pii-protection-prisma`, `financial-workflow-integrity`, `audit-traceability`, `data-foundations`
|
|
159
159
|
- Agents:
|
|
160
160
|
- `repo-research-analyst`
|