pi-gsd 1.12.3 → 2.0.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/.gsd/extensions/pi-gsd-hooks.ts +330 -150
- package/.gsd/harnesses/pi/get-shit-done/workflows/add-phase.md +66 -11
- package/.gsd/harnesses/pi/get-shit-done/workflows/add-tests.md +69 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/add-todo.md +30 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/audit-milestone.md +75 -17
- package/.gsd/harnesses/pi/get-shit-done/workflows/audit-uat.md +38 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/autonomous.md +95 -286
- package/.gsd/harnesses/pi/get-shit-done/workflows/check-todos.md +67 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/cleanup.md +25 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/complete-milestone.md +51 -529
- package/.gsd/harnesses/pi/get-shit-done/workflows/diagnose-issues.md +39 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/discovery-phase.md +2 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/discuss-phase-assumptions.md +80 -5
- package/.gsd/harnesses/pi/get-shit-done/workflows/discuss-phase.md +43 -5
- package/.gsd/harnesses/pi/get-shit-done/workflows/discuss-phase.md.bak +1049 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/do.md +30 -3
- package/.gsd/harnesses/pi/get-shit-done/workflows/execute-milestone.md +64 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/execute-phase.md +78 -20
- package/.gsd/harnesses/pi/get-shit-done/workflows/execute-phase.md.bak +846 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/execute-plan.md +56 -19
- package/.gsd/harnesses/pi/get-shit-done/workflows/fast.md +2 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/forensics.md +40 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/health.md +25 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/help.md +2 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/insert-phase.md +69 -11
- package/.gsd/harnesses/pi/get-shit-done/workflows/list-phase-assumptions.md +2 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/list-workspaces.md +51 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/manager.md +81 -8
- package/.gsd/harnesses/pi/get-shit-done/workflows/map-codebase.md +40 -5
- package/.gsd/harnesses/pi/get-shit-done/workflows/milestone-summary.md +66 -48
- package/.gsd/harnesses/pi/get-shit-done/workflows/new-milestone.md +41 -13
- package/.gsd/harnesses/pi/get-shit-done/workflows/new-milestone.md.bak +486 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/new-project.md +43 -7
- package/.gsd/harnesses/pi/get-shit-done/workflows/new-project.md.bak +1250 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/new-workspace.md +55 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/next.md +39 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/node-repair.md +2 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/note.md +2 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/pause-work.md +46 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/plan-milestone-gaps.md +39 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/plan-milestone.md +40 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/plan-phase.md +57 -7
- package/.gsd/harnesses/pi/get-shit-done/workflows/plan-phase.md.bak +859 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/plant-seed.md +28 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/pr-branch.md +2 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/profile-user.md +51 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/progress.md +52 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/quick.md +99 -32
- package/.gsd/harnesses/pi/get-shit-done/workflows/remove-phase.md +66 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/remove-workspace.md +55 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/research-phase.md +79 -22
- package/.gsd/harnesses/pi/get-shit-done/workflows/resume-project.md +66 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/review.md +66 -36
- package/.gsd/harnesses/pi/get-shit-done/workflows/session-report.md +2 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/settings.md +27 -5
- package/.gsd/harnesses/pi/get-shit-done/workflows/ship.md +41 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/stats.md +24 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/transition.md +54 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/ui-phase.md +91 -6
- package/.gsd/harnesses/pi/get-shit-done/workflows/ui-review.md +80 -5
- package/.gsd/harnesses/pi/get-shit-done/workflows/update.md +2 -0
- package/.gsd/harnesses/pi/get-shit-done/workflows/validate-phase.md +90 -17
- package/.gsd/harnesses/pi/get-shit-done/workflows/verify-phase.md +79 -4
- package/.gsd/harnesses/pi/get-shit-done/workflows/verify-work.md +87 -31
- package/README.md +146 -112
- package/dist/pi-gsd-tools.js +166 -163
- package/package.json +13 -5
- package/prompts/gsd-add-backlog.md +2 -3
- package/prompts/gsd-add-phase.md +3 -2
- package/prompts/gsd-add-tests.md +3 -2
- package/prompts/gsd-add-todo.md +3 -2
- package/prompts/gsd-audit-milestone.md +3 -2
- package/prompts/gsd-audit-uat.md +3 -2
- package/prompts/gsd-autonomous.md +3 -2
- package/prompts/gsd-check-todos.md +3 -2
- package/prompts/gsd-cleanup.md +3 -2
- package/prompts/gsd-complete-milestone.md +2 -3
- package/prompts/gsd-debug.md +2 -3
- package/prompts/gsd-discuss-phase.md +4 -3
- package/prompts/gsd-do.md +3 -2
- package/prompts/gsd-execute-milestone.md +3 -2
- package/prompts/gsd-execute-phase.md +3 -2
- package/prompts/gsd-fast.md +2 -1
- package/prompts/gsd-forensics.md +3 -2
- package/prompts/gsd-insert-phase.md +3 -2
- package/prompts/gsd-join-discord.md +2 -3
- package/prompts/gsd-list-phase-assumptions.md +2 -1
- package/prompts/gsd-list-workspaces.md +3 -2
- package/prompts/gsd-manager.md +3 -2
- package/prompts/gsd-map-codebase.md +3 -2
- package/prompts/gsd-milestone-summary.md +3 -2
- package/prompts/gsd-new-milestone.md +3 -2
- package/prompts/gsd-new-project.md +3 -2
- package/prompts/gsd-new-workspace.md +3 -2
- package/prompts/gsd-note.md +2 -1
- package/prompts/gsd-pause-work.md +3 -2
- package/prompts/gsd-plan-milestone-gaps.md +3 -2
- package/prompts/gsd-plan-milestone.md +3 -2
- package/prompts/gsd-plan-phase.md +3 -2
- package/prompts/gsd-plant-seed.md +3 -2
- package/prompts/gsd-pr-branch.md +2 -1
- package/prompts/gsd-profile-user.md +3 -2
- package/prompts/gsd-quick.md +3 -2
- package/prompts/gsd-reapply-patches.md +2 -3
- package/prompts/gsd-remove-phase.md +3 -2
- package/prompts/gsd-remove-workspace.md +3 -2
- package/prompts/gsd-research-phase.md +2 -3
- package/prompts/gsd-resume-work.md +3 -2
- package/prompts/gsd-review-backlog.md +2 -3
- package/prompts/gsd-review.md +3 -2
- package/prompts/gsd-session-report.md +2 -1
- package/prompts/gsd-set-profile.md +2 -3
- package/prompts/gsd-settings.md +3 -2
- package/prompts/gsd-ship.md +3 -2
- package/prompts/gsd-thread.md +2 -3
- package/prompts/gsd-ui-phase.md +3 -2
- package/prompts/gsd-ui-review.md +3 -2
- package/prompts/gsd-validate-phase.md +3 -2
- package/prompts/gsd-verify-work.md +3 -2
- package/prompts/gsd-workstreams.md +2 -3
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
<gsd-version v="1.12.4" />
|
|
2
|
+
|
|
3
|
+
<gsd-arguments>
|
|
4
|
+
<settings><keep-extra-args /></settings>
|
|
5
|
+
<arg name="request" type="string" optional />
|
|
6
|
+
</gsd-arguments>
|
|
7
|
+
|
|
8
|
+
<gsd-execute>
|
|
9
|
+
<shell command="pi-gsd-tools">
|
|
10
|
+
<args>
|
|
11
|
+
<arg string="pi-gsd-tools" />
|
|
12
|
+
<arg string="state" />
|
|
13
|
+
<arg string="load" />
|
|
14
|
+
<arg string="--raw" />
|
|
15
|
+
</args>
|
|
16
|
+
<outs>
|
|
17
|
+
<suppress-errors />
|
|
18
|
+
<out type="string" name="state" />
|
|
19
|
+
</outs>
|
|
20
|
+
</shell>
|
|
21
|
+
</gsd-execute>
|
|
22
|
+
|
|
23
|
+
## Context (pre-injected)
|
|
24
|
+
|
|
25
|
+
**Request:** <gsd-paste name="request" />
|
|
26
|
+
|
|
27
|
+
**State:**
|
|
28
|
+
<gsd-paste name="state" />
|
|
29
|
+
|
|
1
30
|
<purpose>
|
|
2
31
|
Analyze freeform text from the user and route to the most appropriate GSD command. This is a dispatcher - it never does the work itself. Match user intent to the best command, confirm the routing, and hand off.
|
|
3
32
|
</purpose>
|
|
@@ -23,9 +52,7 @@ Wait for response before continuing.
|
|
|
23
52
|
<step name="check_project">
|
|
24
53
|
**Check if project exists.**
|
|
25
54
|
|
|
26
|
-
|
|
27
|
-
INIT=$(pi-gsd-tools state load 2>/dev/null)
|
|
28
|
-
```
|
|
55
|
+
<!-- Context pre-injected above via WXP — variables available via <gsd-paste name="..."> -->
|
|
29
56
|
|
|
30
57
|
Track whether `.planning/` exists - some routes require it, others don't.
|
|
31
58
|
</step>
|
|
@@ -1,3 +1,67 @@
|
|
|
1
|
+
<gsd-version v="1.12.4" />
|
|
2
|
+
|
|
3
|
+
<gsd-arguments>
|
|
4
|
+
<settings><keep-extra-args /></settings>
|
|
5
|
+
<arg name="from" type="number" optional />
|
|
6
|
+
<arg name="uat-threshold" type="number" optional />
|
|
7
|
+
</gsd-arguments>
|
|
8
|
+
|
|
9
|
+
<gsd-execute>
|
|
10
|
+
<shell command="pi-gsd-tools">
|
|
11
|
+
<args>
|
|
12
|
+
<arg string="pi-gsd-tools" />
|
|
13
|
+
<arg string="roadmap" />
|
|
14
|
+
<arg string="analyze" />
|
|
15
|
+
<arg string="--raw" />
|
|
16
|
+
</args>
|
|
17
|
+
<outs>
|
|
18
|
+
<out type="string" name="roadmap" />
|
|
19
|
+
</outs>
|
|
20
|
+
</shell>
|
|
21
|
+
<shell command="pi-gsd-tools">
|
|
22
|
+
<args>
|
|
23
|
+
<arg string="pi-gsd-tools" />
|
|
24
|
+
<arg string="state" />
|
|
25
|
+
<arg string="json" />
|
|
26
|
+
<arg string="--raw" />
|
|
27
|
+
</args>
|
|
28
|
+
<outs>
|
|
29
|
+
<out type="string" name="state" />
|
|
30
|
+
</outs>
|
|
31
|
+
</shell>
|
|
32
|
+
<shell command="pi-gsd-tools">
|
|
33
|
+
<args>
|
|
34
|
+
<arg string="pi-gsd-tools" />
|
|
35
|
+
<arg string="progress" />
|
|
36
|
+
<arg string="json" />
|
|
37
|
+
<arg string="--raw" />
|
|
38
|
+
</args>
|
|
39
|
+
<outs>
|
|
40
|
+
<out type="string" name="progress" />
|
|
41
|
+
</outs>
|
|
42
|
+
</shell>
|
|
43
|
+
<!-- SET _auto_chain_active when milestone execution chain starts -->
|
|
44
|
+
<shell command="pi-gsd-tools">
|
|
45
|
+
<args>
|
|
46
|
+
<arg string="config-set" />
|
|
47
|
+
<arg string="workflow._auto_chain_active" />
|
|
48
|
+
<arg string="true" />
|
|
49
|
+
</args>
|
|
50
|
+
<outs><suppress-errors /></outs>
|
|
51
|
+
</shell>
|
|
52
|
+
</gsd-execute>
|
|
53
|
+
|
|
54
|
+
## Execution Context (pre-injected)
|
|
55
|
+
|
|
56
|
+
**Roadmap:**
|
|
57
|
+
<gsd-paste name="roadmap" />
|
|
58
|
+
|
|
59
|
+
**State:**
|
|
60
|
+
<gsd-paste name="state" />
|
|
61
|
+
|
|
62
|
+
**Progress:**
|
|
63
|
+
<gsd-paste name="progress" />
|
|
64
|
+
|
|
1
65
|
# execute-milestone workflow
|
|
2
66
|
|
|
3
67
|
Execute all planned phases in the current milestone with scope guardian, UAT gates, and configurable recovery.
|
|
@@ -1,3 +1,79 @@
|
|
|
1
|
+
<gsd-version v="1.12.4" />
|
|
2
|
+
|
|
3
|
+
<gsd-arguments>
|
|
4
|
+
<settings>
|
|
5
|
+
<keep-extra-args />
|
|
6
|
+
<delimiters>
|
|
7
|
+
<delimiter type="string" value="\n" />
|
|
8
|
+
</delimiters>
|
|
9
|
+
</settings>
|
|
10
|
+
<arg name="auto-chain-active" type="flag" flag="--auto" optional />
|
|
11
|
+
<arg name="phase" type="number" />
|
|
12
|
+
<arg name="user-text" type="string" optional />
|
|
13
|
+
</gsd-arguments>
|
|
14
|
+
|
|
15
|
+
<gsd-execute>
|
|
16
|
+
<shell command="pi-gsd-tools">
|
|
17
|
+
<args>
|
|
18
|
+
<arg string="init" />
|
|
19
|
+
<arg string="execute-phase" />
|
|
20
|
+
<arg name="phase" wrap='"' />
|
|
21
|
+
</args>
|
|
22
|
+
<outs>
|
|
23
|
+
<out type="string" name="init" />
|
|
24
|
+
</outs>
|
|
25
|
+
</shell>
|
|
26
|
+
<if>
|
|
27
|
+
<condition>
|
|
28
|
+
<starts-with>
|
|
29
|
+
<left name="init" />
|
|
30
|
+
<right type="string" value="@file:" />
|
|
31
|
+
</starts-with>
|
|
32
|
+
</condition>
|
|
33
|
+
<then>
|
|
34
|
+
<string-op op="split">
|
|
35
|
+
<args>
|
|
36
|
+
<arg name="init" />
|
|
37
|
+
<arg type="string" value="@file:" />
|
|
38
|
+
</args>
|
|
39
|
+
<outs>
|
|
40
|
+
<out type="string" name="init-file" />
|
|
41
|
+
</outs>
|
|
42
|
+
</string-op>
|
|
43
|
+
<shell command="cat">
|
|
44
|
+
<args>
|
|
45
|
+
<arg name="init-file" wrap='"' />
|
|
46
|
+
</args>
|
|
47
|
+
<outs>
|
|
48
|
+
<out type="string" name="init" />
|
|
49
|
+
</outs>
|
|
50
|
+
</shell>
|
|
51
|
+
</then>
|
|
52
|
+
</if>
|
|
53
|
+
<shell command="pi-gsd-tools">
|
|
54
|
+
<args>
|
|
55
|
+
<arg string="agent-skills" />
|
|
56
|
+
<arg string="gsd-executor" />
|
|
57
|
+
</args>
|
|
58
|
+
<outs>
|
|
59
|
+
<suppress-errors />
|
|
60
|
+
<out type="string" name="agent-skills" />
|
|
61
|
+
</outs>
|
|
62
|
+
</shell>
|
|
63
|
+
</gsd-execute>
|
|
64
|
+
|
|
65
|
+
## Execution Context (pre-injected)
|
|
66
|
+
|
|
67
|
+
**Phase:** <gsd-paste name="phase" />
|
|
68
|
+
|
|
69
|
+
**Phase Init Data:**
|
|
70
|
+
<gsd-paste name="init" />
|
|
71
|
+
|
|
72
|
+
**Agent Skills:**
|
|
73
|
+
<gsd-paste name="agent-skills" />
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
1
77
|
<purpose>
|
|
2
78
|
Execute all plans in a phase using wave-based parallel execution. Orchestrator stays lean - delegates plan execution to subagents.
|
|
3
79
|
</purpose>
|
|
@@ -47,24 +123,11 @@ Always use the exact name from this list - do not fall back to 'general-purpose'
|
|
|
47
123
|
|
|
48
124
|
<process>
|
|
49
125
|
|
|
50
|
-
<step name="parse_args" priority="first">
|
|
51
|
-
Parse `$ARGUMENTS` before loading any context:
|
|
52
|
-
|
|
53
|
-
- First positional token → `PHASE_ARG`
|
|
54
|
-
- Optional `--wave N` → `WAVE_FILTER`
|
|
55
|
-
- Optional `--gaps-only` keeps its current meaning
|
|
56
|
-
|
|
57
|
-
If `--wave` is absent, preserve the current behavior of executing all incomplete waves in the phase.
|
|
58
|
-
</step>
|
|
59
126
|
|
|
60
127
|
<step name="initialize" priority="first">
|
|
61
128
|
Load all context in one call:
|
|
62
129
|
|
|
63
|
-
|
|
64
|
-
INIT=$(pi-gsd-tools init execute-phase "${PHASE_ARG}")
|
|
65
|
-
if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
|
|
66
|
-
AGENT_SKILLS=$(pi-gsd-tools agent-skills gsd-executor 2>/dev/null)
|
|
67
|
-
```
|
|
130
|
+
<!-- Init data pre-injected above via WXP: `init`, `agent-skills` variables available -->
|
|
68
131
|
|
|
69
132
|
Parse JSON for: `executor_model`, `verifier_model`, `commit_docs`, `parallelization`, `branching_strategy`, `branch_name`, `phase_found`, `phase_dir`, `phase_number`, `phase_name`, `phase_slug`, `plans`, `incomplete_plans`, `plan_count`, `incomplete_count`, `state_exists`, `roadmap_exists`, `phase_req_ids`.
|
|
70
133
|
|
|
@@ -83,12 +146,7 @@ internally and skip the `execute_waves` step in favor of `check_interactive_mode
|
|
|
83
146
|
inline path for each plan.
|
|
84
147
|
|
|
85
148
|
**REQUIRED - Sync chain flag with intent.** If user invoked manually (no `--auto`), clear the ephemeral chain flag from any previous interrupted `--auto` chain. This prevents stale `_auto_chain_active: true` from causing unwanted auto-advance. This does NOT touch `workflow.auto_advance` (the user's persistent settings preference). You MUST execute this bash block before any config reads:
|
|
86
|
-
|
|
87
|
-
# REQUIRED: prevents stale auto-chain from previous --auto runs
|
|
88
|
-
if [[ ! "$ARGUMENTS" =~ --auto ]]; then
|
|
89
|
-
pi-gsd-tools config-set workflow._auto_chain_active false 2>/dev/null
|
|
90
|
-
fi
|
|
91
|
-
```
|
|
149
|
+
<!-- auto-chain-active sync handled above via WXP -->
|
|
92
150
|
</step>
|
|
93
151
|
|
|
94
152
|
<step name="check_interactive_mode">
|