@tekyzinc/gsd-t 2.15.3 → 2.16.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/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  All notable changes to GSD-T are documented here. Updated with each release.
4
4
 
5
+ ## [2.16.0] - 2026-02-13
6
+
7
+ ### Changed
8
+ - Smart router (`/gsd-t`) replaced signal-word lookup table with **semantic evaluation** — evaluates user intent against each command's purpose and "Use when" criteria from help summaries
9
+ - Router shows runner-up command when confidence is close: `(also considered: gsd-t-{x} — Esc to switch)`
10
+ - New commands automatically participate in routing without updating a routing table
11
+
12
+ ### Added
13
+ - Backlog item B1: Agentic Workflow Architecture (future exploration when Claude Code agents mature)
14
+
15
+ ## [2.15.4] - 2026-02-13
16
+
17
+ ### Changed
18
+ - `gsd-t-gap-analysis` team scaling: one teammate per requirement (3–10), cap at 10 with even batching for 11+, solo for 1–2
19
+
5
20
  ## [2.15.3] - 2026-02-13
6
21
 
7
22
  ### Fixed
@@ -54,11 +54,11 @@ Automatically use agent teams to scan and classify requirements in parallel.
54
54
 
55
55
  ### Team Distribution Strategy
56
56
 
57
- **Hard cap: maximum 4 teammates.** Distribute requirements evenly across them:
57
+ **One teammate per requirement, cap at 10.** Maximize parallelism:
58
58
 
59
- - **Spec has sections**: Group adjacent sections so each teammate gets roughly equal work. (e.g., 12 sections 4 teammates with 3 sections each)
60
- - **Flat list (no sections)**: Divide requirements into 4 equal batches (e.g., 30 requirements → R1–R8, R9–R15, R16–R23, R24–R30)
61
- - **Small spec (< 5 requirements)**: Skip teams, use solo mode
59
+ - **1–2 requirements**: Solo mode (team overhead not worth it)
60
+ - **3–10 requirements**: One teammate per requirement (e.g., 4 requirements → 4 teammates)
61
+ - **11+ requirements**: Cap at 10 teammates, divide requirements evenly (e.g., 30 requirements 10 teammates with 3 each)
62
62
 
63
63
  ### Classification Reference
64
64
 
@@ -97,12 +97,17 @@ Classification rules:
97
97
  Output format per requirement:
98
98
  | ID | Requirement | Status | Severity | Evidence |
99
99
 
100
- Teammate assignments (max 4 divide requirements evenly):
101
- - Teammate "analyst-1": Scan and classify R1–R{N}
102
- - Teammate "analyst-2": Scan and classify R{N+1}–R{M}
103
- - Teammate "analyst-3": Scan and classify R{M+1}–R{P}
104
- - Teammate "analyst-4": Scan and classify R{P+1}–R{end}
105
- (use fewer if < 16 requirements — 2 teammates for 5–10, 3 for 11–15, 4 for 16+)
100
+ Teammate assignments (one per requirement, cap at 10):
101
+ For 3–10 requirements one teammate each:
102
+ - Teammate "analyst-1": Scan and classify R1
103
+ - Teammate "analyst-2": Scan and classify R2
104
+ - ...
105
+ - Teammate "analyst-{N}": Scan and classify R{N}
106
+ For 11+ requirements — divide evenly across 10 teammates:
107
+ - Teammate "analyst-1": Scan and classify R1–R{batch}
108
+ - Teammate "analyst-2": Scan and classify R{batch+1}–R{2*batch}
109
+ - ...
110
+ - Teammate "analyst-10": Scan and classify R{...}–R{end}
106
111
 
107
112
  Lead responsibilities:
108
113
  - Distribute requirement sections to teammates
@@ -114,7 +119,7 @@ Lead responsibilities:
114
119
 
115
120
  ### Fallback: Solo Mode
116
121
 
117
- If agent teams are not available or there are fewer than 5 requirements, run sequentially:
122
+ If agent teams are not available or there are fewer than 3 requirements, run sequentially:
118
123
  - Scan the codebase for each requirement
119
124
  - Read source files, test files, config, schema, contracts, and docs
120
125
  - Classify each requirement with evidence
@@ -128,9 +128,10 @@ RELATED COMMANDS
128
128
  Use these when user asks for help on a specific command:
129
129
 
130
130
  ### gsd-t (smart router)
131
- - **Summary**: Describe what you need in plain language — auto-routes to the right GSD-T command
131
+ - **Summary**: Describe what you need in plain language — auto-routes to the right GSD-T command using semantic evaluation
132
132
  - **Auto-invoked**: No
133
- - **Files**: Reads `CLAUDE.md`, `.gsd-t/progress.md`
133
+ - **Files**: Reads `CLAUDE.md`, `.gsd-t/progress.md`, command summaries from `gsd-t-help`
134
+ - **How it works**: Evaluates your request against every command's purpose and "Use when" criteria. Commands that match get shortlisted, best fit is selected. Shows runner-up when close.
134
135
  - **Use when**: You don't want to remember which command to use — just describe what you want
135
136
  - **Examples**: `/user:gsd-t Fix the login bug`, `/user:gsd-t Add dark mode`, `/user:gsd-t Scan for tech debt`
136
137
 
package/commands/gsd-t.md CHANGED
@@ -4,38 +4,42 @@ You are the GSD-T smart router. The user describes what they want in plain langu
4
4
 
5
5
  ## Step 1: Load Context
6
6
 
