@undeemed/get-shit-done-codex 1.20.2 → 1.20.7
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 +29 -5
- package/agents/gsd-codebase-mapper.md +5 -2
- package/agents/gsd-debugger.md +6 -3
- package/agents/gsd-executor.md +62 -12
- package/agents/gsd-integration-checker.md +20 -0
- package/agents/gsd-phase-researcher.md +106 -14
- package/agents/gsd-plan-checker.md +132 -10
- package/agents/gsd-planner.md +64 -29
- package/agents/gsd-project-researcher.md +5 -2
- package/agents/gsd-research-synthesizer.md +6 -3
- package/agents/gsd-roadmapper.md +8 -5
- package/agents/gsd-verifier.md +33 -16
- package/bin/install.js +6 -6
- package/commands/gsd/add-phase.md +8 -4
- package/commands/gsd/add-todo.md +8 -3
- package/commands/gsd/audit-milestone.md +3 -9
- package/commands/gsd/check-todos.md +8 -4
- package/commands/gsd/cleanup.md +2 -2
- package/commands/gsd/complete-milestone.md +2 -2
- package/commands/gsd/debug.md +5 -3
- package/commands/gsd/discuss-phase.md +4 -8
- package/commands/gsd/execute-phase.md +4 -5
- package/commands/gsd/health.md +2 -2
- package/commands/gsd/help.md +2 -2
- package/commands/gsd/insert-phase.md +3 -4
- package/commands/gsd/list-phase-assumptions.md +5 -9
- package/commands/gsd/map-codebase.md +1 -1
- package/commands/gsd/new-milestone.md +7 -14
- package/commands/gsd/new-project.md +6 -6
- package/commands/gsd/new-project.md.bak +13 -13
- package/commands/gsd/pause-work.md +6 -3
- package/commands/gsd/plan-milestone-gaps.md +3 -9
- package/commands/gsd/plan-phase.md +3 -3
- package/commands/gsd/progress.md +2 -2
- package/commands/gsd/quick.md +4 -3
- package/commands/gsd/reapply-patches.md +2 -2
- package/commands/gsd/remove-phase.md +3 -4
- package/commands/gsd/research-phase.md +23 -21
- package/commands/gsd/resume-work.md +2 -2
- package/commands/gsd/set-profile.md +3 -3
- package/commands/gsd/settings.md +2 -2
- package/commands/gsd/update.md +2 -2
- package/commands/gsd/verify-work.md +5 -6
- package/get-shit-done/bin/gsd-tools.cjs +168 -4858
- package/get-shit-done/bin/lib/commands.cjs +556 -0
- package/get-shit-done/bin/lib/config.cjs +162 -0
- package/get-shit-done/bin/lib/core.cjs +398 -0
- package/get-shit-done/bin/lib/frontmatter.cjs +299 -0
- package/get-shit-done/bin/lib/init.cjs +694 -0
- package/get-shit-done/bin/lib/milestone.cjs +215 -0
- package/get-shit-done/bin/lib/phase.cjs +873 -0
- package/get-shit-done/bin/lib/roadmap.cjs +298 -0
- package/get-shit-done/bin/lib/state.cjs +490 -0
- package/get-shit-done/bin/lib/template.cjs +222 -0
- package/get-shit-done/bin/lib/verify.cjs +772 -0
- package/get-shit-done/references/checkpoints.md +36 -35
- package/get-shit-done/references/decimal-phase-calculation.md +4 -4
- package/get-shit-done/references/git-integration.md +7 -7
- package/get-shit-done/references/git-planning-commit.md +2 -2
- package/get-shit-done/references/model-profile-resolution.md +1 -1
- package/get-shit-done/references/model-profiles.md +2 -2
- package/get-shit-done/references/phase-argument-parsing.md +3 -3
- package/get-shit-done/references/planning-config.md +6 -6
- package/get-shit-done/references/questioning.md +1 -1
- package/get-shit-done/references/verification-patterns.md +2 -2
- package/get-shit-done/templates/DEBUG.md +4 -4
- package/get-shit-done/templates/VALIDATION.md +104 -0
- package/get-shit-done/templates/codebase/architecture.md +1 -1
- package/get-shit-done/templates/codebase/concerns.md +1 -1
- package/get-shit-done/templates/codebase/conventions.md +1 -1
- package/get-shit-done/templates/codebase/structure.md +6 -6
- package/get-shit-done/templates/config.json +2 -1
- package/get-shit-done/templates/context.md +5 -5
- package/get-shit-done/templates/continue-here.md +1 -1
- package/get-shit-done/templates/phase-prompt.md +20 -18
- package/get-shit-done/templates/project.md +1 -1
- package/get-shit-done/templates/research.md +4 -4
- package/get-shit-done/templates/roadmap.md +1 -1
- package/get-shit-done/templates/state.md +1 -1
- package/get-shit-done/templates/summary.md +2 -0
- package/get-shit-done/templates/user-setup.md +8 -8
- package/get-shit-done/templates/verification-report.md +2 -2
- package/get-shit-done/workflows/add-phase.md +2 -2
- package/get-shit-done/workflows/add-todo.md +5 -5
- package/get-shit-done/workflows/audit-milestone.md +67 -12
- package/get-shit-done/workflows/check-todos.md +2 -2
- package/get-shit-done/workflows/cleanup.md +1 -1
- package/get-shit-done/workflows/complete-milestone.md +31 -5
- package/get-shit-done/workflows/diagnose-issues.md +2 -2
- package/get-shit-done/workflows/discovery-phase.md +6 -6
- package/get-shit-done/workflows/discuss-phase.md +79 -24
- package/get-shit-done/workflows/execute-phase.md +65 -20
- package/get-shit-done/workflows/execute-plan.md +31 -27
- package/get-shit-done/workflows/health.md +2 -2
- package/get-shit-done/workflows/help.md +4 -4
- package/get-shit-done/workflows/insert-phase.md +2 -2
- package/get-shit-done/workflows/list-phase-assumptions.md +7 -7
- package/get-shit-done/workflows/map-codebase.md +36 -48
- package/get-shit-done/workflows/new-milestone.md +24 -15
- package/get-shit-done/workflows/new-project.md +49 -46
- package/get-shit-done/workflows/pause-work.md +3 -3
- package/get-shit-done/workflows/plan-milestone-gaps.md +24 -6
- package/get-shit-done/workflows/plan-phase.md +113 -83
- package/get-shit-done/workflows/progress.md +18 -30
- package/get-shit-done/workflows/quick.md +28 -19
- package/get-shit-done/workflows/remove-phase.md +4 -4
- package/get-shit-done/workflows/research-phase.md +13 -14
- package/get-shit-done/workflows/resume-project.md +2 -2
- package/get-shit-done/workflows/set-profile.md +3 -3
- package/get-shit-done/workflows/settings.md +18 -5
- package/get-shit-done/workflows/transition.md +8 -3
- package/get-shit-done/workflows/update.md +9 -9
- package/get-shit-done/workflows/verify-phase.md +9 -9
- package/get-shit-done/workflows/verify-work.md +17 -18
- package/hooks/dist/gsd-context-monitor.js +122 -0
- package/hooks/dist/gsd-statusline.js +17 -0
- package/package.json +2 -2
- package/scripts/build-hooks.js +1 -0
- package/get-shit-done/bin/gsd-tools.test.cjs +0 -2273
package/agents/gsd-verifier.md
CHANGED
|
@@ -10,7 +10,10 @@ You are a GSD phase verifier. You verify that a phase achieved its GOAL, not jus
|
|
|
10
10
|
|
|
11
11
|
Your job: Goal-backward verification. Start from what the phase SHOULD deliver, verify it actually exists and works in the codebase.
|
|
12
12
|
|
|
13
|
-
**
|
|
13
|
+
**CRITICAL: Mandatory Initial Read**
|
|
14
|
+
If the prompt contains a `<files_to_read>` block, you MUST use the `Read` tool to load every file listed there before performing any other actions. This is your primary context.
|
|
15
|
+
|
|
16
|
+
**Critical mindset:** Do NOT trust SUMMARY.md claims. SUMMARYs document what Codex SAID it did. You verify what ACTUALLY exists in the code. These often differ.
|
|
14
17
|
</role>
|
|
15
18
|
|
|
16
19
|
<core_principle>
|
|
@@ -54,7 +57,7 @@ Set `is_re_verification = false`, proceed with Step 1.
|
|
|
54
57
|
```bash
|
|
55
58
|
ls "$PHASE_DIR"/*-PLAN.md 2>/dev/null
|
|
56
59
|
ls "$PHASE_DIR"/*-SUMMARY.md 2>/dev/null
|
|
57
|
-
node ~/.
|
|
60
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs roadmap get-phase "$PHASE_NUM"
|
|
58
61
|
grep -E "^| $PHASE_NUM" .planning/REQUIREMENTS.md 2>/dev/null
|
|
59
62
|
```
|
|
60
63
|
|
|
@@ -91,7 +94,7 @@ must_haves:
|
|
|
91
94
|
If no must_haves in frontmatter, check for Success Criteria:
|
|
92
95
|
|
|
93
96
|
```bash
|
|
94
|
-
PHASE_DATA=$(node ~/.
|
|
97
|
+
PHASE_DATA=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs roadmap get-phase "$PHASE_NUM" --raw)
|
|
95
98
|
```
|
|
96
99
|
|
|
97
100
|
Parse the `success_criteria` array from the JSON output. If non-empty:
|
|
@@ -134,7 +137,7 @@ For each truth:
|
|
|
134
137
|
Use gsd-tools for artifact verification against must_haves in PLAN frontmatter:
|
|
135
138
|
|
|
136
139
|
```bash
|
|
137
|
-
ARTIFACT_RESULT=$(node ~/.
|
|
140
|
+
ARTIFACT_RESULT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs verify artifacts "$PLAN_PATH")
|
|
138
141
|
```
|
|
139
142
|
|
|
140
143
|
Parse JSON result: `{ all_passed, passed, total, artifacts: [{path, exists, issues, passed}] }`
|
|
@@ -183,7 +186,7 @@ Key links are critical connections. If broken, the goal fails even with all arti
|
|
|
183
186
|
Use gsd-tools for key link verification against must_haves in PLAN frontmatter:
|
|
184
187
|
|
|
185
188
|
```bash
|
|
186
|
-
LINKS_RESULT=$(node ~/.
|
|
189
|
+
LINKS_RESULT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs verify key-links "$PLAN_PATH")
|
|
187
190
|
```
|
|
188
191
|
|
|
189
192
|
Parse JSON result: `{ all_verified, verified, total, links: [{from, to, via, verified, detail}] }`
|
|
@@ -233,17 +236,31 @@ Status: WIRED (state displayed) | NOT_WIRED (state exists, not rendered)
|
|
|
233
236
|
|
|
234
237
|
## Step 6: Check Requirements Coverage
|
|
235
238
|
|
|
236
|
-
|
|
239
|
+
**6a. Extract requirement IDs from PLAN frontmatter:**
|
|
237
240
|
|
|
238
241
|
```bash
|
|
239
|
-
grep -
|
|
242
|
+
grep -A5 "^requirements:" "$PHASE_DIR"/*-PLAN.md 2>/dev/null
|
|
240
243
|
```
|
|
241
244
|
|
|
242
|
-
|
|
245
|
+
Collect ALL requirement IDs declared across plans for this phase.
|
|
246
|
+
|
|
247
|
+
**6b. Cross-reference against REQUIREMENTS.md:**
|
|
248
|
+
|
|
249
|
+
For each requirement ID from plans:
|
|
250
|
+
1. Find its full description in REQUIREMENTS.md (`**REQ-ID**: description`)
|
|
251
|
+
2. Map to supporting truths/artifacts verified in Steps 3-5
|
|
252
|
+
3. Determine status:
|
|
253
|
+
- ✓ SATISFIED: Implementation evidence found that fulfills the requirement
|
|
254
|
+
- ✗ BLOCKED: No evidence or contradicting evidence
|
|
255
|
+
- ? NEEDS HUMAN: Can't verify programmatically (UI behavior, UX quality)
|
|
256
|
+
|
|
257
|
+
**6c. Check for orphaned requirements:**
|
|
258
|
+
|
|
259
|
+
```bash
|
|
260
|
+
grep -E "Phase $PHASE_NUM" .planning/REQUIREMENTS.md 2>/dev/null
|
|
261
|
+
```
|
|
243
262
|
|
|
244
|
-
|
|
245
|
-
- ✗ BLOCKED: One or more supporting truths failed
|
|
246
|
-
- ? NEEDS HUMAN: Can't verify programmatically
|
|
263
|
+
If REQUIREMENTS.md maps additional IDs to this phase that don't appear in ANY plan's `requirements` field, flag as **ORPHANED** — these requirements were expected but no plan claimed them. ORPHANED requirements MUST appear in the verification report.
|
|
247
264
|
|
|
248
265
|
## Step 7: Scan for Anti-Patterns
|
|
249
266
|
|
|
@@ -251,12 +268,12 @@ Identify files modified in this phase from SUMMARY.md key-files section, or extr
|
|
|
251
268
|
|
|
252
269
|
```bash
|
|
253
270
|
# Option 1: Extract from SUMMARY frontmatter
|
|
254
|
-
SUMMARY_FILES=$(node ~/.
|
|
271
|
+
SUMMARY_FILES=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs summary-extract "$PHASE_DIR"/*-SUMMARY.md --fields key-files)
|
|
255
272
|
|
|
256
273
|
# Option 2: Verify commits exist (if commit hashes documented)
|
|
257
274
|
COMMIT_HASHES=$(grep -oE "[a-f0-9]{7,40}" "$PHASE_DIR"/*-SUMMARY.md | head -10)
|
|
258
275
|
if [ -n "$COMMIT_HASHES" ]; then
|
|
259
|
-
COMMITS_VALID=$(node ~/.
|
|
276
|
+
COMMITS_VALID=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs verify commits $COMMIT_HASHES)
|
|
260
277
|
fi
|
|
261
278
|
|
|
262
279
|
# Fallback: grep for files
|
|
@@ -396,8 +413,8 @@ human_verification: # Only if status: human_needed
|
|
|
396
413
|
|
|
397
414
|
### Requirements Coverage
|
|
398
415
|
|
|
399
|
-
| Requirement |
|
|
400
|
-
| ----------- | ------ |
|
|
416
|
+
| Requirement | Source Plan | Description | Status | Evidence |
|
|
417
|
+
| ----------- | ---------- | ----------- | ------ | -------- |
|
|
401
418
|
|
|
402
419
|
### Anti-Patterns Found
|
|
403
420
|
|
|
@@ -415,7 +432,7 @@ human_verification: # Only if status: human_needed
|
|
|
415
432
|
---
|
|
416
433
|
|
|
417
434
|
_Verified: {timestamp}_
|
|
418
|
-
_Verifier:
|
|
435
|
+
_Verifier: Codex (gsd-verifier)_
|
|
419
436
|
```
|
|
420
437
|
|
|
421
438
|
## Return to Orchestrator
|
package/bin/install.js
CHANGED
|
@@ -68,13 +68,13 @@ function applyReplacements(content, pathPrefix) {
|
|
|
68
68
|
? './'
|
|
69
69
|
: `./${runtimeRelativePrefix}`;
|
|
70
70
|
|
|
71
|
-
//
|
|
72
|
-
|
|
73
|
-
content = content.replace(
|
|
74
|
-
content = content.replace(
|
|
71
|
+
// Rewrite codex config roots for global vs local installs.
|
|
72
|
+
// Global install keeps ~/.codex/* references; local rewrites to ./*
|
|
73
|
+
content = content.replace(/\.\/\.codex\//g, explicitRelativePrefix);
|
|
74
|
+
content = content.replace(/~\/\.codex\//g, '~/.codex/');
|
|
75
75
|
|
|
76
|
-
content = content.replace(/
|
|
77
|
-
content = content.replace(/
|
|
76
|
+
content = content.replace(/Codex CLI/g, 'Codex CLI');
|
|
77
|
+
content = content.replace(/Codex/g, 'Codex');
|
|
78
78
|
|
|
79
79
|
content = content.replace(/\/gsd:/g, '/prompts:gsd-');
|
|
80
80
|
|
|
@@ -19,13 +19,17 @@ Routes to the add-phase workflow which handles:
|
|
|
19
19
|
</objective>
|
|
20
20
|
|
|
21
21
|
<execution_context>
|
|
22
|
-
|
|
23
|
-
@.planning/STATE.md
|
|
24
|
-
@~/.claude/get-shit-done/workflows/add-phase.md
|
|
22
|
+
@~/.codex/get-shit-done/workflows/add-phase.md
|
|
25
23
|
</execution_context>
|
|
26
24
|
|
|
25
|
+
<context>
|
|
26
|
+
Arguments: $ARGUMENTS (phase description)
|
|
27
|
+
|
|
28
|
+
Roadmap and state are resolved in-workflow via `init phase-op` and targeted tool calls.
|
|
29
|
+
</context>
|
|
30
|
+
|
|
27
31
|
<process>
|
|
28
|
-
**Follow the add-phase workflow** from `@~/.
|
|
32
|
+
**Follow the add-phase workflow** from `@~/.codex/get-shit-done/workflows/add-phase.md`.
|
|
29
33
|
|
|
30
34
|
The workflow handles all logic including:
|
|
31
35
|
1. Argument parsing and validation
|
package/commands/gsd/add-todo.md
CHANGED
|
@@ -23,12 +23,17 @@ Routes to the add-todo workflow which handles:
|
|
|
23
23
|
</objective>
|
|
24
24
|
|
|
25
25
|
<execution_context>
|
|
26
|
-
|
|
27
|
-
@~/.claude/get-shit-done/workflows/add-todo.md
|
|
26
|
+
@~/.codex/get-shit-done/workflows/add-todo.md
|
|
28
27
|
</execution_context>
|
|
29
28
|
|
|
29
|
+
<context>
|
|
30
|
+
Arguments: $ARGUMENTS (optional todo description)
|
|
31
|
+
|
|
32
|
+
State is resolved in-workflow via `init todos` and targeted reads.
|
|
33
|
+
</context>
|
|
34
|
+
|
|
30
35
|
<process>
|
|
31
|
-
**Follow the add-todo workflow** from `@~/.
|
|
36
|
+
**Follow the add-todo workflow** from `@~/.codex/get-shit-done/workflows/add-todo.md`.
|
|
32
37
|
|
|
33
38
|
The workflow handles all logic including:
|
|
34
39
|
1. Directory ensuring
|
|
@@ -17,19 +17,13 @@ Verify milestone achieved its definition of done. Check requirements coverage, c
|
|
|
17
17
|
</objective>
|
|
18
18
|
|
|
19
19
|
<execution_context>
|
|
20
|
-
@~/.
|
|
20
|
+
@~/.codex/get-shit-done/workflows/audit-milestone.md
|
|
21
21
|
</execution_context>
|
|
22
22
|
|
|
23
23
|
<context>
|
|
24
24
|
Version: $ARGUMENTS (optional — defaults to current milestone)
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
@.planning/PROJECT.md
|
|
28
|
-
@.planning/REQUIREMENTS.md
|
|
29
|
-
|
|
30
|
-
**Planned Work:**
|
|
31
|
-
@.planning/ROADMAP.md
|
|
32
|
-
@.planning/config.json (if exists)
|
|
26
|
+
Core planning files are resolved in-workflow (`init milestone-op`) and loaded only as needed.
|
|
33
27
|
|
|
34
28
|
**Completed Work:**
|
|
35
29
|
Glob: .planning/phases/*/*-SUMMARY.md
|
|
@@ -37,6 +31,6 @@ Glob: .planning/phases/*/*-VERIFICATION.md
|
|
|
37
31
|
</context>
|
|
38
32
|
|
|
39
33
|
<process>
|
|
40
|
-
Execute the audit-milestone workflow from @~/.
|
|
34
|
+
Execute the audit-milestone workflow from @~/.codex/get-shit-done/workflows/audit-milestone.md end-to-end.
|
|
41
35
|
Preserve all workflow gates (scope determination, verification reading, integration check, requirements coverage, routing).
|
|
42
36
|
</process>
|
|
@@ -21,13 +21,17 @@ Routes to the check-todos workflow which handles:
|
|
|
21
21
|
</objective>
|
|
22
22
|
|
|
23
23
|
<execution_context>
|
|
24
|
-
|
|
25
|
-
@.planning/ROADMAP.md
|
|
26
|
-
@~/.claude/get-shit-done/workflows/check-todos.md
|
|
24
|
+
@~/.codex/get-shit-done/workflows/check-todos.md
|
|
27
25
|
</execution_context>
|
|
28
26
|
|
|
27
|
+
<context>
|
|
28
|
+
Arguments: $ARGUMENTS (optional area filter)
|
|
29
|
+
|
|
30
|
+
Todo state and roadmap correlation are loaded in-workflow using `init todos` and targeted reads.
|
|
31
|
+
</context>
|
|
32
|
+
|
|
29
33
|
<process>
|
|
30
|
-
**Follow the check-todos workflow** from `@~/.
|
|
34
|
+
**Follow the check-todos workflow** from `@~/.codex/get-shit-done/workflows/check-todos.md`.
|
|
31
35
|
|
|
32
36
|
The workflow handles all logic including:
|
|
33
37
|
1. Todo existence checking
|
package/commands/gsd/cleanup.md
CHANGED
|
@@ -9,10 +9,10 @@ Use when `.planning/phases/` has accumulated directories from past milestones.
|
|
|
9
9
|
</objective>
|
|
10
10
|
|
|
11
11
|
<execution_context>
|
|
12
|
-
@~/.
|
|
12
|
+
@~/.codex/get-shit-done/workflows/cleanup.md
|
|
13
13
|
</execution_context>
|
|
14
14
|
|
|
15
15
|
<process>
|
|
16
|
-
Follow the cleanup workflow at @~/.
|
|
16
|
+
Follow the cleanup workflow at @~/.codex/get-shit-done/workflows/cleanup.md.
|
|
17
17
|
Identify completed milestones, show a dry-run summary, and archive on confirmation.
|
|
18
18
|
</process>
|
|
@@ -19,8 +19,8 @@ Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tag
|
|
|
19
19
|
<execution_context>
|
|
20
20
|
**Load these files NOW (before proceeding):**
|
|
21
21
|
|
|
22
|
-
- @~/.
|
|
23
|
-
- @~/.
|
|
22
|
+
- @~/.codex/get-shit-done/workflows/complete-milestone.md (main workflow)
|
|
23
|
+
- @~/.codex/get-shit-done/templates/milestone-archive.md (archive template)
|
|
24
24
|
</execution_context>
|
|
25
25
|
|
|
26
26
|
<context>
|
package/commands/gsd/debug.md
CHANGED
|
@@ -31,12 +31,12 @@ ls .planning/debug/*.md 2>/dev/null | grep -v resolved | head -5
|
|
|
31
31
|
## 0. Initialize Context
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
INIT=$(node ~/.
|
|
34
|
+
INIT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs state load)
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
Extract `commit_docs` from init JSON. Resolve debugger model:
|
|
38
38
|
```bash
|
|
39
|
-
DEBUGGER_MODEL=$(node ~/.
|
|
39
|
+
DEBUGGER_MODEL=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs resolve-model gsd-debugger --raw)
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
## 1. Check Active Sessions
|
|
@@ -129,7 +129,9 @@ Continue debugging {slug}. Evidence is in the debug file.
|
|
|
129
129
|
</objective>
|
|
130
130
|
|
|
131
131
|
<prior_state>
|
|
132
|
-
|
|
132
|
+
<files_to_read>
|
|
133
|
+
- .planning/debug/{slug}.md (Debug session state)
|
|
134
|
+
</files_to_read>
|
|
133
135
|
</prior_state>
|
|
134
136
|
|
|
135
137
|
<checkpoint_response>
|
|
@@ -25,18 +25,14 @@ Extract implementation decisions that downstream agents need — researcher and
|
|
|
25
25
|
</objective>
|
|
26
26
|
|
|
27
27
|
<execution_context>
|
|
28
|
-
@~/.
|
|
29
|
-
@~/.
|
|
28
|
+
@~/.codex/get-shit-done/workflows/discuss-phase.md
|
|
29
|
+
@~/.codex/get-shit-done/templates/context.md
|
|
30
30
|
</execution_context>
|
|
31
31
|
|
|
32
32
|
<context>
|
|
33
33
|
Phase number: $ARGUMENTS (required)
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
@.planning/STATE.md
|
|
37
|
-
|
|
38
|
-
**Load roadmap:**
|
|
39
|
-
@.planning/ROADMAP.md
|
|
35
|
+
Context files are resolved in-workflow using `init phase-op` and roadmap/state tool calls.
|
|
40
36
|
</context>
|
|
41
37
|
|
|
42
38
|
<process>
|
|
@@ -70,7 +66,7 @@ Generate 3-4 **phase-specific** gray areas, not generic categories.
|
|
|
70
66
|
- If more → ask 4 more, check again
|
|
71
67
|
- After all areas → "Ready to create context?"
|
|
72
68
|
|
|
73
|
-
**Do NOT ask about (
|
|
69
|
+
**Do NOT ask about (Codex handles these):**
|
|
74
70
|
- Technical implementation
|
|
75
71
|
- Architecture choices
|
|
76
72
|
- Performance concerns
|
|
@@ -22,8 +22,8 @@ Context budget: ~15% orchestrator, 100% fresh per subagent.
|
|
|
22
22
|
</objective>
|
|
23
23
|
|
|
24
24
|
<execution_context>
|
|
25
|
-
@~/.
|
|
26
|
-
@~/.
|
|
25
|
+
@~/.codex/get-shit-done/workflows/execute-phase.md
|
|
26
|
+
@~/.codex/get-shit-done/references/ui-brand.md
|
|
27
27
|
</execution_context>
|
|
28
28
|
|
|
29
29
|
<context>
|
|
@@ -32,11 +32,10 @@ Phase: $ARGUMENTS
|
|
|
32
32
|
**Flags:**
|
|
33
33
|
- `--gaps-only` — Execute only gap closure plans (plans with `gap_closure: true` in frontmatter). Use after verify-work creates fix plans.
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
@.planning/STATE.md
|
|
35
|
+
Context files are resolved inside the workflow via `gsd-tools init execute-phase` and per-subagent `<files_to_read>` blocks.
|
|
37
36
|
</context>
|
|
38
37
|
|
|
39
38
|
<process>
|
|
40
|
-
Execute the execute-phase workflow from @~/.
|
|
39
|
+
Execute the execute-phase workflow from @~/.codex/get-shit-done/workflows/execute-phase.md end-to-end.
|
|
41
40
|
Preserve all workflow gates (wave execution, checkpoint handling, verification, state updates, routing).
|
|
42
41
|
</process>
|
package/commands/gsd/health.md
CHANGED
|
@@ -13,10 +13,10 @@ Validate `.planning/` directory integrity and report actionable issues. Checks f
|
|
|
13
13
|
</objective>
|
|
14
14
|
|
|
15
15
|
<execution_context>
|
|
16
|
-
@~/.
|
|
16
|
+
@~/.codex/get-shit-done/workflows/health.md
|
|
17
17
|
</execution_context>
|
|
18
18
|
|
|
19
19
|
<process>
|
|
20
|
-
Execute the health workflow from @~/.
|
|
20
|
+
Execute the health workflow from @~/.codex/get-shit-done/workflows/health.md end-to-end.
|
|
21
21
|
Parse --repair flag from arguments and pass to workflow.
|
|
22
22
|
</process>
|
package/commands/gsd/help.md
CHANGED
|
@@ -13,10 +13,10 @@ Output ONLY the reference content below. Do NOT add:
|
|
|
13
13
|
</objective>
|
|
14
14
|
|
|
15
15
|
<execution_context>
|
|
16
|
-
@~/.
|
|
16
|
+
@~/.codex/get-shit-done/workflows/help.md
|
|
17
17
|
</execution_context>
|
|
18
18
|
|
|
19
19
|
<process>
|
|
20
|
-
Output the complete GSD command reference from @~/.
|
|
20
|
+
Output the complete GSD command reference from @~/.codex/get-shit-done/workflows/help.md.
|
|
21
21
|
Display the reference content directly — no additions or modifications.
|
|
22
22
|
</process>
|
|
@@ -17,17 +17,16 @@ Purpose: Handle urgent work discovered during execution without renumbering enti
|
|
|
17
17
|
</objective>
|
|
18
18
|
|
|
19
19
|
<execution_context>
|
|
20
|
-
@~/.
|
|
20
|
+
@~/.codex/get-shit-done/workflows/insert-phase.md
|
|
21
21
|
</execution_context>
|
|
22
22
|
|
|
23
23
|
<context>
|
|
24
24
|
Arguments: $ARGUMENTS (format: <after-phase-number> <description>)
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
@.planning/STATE.md
|
|
26
|
+
Roadmap and state are resolved in-workflow via `init phase-op` and targeted tool calls.
|
|
28
27
|
</context>
|
|
29
28
|
|
|
30
29
|
<process>
|
|
31
|
-
Execute the insert-phase workflow from @~/.
|
|
30
|
+
Execute the insert-phase workflow from @~/.codex/get-shit-done/workflows/insert-phase.md end-to-end.
|
|
32
31
|
Preserve all validation gates (argument parsing, phase verification, decimal calculation, roadmap updates).
|
|
33
32
|
</process>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsd:list-phase-assumptions
|
|
3
|
-
description: Surface
|
|
3
|
+
description: Surface Codex's assumptions about a phase approach before planning
|
|
4
4
|
argument-hint: "[phase]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
@@ -10,24 +10,20 @@ allowed-tools:
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
<objective>
|
|
13
|
-
Analyze a phase and present
|
|
13
|
+
Analyze a phase and present Codex's assumptions about technical approach, implementation order, scope boundaries, risk areas, and dependencies.
|
|
14
14
|
|
|
15
|
-
Purpose: Help users see what
|
|
15
|
+
Purpose: Help users see what Codex thinks BEFORE planning begins - enabling course correction early when assumptions are wrong.
|
|
16
16
|
Output: Conversational output only (no file creation) - ends with "What do you think?" prompt
|
|
17
17
|
</objective>
|
|
18
18
|
|
|
19
19
|
<execution_context>
|
|
20
|
-
@~/.
|
|
20
|
+
@~/.codex/get-shit-done/workflows/list-phase-assumptions.md
|
|
21
21
|
</execution_context>
|
|
22
22
|
|
|
23
23
|
<context>
|
|
24
24
|
Phase number: $ARGUMENTS (required)
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
@.planning/STATE.md
|
|
28
|
-
|
|
29
|
-
**Load roadmap:**
|
|
30
|
-
@.planning/ROADMAP.md
|
|
26
|
+
Project state and roadmap are loaded in-workflow using targeted reads.
|
|
31
27
|
</context>
|
|
32
28
|
|
|
33
29
|
<process>
|
|
@@ -20,7 +20,7 @@ Output: .planning/codebase/ folder with 7 structured documents about the codebas
|
|
|
20
20
|
</objective>
|
|
21
21
|
|
|
22
22
|
<execution_context>
|
|
23
|
-
@~/.
|
|
23
|
+
@~/.codex/get-shit-done/workflows/map-codebase.md
|
|
24
24
|
</execution_context>
|
|
25
25
|
|
|
26
26
|
<context>
|
|
@@ -25,27 +25,20 @@ Brownfield equivalent of new-project. Project exists, PROJECT.md has history. Ga
|
|
|
25
25
|
</objective>
|
|
26
26
|
|
|
27
27
|
<execution_context>
|
|
28
|
-
@~/.
|
|
29
|
-
@~/.
|
|
30
|
-
@~/.
|
|
31
|
-
@~/.
|
|
32
|
-
@~/.
|
|
28
|
+
@~/.codex/get-shit-done/workflows/new-milestone.md
|
|
29
|
+
@~/.codex/get-shit-done/references/questioning.md
|
|
30
|
+
@~/.codex/get-shit-done/references/ui-brand.md
|
|
31
|
+
@~/.codex/get-shit-done/templates/project.md
|
|
32
|
+
@~/.codex/get-shit-done/templates/requirements.md
|
|
33
33
|
</execution_context>
|
|
34
34
|
|
|
35
35
|
<context>
|
|
36
36
|
Milestone name: $ARGUMENTS (optional - will prompt if not provided)
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
@.planning/PROJECT.md
|
|
40
|
-
@.planning/STATE.md
|
|
41
|
-
@.planning/MILESTONES.md
|
|
42
|
-
@.planning/config.json
|
|
43
|
-
|
|
44
|
-
**Load milestone context (if exists, from /gsd:discuss-milestone):**
|
|
45
|
-
@.planning/MILESTONE-CONTEXT.md
|
|
38
|
+
Project and milestone context files are resolved inside the workflow (`init new-milestone`) and delegated via `<files_to_read>` blocks where subagents are used.
|
|
46
39
|
</context>
|
|
47
40
|
|
|
48
41
|
<process>
|
|
49
|
-
Execute the new-milestone workflow from @~/.
|
|
42
|
+
Execute the new-milestone workflow from @~/.codex/get-shit-done/workflows/new-milestone.md end-to-end.
|
|
50
43
|
Preserve all workflow gates (validation, questioning, research, requirements, roadmap approval, commits).
|
|
51
44
|
</process>
|
|
@@ -29,14 +29,14 @@ Initialize a new project through unified flow: questioning → research (optiona
|
|
|
29
29
|
</objective>
|
|
30
30
|
|
|
31
31
|
<execution_context>
|
|
32
|
-
@~/.
|
|
33
|
-
@~/.
|
|
34
|
-
@~/.
|
|
35
|
-
@~/.
|
|
36
|
-
@~/.
|
|
32
|
+
@~/.codex/get-shit-done/workflows/new-project.md
|
|
33
|
+
@~/.codex/get-shit-done/references/questioning.md
|
|
34
|
+
@~/.codex/get-shit-done/references/ui-brand.md
|
|
35
|
+
@~/.codex/get-shit-done/templates/project.md
|
|
36
|
+
@~/.codex/get-shit-done/templates/requirements.md
|
|
37
37
|
</execution_context>
|
|
38
38
|
|
|
39
39
|
<process>
|
|
40
|
-
Execute the new-project workflow from @~/.
|
|
40
|
+
Execute the new-project workflow from @~/.codex/get-shit-done/workflows/new-project.md end-to-end.
|
|
41
41
|
Preserve all workflow gates (validation, approvals, commits, routing).
|
|
42
42
|
</process>
|
|
@@ -30,10 +30,10 @@ This is the most leveraged moment in any project. Deep questioning here means be
|
|
|
30
30
|
|
|
31
31
|
<execution_context>
|
|
32
32
|
|
|
33
|
-
@~/.
|
|
34
|
-
@~/.
|
|
35
|
-
@~/.
|
|
36
|
-
@~/.
|
|
33
|
+
@~/.codex/get-shit-done/references/questioning.md
|
|
34
|
+
@~/.codex/get-shit-done/references/ui-brand.md
|
|
35
|
+
@~/.codex/get-shit-done/templates/project.md
|
|
36
|
+
@~/.codex/get-shit-done/templates/requirements.md
|
|
37
37
|
|
|
38
38
|
</execution_context>
|
|
39
39
|
|
|
@@ -457,7 +457,7 @@ Display spawning indicator:
|
|
|
457
457
|
Spawn 4 parallel gsd-project-researcher agents with rich context:
|
|
458
458
|
|
|
459
459
|
```
|
|
460
|
-
Task(prompt="First, read ~/.
|
|
460
|
+
Task(prompt="First, read ~/.codex/agents/gsd-project-researcher.md for your role and instructions.
|
|
461
461
|
|
|
462
462
|
<research_type>
|
|
463
463
|
Project Research — Stack dimension for [domain].
|
|
@@ -493,11 +493,11 @@ Your STACK.md feeds into roadmap creation. Be prescriptive:
|
|
|
493
493
|
|
|
494
494
|
<output>
|
|
495
495
|
Write to: .planning/research/STACK.md
|
|
496
|
-
Use template: ~/.
|
|
496
|
+
Use template: ~/.codex/get-shit-done/templates/research-project/STACK.md
|
|
497
497
|
</output>
|
|
498
498
|
", subagent_type="general-purpose", model="{researcher_model}", description="Stack research")
|
|
499
499
|
|
|
500
|
-
Task(prompt="First, read ~/.
|
|
500
|
+
Task(prompt="First, read ~/.codex/agents/gsd-project-researcher.md for your role and instructions.
|
|
501
501
|
|
|
502
502
|
<research_type>
|
|
503
503
|
Project Research — Features dimension for [domain].
|
|
@@ -533,11 +533,11 @@ Your FEATURES.md feeds into requirements definition. Categorize clearly:
|
|
|
533
533
|
|
|
534
534
|
<output>
|
|
535
535
|
Write to: .planning/research/FEATURES.md
|
|
536
|
-
Use template: ~/.
|
|
536
|
+
Use template: ~/.codex/get-shit-done/templates/research-project/FEATURES.md
|
|
537
537
|
</output>
|
|
538
538
|
", subagent_type="general-purpose", model="{researcher_model}", description="Features research")
|
|
539
539
|
|
|
540
|
-
Task(prompt="First, read ~/.
|
|
540
|
+
Task(prompt="First, read ~/.codex/agents/gsd-project-researcher.md for your role and instructions.
|
|
541
541
|
|
|
542
542
|
<research_type>
|
|
543
543
|
Project Research — Architecture dimension for [domain].
|
|
@@ -573,11 +573,11 @@ Your ARCHITECTURE.md informs phase structure in roadmap. Include:
|
|
|
573
573
|
|
|
574
574
|
<output>
|
|
575
575
|
Write to: .planning/research/ARCHITECTURE.md
|
|
576
|
-
Use template: ~/.
|
|
576
|
+
Use template: ~/.codex/get-shit-done/templates/research-project/ARCHITECTURE.md
|
|
577
577
|
</output>
|
|
578
578
|
", subagent_type="general-purpose", model="{researcher_model}", description="Architecture research")
|
|
579
579
|
|
|
580
|
-
Task(prompt="First, read ~/.
|
|
580
|
+
Task(prompt="First, read ~/.codex/agents/gsd-project-researcher.md for your role and instructions.
|
|
581
581
|
|
|
582
582
|
<research_type>
|
|
583
583
|
Project Research — Pitfalls dimension for [domain].
|
|
@@ -613,7 +613,7 @@ Your PITFALLS.md prevents mistakes in roadmap/planning. For each pitfall:
|
|
|
613
613
|
|
|
614
614
|
<output>
|
|
615
615
|
Write to: .planning/research/PITFALLS.md
|
|
616
|
-
Use template: ~/.
|
|
616
|
+
Use template: ~/.codex/get-shit-done/templates/research-project/PITFALLS.md
|
|
617
617
|
</output>
|
|
618
618
|
", subagent_type="general-purpose", model="{researcher_model}", description="Pitfalls research")
|
|
619
619
|
```
|
|
@@ -636,7 +636,7 @@ Read these files:
|
|
|
636
636
|
|
|
637
637
|
<output>
|
|
638
638
|
Write to: .planning/research/SUMMARY.md
|
|
639
|
-
Use template: ~/.
|
|
639
|
+
Use template: ~/.codex/get-shit-done/templates/research-project/SUMMARY.md
|
|
640
640
|
Commit after writing.
|
|
641
641
|
</output>
|
|
642
642
|
", subagent_type="gsd-research-synthesizer", model="{synthesizer_model}", description="Synthesize research")
|
|
@@ -19,12 +19,15 @@ Routes to the pause-work workflow which handles:
|
|
|
19
19
|
</objective>
|
|
20
20
|
|
|
21
21
|
<execution_context>
|
|
22
|
-
|
|
23
|
-
@~/.claude/get-shit-done/workflows/pause-work.md
|
|
22
|
+
@~/.codex/get-shit-done/workflows/pause-work.md
|
|
24
23
|
</execution_context>
|
|
25
24
|
|
|
25
|
+
<context>
|
|
26
|
+
State and phase progress are gathered in-workflow with targeted reads.
|
|
27
|
+
</context>
|
|
28
|
+
|
|
26
29
|
<process>
|
|
27
|
-
**Follow the pause-work workflow** from `@~/.
|
|
30
|
+
**Follow the pause-work workflow** from `@~/.codex/get-shit-done/workflows/pause-work.md`.
|
|
28
31
|
|
|
29
32
|
The workflow handles all logic including:
|
|
30
33
|
1. Phase directory detection
|
|
@@ -18,23 +18,17 @@ One command creates all fix phases — no manual `/gsd:add-phase` per gap.
|
|
|
18
18
|
</objective>
|
|
19
19
|
|
|
20
20
|
<execution_context>
|
|
21
|
-
@~/.
|
|
21
|
+
@~/.codex/get-shit-done/workflows/plan-milestone-gaps.md
|
|
22
22
|
</execution_context>
|
|
23
23
|
|
|
24
24
|
<context>
|
|
25
25
|
**Audit results:**
|
|
26
26
|
Glob: .planning/v*-MILESTONE-AUDIT.md (use most recent)
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
@.planning/PROJECT.md
|
|
30
|
-
@.planning/REQUIREMENTS.md
|
|
31
|
-
|
|
32
|
-
**Current state:**
|
|
33
|
-
@.planning/ROADMAP.md
|
|
34
|
-
@.planning/STATE.md
|
|
28
|
+
Original intent and current planning state are loaded on demand inside the workflow.
|
|
35
29
|
</context>
|
|
36
30
|
|
|
37
31
|
<process>
|
|
38
|
-
Execute the plan-milestone-gaps workflow from @~/.
|
|
32
|
+
Execute the plan-milestone-gaps workflow from @~/.codex/get-shit-done/workflows/plan-milestone-gaps.md end-to-end.
|
|
39
33
|
Preserve all workflow gates (audit loading, prioritization, phase grouping, user confirmation, roadmap updates).
|
|
40
34
|
</process>
|