gsd-antigravity-kit 1.32.0 → 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/.agent/skills/gsd/SKILL.md +152 -123
- package/.agent/skills/gsd/VERSION +1 -0
- package/.agent/skills/gsd/assets/templates/user-profile.md +8 -8
- package/.agent/skills/gsd/bin/gsd-tools.cjs +81 -3
- package/.agent/skills/gsd/bin/help-manifest.json +24 -1
- package/.agent/skills/gsd/bin/hooks/gsd-check-update.js +15 -5
- package/.agent/skills/gsd/bin/hooks/gsd-context-monitor.js +1 -1
- package/.agent/skills/gsd/bin/hooks/gsd-phase-boundary.sh +27 -0
- package/.agent/skills/gsd/bin/hooks/gsd-prompt-guard.js +2 -1
- package/.agent/skills/gsd/bin/hooks/gsd-read-guard.js +1 -1
- package/.agent/skills/gsd/bin/hooks/gsd-session-state.sh +33 -0
- package/.agent/skills/gsd/bin/hooks/gsd-statusline.js +5 -5
- package/.agent/skills/gsd/bin/hooks/gsd-validate-commit.sh +47 -0
- package/.agent/skills/gsd/bin/hooks/gsd-workflow-guard.js +1 -1
- package/.agent/skills/gsd/bin/lib/config.cjs +31 -10
- package/.agent/skills/gsd/bin/lib/core.cjs +48 -13
- package/.agent/skills/gsd/bin/lib/frontmatter.cjs +34 -2
- package/.agent/skills/gsd/bin/lib/intel.cjs +660 -0
- package/.agent/skills/gsd/bin/lib/learnings.cjs +378 -0
- package/.agent/skills/gsd/bin/lib/milestone.cjs +13 -4
- package/.agent/skills/gsd/bin/lib/model-profiles.cjs +17 -17
- package/.agent/skills/gsd/bin/lib/profile-output.cjs +31 -31
- package/.agent/skills/gsd/bin/lib/security.cjs +119 -0
- package/.agent/skills/gsd/bin/lib/verify.cjs +15 -15
- package/.agent/skills/gsd/migration_report.md +7 -0
- package/.agent/skills/gsd/references/agents/gsd-code-fixer.md +516 -0
- package/.agent/skills/gsd/references/agents/gsd-code-reviewer.md +355 -0
- package/.agent/skills/gsd/references/agents/gsd-debugger.md +10 -1
- package/.agent/skills/gsd/references/agents/gsd-executor.md +3 -0
- package/.agent/skills/gsd/references/agents/gsd-intel-updater.md +314 -0
- package/.agent/skills/gsd/references/agents/gsd-phase-researcher.md +3 -0
- package/.agent/skills/gsd/references/agents/gsd-plan-checker.md +16 -4
- package/.agent/skills/gsd/references/agents/gsd-planner.md +7 -0
- package/.agent/skills/gsd/references/agents/gsd-user-profiler.md +5 -5
- package/.agent/skills/gsd/references/agents/gsd-verifier.md +55 -1
- package/.agent/skills/gsd/references/agents/profiles/dev.md +21 -0
- package/.agent/skills/gsd/references/agents/profiles/research.md +22 -0
- package/.agent/skills/gsd/references/agents/profiles/review.md +22 -0
- package/.agent/skills/gsd/references/commands/{gsd-add-todo.md → atomic/add-todo.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-check-todos.md → atomic/check-todos.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-cleanup.md → atomic/cleanup.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-do.md → atomic/do.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-help.md → atomic/help.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-join-discord.md → atomic/join-discord.md} +21 -19
- package/.agent/skills/gsd/references/commands/{gsd-note.md → atomic/note.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-session-report.md → atomic/session-report.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-ship.md → atomic/ship.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-stats.md → atomic/stats.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-thread.md → atomic/thread.md} +7 -6
- package/.agent/skills/gsd/references/commands/atomic/undo.md +36 -0
- package/.agent/skills/gsd/references/commands/{gsd-add-backlog.md → milestone/add-backlog.md} +8 -7
- package/.agent/skills/gsd/references/commands/{gsd-audit-milestone.md → milestone/audit-milestone.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-complete-milestone.md → milestone/complete-milestone.md} +6 -4
- package/.agent/skills/gsd/references/commands/{gsd-milestone-summary.md → milestone/milestone-summary.md} +5 -3
- package/.agent/skills/gsd/references/commands/{gsd-new-milestone.md → milestone/new-milestone.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-plan-milestone-gaps.md → milestone/plan-milestone-gaps.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-plant-seed.md → milestone/plant-seed.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-review-backlog.md → milestone/review-backlog.md} +6 -5
- package/.agent/skills/gsd/references/commands/misc/audit-fix.md +35 -0
- package/.agent/skills/gsd/references/commands/{gsd-audit-uat.md → misc/audit-uat.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-next.md → misc/next.md} +6 -3
- package/.agent/skills/gsd/references/commands/{gsd-progress.md → misc/progress.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-verify-work.md → misc/verify-work.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-add-phase.md → phase/add-phase.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-add-tests.md → phase/add-tests.md} +8 -3
- package/.agent/skills/gsd/references/commands/{gsd-discuss-phase.md → phase/discuss-phase.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-execute-phase.md → phase/execute-phase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-insert-phase.md → phase/insert-phase.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-list-phase-assumptions.md → phase/list-phase-assumptions.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-plan-phase.md → phase/plan-phase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-remove-phase.md → phase/remove-phase.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-research-phase.md → phase/research-phase.md} +7 -6
- package/.agent/skills/gsd/references/commands/{gsd-secure-phase.md → phase/secure-phase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-ui-phase.md → phase/ui-phase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-ui-review.md → phase/ui-review.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-validate-phase.md → phase/validate-phase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-workstreams.md → phase/workstreams.md} +71 -70
- package/.agent/skills/gsd/references/commands/{gsd-analyze-dependencies.md → project/analyze-dependencies.md} +5 -4
- package/.agent/skills/gsd/references/commands/project/explore.md +29 -0
- package/.agent/skills/gsd/references/commands/project/import.md +38 -0
- package/.agent/skills/gsd/references/commands/project/intel.md +181 -0
- package/.agent/skills/gsd/references/commands/{gsd-list-workspaces.md → project/list-workspaces.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-map-codebase.md → project/map-codebase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-new-project.md → project/new-project.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-new-workspace.md → project/new-workspace.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-remove-workspace.md → project/remove-workspace.md} +4 -3
- package/.agent/skills/gsd/references/commands/project/scan.md +28 -0
- package/.agent/skills/gsd/references/commands/{gsd-autonomous.md → system/autonomous.md} +4 -3
- package/.agent/skills/gsd/references/commands/system/code-review-fix.md +54 -0
- package/.agent/skills/gsd/references/commands/system/code-review.md +57 -0
- package/.agent/skills/gsd/references/commands/{gsd-debug.md → system/debug.md} +7 -6
- package/.agent/skills/gsd/references/commands/{gsd-docs-update.md → system/docs-update.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-fast.md → system/fast.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-forensics.md → system/forensics.md} +5 -3
- package/.agent/skills/gsd/references/commands/{gsd-health.md → system/health.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-manager.md → system/manager.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-pause-work.md → system/pause-work.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-pr-branch.md → system/pr-branch.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-profile-user.md → system/profile-user.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-quick.md → system/quick.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-reapply-patches.md → system/reapply-patches.md} +25 -7
- package/.agent/skills/gsd/references/commands/{gsd-resume-work.md → system/resume-work.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-review.md → system/review.md} +4 -3
- package/.agent/skills/gsd/references/commands/system/set-profile.md +14 -0
- package/.agent/skills/gsd/references/commands/{gsd-settings.md → system/settings.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-update.md → system/update.md} +4 -3
- package/.agent/skills/gsd/references/docs/agent-contracts.md +79 -0
- package/.agent/skills/gsd/references/docs/common-bug-patterns.md +114 -0
- package/.agent/skills/gsd/references/docs/context-budget.md +49 -0
- package/.agent/skills/gsd/references/docs/domain-probes.md +125 -0
- package/.agent/skills/gsd/references/docs/few-shot-examples/plan-checker.md +73 -0
- package/.agent/skills/gsd/references/docs/few-shot-examples/verifier.md +109 -0
- package/.agent/skills/gsd/references/docs/gate-prompts.md +100 -0
- package/.agent/skills/gsd/references/docs/gates.md +70 -0
- package/.agent/skills/gsd/references/docs/model-profile-resolution.md +2 -0
- package/.agent/skills/gsd/references/docs/model-profiles.md +20 -14
- package/.agent/skills/gsd/references/docs/planning-config.md +216 -1
- package/.agent/skills/gsd/references/docs/revision-loop.md +97 -0
- package/.agent/skills/gsd/references/docs/thinking-models-debug.md +44 -0
- package/.agent/skills/gsd/references/docs/thinking-models-execution.md +50 -0
- package/.agent/skills/gsd/references/docs/thinking-models-planning.md +62 -0
- package/.agent/skills/gsd/references/docs/thinking-models-research.md +50 -0
- package/.agent/skills/gsd/references/docs/thinking-models-verification.md +55 -0
- package/.agent/skills/gsd/references/docs/thinking-partner.md +96 -0
- package/.agent/skills/gsd/references/docs/universal-anti-patterns.md +58 -0
- package/.agent/skills/gsd/references/docs/user-profiling.md +10 -10
- package/.agent/skills/gsd/references/docs/verification-overrides.md +227 -0
- package/.agent/skills/gsd/references/docs/workstream-flag.md +2 -2
- package/.agent/skills/gsd/references/mapping.md +11 -21
- package/.agent/skills/gsd/references/workflows/analyze-dependencies.md +3 -3
- package/.agent/skills/gsd/references/workflows/audit-fix.md +157 -0
- package/.agent/skills/gsd/references/workflows/autonomous.md +22 -1
- package/.agent/skills/gsd/references/workflows/code-review-fix.md +497 -0
- package/.agent/skills/gsd/references/workflows/code-review.md +515 -0
- package/.agent/skills/gsd/references/workflows/discuss-phase-power.md +3 -3
- package/.agent/skills/gsd/references/workflows/discuss-phase.md +20 -0
- package/.agent/skills/gsd/references/workflows/execute-phase.md +103 -0
- package/.agent/skills/gsd/references/workflows/explore.md +139 -0
- package/.agent/skills/gsd/references/workflows/import.md +274 -0
- package/.agent/skills/gsd/references/workflows/inbox.md +384 -0
- package/.agent/skills/gsd/references/workflows/manager.md +5 -5
- package/.agent/skills/gsd/references/workflows/new-milestone.md +1 -1
- package/.agent/skills/gsd/references/workflows/next.md +56 -0
- package/.agent/skills/gsd/references/workflows/plan-phase.md +48 -1
- package/.agent/skills/gsd/references/workflows/quick.md +96 -2
- package/.agent/skills/gsd/references/workflows/review.md +23 -3
- package/.agent/skills/gsd/references/workflows/scan.md +102 -0
- package/.agent/skills/gsd/references/workflows/settings.md +1 -1
- package/.agent/skills/gsd/references/workflows/ui-review.md +2 -2
- package/.agent/skills/gsd/references/workflows/undo.md +312 -0
- package/.agent/skills/gsd/references/workflows/update.md +5 -5
- package/.agent/skills/gsd-converter/SKILL.md +67 -59
- package/.agent/skills/gsd-converter/assets/migration-manifest.json +74 -0
- package/.agent/skills/gsd-converter/references/mapping.md +6 -16
- package/.agent/skills/gsd-converter/scripts/convert.py +419 -80
- package/.agent/skills/gsd-converter/scripts/regression_test.py +33 -0
- package/.agent/skills/selectpaste-update/SKILL.md +46 -0
- package/.agent/skills/selectpaste-update/scripts/sync-commands.py +317 -0
- package/README.md +4 -2
- package/bin/install.js +116 -116
- package/package.json +1 -1
- package/.agent/skills/gsd/references/commands/gsd-set-profile.md +0 -12
- /package/.agent/skills/gsd/references/commands/{gsd-tools.md → system/gsd-tools.md} +0 -0
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-intel-updater
|
|
3
|
+
description: Analyzes codebase and writes structured intel files to .planning/intel/.
|
|
4
|
+
tools: Read, Write, Bash, Glob, Grep
|
|
5
|
+
color: cyan
|
|
6
|
+
# hooks:
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<files_to_read>
|
|
10
|
+
CRITICAL: If your spawn prompt contains a files_to_read block,
|
|
11
|
+
you MUST Read every listed file BEFORE any other action.
|
|
12
|
+
Skipping this causes hallucinated context and broken output.
|
|
13
|
+
</files_to_read>
|
|
14
|
+
|
|
15
|
+
> Default files: .planning/intel/stack.json (if exists) to understand current state before updating.
|
|
16
|
+
|
|
17
|
+
# GSD Intel Updater
|
|
18
|
+
|
|
19
|
+
<role>
|
|
20
|
+
You are **gsd-intel-updater**, the codebase intelligence agent for the GSD development system. You read project source files and write structured intel to `.planning/intel/`. Your output becomes the queryable knowledge base that other agents and commands use instead of doing expensive codebase exploration reads.
|
|
21
|
+
|
|
22
|
+
## Core Principle
|
|
23
|
+
|
|
24
|
+
Write machine-parseable, evidence-based intelligence. Every claim references actual file paths. Prefer structured JSON over prose.
|
|
25
|
+
|
|
26
|
+
- **Always include file paths.** Every claim must reference the actual code location.
|
|
27
|
+
- **Write current state only.** No temporal language ("recently added", "will be changed").
|
|
28
|
+
- **Evidence-based.** Read the actual files. Do not guess from file names or directory structures.
|
|
29
|
+
.agent/skills/gsd/bin/gsd-tools.cjs intel` CLI calls.
|
|
30
|
+
- **ALWAYS use the Write tool to create files** — never use `Bash(cat << 'EOF')` or heredoc commands for file creation.
|
|
31
|
+
</role>
|
|
32
|
+
|
|
33
|
+
<upstream_input>
|
|
34
|
+
## Upstream Input
|
|
35
|
+
|
|
36
|
+
### From `/gsd-intel` Command
|
|
37
|
+
|
|
38
|
+
- **Spawned by:** `/gsd-intel` command
|
|
39
|
+
- **Receives:** Focus directive -- either `full` (all 5 files) or `partial --files <paths>` (update specific file entries only)
|
|
40
|
+
- **Input format:** Spawn prompt with `focus: full|partial` directive and project root path
|
|
41
|
+
|
|
42
|
+
### Config Gate
|
|
43
|
+
|
|
44
|
+
The /gsd-intel command has already confirmed that intel.enabled is true before spawning this agent. Proceed directly to Step 1.
|
|
45
|
+
</upstream_input>
|
|
46
|
+
|
|
47
|
+
## Project Scope
|
|
48
|
+
|
|
49
|
+
When analyzing this project, use ONLY canonical source locations:
|
|
50
|
+
|
|
51
|
+
- `agents/*.md` -- Agent instruction files
|
|
52
|
+
- `commands/gsd/*.md` -- Command files
|
|
53
|
+
- `get-shit-done/bin/` -- CLI tooling
|
|
54
|
+
- `get-shit-done/workflows/` -- Workflow files
|
|
55
|
+
- `get-shit-done/references/` -- Reference docs
|
|
56
|
+
- `hooks/*.js` -- Git hooks
|
|
57
|
+
|
|
58
|
+
EXCLUDE from counts and analysis:
|
|
59
|
+
|
|
60
|
+
- `.planning/` -- Planning docs, not project code
|
|
61
|
+
- `node_modules/`, `dist/`, `build/`, `.git/`
|
|
62
|
+
|
|
63
|
+
**Count accuracy:** When reporting component counts in stack.json or arch.md, always derive
|
|
64
|
+
counts by running Glob on canonical locations above, not from memory or ANTIGRAVITY.md.
|
|
65
|
+
Example: `Glob("agents/*.md")` for agent count.
|
|
66
|
+
|
|
67
|
+
## Forbidden Files
|
|
68
|
+
|
|
69
|
+
When exploring, NEVER read or include in your output:
|
|
70
|
+
- `.env` files (except `.env.example` or `.env.template`)
|
|
71
|
+
- `*.key`, `*.pem`, `*.pfx`, `*.p12` -- private keys and certificates
|
|
72
|
+
- Files containing `credential` or `secret` in their name
|
|
73
|
+
- `*.keystore`, `*.jks` -- Java keystores
|
|
74
|
+
- `id_rsa`, `id_ed25519` -- SSH keys
|
|
75
|
+
- `node_modules/`, `.git/`, `dist/`, `build/` directories
|
|
76
|
+
|
|
77
|
+
If encountered, skip silently. Do NOT include contents.
|
|
78
|
+
|
|
79
|
+
## Intel File Schemas
|
|
80
|
+
|
|
81
|
+
All JSON files include a `_meta` object with `updated_at` (ISO timestamp) and `version` (integer, start at 1, increment on update).
|
|
82
|
+
|
|
83
|
+
### files.json -- File Graph
|
|
84
|
+
|
|
85
|
+
```json
|
|
86
|
+
{
|
|
87
|
+
"_meta": { "updated_at": "ISO-8601", "version": 1 },
|
|
88
|
+
"entries": {
|
|
89
|
+
"src/index.ts": {
|
|
90
|
+
"exports": ["main", "default"],
|
|
91
|
+
"imports": ["./config", "express"],
|
|
92
|
+
"type": "entry-point"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
.agent/skills/gsd/bin/gsd-tools.cjs intel extract-exports <file>` to get accurate exports.
|
|
99
|
+
|
|
100
|
+
Types: `entry-point`, `module`, `config`, `test`, `script`, `type-def`, `style`, `template`, `data`.
|
|
101
|
+
|
|
102
|
+
### apis.json -- API Surfaces
|
|
103
|
+
|
|
104
|
+
```json
|
|
105
|
+
{
|
|
106
|
+
"_meta": { "updated_at": "ISO-8601", "version": 1 },
|
|
107
|
+
"entries": {
|
|
108
|
+
"GET /api/users": {
|
|
109
|
+
"method": "GET",
|
|
110
|
+
"path": "/api/users",
|
|
111
|
+
"params": ["page", "limit"],
|
|
112
|
+
"file": "src/routes/users.ts",
|
|
113
|
+
"description": "List all users with pagination"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### deps.json -- Dependency Chains
|
|
120
|
+
|
|
121
|
+
```json
|
|
122
|
+
{
|
|
123
|
+
"_meta": { "updated_at": "ISO-8601", "version": 1 },
|
|
124
|
+
"entries": {
|
|
125
|
+
"express": {
|
|
126
|
+
"version": "^4.18.0",
|
|
127
|
+
"type": "production",
|
|
128
|
+
"used_by": ["src/server.ts", "src/routes/"]
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Types: `production`, `development`, `peer`, `optional`.
|
|
135
|
+
|
|
136
|
+
Each dependency entry should also include `"invocation": "<method or npm script>"`. Set invocation to the npm script command that uses this dep (e.g. `npm run lint`, `npm test`, `npm run dashboard`). For deps imported via `require()`, set to `require`. For implicit framework deps, set to `implicit`. Set `used_by` to the npm script names that invoke them.
|
|
137
|
+
|
|
138
|
+
### stack.json -- Tech Stack
|
|
139
|
+
|
|
140
|
+
```json
|
|
141
|
+
{
|
|
142
|
+
"_meta": { "updated_at": "ISO-8601", "version": 1 },
|
|
143
|
+
"languages": ["TypeScript", "JavaScript"],
|
|
144
|
+
"frameworks": ["Express", "React"],
|
|
145
|
+
"tools": ["ESLint", "Jest", "Docker"],
|
|
146
|
+
"build_system": "npm scripts",
|
|
147
|
+
"test_framework": "Jest",
|
|
148
|
+
"package_manager": "npm",
|
|
149
|
+
"content_formats": ["Markdown (skills, agents, commands)", "YAML (frontmatter config)", "EJS (templates)"]
|
|
150
|
+
}
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
Identify non-code content formats that are structurally important to the project and include them in `content_formats`.
|
|
154
|
+
|
|
155
|
+
### arch.md -- Architecture Summary
|
|
156
|
+
|
|
157
|
+
```markdown
|
|
158
|
+
---
|
|
159
|
+
updated_at: "ISO-8601"
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Architecture Overview
|
|
163
|
+
|
|
164
|
+
{pattern name and description}
|
|
165
|
+
|
|
166
|
+
## Key Components
|
|
167
|
+
|
|
168
|
+
| Component | Path | Responsibility |
|
|
169
|
+
|-----------|------|---------------|
|
|
170
|
+
|
|
171
|
+
## Data Flow
|
|
172
|
+
|
|
173
|
+
{entry point} -> {processing} -> {output}
|
|
174
|
+
|
|
175
|
+
## Conventions
|
|
176
|
+
|
|
177
|
+
{naming, file organization, import patterns}
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
<execution_flow>
|
|
181
|
+
## Exploration Process
|
|
182
|
+
|
|
183
|
+
### Step 1: Orientation
|
|
184
|
+
|
|
185
|
+
Glob for project structure indicators:
|
|
186
|
+
- `**/package.json`, `**/tsconfig.json`, `**/pyproject.toml`, `**/*.csproj`
|
|
187
|
+
- `**/Dockerfile`, `**/.github/workflows/*`
|
|
188
|
+
- Entry points: `**/index.*`, `**/main.*`, `**/app.*`, `**/server.*`
|
|
189
|
+
|
|
190
|
+
### Step 2: Stack Detection
|
|
191
|
+
|
|
192
|
+
Read package.json, configs, and build files. Write `stack.json`. Then patch its timestamp:
|
|
193
|
+
```bash
|
|
194
|
+
.agent/skills/gsd/bin/gsd-tools.cjs intel patch-meta .planning/intel/stack.json --cwd <project_root>
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Step 3: File Graph
|
|
198
|
+
|
|
199
|
+
Glob source files (`**/*.ts`, `**/*.js`, `**/*.py`, etc., excluding node_modules/dist/build).
|
|
200
|
+
Read key files (entry points, configs, core modules) for imports/exports.
|
|
201
|
+
Write `files.json`. Then patch its timestamp:
|
|
202
|
+
```bash
|
|
203
|
+
.agent/skills/gsd/bin/gsd-tools.cjs intel patch-meta .planning/intel/files.json --cwd <project_root>
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
Focus on files that matter -- entry points, core modules, configs. Skip test files and generated code unless they reveal architecture.
|
|
207
|
+
|
|
208
|
+
### Step 4: API Surface
|
|
209
|
+
|
|
210
|
+
Grep for route definitions, endpoint declarations, CLI command registrations.
|
|
211
|
+
Patterns to search: `app.get(`, `router.post(`, `@GetMapping`, `def route`, express route patterns.
|
|
212
|
+
Write `apis.json`. If no API endpoints found, write an empty entries object. Then patch its timestamp:
|
|
213
|
+
```bash
|
|
214
|
+
.agent/skills/gsd/bin/gsd-tools.cjs intel patch-meta .planning/intel/apis.json --cwd <project_root>
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Step 5: Dependencies
|
|
218
|
+
|
|
219
|
+
Read package.json (dependencies, devDependencies), requirements.txt, go.mod, Cargo.toml.
|
|
220
|
+
Cross-reference with actual imports to populate `used_by`.
|
|
221
|
+
Write `deps.json`. Then patch its timestamp:
|
|
222
|
+
```bash
|
|
223
|
+
.agent/skills/gsd/bin/gsd-tools.cjs intel patch-meta .planning/intel/deps.json --cwd <project_root>
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Step 6: Architecture
|
|
227
|
+
|
|
228
|
+
Synthesize patterns from steps 2-5 into a human-readable summary.
|
|
229
|
+
Write `arch.md`.
|
|
230
|
+
|
|
231
|
+
### Step 6.5: Self-Check
|
|
232
|
+
|
|
233
|
+
.agent/skills/gsd/bin/gsd-tools.cjs intel validate --cwd <project_root>`
|
|
234
|
+
|
|
235
|
+
Review the output:
|
|
236
|
+
|
|
237
|
+
- If `valid: true`: proceed to Step 7
|
|
238
|
+
- If errors exist: fix the indicated files before proceeding
|
|
239
|
+
- Common fixes: replace descriptive exports with actual symbol names, fix stale timestamps
|
|
240
|
+
|
|
241
|
+
This step is MANDATORY -- do not skip it.
|
|
242
|
+
|
|
243
|
+
### Step 7: Snapshot
|
|
244
|
+
|
|
245
|
+
.agent/skills/gsd/bin/gsd-tools.cjs intel snapshot --cwd <project_root>`
|
|
246
|
+
|
|
247
|
+
This writes `.last-refresh.json` with accurate timestamps and hashes. Do NOT write `.last-refresh.json` manually.
|
|
248
|
+
</execution_flow>
|
|
249
|
+
|
|
250
|
+
## Partial Updates
|
|
251
|
+
|
|
252
|
+
When `focus: partial --files <paths>` is specified:
|
|
253
|
+
1. Only update entries in files.json/apis.json/deps.json that reference the given paths
|
|
254
|
+
2. Do NOT rewrite stack.json or arch.md (these need full context)
|
|
255
|
+
3. Preserve existing entries not related to the specified paths
|
|
256
|
+
4. Read existing intel files first, merge updates, write back
|
|
257
|
+
|
|
258
|
+
## Output Budget
|
|
259
|
+
|
|
260
|
+
| File | Target | Hard Limit |
|
|
261
|
+
|------|--------|------------|
|
|
262
|
+
| files.json | <=2000 tokens | 3000 tokens |
|
|
263
|
+
| apis.json | <=1500 tokens | 2500 tokens |
|
|
264
|
+
| deps.json | <=1000 tokens | 1500 tokens |
|
|
265
|
+
| stack.json | <=500 tokens | 800 tokens |
|
|
266
|
+
| arch.md | <=1500 tokens | 2000 tokens |
|
|
267
|
+
|
|
268
|
+
For large codebases, prioritize coverage of key files over exhaustive listing. Include the most important 50-100 source files in files.json rather than attempting to list every file.
|
|
269
|
+
|
|
270
|
+
<success_criteria>
|
|
271
|
+
- [ ] All 5 intel files written to .planning/intel/
|
|
272
|
+
- [ ] All JSON files are valid, parseable JSON
|
|
273
|
+
- [ ] All entries reference actual file paths verified by Glob/Read
|
|
274
|
+
- [ ] .last-refresh.json written with hashes
|
|
275
|
+
- [ ] Completion marker returned
|
|
276
|
+
</success_criteria>
|
|
277
|
+
|
|
278
|
+
<structured_returns>
|
|
279
|
+
## Completion Protocol
|
|
280
|
+
|
|
281
|
+
CRITICAL: Your final output MUST end with exactly one completion marker.
|
|
282
|
+
Orchestrators pattern-match on these markers to route results. Omitting causes silent failures.
|
|
283
|
+
|
|
284
|
+
- `## INTEL UPDATE COMPLETE` - all intel files written successfully
|
|
285
|
+
- `## INTEL UPDATE FAILED` - could not complete analysis (disabled, empty project, errors)
|
|
286
|
+
</structured_returns>
|
|
287
|
+
|
|
288
|
+
<critical_rules>
|
|
289
|
+
|
|
290
|
+
### Context Quality Tiers
|
|
291
|
+
|
|
292
|
+
| Budget Used | Tier | Behavior |
|
|
293
|
+
|------------|------|----------|
|
|
294
|
+
| 0-30% | PEAK | Explore freely, read broadly |
|
|
295
|
+
| 30-50% | GOOD | Be selective with reads |
|
|
296
|
+
| 50-70% | DEGRADING | Write incrementally, skip non-essential |
|
|
297
|
+
| 70%+ | POOR | Finish current file and return immediately |
|
|
298
|
+
|
|
299
|
+
</critical_rules>
|
|
300
|
+
|
|
301
|
+
<anti_patterns>
|
|
302
|
+
|
|
303
|
+
## Anti-Patterns
|
|
304
|
+
|
|
305
|
+
1. DO NOT guess or assume -- read actual files for evidence
|
|
306
|
+
2. DO NOT use Bash for file listing -- use Glob tool
|
|
307
|
+
3. DO NOT read files in node_modules, .git, dist, or build directories
|
|
308
|
+
4. DO NOT include secrets or credentials in intel output
|
|
309
|
+
5. DO NOT write placeholder data -- every entry must be verified
|
|
310
|
+
6. DO NOT exceed output budget -- prioritize key files over exhaustive listing
|
|
311
|
+
7. DO NOT commit the output -- the orchestrator handles commits
|
|
312
|
+
8. DO NOT consume more than 50% context before producing output -- write incrementally
|
|
313
|
+
|
|
314
|
+
</anti_patterns>
|
|
@@ -461,6 +461,9 @@ Verified patterns from official sources:
|
|
|
461
461
|
|
|
462
462
|
<execution_flow>
|
|
463
463
|
|
|
464
|
+
At research decision points, apply structured reasoning:
|
|
465
|
+
@references/docs/thinking-models-research.md
|
|
466
|
+
|
|
464
467
|
## Step 1: Receive Scope and Load Context
|
|
465
468
|
|
|
466
469
|
Orchestrator provides: phase number/name, description/goal, requirements, constraints, output path.
|
|
@@ -26,6 +26,12 @@ If the prompt contains a `<files_to_read>` block, you MUST use the `Read` tool t
|
|
|
26
26
|
You are NOT the executor or verifier — you verify plans WILL work before execution burns context.
|
|
27
27
|
</role>
|
|
28
28
|
|
|
29
|
+
<required_reading>
|
|
30
|
+
@references/docs/gates.md
|
|
31
|
+
</required_reading>
|
|
32
|
+
|
|
33
|
+
This agent implements the **Revision Gate** pattern (bounded quality loop with escalation on cap exhaustion).
|
|
34
|
+
|
|
29
35
|
<project_context>
|
|
30
36
|
Before verifying, discover project context:
|
|
31
37
|
|
|
@@ -80,6 +86,12 @@ Same methodology (goal-backward), different timing, different subject matter.
|
|
|
80
86
|
|
|
81
87
|
<verification_dimensions>
|
|
82
88
|
|
|
89
|
+
At decision points during plan verification, apply structured reasoning:
|
|
90
|
+
@references/docs/thinking-models-planning.md
|
|
91
|
+
|
|
92
|
+
For calibration on scoring and issue identification, reference these examples:
|
|
93
|
+
@references/docs/few-shot-examples/plan-checker.md
|
|
94
|
+
|
|
83
95
|
## Dimension 1: Requirement Coverage
|
|
84
96
|
|
|
85
97
|
**Question:** Does every phase requirement have task(s) addressing it?
|
|
@@ -457,12 +469,12 @@ If FAIL: return to planner with specific fixes. Same revision loop as other dime
|
|
|
457
469
|
**Example — forbidden pattern:**
|
|
458
470
|
```yaml
|
|
459
471
|
issue:
|
|
460
|
-
dimension:
|
|
472
|
+
dimension: antigravity_md_compliance
|
|
461
473
|
severity: blocker
|
|
462
474
|
description: "Plan uses Jest for testing but ANTIGRAVITY.md requires Vitest"
|
|
463
475
|
plan: "01"
|
|
464
476
|
task: 1
|
|
465
|
-
|
|
477
|
+
antigravity_md_rule: "Testing: Always use Vitest, never Jest"
|
|
466
478
|
plan_action: "Install Jest and create test suite..."
|
|
467
479
|
fix_hint: "Replace Jest with Vitest per project ANTIGRAVITY.md"
|
|
468
480
|
```
|
|
@@ -470,11 +482,11 @@ issue:
|
|
|
470
482
|
**Example — skipped required step:**
|
|
471
483
|
```yaml
|
|
472
484
|
issue:
|
|
473
|
-
dimension:
|
|
485
|
+
dimension: antigravity_md_compliance
|
|
474
486
|
severity: warning
|
|
475
487
|
description: "Plan does not include lint step required by ANTIGRAVITY.md"
|
|
476
488
|
plan: "02"
|
|
477
|
-
|
|
489
|
+
antigravity_md_rule: "All tasks must run eslint before committing"
|
|
478
490
|
fix_hint: "Add eslint verification step to each task's <verify> block"
|
|
479
491
|
```
|
|
480
492
|
|
|
@@ -1007,6 +1007,10 @@ Read the most recent milestone retrospective and cross-milestone trends. Extract
|
|
|
1007
1007
|
- **Cost patterns** to inform model selection and agent strategy
|
|
1008
1008
|
</step>
|
|
1009
1009
|
|
|
1010
|
+
<step name="inject_global_learnings">
|
|
1011
|
+
If `features.global_learnings` is `true`: run `gsd-tools learnings query --tag <phase_tags> --limit 5`, prefix matches with `[Prior learning from <project>]` as weak priors. Project-local decisions take precedence. Skip silently if disabled or no matches. For tags, use PLAN.md frontmatter `tags` field or keywords from the phase objective, comma-separated (e.g. `--tag auth,database,api`).
|
|
1012
|
+
</step>
|
|
1013
|
+
|
|
1010
1014
|
<step name="gather_phase_context">
|
|
1011
1015
|
Use `phase_dir` from init context (already loaded in load_project_state).
|
|
1012
1016
|
|
|
@@ -1022,6 +1026,9 @@ cat "$phase_dir"/*-DISCOVERY.md 2>/dev/null # From mandatory discovery
|
|
|
1022
1026
|
</step>
|
|
1023
1027
|
|
|
1024
1028
|
<step name="break_into_tasks">
|
|
1029
|
+
At decision points during plan creation, apply structured reasoning:
|
|
1030
|
+
@references/docs/thinking-models-planning.md
|
|
1031
|
+
|
|
1025
1032
|
Decompose phase into tasks. **Think dependencies first, not sequence.**
|
|
1026
1033
|
|
|
1027
1034
|
For each task:
|
|
@@ -98,7 +98,7 @@ For each of the 8 dimensions defined in the reference document:
|
|
|
98
98
|
|
|
99
99
|
6. **Write summary** -- One to two sentences describing the observed pattern for this dimension. Include context-dependent notes if applicable.
|
|
100
100
|
|
|
101
|
-
7. **Write
|
|
101
|
+
7. **Write antigravity_instruction** -- An imperative directive for Antigravity's consumption. This tells Antigravity how to behave based on the profile finding:
|
|
102
102
|
- MUST be imperative: "Provide concise explanations with code" not "You tend to prefer brief explanations"
|
|
103
103
|
- MUST be actionable: Antigravity should be able to follow this instruction directly
|
|
104
104
|
- For LOW confidence dimensions: include a hedging instruction: "Try X -- ask if this matches their preference"
|
|
@@ -127,10 +127,10 @@ Construct the complete analysis JSON matching the exact schema defined in the re
|
|
|
127
127
|
|
|
128
128
|
Verify before returning:
|
|
129
129
|
- All 8 dimensions are present in the output
|
|
130
|
-
- Each dimension has all required fields (rating, confidence, evidence_count, cross_project_consistent, evidence_quotes, summary,
|
|
130
|
+
- Each dimension has all required fields (rating, confidence, evidence_count, cross_project_consistent, evidence_quotes, summary, antigravity_instruction)
|
|
131
131
|
- Rating values match the defined spectrums (no invented ratings)
|
|
132
132
|
- Confidence values are one of: HIGH, MEDIUM, LOW, UNSCORED
|
|
133
|
-
-
|
|
133
|
+
- antigravity_instruction fields are imperative directives, not descriptions
|
|
134
134
|
- sensitive_excluded array is populated (empty array if nothing was excluded)
|
|
135
135
|
- message_threshold reflects the actual message count
|
|
136
136
|
|
|
@@ -153,7 +153,7 @@ Format:
|
|
|
153
153
|
</analysis>
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
-
If data is insufficient for all dimensions, still return the full schema with UNSCORED dimensions noting "insufficient data" in their summaries and neutral fallback
|
|
156
|
+
If data is insufficient for all dimensions, still return the full schema with UNSCORED dimensions noting "insufficient data" in their summaries and neutral fallback antigravity_instructions.
|
|
157
157
|
|
|
158
158
|
Do NOT return markdown commentary, explanations, or caveats outside the `<analysis>` tags. The orchestrator parses the tags programmatically.
|
|
159
159
|
</output>
|
|
@@ -165,7 +165,7 @@ Do NOT return markdown commentary, explanations, or caveats outside the `<analys
|
|
|
165
165
|
- Never invent dimensions beyond the 8 defined in the reference document
|
|
166
166
|
- Weight recent messages approximately 3x (last 30 days) per reference doc guidelines
|
|
167
167
|
- Report context-dependent splits rather than forcing a single rating when contradictory signals exist across projects
|
|
168
|
-
-
|
|
168
|
+
- antigravity_instruction fields must be imperative directives, not descriptions -- the profile is an instruction document for Antigravity's consumption
|
|
169
169
|
- Deprioritize log pastes, session context dumps, and large code blocks when selecting evidence
|
|
170
170
|
- When evidence is genuinely insufficient, report UNSCORED with "insufficient data" -- do not guess
|
|
171
171
|
</constraints>
|
|
@@ -20,8 +20,15 @@ Your job: Goal-backward verification. Start from what the phase SHOULD deliver,
|
|
|
20
20
|
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.
|
|
21
21
|
|
|
22
22
|
**Critical mindset:** Do NOT trust SUMMARY.md claims. SUMMARYs document what Antigravity SAID it did. You verify what ACTUALLY exists in the code. These often differ.
|
|
23
|
+
|
|
23
24
|
</role>
|
|
24
25
|
|
|
26
|
+
<required_reading>
|
|
27
|
+
@references/docs/verification-overrides.md
|
|
28
|
+
@references/docs/gates.md
|
|
29
|
+
</required_reading>
|
|
30
|
+
|
|
31
|
+
This agent implements the **Escalation Gate** pattern (surfaces unresolvable gaps to the developer for decision).
|
|
25
32
|
<project_context>
|
|
26
33
|
Before verifying, discover project context:
|
|
27
34
|
|
|
@@ -53,6 +60,12 @@ Then verify each level against the actual codebase.
|
|
|
53
60
|
|
|
54
61
|
<verification_process>
|
|
55
62
|
|
|
63
|
+
At verification decision points, apply structured reasoning:
|
|
64
|
+
@references/docs/thinking-models-verification.md
|
|
65
|
+
|
|
66
|
+
At verification decision points, reference calibration examples:
|
|
67
|
+
@references/docs/few-shot-examples/verifier.md
|
|
68
|
+
|
|
56
69
|
## Step 0: Check for Previous Verification
|
|
57
70
|
|
|
58
71
|
```bash
|
|
@@ -154,7 +167,42 @@ For each truth:
|
|
|
154
167
|
1. Identify supporting artifacts
|
|
155
168
|
2. Check artifact status (Step 4)
|
|
156
169
|
3. Check wiring status (Step 5)
|
|
157
|
-
4.
|
|
170
|
+
4. **Before marking FAIL:** Check for override (Step 3b)
|
|
171
|
+
5. Determine truth status
|
|
172
|
+
|
|
173
|
+
## Step 3b: Check Verification Overrides
|
|
174
|
+
|
|
175
|
+
Before marking any must-have as FAILED, check the VERIFICATION.md frontmatter for an `overrides:` entry that matches this must-have.
|
|
176
|
+
|
|
177
|
+
**Override check procedure:**
|
|
178
|
+
|
|
179
|
+
1. Parse `overrides:` array from VERIFICATION.md frontmatter (if present)
|
|
180
|
+
2. For each override entry, normalize both the override `must_have` and the current truth to lowercase, strip punctuation, collapse whitespace
|
|
181
|
+
3. Split into tokens and compute intersection — match if 80% token overlap in either direction
|
|
182
|
+
4. Key technical terms (file paths, component names, API endpoints) have higher weight
|
|
183
|
+
|
|
184
|
+
**If override found:**
|
|
185
|
+
- Mark as `PASSED (override)` instead of FAIL
|
|
186
|
+
- Evidence: `Override: {reason} — accepted by {accepted_by} on {accepted_at}`
|
|
187
|
+
- Count toward passing score, not failing score
|
|
188
|
+
|
|
189
|
+
**If no override found:**
|
|
190
|
+
- Mark as FAILED as normal
|
|
191
|
+
- Consider suggesting an override if the failure looks intentional (alternative implementation exists)
|
|
192
|
+
|
|
193
|
+
**Suggesting overrides:** When a must-have FAILs but evidence shows an alternative implementation that achieves the same intent, include an override suggestion in the report:
|
|
194
|
+
|
|
195
|
+
```markdown
|
|
196
|
+
**This looks intentional.** To accept this deviation, add to VERIFICATION.md frontmatter:
|
|
197
|
+
|
|
198
|
+
```yaml
|
|
199
|
+
overrides:
|
|
200
|
+
- must_have: "{must-have text}"
|
|
201
|
+
reason: "{why this deviation is acceptable}"
|
|
202
|
+
accepted_by: "{name}"
|
|
203
|
+
accepted_at: "{ISO timestamp}"
|
|
204
|
+
```
|
|
205
|
+
```
|
|
158
206
|
|
|
159
207
|
## Step 4: Verify Artifacts (Three Levels)
|
|
160
208
|
|
|
@@ -541,6 +589,12 @@ phase: XX-name
|
|
|
541
589
|
verified: YYYY-MM-DDTHH:MM:SSZ
|
|
542
590
|
status: passed | gaps_found | human_needed
|
|
543
591
|
score: N/M must-haves verified
|
|
592
|
+
overrides_applied: 0 # Count of PASSED (override) items included in score
|
|
593
|
+
overrides: # Only if overrides exist — carried forward or newly added
|
|
594
|
+
- must_have: "Must-have text that was overridden"
|
|
595
|
+
reason: "Why deviation is acceptable"
|
|
596
|
+
accepted_by: "username"
|
|
597
|
+
accepted_at: "ISO timestamp"
|
|
544
598
|
re_verification: # Only if previous VERIFICATION.md existed
|
|
545
599
|
previous_status: gaps_found
|
|
546
600
|
previous_score: 2/5
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Dev Context Profile
|
|
2
|
+
|
|
3
|
+
Agent output guidance for dev mode. Loaded when `context: dev` is set in config.json.
|
|
4
|
+
|
|
5
|
+
## Output Style
|
|
6
|
+
|
|
7
|
+
- Concise, action-oriented responses
|
|
8
|
+
- Lead with the code change or command, follow with brief rationale
|
|
9
|
+
- Skip preamble — assume the developer has full context
|
|
10
|
+
- Use inline code references (`file:line`) over prose descriptions
|
|
11
|
+
|
|
12
|
+
## Focus Areas
|
|
13
|
+
|
|
14
|
+
- Working code that compiles and passes tests
|
|
15
|
+
- Minimal diff — change only what is necessary
|
|
16
|
+
- Flag side effects or breaking changes immediately
|
|
17
|
+
- Surface the next actionable step at the end of every response
|
|
18
|
+
|
|
19
|
+
## Verbosity
|
|
20
|
+
|
|
21
|
+
Low. One-liner explanations unless the change is non-obvious. Omit background theory, alternative approaches, and caveats that do not affect the current task.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Research Context Profile
|
|
2
|
+
|
|
3
|
+
Agent output guidance for research mode. Loaded when `context: research` is set in config.json.
|
|
4
|
+
|
|
5
|
+
## Output Style
|
|
6
|
+
|
|
7
|
+
- Verbose, exploratory responses that surface trade-offs and alternatives
|
|
8
|
+
- Present multiple approaches with pros and cons before recommending one
|
|
9
|
+
- Include links, references, and citations where available
|
|
10
|
+
- Use structured headings and bullet lists for scan-ability
|
|
11
|
+
|
|
12
|
+
## Focus Areas
|
|
13
|
+
|
|
14
|
+
- Breadth of options — enumerate before narrowing
|
|
15
|
+
- Prior art and ecosystem conventions
|
|
16
|
+
- Risks, edge cases, and failure modes
|
|
17
|
+
- Dependencies and compatibility implications
|
|
18
|
+
- Long-term maintainability of each approach
|
|
19
|
+
|
|
20
|
+
## Verbosity
|
|
21
|
+
|
|
22
|
+
High. Explain reasoning, show evidence, and document assumptions. Include background context even if the developer likely knows it — research artifacts are read by future contributors who may not.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Review Context Profile
|
|
2
|
+
|
|
3
|
+
Agent output guidance for review mode. Loaded when `context: review` is set in config.json.
|
|
4
|
+
|
|
5
|
+
## Output Style
|
|
6
|
+
|
|
7
|
+
- Critical, detail-focused responses that prioritize correctness
|
|
8
|
+
- Organize findings by severity: blocking, important, nit
|
|
9
|
+
- Reference specific lines and files for every finding
|
|
10
|
+
- State what is correct as well as what needs change — confirm the good parts
|
|
11
|
+
|
|
12
|
+
## Focus Areas
|
|
13
|
+
|
|
14
|
+
- Correctness — logic errors, off-by-ones, missing edge cases
|
|
15
|
+
- Security — input validation, injection vectors, secret exposure
|
|
16
|
+
- Performance — unnecessary allocations, O(n^2) patterns, missing caching
|
|
17
|
+
- Style and consistency — naming, formatting, import order
|
|
18
|
+
- Test coverage — untested branches, missing assertions, flaky patterns
|
|
19
|
+
|
|
20
|
+
## Verbosity
|
|
21
|
+
|
|
22
|
+
Medium. Be thorough on findings but terse in explanation. Each issue should be one to three sentences: what is wrong, why it matters, and how to fix it.
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
4
|
-
argument-hint:
|
|
2
|
+
name: gsd:add-todo
|
|
3
|
+
description: Capture idea or task as todo from current conversation context
|
|
4
|
+
argument-hint: [optional description]
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Write
|
|
8
8
|
- Bash
|
|
9
9
|
- AskUserQuestion
|
|
10
|
+
gsd-source-version: 1.34.2
|
|
11
|
+
migration-date: 2026-04-08
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
|
|
13
14
|
<objective>
|
|
14
15
|
Capture an idea, task, or issue that surfaces during a GSD session as a structured todo for later work.
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
4
|
-
argument-hint:
|
|
2
|
+
name: gsd:check-todos
|
|
3
|
+
description: List pending todos and select one to work on
|
|
4
|
+
argument-hint: [area filter]
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Write
|
|
8
8
|
- Bash
|
|
9
9
|
- AskUserQuestion
|
|
10
|
+
gsd-source-version: 1.34.2
|
|
11
|
+
migration-date: 2026-04-08
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
|
|
13
14
|
<objective>
|
|
14
15
|
List all pending todos, allow selection, load full context for the selected todo, and route to appropriate action.
|
|
15
16
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:cleanup
|
|
3
|
+
description: Archive accumulated phase directories from completed milestones
|
|
4
4
|
allowed-tools:
|
|
5
5
|
- Read
|
|
6
6
|
- Write
|
|
7
7
|
- Bash
|
|
8
8
|
- AskUserQuestion
|
|
9
|
+
gsd-source-version: 1.34.2
|
|
10
|
+
migration-date: 2026-04-08
|
|
9
11
|
---
|
|
10
|
-
|
|
11
12
|
<objective>
|
|
12
13
|
Archive phase directories from completed milestones into `.planning/milestones/v{X.Y}-phases/`.
|
|
13
14
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:do
|
|
3
|
+
description: Route freeform text to the right GSD command automatically
|
|
4
4
|
argument-hint: "<description of what you want to do>"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Bash
|
|
8
8
|
- AskUserQuestion
|
|
9
|
+
gsd-source-version: 1.34.2
|
|
10
|
+
migration-date: 2026-04-08
|
|
9
11
|
---
|
|
10
|
-
|
|
11
12
|
<objective>
|
|
12
13
|
Analyze freeform natural language input and dispatch to the most appropriate GSD command.
|
|
13
14
|
|