@undeemed/get-shit-done-codex 1.20.2 → 1.20.3
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 +18 -4
- package/agents/gsd-codebase-mapper.md +2 -2
- package/agents/gsd-debugger.md +3 -3
- package/agents/gsd-executor.md +11 -11
- package/agents/gsd-phase-researcher.md +10 -10
- package/agents/gsd-plan-checker.md +7 -7
- package/agents/gsd-planner.md +26 -26
- package/agents/gsd-project-researcher.md +2 -2
- package/agents/gsd-research-synthesizer.md +3 -3
- package/agents/gsd-roadmapper.md +5 -5
- package/agents/gsd-verifier.md +8 -8
- package/bin/install.js +6 -6
- package/commands/gsd/add-phase.md +2 -2
- package/commands/gsd/add-todo.md +2 -2
- package/commands/gsd/audit-milestone.md +2 -2
- package/commands/gsd/check-todos.md +2 -2
- package/commands/gsd/cleanup.md +2 -2
- package/commands/gsd/complete-milestone.md +2 -2
- package/commands/gsd/debug.md +2 -2
- package/commands/gsd/discuss-phase.md +3 -3
- package/commands/gsd/execute-phase.md +3 -3
- package/commands/gsd/health.md +2 -2
- package/commands/gsd/help.md +2 -2
- package/commands/gsd/insert-phase.md +2 -2
- package/commands/gsd/list-phase-assumptions.md +4 -4
- package/commands/gsd/map-codebase.md +1 -1
- package/commands/gsd/new-milestone.md +6 -6
- package/commands/gsd/new-project.md +6 -6
- package/commands/gsd/new-project.md.bak +13 -13
- package/commands/gsd/pause-work.md +2 -2
- package/commands/gsd/plan-milestone-gaps.md +2 -2
- package/commands/gsd/plan-phase.md +3 -3
- package/commands/gsd/progress.md +2 -2
- package/commands/gsd/quick.md +2 -2
- package/commands/gsd/reapply-patches.md +2 -2
- package/commands/gsd/remove-phase.md +2 -2
- package/commands/gsd/research-phase.md +6 -6
- 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 +4 -4
- package/get-shit-done/bin/gsd-tools.cjs +1 -1
- package/get-shit-done/references/checkpoints.md +35 -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/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/context.md +5 -5
- package/get-shit-done/templates/continue-here.md +1 -1
- package/get-shit-done/templates/phase-prompt.md +18 -18
- package/get-shit-done/templates/project.md +1 -1
- package/get-shit-done/templates/research.md +4 -4
- package/get-shit-done/templates/state.md +1 -1
- 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 +4 -4
- 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 +5 -5
- package/get-shit-done/workflows/diagnose-issues.md +1 -1
- package/get-shit-done/workflows/discovery-phase.md +6 -6
- package/get-shit-done/workflows/discuss-phase.md +11 -11
- package/get-shit-done/workflows/execute-phase.md +14 -14
- package/get-shit-done/workflows/execute-plan.md +17 -17
- 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 +4 -4
- package/get-shit-done/workflows/new-milestone.md +8 -8
- package/get-shit-done/workflows/new-project.md +15 -15
- package/get-shit-done/workflows/pause-work.md +3 -3
- package/get-shit-done/workflows/plan-milestone-gaps.md +2 -2
- package/get-shit-done/workflows/plan-phase.md +12 -12
- package/get-shit-done/workflows/progress.md +5 -5
- package/get-shit-done/workflows/quick.md +4 -4
- package/get-shit-done/workflows/remove-phase.md +4 -4
- package/get-shit-done/workflows/research-phase.md +4 -4
- 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 +2 -2
- package/get-shit-done/workflows/transition.md +3 -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 +6 -6
- package/package.json +1 -1
|
@@ -40,8 +40,8 @@ Template for `.planning/phases/XX-name/{phase_num}-CONTEXT.md` - captures implem
|
|
|
40
40
|
### [Area 3 that was discussed]
|
|
41
41
|
- [Specific decision made]
|
|
42
42
|
|
|
43
|
-
###
|
|
44
|
-
[Areas where user explicitly said "you decide" —
|
|
43
|
+
### Codex's Discretion
|
|
44
|
+
[Areas where user explicitly said "you decide" — Codex has flexibility here during planning/implementation]
|
|
45
45
|
|
|
46
46
|
</decisions>
|
|
47
47
|
|
|
@@ -103,7 +103,7 @@ Display posts from followed users in a scrollable feed. Users can view posts and
|
|
|
103
103
|
- Friendly illustration + "Follow people to see posts here"
|
|
104
104
|
- Suggest 3-5 accounts to follow based on interests
|
|
105
105
|
|
|
106
|
-
###
|
|
106
|
+
### Codex's Discretion
|
|
107
107
|
- Loading skeleton design
|
|
108
108
|
- Exact spacing and typography
|
|
109
109
|
- Error state handling
|
|
@@ -165,7 +165,7 @@ CLI command to backup database to local file or S3. Supports full and incrementa
|
|
|
165
165
|
- --no-retry flag to fail fast
|
|
166
166
|
- Partial backups are deleted on failure (no corrupt files)
|
|
167
167
|
|
|
168
|
-
###
|
|
168
|
+
### Codex's Discretion
|
|
169
169
|
- Exact progress bar implementation
|
|
170
170
|
- Compression algorithm choice
|
|
171
171
|
- Temp file handling
|
|
@@ -227,7 +227,7 @@ Organize existing photo library into structured folders. Handle duplicates and a
|
|
|
227
227
|
- Preserve original filename as suffix for searchability
|
|
228
228
|
- Handle name collisions with incrementing suffix
|
|
229
229
|
|
|
230
|
-
###
|
|
230
|
+
### Codex's Discretion
|
|
231
231
|
- Exact clustering algorithm
|
|
232
232
|
- How to handle photos with no EXIF data
|
|
233
233
|
- Folder emoji usage
|
|
@@ -71,7 +71,7 @@ Required YAML frontmatter:
|
|
|
71
71
|
</yaml_fields>
|
|
72
72
|
|
|
73
73
|
<guidelines>
|
|
74
|
-
- Be specific enough that a fresh
|
|
74
|
+
- Be specific enough that a fresh Codex instance understands immediately
|
|
75
75
|
- Include WHY decisions were made, not just what
|
|
76
76
|
- The `<next_action>` should be actionable without reading anything else
|
|
77
77
|
- This file gets DELETED after resume - it's not permanent storage
|
|
@@ -20,7 +20,7 @@ wave: N # Execution wave (1, 2, 3...). Pre-computed at plan
|
|
|
20
20
|
depends_on: [] # Plan IDs this plan requires (e.g., ["01-01"]).
|
|
21
21
|
files_modified: [] # Files this plan modifies.
|
|
22
22
|
autonomous: true # false if plan has checkpoints requiring user interaction
|
|
23
|
-
user_setup: [] # Human-required setup
|
|
23
|
+
user_setup: [] # Human-required setup Codex cannot automate (see below)
|
|
24
24
|
|
|
25
25
|
# Goal-backward verification (derived during planning, verified after execution)
|
|
26
26
|
must_haves:
|
|
@@ -37,10 +37,10 @@ Output: [What artifacts will be created]
|
|
|
37
37
|
</objective>
|
|
38
38
|
|
|
39
39
|
<execution_context>
|
|
40
|
-
@~/.
|
|
41
|
-
@~/.
|
|
40
|
+
@~/.codex/get-shit-done/workflows/execute-plan.md
|
|
41
|
+
@~/.codex/get-shit-done/templates/summary.md
|
|
42
42
|
[If plan contains checkpoint tasks (type="checkpoint:*"), add:]
|
|
43
|
-
@~/.
|
|
43
|
+
@~/.codex/get-shit-done/references/checkpoints.md
|
|
44
44
|
</execution_context>
|
|
45
45
|
|
|
46
46
|
<context>
|
|
@@ -75,8 +75,8 @@ Output: [What artifacts will be created]
|
|
|
75
75
|
<done>[Acceptance criteria]</done>
|
|
76
76
|
</task>
|
|
77
77
|
|
|
78
|
-
<!-- For checkpoint task examples and patterns, see @~/.
|
|
79
|
-
<!-- Key rule:
|
|
78
|
+
<!-- For checkpoint task examples and patterns, see @~/.codex/get-shit-done/references/checkpoints.md -->
|
|
79
|
+
<!-- Key rule: Codex starts dev server BEFORE human-verify checkpoints. User only visits URLs. -->
|
|
80
80
|
|
|
81
81
|
<task type="checkpoint:decision" gate="blocking">
|
|
82
82
|
<decision>[What needs deciding]</decision>
|
|
@@ -89,7 +89,7 @@ Output: [What artifacts will be created]
|
|
|
89
89
|
</task>
|
|
90
90
|
|
|
91
91
|
<task type="checkpoint:human-verify" gate="blocking">
|
|
92
|
-
<what-built>[What
|
|
92
|
+
<what-built>[What Codex built] - server running at [URL]</what-built>
|
|
93
93
|
<how-to-verify>Visit [URL] and verify: [visual checks only, NO CLI commands]</how-to-verify>
|
|
94
94
|
<resume-signal>Type "approved" or describe issues</resume-signal>
|
|
95
95
|
</task>
|
|
@@ -268,7 +268,7 @@ TDD features get dedicated plans with `type: tdd`.
|
|
|
268
268
|
→ Yes: Create a TDD plan
|
|
269
269
|
→ No: Standard task in standard plan
|
|
270
270
|
|
|
271
|
-
See `~/.
|
|
271
|
+
See `~/.codex/get-shit-done/references/tdd.md` for TDD plan structure.
|
|
272
272
|
|
|
273
273
|
---
|
|
274
274
|
|
|
@@ -276,7 +276,7 @@ See `~/.claude/get-shit-done/references/tdd.md` for TDD plan structure.
|
|
|
276
276
|
|
|
277
277
|
| Type | Use For | Autonomy |
|
|
278
278
|
|------|---------|----------|
|
|
279
|
-
| `auto` | Everything
|
|
279
|
+
| `auto` | Everything Codex can do independently | Fully autonomous |
|
|
280
280
|
| `checkpoint:human-verify` | Visual/functional verification | Pauses, returns to orchestrator |
|
|
281
281
|
| `checkpoint:decision` | Implementation choices | Pauses, returns to orchestrator |
|
|
282
282
|
| `checkpoint:human-action` | Truly unavoidable manual steps (rare) | Pauses, returns to orchestrator |
|
|
@@ -372,9 +372,9 @@ Output: Working dashboard component.
|
|
|
372
372
|
</objective>
|
|
373
373
|
|
|
374
374
|
<execution_context>
|
|
375
|
-
@~/.
|
|
376
|
-
@~/.
|
|
377
|
-
@~/.
|
|
375
|
+
@~/.codex/get-shit-done/workflows/execute-plan.md
|
|
376
|
+
@~/.codex/get-shit-done/templates/summary.md
|
|
377
|
+
@~/.codex/get-shit-done/references/checkpoints.md
|
|
378
378
|
</execution_context>
|
|
379
379
|
|
|
380
380
|
<context>
|
|
@@ -393,7 +393,7 @@ Output: Working dashboard component.
|
|
|
393
393
|
<done>Dashboard renders without errors</done>
|
|
394
394
|
</task>
|
|
395
395
|
|
|
396
|
-
<!-- Checkpoint pattern:
|
|
396
|
+
<!-- Checkpoint pattern: Codex starts server, user visits URL. See checkpoints.md for full patterns. -->
|
|
397
397
|
<task type="auto">
|
|
398
398
|
<name>Start dev server</name>
|
|
399
399
|
<action>Run `npm run dev` in background, wait for ready</action>
|
|
@@ -458,7 +458,7 @@ files_modified: [...]
|
|
|
458
458
|
|
|
459
459
|
## Guidelines
|
|
460
460
|
|
|
461
|
-
- Always use XML structure for
|
|
461
|
+
- Always use XML structure for Codex parsing
|
|
462
462
|
- Include `wave`, `depends_on`, `files_modified`, `autonomous` in every plan
|
|
463
463
|
- Prefer vertical slices over horizontal layers
|
|
464
464
|
- Only reference prior SUMMARYs when genuinely needed
|
|
@@ -488,16 +488,16 @@ user_setup:
|
|
|
488
488
|
- "stripe listen --forward-to localhost:3000/api/webhooks/stripe"
|
|
489
489
|
```
|
|
490
490
|
|
|
491
|
-
**The automation-first rule:** `user_setup` contains ONLY what
|
|
491
|
+
**The automation-first rule:** `user_setup` contains ONLY what Codex literally cannot do:
|
|
492
492
|
- Account creation (requires human signup)
|
|
493
493
|
- Secret retrieval (requires dashboard access)
|
|
494
494
|
- Dashboard configuration (requires human in browser)
|
|
495
495
|
|
|
496
|
-
**NOT included:** Package installs, code changes, file creation, CLI commands
|
|
496
|
+
**NOT included:** Package installs, code changes, file creation, CLI commands Codex can run.
|
|
497
497
|
|
|
498
498
|
**Result:** Execute-plan generates `{phase}-USER-SETUP.md` with checklist for the user.
|
|
499
499
|
|
|
500
|
-
See `~/.
|
|
500
|
+
See `~/.codex/get-shit-done/templates/user-setup.md` for full schema and examples
|
|
501
501
|
|
|
502
502
|
---
|
|
503
503
|
|
|
@@ -564,4 +564,4 @@ Task completion ≠ Goal achievement. A task "create chat component" can complet
|
|
|
564
564
|
5. Gaps found → fix plans created → execute → re-verify
|
|
565
565
|
6. All must_haves pass → phase complete
|
|
566
566
|
|
|
567
|
-
See `~/.
|
|
567
|
+
See `~/.codex/get-shit-done/workflows/verify-phase.md` for verification logic.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Template for `.planning/phases/XX-name/{phase_num}-RESEARCH.md` - comprehensive ecosystem research before planning.
|
|
4
4
|
|
|
5
|
-
**Purpose:** Document what
|
|
5
|
+
**Purpose:** Document what Codex needs to know to implement a phase well - not just "which library" but "how do experts build this."
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -25,7 +25,7 @@ Template for `.planning/phases/XX-name/{phase_num}-RESEARCH.md` - comprehensive
|
|
|
25
25
|
- [Decision 1]
|
|
26
26
|
- [Decision 2]
|
|
27
27
|
|
|
28
|
-
###
|
|
28
|
+
### Codex's Discretion
|
|
29
29
|
[Copy from CONTEXT.md - areas where researcher/planner can choose]
|
|
30
30
|
- [Area 1]
|
|
31
31
|
- [Area 2]
|
|
@@ -35,7 +35,7 @@ Template for `.planning/phases/XX-name/{phase_num}-RESEARCH.md` - comprehensive
|
|
|
35
35
|
- [Deferred 1]
|
|
36
36
|
- [Deferred 2]
|
|
37
37
|
|
|
38
|
-
**If no CONTEXT.md exists:** Write "No user constraints - all decisions at
|
|
38
|
+
**If no CONTEXT.md exists:** Write "No user constraints - all decisions at Codex's discretion"
|
|
39
39
|
</user_constraints>
|
|
40
40
|
|
|
41
41
|
<research_summary>
|
|
@@ -524,7 +524,7 @@ function useVehicleControls(rigidBodyRef) {
|
|
|
524
524
|
|
|
525
525
|
**When to create:**
|
|
526
526
|
- Before planning phases in niche/complex domains
|
|
527
|
-
- When
|
|
527
|
+
- When Codex's training data is likely stale or sparse
|
|
528
528
|
- When "how do experts do this" matters more than "which library"
|
|
529
529
|
|
|
530
530
|
**Structure:**
|
|
@@ -120,7 +120,7 @@ Points to PROJECT.md for full context. Includes:
|
|
|
120
120
|
- Current focus (which phase)
|
|
121
121
|
- Last update date (triggers re-read if stale)
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
Codex reads PROJECT.md directly for requirements, constraints, and decisions.
|
|
124
124
|
|
|
125
125
|
### Current Position
|
|
126
126
|
Where we are right now:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# User Setup Template
|
|
2
2
|
|
|
3
|
-
Template for `.planning/phases/XX-name/{phase}-USER-SETUP.md` - human-required configuration that
|
|
3
|
+
Template for `.planning/phases/XX-name/{phase}-USER-SETUP.md` - human-required configuration that Codex cannot automate.
|
|
4
4
|
|
|
5
|
-
**Purpose:** Document setup tasks that literally require human action - account creation, dashboard configuration, secret retrieval.
|
|
5
|
+
**Purpose:** Document setup tasks that literally require human action - account creation, dashboard configuration, secret retrieval. Codex automates everything possible; this file captures only what remains.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ Template for `.planning/phases/XX-name/{phase}-USER-SETUP.md` - human-required c
|
|
|
15
15
|
**Phase:** {phase-name}
|
|
16
16
|
**Status:** Incomplete
|
|
17
17
|
|
|
18
|
-
Complete these items for the integration to function.
|
|
18
|
+
Complete these items for the integration to function. Codex automated everything possible; these items require human access to external dashboards/accounts.
|
|
19
19
|
|
|
20
20
|
## Environment Variables
|
|
21
21
|
|
|
@@ -97,9 +97,9 @@ user_setup:
|
|
|
97
97
|
|
|
98
98
|
## The Automation-First Rule
|
|
99
99
|
|
|
100
|
-
**USER-SETUP.md contains ONLY what
|
|
100
|
+
**USER-SETUP.md contains ONLY what Codex literally cannot do.**
|
|
101
101
|
|
|
102
|
-
|
|
|
102
|
+
| Codex CAN Do (not in USER-SETUP) | Codex CANNOT Do (→ USER-SETUP) |
|
|
103
103
|
|-----------------------------------|--------------------------------|
|
|
104
104
|
| `npm install stripe` | Create Stripe account |
|
|
105
105
|
| Write webhook handler code | Get API keys from dashboard |
|
|
@@ -108,9 +108,9 @@ user_setup:
|
|
|
108
108
|
| Configure package.json | Access external service dashboards |
|
|
109
109
|
| Write any code | Retrieve secrets from third-party systems |
|
|
110
110
|
|
|
111
|
-
**The test:** "Does this require a human in a browser, accessing an account
|
|
111
|
+
**The test:** "Does this require a human in a browser, accessing an account Codex doesn't have credentials for?"
|
|
112
112
|
- Yes → USER-SETUP.md
|
|
113
|
-
- No →
|
|
113
|
+
- No → Codex does it automatically
|
|
114
114
|
|
|
115
115
|
---
|
|
116
116
|
|
|
@@ -304,7 +304,7 @@ curl -X POST http://localhost:3000/api/test-email \
|
|
|
304
304
|
|
|
305
305
|
## Guidelines
|
|
306
306
|
|
|
307
|
-
**Never include:** Actual secret values. Steps
|
|
307
|
+
**Never include:** Actual secret values. Steps Codex can automate (package installs, code changes).
|
|
308
308
|
|
|
309
309
|
**Naming:** `{phase}-USER-SETUP.md` matches the phase number pattern.
|
|
310
310
|
**Status tracking:** User marks checkboxes and updates status line when complete.
|
|
@@ -154,7 +154,7 @@ None — all verifiable items checked programmatically.
|
|
|
154
154
|
|
|
155
155
|
---
|
|
156
156
|
*Verified: {timestamp}*
|
|
157
|
-
*Verifier:
|
|
157
|
+
*Verifier: Codex (subagent)*
|
|
158
158
|
```
|
|
159
159
|
|
|
160
160
|
---
|
|
@@ -318,5 +318,5 @@ None needed until automated gaps are fixed.
|
|
|
318
318
|
|
|
319
319
|
---
|
|
320
320
|
*Verified: 2025-01-15T14:30:00Z*
|
|
321
|
-
*Verifier:
|
|
321
|
+
*Verifier: Codex (subagent)*
|
|
322
322
|
```
|
|
@@ -29,7 +29,7 @@ Exit.
|
|
|
29
29
|
Load phase operation context:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
INIT=$(node ~/.
|
|
32
|
+
INIT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs init phase-op "0")
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
Check `roadmap_exists` from init JSON. If false:
|
|
@@ -44,7 +44,7 @@ Exit.
|
|
|
44
44
|
**Delegate the phase addition to gsd-tools:**
|
|
45
45
|
|
|
46
46
|
```bash
|
|
47
|
-
RESULT=$(node ~/.
|
|
47
|
+
RESULT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs phase add "${description}")
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
The CLI handles:
|
|
@@ -12,7 +12,7 @@ Read all files referenced by the invoking prompt's execution_context before star
|
|
|
12
12
|
Load todo context:
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
INIT=$(node ~/.
|
|
15
|
+
INIT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs init todos)
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
Extract from init JSON: `commit_docs`, `date`, `timestamp`, `todo_count`, `todos`, `pending_dir`, `todos_dir_exists`.
|
|
@@ -83,7 +83,7 @@ Use values from init context: `timestamp` and `date` are already available.
|
|
|
83
83
|
|
|
84
84
|
Generate slug for the title:
|
|
85
85
|
```bash
|
|
86
|
-
slug=$(node ~/.
|
|
86
|
+
slug=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs generate-slug "$title" --raw)
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Write to `.planning/todos/pending/${date}-${slug}.md`:
|
|
@@ -99,7 +99,7 @@ files:
|
|
|
99
99
|
|
|
100
100
|
## Problem
|
|
101
101
|
|
|
102
|
-
[problem description - enough context for future
|
|
102
|
+
[problem description - enough context for future Codex to understand weeks later]
|
|
103
103
|
|
|
104
104
|
## Solution
|
|
105
105
|
|
|
@@ -118,7 +118,7 @@ If `.planning/STATE.md` exists:
|
|
|
118
118
|
Commit the todo and any updated state:
|
|
119
119
|
|
|
120
120
|
```bash
|
|
121
|
-
node ~/.
|
|
121
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs commit "docs: capture todo - [title]" --files .planning/todos/pending/[filename] .planning/STATE.md
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
Tool respects `commit_docs` config and gitignore automatically.
|
|
@@ -149,7 +149,7 @@ Would you like to:
|
|
|
149
149
|
<success_criteria>
|
|
150
150
|
- [ ] Directory structure exists
|
|
151
151
|
- [ ] Todo file created with valid frontmatter
|
|
152
|
-
- [ ] Problem section has enough context for future
|
|
152
|
+
- [ ] Problem section has enough context for future Codex
|
|
153
153
|
- [ ] No duplicates (checked and resolved)
|
|
154
154
|
- [ ] Area consistent with existing todos
|
|
155
155
|
- [ ] STATE.md updated if exists
|
|
@@ -11,21 +11,21 @@ Read all files referenced by the invoking prompt's execution_context before star
|
|
|
11
11
|
## 0. Initialize Milestone Context
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
INIT=$(node ~/.
|
|
14
|
+
INIT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs init milestone-op)
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Extract from init JSON: `milestone_version`, `milestone_name`, `phase_count`, `completed_phases`, `commit_docs`.
|
|
18
18
|
|
|
19
19
|
Resolve integration checker model:
|
|
20
20
|
```bash
|
|
21
|
-
CHECKER_MODEL=$(node ~/.
|
|
21
|
+
CHECKER_MODEL=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs resolve-model gsd-integration-checker --raw)
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## 1. Determine Milestone Scope
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
27
|
# Get phases in milestone (sorted numerically, handles decimals)
|
|
28
|
-
node ~/.
|
|
28
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs phases list
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
- Parse version from arguments or detect current from ROADMAP.md
|
|
@@ -39,7 +39,7 @@ For each phase directory, read the VERIFICATION.md:
|
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
41
|
# For each phase, use find-phase to resolve the directory (handles archived phases)
|
|
42
|
-
PHASE_INFO=$(node ~/.
|
|
42
|
+
PHASE_INFO=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs find-phase 01 --raw)
|
|
43
43
|
# Extract directory from JSON, then read VERIFICATION.md from that directory
|
|
44
44
|
# Repeat for each phase number from ROADMAP.md
|
|
45
45
|
```
|
|
@@ -12,7 +12,7 @@ Read all files referenced by the invoking prompt's execution_context before star
|
|
|
12
12
|
Load todo context:
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
INIT=$(node ~/.
|
|
15
|
+
INIT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs init todos)
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
Extract from init JSON: `todo_count`, `todos`, `pending_dir`.
|
|
@@ -154,7 +154,7 @@ If todo was moved to done/, commit the change:
|
|
|
154
154
|
|
|
155
155
|
```bash
|
|
156
156
|
git rm --cached .planning/todos/pending/[filename] 2>/dev/null || true
|
|
157
|
-
node ~/.
|
|
157
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs commit "docs: start work on todo - [title]" --files .planning/todos/done/[filename] .planning/STATE.md
|
|
158
158
|
```
|
|
159
159
|
|
|
160
160
|
Tool respects `commit_docs` config and gitignore automatically.
|
|
@@ -122,7 +122,7 @@ Repeat for all milestones in the cleanup set.
|
|
|
122
122
|
Commit the changes:
|
|
123
123
|
|
|
124
124
|
```bash
|
|
125
|
-
node ~/.
|
|
125
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs commit "chore: archive phase directories from completed milestones" --files .planning/milestones/ .planning/phases/
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
</step>
|
|
@@ -40,7 +40,7 @@ When a milestone completes:
|
|
|
40
40
|
**Use `roadmap analyze` for comprehensive readiness check:**
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
ROADMAP=$(node ~/.
|
|
43
|
+
ROADMAP=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs roadmap analyze)
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
This returns all phases with plan/summary counts and disk status. Use this to verify:
|
|
@@ -131,7 +131,7 @@ Extract one-liners from SUMMARY.md files using summary-extract:
|
|
|
131
131
|
```bash
|
|
132
132
|
# For each phase in milestone, extract one-liner
|
|
133
133
|
for summary in .planning/phases/*-*/*-SUMMARY.md; do
|
|
134
|
-
node ~/.
|
|
134
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs summary-extract "$summary" --fields one_liner | jq -r '.one_liner'
|
|
135
135
|
done
|
|
136
136
|
```
|
|
137
137
|
|
|
@@ -344,7 +344,7 @@ Update `.planning/ROADMAP.md` — group completed milestone phases:
|
|
|
344
344
|
**Delegate archival to gsd-tools:**
|
|
345
345
|
|
|
346
346
|
```bash
|
|
347
|
-
ARCHIVE=$(node ~/.
|
|
347
|
+
ARCHIVE=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs milestone complete "v[X.Y]" --name "[Milestone Name]")
|
|
348
348
|
```
|
|
349
349
|
|
|
350
350
|
The CLI handles:
|
|
@@ -444,7 +444,7 @@ Check branching strategy and offer merge options.
|
|
|
444
444
|
Use `init milestone-op` for context, or load config directly:
|
|
445
445
|
|
|
446
446
|
```bash
|
|
447
|
-
INIT=$(node ~/.
|
|
447
|
+
INIT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs init execute-phase "1")
|
|
448
448
|
```
|
|
449
449
|
|
|
450
450
|
Extract `branching_strategy`, `phase_branch_template`, `milestone_branch_template`, and `commit_docs` from init JSON.
|
|
@@ -592,7 +592,7 @@ git push origin v[X.Y]
|
|
|
592
592
|
Commit milestone completion.
|
|
593
593
|
|
|
594
594
|
```bash
|
|
595
|
-
node ~/.
|
|
595
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs commit "chore: complete v[X.Y] milestone" --files .planning/milestones/v[X.Y]-ROADMAP.md .planning/milestones/v[X.Y]-REQUIREMENTS.md .planning/milestones/v[X.Y]-MILESTONE-AUDIT.md .planning/MILESTONES.md .planning/PROJECT.md .planning/STATE.md
|
|
596
596
|
```
|
|
597
597
|
```
|
|
598
598
|
|
|
@@ -158,7 +158,7 @@ Update status in frontmatter to "diagnosed".
|
|
|
158
158
|
|
|
159
159
|
Commit the updated UAT.md:
|
|
160
160
|
```bash
|
|
161
|
-
node ~/.
|
|
161
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs commit "docs({phase_num}): add root causes from diagnosis" --files ".planning/phases/XX-name/{phase_num}-UAT.md"
|
|
162
162
|
```
|
|
163
163
|
</step>
|
|
164
164
|
|
|
@@ -22,13 +22,13 @@ NOTE: For comprehensive ecosystem research ("how do experts build this"), use /g
|
|
|
22
22
|
<source_hierarchy>
|
|
23
23
|
**MANDATORY: Context7 BEFORE WebSearch**
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Codex's training data is 6-18 months stale. Always verify.
|
|
26
26
|
|
|
27
27
|
1. **Context7 MCP FIRST** - Current docs, no hallucination
|
|
28
28
|
2. **Official docs** - When Context7 lacks coverage
|
|
29
29
|
3. **WebSearch LAST** - For comparisons and trends only
|
|
30
30
|
|
|
31
|
-
See ~/.
|
|
31
|
+
See ~/.codex/get-shit-done/templates/discovery.md `<discovery_protocol>` for full protocol.
|
|
32
32
|
</source_hierarchy>
|
|
33
33
|
|
|
34
34
|
<process>
|
|
@@ -107,7 +107,7 @@ For: Choosing between options, new external integration.
|
|
|
107
107
|
|
|
108
108
|
5. **Cross-verify:** Any WebSearch finding → confirm with Context7/official docs.
|
|
109
109
|
|
|
110
|
-
6. **Create DISCOVERY.md** using ~/.
|
|
110
|
+
6. **Create DISCOVERY.md** using ~/.codex/get-shit-done/templates/discovery.md structure:
|
|
111
111
|
|
|
112
112
|
- Summary with recommendation
|
|
113
113
|
- Key findings per option
|
|
@@ -126,7 +126,7 @@ For: Architectural decisions, novel problems, high-risk choices.
|
|
|
126
126
|
|
|
127
127
|
**Process:**
|
|
128
128
|
|
|
129
|
-
1. **Scope the discovery** using ~/.
|
|
129
|
+
1. **Scope the discovery** using ~/.codex/get-shit-done/templates/discovery.md:
|
|
130
130
|
|
|
131
131
|
- Define clear scope
|
|
132
132
|
- Define include/exclude boundaries
|
|
@@ -160,7 +160,7 @@ For: Architectural decisions, novel problems, high-risk choices.
|
|
|
160
160
|
|
|
161
161
|
6. **Create comprehensive DISCOVERY.md:**
|
|
162
162
|
|
|
163
|
-
- Full structure from ~/.
|
|
163
|
+
- Full structure from ~/.codex/get-shit-done/templates/discovery.md
|
|
164
164
|
- Quality report with source attribution
|
|
165
165
|
- Confidence by finding
|
|
166
166
|
- If LOW confidence on any critical finding → add validation checkpoints
|
|
@@ -184,7 +184,7 @@ Ask: What do we need to learn before we can plan this phase?
|
|
|
184
184
|
</step>
|
|
185
185
|
|
|
186
186
|
<step name="create_discovery_scope">
|
|
187
|
-
Use ~/.
|
|
187
|
+
Use ~/.codex/get-shit-done/templates/discovery.md.
|
|
188
188
|
|
|
189
189
|
Include:
|
|
190
190
|
|
|
@@ -13,7 +13,7 @@ You are a thinking partner, not an interviewer. The user is the visionary — yo
|
|
|
13
13
|
|
|
14
14
|
2. **gsd-planner** — Reads CONTEXT.md to know WHAT decisions are locked
|
|
15
15
|
- "Pull-to-refresh on mobile" → planner includes that in task specs
|
|
16
|
-
- "
|
|
16
|
+
- "Codex's Discretion: loading skeleton" → planner can decide approach
|
|
17
17
|
|
|
18
18
|
**Your job:** Capture decisions clearly enough that downstream agents can act on them without asking the user again.
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@ You are a thinking partner, not an interviewer. The user is the visionary — yo
|
|
|
21
21
|
</downstream_awareness>
|
|
22
22
|
|
|
23
23
|
<philosophy>
|
|
24
|
-
**User = founder/visionary.
|
|
24
|
+
**User = founder/visionary. Codex = builder.**
|
|
25
25
|
|
|
26
26
|
The user knows:
|
|
27
27
|
- How they imagine it working
|
|
@@ -98,7 +98,7 @@ Phase: "API documentation"
|
|
|
98
98
|
|
|
99
99
|
**The key question:** What decisions would change the outcome that the user should weigh in on?
|
|
100
100
|
|
|
101
|
-
**
|
|
101
|
+
**Codex handles these (don't ask):**
|
|
102
102
|
- Technical implementation details
|
|
103
103
|
- Architecture patterns
|
|
104
104
|
- Performance optimization
|
|
@@ -111,7 +111,7 @@ Phase: "API documentation"
|
|
|
111
111
|
Phase number from argument (required).
|
|
112
112
|
|
|
113
113
|
```bash
|
|
114
|
-
INIT=$(node ~/.
|
|
114
|
+
INIT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs init phase-op "${PHASE}")
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
Parse JSON for: `commit_docs`, `phase_found`, `phase_dir`, `phase_number`, `phase_name`, `phase_slug`, `padded_phase`, `has_research`, `has_context`, `has_plans`, `has_verification`, `plan_count`, `roadmap_exists`, `planning_exists`.
|
|
@@ -259,7 +259,7 @@ Ask 4 questions per area before offering to continue or move on. Each answer oft
|
|
|
259
259
|
- header: "[Area]" (max 12 chars — abbreviate if needed)
|
|
260
260
|
- question: Specific decision for this area
|
|
261
261
|
- options: 2-3 concrete choices (AskUserQuestion adds "Other" automatically)
|
|
262
|
-
- Include "You decide" as an option when reasonable — captures
|
|
262
|
+
- Include "You decide" as an option when reasonable — captures Codex discretion
|
|
263
263
|
|
|
264
264
|
3. **After 4 questions, check:**
|
|
265
265
|
- header: "[Area]" (max 12 chars)
|
|
@@ -331,8 +331,8 @@ mkdir -p ".planning/phases/${padded_phase}-${phase_slug}"
|
|
|
331
331
|
### [Category 2 that was discussed]
|
|
332
332
|
- [Decision or preference captured]
|
|
333
333
|
|
|
334
|
-
###
|
|
335
|
-
[Areas where user said "you decide" — note that
|
|
334
|
+
### Codex's Discretion
|
|
335
|
+
[Areas where user said "you decide" — note that Codex has flexibility here]
|
|
336
336
|
|
|
337
337
|
</decisions>
|
|
338
338
|
|
|
@@ -405,7 +405,7 @@ Created: .planning/phases/${PADDED_PHASE}-${SLUG}/${PADDED_PHASE}-CONTEXT.md
|
|
|
405
405
|
Commit phase context (uses `commit_docs` from init internally):
|
|
406
406
|
|
|
407
407
|
```bash
|
|
408
|
-
node ~/.
|
|
408
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs commit "docs(${padded_phase}): capture phase context" --files "${phase_dir}/${padded_phase}-CONTEXT.md"
|
|
409
409
|
```
|
|
410
410
|
|
|
411
411
|
Confirm: "Committed: docs(${padded_phase}): capture phase context"
|
|
@@ -415,7 +415,7 @@ Confirm: "Committed: docs(${padded_phase}): capture phase context"
|
|
|
415
415
|
Update STATE.md with session info:
|
|
416
416
|
|
|
417
417
|
```bash
|
|
418
|
-
node ~/.
|
|
418
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs state record-session \
|
|
419
419
|
--stopped-at "Phase ${PHASE} context gathered" \
|
|
420
420
|
--resume-file "${phase_dir}/${padded_phase}-CONTEXT.md"
|
|
421
421
|
```
|
|
@@ -423,7 +423,7 @@ node ~/.claude/get-shit-done/bin/gsd-tools.cjs state record-session \
|
|
|
423
423
|
Commit STATE.md:
|
|
424
424
|
|
|
425
425
|
```bash
|
|
426
|
-
node ~/.
|
|
426
|
+
node ~/.codex/get-shit-done/bin/gsd-tools.cjs commit "docs(state): record phase ${PHASE} context session" --files .planning/STATE.md
|
|
427
427
|
```
|
|
428
428
|
</step>
|
|
429
429
|
|
|
@@ -433,7 +433,7 @@ Check for auto-advance trigger:
|
|
|
433
433
|
1. Parse `--auto` flag from $ARGUMENTS
|
|
434
434
|
2. Read `workflow.auto_advance` from config:
|
|
435
435
|
```bash
|
|
436
|
-
AUTO_CFG=$(node ~/.
|
|
436
|
+
AUTO_CFG=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs config-get workflow.auto_advance 2>/dev/null || echo "false")
|
|
437
437
|
```
|
|
438
438
|
|
|
439
439
|
**If `--auto` flag present OR `AUTO_CFG` is true:**
|