gsd-opencode 1.22.0 → 1.30.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/agents/gsd-advisor-researcher.md +112 -0
- package/agents/gsd-assumptions-analyzer.md +110 -0
- package/agents/gsd-codebase-mapper.md +1 -2
- package/agents/gsd-debugger.md +119 -2
- package/agents/gsd-executor.md +25 -4
- package/agents/gsd-integration-checker.md +1 -2
- package/agents/gsd-nyquist-auditor.md +1 -2
- package/agents/gsd-phase-researcher.md +151 -5
- package/agents/gsd-plan-checker.md +71 -5
- package/agents/gsd-planner.md +50 -4
- package/agents/gsd-project-researcher.md +29 -3
- package/agents/gsd-research-synthesizer.md +1 -2
- package/agents/gsd-roadmapper.md +30 -2
- package/agents/gsd-ui-auditor.md +445 -0
- package/agents/gsd-ui-checker.md +305 -0
- package/agents/gsd-ui-researcher.md +368 -0
- package/agents/gsd-user-profiler.md +173 -0
- package/agents/gsd-verifier.md +124 -4
- package/commands/gsd/gsd-add-backlog.md +76 -0
- package/commands/gsd/gsd-audit-uat.md +24 -0
- package/commands/gsd/gsd-autonomous.md +41 -0
- package/commands/gsd/gsd-debug.md +5 -0
- package/commands/gsd/gsd-discuss-phase.md +10 -36
- package/commands/gsd/gsd-do.md +30 -0
- package/commands/gsd/gsd-execute-phase.md +20 -2
- package/commands/gsd/gsd-fast.md +30 -0
- package/commands/gsd/gsd-forensics.md +56 -0
- package/commands/gsd/gsd-list-workspaces.md +19 -0
- package/commands/gsd/gsd-manager.md +39 -0
- package/commands/gsd/gsd-milestone-summary.md +51 -0
- package/commands/gsd/gsd-new-workspace.md +44 -0
- package/commands/gsd/gsd-next.md +24 -0
- package/commands/gsd/gsd-note.md +34 -0
- package/commands/gsd/gsd-plan-phase.md +3 -1
- package/commands/gsd/gsd-plant-seed.md +28 -0
- package/commands/gsd/gsd-pr-branch.md +25 -0
- package/commands/gsd/gsd-profile-user.md +46 -0
- package/commands/gsd/gsd-quick.md +4 -2
- package/commands/gsd/gsd-reapply-patches.md +10 -6
- package/commands/gsd/gsd-remove-workspace.md +26 -0
- package/commands/gsd/gsd-research-phase.md +5 -0
- package/commands/gsd/gsd-resume-work.md +1 -1
- package/commands/gsd/gsd-review-backlog.md +61 -0
- package/commands/gsd/gsd-review.md +37 -0
- package/commands/gsd/gsd-session-report.md +19 -0
- package/commands/gsd/gsd-set-profile.md +24 -23
- package/commands/gsd/gsd-ship.md +23 -0
- package/commands/gsd/gsd-stats.md +18 -0
- package/commands/gsd/gsd-thread.md +127 -0
- package/commands/gsd/gsd-ui-phase.md +34 -0
- package/commands/gsd/gsd-ui-review.md +32 -0
- package/commands/gsd/gsd-workstreams.md +66 -0
- package/get-shit-done/bin/gsd-tools.cjs +410 -84
- package/get-shit-done/bin/lib/commands.cjs +429 -18
- package/get-shit-done/bin/lib/config.cjs +318 -45
- package/get-shit-done/bin/lib/core.cjs +822 -84
- package/get-shit-done/bin/lib/frontmatter.cjs +78 -41
- package/get-shit-done/bin/lib/init.cjs +836 -104
- package/get-shit-done/bin/lib/milestone.cjs +44 -33
- package/get-shit-done/bin/lib/model-profiles.cjs +68 -0
- package/get-shit-done/bin/lib/phase.cjs +293 -306
- package/get-shit-done/bin/lib/profile-output.cjs +952 -0
- package/get-shit-done/bin/lib/profile-pipeline.cjs +539 -0
- package/get-shit-done/bin/lib/roadmap.cjs +55 -24
- package/get-shit-done/bin/lib/security.cjs +382 -0
- package/get-shit-done/bin/lib/state.cjs +363 -53
- package/get-shit-done/bin/lib/template.cjs +2 -2
- package/get-shit-done/bin/lib/uat.cjs +282 -0
- package/get-shit-done/bin/lib/verify.cjs +104 -36
- package/get-shit-done/bin/lib/workstream.cjs +491 -0
- package/get-shit-done/references/checkpoints.md +12 -10
- package/get-shit-done/references/decimal-phase-calculation.md +2 -3
- package/get-shit-done/references/git-integration.md +47 -0
- package/get-shit-done/references/model-profile-resolution.md +2 -0
- package/get-shit-done/references/model-profiles.md +62 -16
- package/get-shit-done/references/phase-argument-parsing.md +2 -2
- package/get-shit-done/references/planning-config.md +3 -1
- package/get-shit-done/references/user-profiling.md +681 -0
- package/get-shit-done/references/workstream-flag.md +58 -0
- package/get-shit-done/templates/UAT.md +21 -3
- package/get-shit-done/templates/UI-SPEC.md +100 -0
- package/get-shit-done/templates/claude-md.md +122 -0
- package/get-shit-done/templates/config.json +10 -3
- package/get-shit-done/templates/context.md +61 -6
- package/get-shit-done/templates/dev-preferences.md +21 -0
- package/get-shit-done/templates/discussion-log.md +63 -0
- package/get-shit-done/templates/phase-prompt.md +46 -5
- package/get-shit-done/templates/project.md +2 -0
- package/get-shit-done/templates/state.md +2 -2
- package/get-shit-done/templates/user-profile.md +146 -0
- package/get-shit-done/workflows/add-phase.md +2 -2
- package/get-shit-done/workflows/add-tests.md +4 -4
- package/get-shit-done/workflows/add-todo.md +3 -3
- package/get-shit-done/workflows/audit-milestone.md +13 -5
- package/get-shit-done/workflows/audit-uat.md +109 -0
- package/get-shit-done/workflows/autonomous.md +891 -0
- package/get-shit-done/workflows/check-todos.md +2 -2
- package/get-shit-done/workflows/cleanup.md +4 -4
- package/get-shit-done/workflows/complete-milestone.md +9 -6
- package/get-shit-done/workflows/diagnose-issues.md +15 -3
- package/get-shit-done/workflows/discovery-phase.md +2 -2
- package/get-shit-done/workflows/discuss-phase-assumptions.md +653 -0
- package/get-shit-done/workflows/discuss-phase.md +411 -38
- package/get-shit-done/workflows/do.md +104 -0
- package/get-shit-done/workflows/execute-phase.md +405 -18
- package/get-shit-done/workflows/execute-plan.md +77 -12
- package/get-shit-done/workflows/fast.md +105 -0
- package/get-shit-done/workflows/forensics.md +265 -0
- package/get-shit-done/workflows/health.md +28 -6
- package/get-shit-done/workflows/help.md +124 -7
- package/get-shit-done/workflows/insert-phase.md +2 -2
- package/get-shit-done/workflows/list-phase-assumptions.md +2 -2
- package/get-shit-done/workflows/list-workspaces.md +56 -0
- package/get-shit-done/workflows/manager.md +362 -0
- package/get-shit-done/workflows/map-codebase.md +74 -13
- package/get-shit-done/workflows/milestone-summary.md +223 -0
- package/get-shit-done/workflows/new-milestone.md +120 -18
- package/get-shit-done/workflows/new-project.md +178 -39
- package/get-shit-done/workflows/new-workspace.md +237 -0
- package/get-shit-done/workflows/next.md +97 -0
- package/get-shit-done/workflows/node-repair.md +92 -0
- package/get-shit-done/workflows/note.md +156 -0
- package/get-shit-done/workflows/pause-work.md +62 -8
- package/get-shit-done/workflows/plan-milestone-gaps.md +4 -5
- package/get-shit-done/workflows/plan-phase.md +332 -33
- package/get-shit-done/workflows/plant-seed.md +169 -0
- package/get-shit-done/workflows/pr-branch.md +129 -0
- package/get-shit-done/workflows/profile-user.md +450 -0
- package/get-shit-done/workflows/progress.md +145 -20
- package/get-shit-done/workflows/quick.md +205 -49
- package/get-shit-done/workflows/remove-phase.md +2 -2
- package/get-shit-done/workflows/remove-workspace.md +90 -0
- package/get-shit-done/workflows/research-phase.md +11 -3
- package/get-shit-done/workflows/resume-project.md +35 -16
- package/get-shit-done/workflows/review.md +228 -0
- package/get-shit-done/workflows/session-report.md +146 -0
- package/get-shit-done/workflows/set-profile.md +2 -2
- package/get-shit-done/workflows/settings.md +80 -11
- package/get-shit-done/workflows/ship.md +228 -0
- package/get-shit-done/workflows/stats.md +60 -0
- package/get-shit-done/workflows/transition.md +147 -20
- package/get-shit-done/workflows/ui-phase.md +302 -0
- package/get-shit-done/workflows/ui-review.md +165 -0
- package/get-shit-done/workflows/update.md +108 -25
- package/get-shit-done/workflows/validate-phase.md +15 -8
- package/get-shit-done/workflows/verify-phase.md +16 -5
- package/get-shit-done/workflows/verify-work.md +72 -18
- package/package.json +1 -1
- package/skills/gsd-audit-milestone/SKILL.md +29 -0
- package/skills/gsd-cleanup/SKILL.md +19 -0
- package/skills/gsd-complete-milestone/SKILL.md +131 -0
- package/skills/gsd-discuss-phase/SKILL.md +54 -0
- package/skills/gsd-execute-phase/SKILL.md +49 -0
- package/skills/gsd-plan-phase/SKILL.md +37 -0
- package/skills/gsd-ui-phase/SKILL.md +24 -0
- package/skills/gsd-ui-review/SKILL.md +24 -0
- package/skills/gsd-verify-work/SKILL.md +30 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
# Model Profiles
|
|
2
2
|
|
|
3
|
-
Model profiles control which OpenCode model each GSD agent uses. This allows balancing quality vs token spend.
|
|
3
|
+
Model profiles control which OpenCode model each GSD agent uses. This allows balancing quality vs token spend, or inheriting the currently selected session model.
|
|
4
4
|
|
|
5
5
|
## Profile Definitions
|
|
6
6
|
|
|
7
|
-
| Agent | `quality` | `balanced` | `budget` |
|
|
8
|
-
|
|
9
|
-
| gsd-planner | opus | opus | sonnet |
|
|
10
|
-
| gsd-roadmapper | opus | sonnet | sonnet |
|
|
11
|
-
| gsd-executor | opus | sonnet | sonnet |
|
|
12
|
-
| gsd-phase-researcher | opus | sonnet | haiku |
|
|
13
|
-
| gsd-project-researcher | opus | sonnet | haiku |
|
|
14
|
-
| gsd-research-synthesizer | sonnet | sonnet | haiku |
|
|
15
|
-
| gsd-debugger | opus | sonnet | sonnet |
|
|
16
|
-
| gsd-codebase-mapper | sonnet | haiku | haiku |
|
|
17
|
-
| gsd-verifier | sonnet | sonnet | haiku |
|
|
18
|
-
| gsd-plan-checker | sonnet | sonnet | haiku |
|
|
19
|
-
| gsd-integration-checker | sonnet | sonnet | haiku |
|
|
20
|
-
| gsd-nyquist-auditor | sonnet | sonnet | haiku |
|
|
7
|
+
| Agent | `quality` | `balanced` | `budget` | `inherit` |
|
|
8
|
+
|-------|-----------|------------|----------|-----------|
|
|
9
|
+
| gsd-planner | opus | opus | sonnet | inherit |
|
|
10
|
+
| gsd-roadmapper | opus | sonnet | sonnet | inherit |
|
|
11
|
+
| gsd-executor | opus | sonnet | sonnet | inherit |
|
|
12
|
+
| gsd-phase-researcher | opus | sonnet | haiku | inherit |
|
|
13
|
+
| gsd-project-researcher | opus | sonnet | haiku | inherit |
|
|
14
|
+
| gsd-research-synthesizer | sonnet | sonnet | haiku | inherit |
|
|
15
|
+
| gsd-debugger | opus | sonnet | sonnet | inherit |
|
|
16
|
+
| gsd-codebase-mapper | sonnet | haiku | haiku | inherit |
|
|
17
|
+
| gsd-verifier | sonnet | sonnet | haiku | inherit |
|
|
18
|
+
| gsd-plan-checker | sonnet | sonnet | haiku | inherit |
|
|
19
|
+
| gsd-integration-checker | sonnet | sonnet | haiku | inherit |
|
|
20
|
+
| gsd-nyquist-auditor | sonnet | sonnet | haiku | inherit |
|
|
21
21
|
|
|
22
22
|
## Profile Philosophy
|
|
23
23
|
|
|
@@ -37,6 +37,49 @@ Model profiles control which OpenCode model each GSD agent uses. This allows bal
|
|
|
37
37
|
- Haiku for research and verification
|
|
38
38
|
- Use when: conserving quota, high-volume work, less critical phases
|
|
39
39
|
|
|
40
|
+
**inherit** - Follow the current session model
|
|
41
|
+
- All agents resolve to `inherit`
|
|
42
|
+
- Best when you switch models interactively (for example OpenCode `/model`)
|
|
43
|
+
- **Required when using non-Anthropic providers** (OpenRouter, local models, etc.) — otherwise GSD may call Anthropic models directly, incurring unexpected costs
|
|
44
|
+
- Use when: you want GSD to follow your currently selected runtime model
|
|
45
|
+
|
|
46
|
+
## Using Non-OpenCode Runtimes (Codex, OpenCode, Gemini CLI)
|
|
47
|
+
|
|
48
|
+
When installed for a non-OpenCode runtime, the GSD installer sets `resolve_model_ids: "omit"` in `~/.gsd/defaults.json`. This returns an empty model parameter for all agents, so each agent uses the runtime's default model. No manual setup is needed.
|
|
49
|
+
|
|
50
|
+
To assign different models to different agents, add `model_overrides` with model IDs your runtime recognizes:
|
|
51
|
+
|
|
52
|
+
```json
|
|
53
|
+
{
|
|
54
|
+
"resolve_model_ids": "omit",
|
|
55
|
+
"model_overrides": {
|
|
56
|
+
"gsd-planner": "o3",
|
|
57
|
+
"gsd-executor": "o4-mini",
|
|
58
|
+
"gsd-debugger": "o3",
|
|
59
|
+
"gsd-codebase-mapper": "o4-mini"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
The same tiering logic applies: stronger models for planning and debugging, cheaper models for execution and mapping.
|
|
65
|
+
|
|
66
|
+
## Using OpenCode with Non-Anthropic Providers (OpenRouter, Local)
|
|
67
|
+
|
|
68
|
+
If you're using OpenCode with OpenRouter, a local model, or any non-Anthropic provider, set the `inherit` profile to prevent GSD from calling Anthropic models for subagents:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# Via settings command
|
|
72
|
+
/gsd-settings
|
|
73
|
+
# → Select "Inherit" for model profile
|
|
74
|
+
|
|
75
|
+
# Or manually in .planning/config.json
|
|
76
|
+
{
|
|
77
|
+
"model_profile": "inherit"
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Without `inherit`, GSD's default `balanced` profile spawns specific Anthropic models (`opus`, `sonnet`, `haiku`) for each agent type, which can result in additional API costs through your non-Anthropic provider.
|
|
82
|
+
|
|
40
83
|
## Resolution Logic
|
|
41
84
|
|
|
42
85
|
Orchestrators resolve model before spawning:
|
|
@@ -62,7 +105,7 @@ Override specific agents without changing the entire profile:
|
|
|
62
105
|
}
|
|
63
106
|
```
|
|
64
107
|
|
|
65
|
-
Overrides take precedence over the profile. Valid values: `opus`, `sonnet`, `haiku
|
|
108
|
+
Overrides take precedence over the profile. Valid values: `opus`, `sonnet`, `haiku`, `inherit`, or any fully-qualified model ID (e.g., `"o3"`, `"openai/o3"`, `"google/gemini-2.5-pro"`).
|
|
66
109
|
|
|
67
110
|
## Switching Profiles
|
|
68
111
|
|
|
@@ -91,3 +134,6 @@ read-only exploration and pattern extraction. No reasoning required, just struct
|
|
|
91
134
|
|
|
92
135
|
**Why `inherit` instead of passing `opus` directly?**
|
|
93
136
|
OpenCode's `"opus"` alias maps to a specific model version. Organizations may block older opus versions while allowing newer ones. GSD returns `"inherit"` for opus-tier agents, causing them to use whatever opus version the user has configured in their session. This avoids version conflicts and silent fallbacks to Sonnet.
|
|
137
|
+
|
|
138
|
+
**Why `inherit` profile?**
|
|
139
|
+
Some runtimes (including OpenCode) let users switch models at runtime (`/model`). The `inherit` profile keeps all GSD subagents aligned to that live selection.
|
|
@@ -45,8 +45,8 @@ fi
|
|
|
45
45
|
Use `roadmap get-phase` to validate phase exists:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
PHASE_CHECK=$(node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" roadmap get-phase "${PHASE}")
|
|
49
|
-
if [ "$
|
|
48
|
+
PHASE_CHECK=$(node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" roadmap get-phase "${PHASE}" --pick found)
|
|
49
|
+
if [ "$PHASE_CHECK" = "false" ]; then
|
|
50
50
|
echo "ERROR: Phase ${PHASE} not found in roadmap"
|
|
51
51
|
exit 1
|
|
52
52
|
fi
|
|
@@ -11,7 +11,8 @@ Configuration options for `.planning/` directory behavior.
|
|
|
11
11
|
"git": {
|
|
12
12
|
"branching_strategy": "none",
|
|
13
13
|
"phase_branch_template": "gsd/phase-{phase}-{slug}",
|
|
14
|
-
"milestone_branch_template": "gsd/{milestone}-{slug}"
|
|
14
|
+
"milestone_branch_template": "gsd/{milestone}-{slug}",
|
|
15
|
+
"quick_branch_template": null
|
|
15
16
|
}
|
|
16
17
|
```
|
|
17
18
|
|
|
@@ -22,6 +23,7 @@ Configuration options for `.planning/` directory behavior.
|
|
|
22
23
|
| `git.branching_strategy` | `"none"` | Git branching approach: `"none"`, `"phase"`, or `"milestone"` |
|
|
23
24
|
| `git.phase_branch_template` | `"gsd/phase-{phase}-{slug}"` | Branch template for phase strategy |
|
|
24
25
|
| `git.milestone_branch_template` | `"gsd/{milestone}-{slug}"` | Branch template for milestone strategy |
|
|
26
|
+
| `git.quick_branch_template` | `null` | Optional branch template for quick-task runs |
|
|
25
27
|
</config_schema>
|
|
26
28
|
|
|
27
29
|
<commit_docs_behavior>
|