7
- Read (if they exist):
7
+ Read:
8
8
  1. `CLAUDE.md` — project context
9
9
  2. `.gsd-t/progress.md` — current state, active milestone/phase
10
10
 
11
- ## Step 2: Analyze Intent
12
-
13
- From `$ARGUMENTS`, classify the request into one of these categories:
14
-
15
- | Intent | Route To | Signal Words |
16
- |--------|----------|--------------|
17
- | Small fix, tweak, config change, minor addition | `gsd-t-quick` | "fix", "change", "update", "tweak", "add {small thing}", "rename", "move" |
18
- | Major new feature or capability | `gsd-t-feature` | "add {large feature}", "implement", "build {system}", "create {module}" |
19
- | Full new project from scratch | `gsd-t-project` | "new project", "start building", "create {app/product}" |
20
- | Full project onboarding | `gsd-t-init-scan-setup` | "onboard", "set up GSD-T", "initialize" |
21
- | Define a deliverable chunk | `gsd-t-milestone` | "milestone", "next deliverable", "define {goal}" |
22
- | Run full cycle on current milestone | `gsd-t-wave` | "run it", "execute", "let it rip", "full cycle", "wave" |
23
- | Debug or investigate a problem | `gsd-t-debug` | "bug", "broken", "not working", "error", "investigate", "why does" |
24
- | Understand or audit codebase | `gsd-t-scan` | "audit", "analyze", "scan", "tech debt", "what's wrong with" |
25
- | Compare spec to existing code | `gsd-t-gap-analysis` | "compare", "gap analysis", "spec", "requirements check", "what's implemented", "what's missing" |
26
- | Explore ideas or rethink approach | `gsd-t-brainstorm` | "brainstorm", "what if", "explore", "rethink", "ideas for" |
27
- | Help articulate a vague idea | `gsd-t-prompt` | "I want to", "how should I", "help me think about" |
28
- | Generate or fix project CLAUDE.md | `gsd-t-setup` | "setup CLAUDE.md", "restructure CLAUDE.md" |
29
- | Check current progress | `gsd-t-status` | "status", "where are we", "progress", "what's done" |
30
- | Resume interrupted work | `gsd-t-resume` | "resume", "continue", "pick up where" |
31
- | Capture something for later | `gsd-t-backlog-add` | "add to backlog", "save for later", "remember to", "todo" |
32
- | Promote tech debt to milestone | `gsd-t-promote-debt` | "promote debt", "fix tech debt" |
33
- | Auto-populate docs | `gsd-t-populate` | "populate docs", "fill in docs", "document the codebase" |
34
-
35
- ### Ambiguous cases:
36
- - If the request could be `quick` or `feature`, check scope: does it touch 1-2 files (quick) or require multiple domains/files (feature)?
37
- - If a milestone is active mid-phase, consider whether the request fits within the current work or is a new task
38
- - If truly ambiguous, ask one clarifying question — don't guess
11
+ ## Step 2: Semantic Evaluation
12
+
13
+ Read the **Command Summaries** section of `commands/gsd-t-help.md` (or the in-memory skill list). For each command, evaluate whether the user's request matches that command's **Summary** and **Use when** criteria.
14
+
15
+ ### Evaluation process:
16
+
17
+ 1. **Read the request**: Understand what the user is actually asking for not just keywords, but intent, scope, and context
18
+ 2. **Evaluate each command**: For every GSD-T command, ask: "Would this command raise its hand for this request?" Consider:
19
+ - Does the request match the command's stated purpose?
20
+ - Does the scope align? (small task vs. large feature vs. full project)
21
+ - Does the current project state matter? (e.g., if mid-milestone, does this fit the active phase?)
22
+ 3. **Collect candidates**: Commands that match get shortlisted
23
+ 4. **Select the best fit**: From the candidates, pick the one whose purpose most closely matches the request
24
+
25
+ ### Resolution rules:
26
+
27
+ - **0 matches** Ask one clarifying question to narrow down
28
+ - **1 match** Route immediately
29
+ - **2+ matches** Pick the best fit based on scope and context. Show the runner-up:
30
+ ```
31
+ Routing to /user:gsd-t-{command}: {reason}
32
+ (also considered: gsd-t-{runner-up} Esc to switch)
33
+ ```
34
+
35
+ ### Scope disambiguation:
36
+
37
+ When the same request could fit multiple commands at different scales:
38
+ - **Touches 1-3 files, straightforward** `quick`
39
+ - **New capability spanning multiple files/components** → `feature`
40
+ - **Requires its own milestone with domains** → `milestone` or `project`
41
+ - **Needs investigation before fixing** → `debug` (not `quick`)
42
+ - **Spec/requirements to verify against code** → `gap-analysis` (not `scan`)
39
43
 
40
44
  ## Step 3: Confirm and Execute
41
45
 
@@ -61,6 +65,7 @@ Examples:
61
65
  /user:gsd-t Add dark mode support
62
66
  /user:gsd-t Scan the codebase for tech debt
63
67
  /user:gsd-t What's the current progress?
68
+ /user:gsd-t Compare this spec against our code
64
69
 
65
70
  I'll route to the right GSD-T command automatically.
66
71
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekyzinc/gsd-t",
3
- "version": "2.15.3",
3
+ "version": "2.16.0",
4
4
  "description": "GSD-T: Contract-Driven Development for Claude Code — 40 slash commands with backlog management, impact analysis, test sync, and milestone archival",
5
5
  "author": "Tekyz, Inc.",
6
6
  "license": "MIT",