@tekyzinc/gsd-t 3.26.10 → 3.26.11

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,23 @@
2
2
 
3
3
  All notable changes to GSD-T are documented here. Updated with each release.
4
4
 
5
+ ## [3.26.11] - 2026-05-11
6
+
7
+ ### Changed — Effort estimates in GSD-T-native units
8
+
9
+ Promoted `feedback_no_human_hour_estimates.md` from per-user memory to canonical global rule. Replaced all 7 `Estimated effort: {assessment}` placeholders that were silently producing developer-hour / dev-day / sprint output with explicit GSD-T-unit prompts.
10
+
11
+ - `~/.claude/CLAUDE.md` + `templates/CLAUDE-global.md`: new MANDATORY section "Effort Estimates — GSD-T-Native Units" with the unit table (domain count, wave count, parallel-domain count, spawn count, token-spend range, rate-limit-window count) + acceptable-machine-time-references carve-out (5 min cache TTL, 14 day staleness, etc.) so the rule doesn't break legitimate system-timeout language.
12
+ - `commands/gsd-t-milestone.md` Step 4: Pre-Partition Assessment now requires GSD-T units, presents the unit table inline.
13
+ - `commands/gsd-t-scan.md`: 5 `Estimated effort: {assessment}` placeholders replaced with `Estimated scope: {N domains}/{N waves}/$X-Y token-spend` + memory reference.
14
+ - `commands/gsd-t-promote-debt.md`: same swap.
15
+ - `commands/gsd-t-scan.md`: "Dependency Update Sprint" → "Dependency Update".
16
+ - `templates/stacks/design-to-code.md`: "estimate effort" → "scope in GSD-T units".
17
+
18
+ Rationale: human-hour estimates ("30-min task", "2-3 day window") create false mental models for GSD-T workflows where the worker is Claude, not a human team. Token-spend, parallel-domain count, and rate-limit-window count are the actually-predictive units.
19
+
20
+ Tests: 2547/2547 (unchanged — doc-only change).
21
+
5
22
  ## [3.26.10] - 2026-05-09
6
23
 
7
24
  ### Added — M56: Verify-Gate CLI Fan-Out + Upper-Stage Briefs
@@ -68,13 +68,29 @@ Ask user: "Milestone {N-1} is still {status}. Archive it and start new? Or compl
68
68
  node scripts/gsd-t-watch-state.js advance --agent-id "$GSD_T_AGENT_ID" --parent-id "${GSD_T_PARENT_AGENT_ID:-null}" --command gsd-t-milestone --step 4 --step-label "Pre-Partition Assessment" 2>/dev/null || true
69
69
  ```
70
70
 
71
- Before formal partitioning, do a quick assessment:
71
+ Before formal partitioning, do a quick assessment.
72
72
 
73
- - **Complexity estimate**: Simple (1-2 domains), Medium (3-4), Complex (5+)
73
+ **Express scope in GSD-T-native units only.** Per `feedback_no_human_hour_estimates.md` (memory): never use developer-hours, dev-days, sprints, story points, or person-weeks. Use these instead:
74
+
75
+ | Unit | Use for |
76
+ |------|---------|
77
+ | **Domain count** | Partition coarseness (1-2 / 3-4 / 5+) |
78
+ | **Wave count** | How many serial gates the milestone needs |
79
+ | **Spawn count** | Estimated `claude -p` / Task subagent invocations |
80
+ | **Token-spend range** | `$X-Y` based on prior comparable milestones |
81
+ | **Rate-limit-window count** | If the milestone might span > 1 5h Claude Max window |
82
+ | **Parallel-domain count** | How many domains can run concurrently (file-disjoint) |
83
+
84
+ Assessment template:
85
+
86
+ - **Domain count**: Simple (1-2 domains), Medium (3-4), Complex (5+)
87
+ - **Wave count**: estimated based on cross-domain dependencies
88
+ - **Parallel-domain count**: how many can run in the same wave
89
+ - **Token-spend range**: $X-Y based on prior comparable milestones (read `.gsd-t/token-log.md` for trailing-3 comparison)
74
90
  - **Recommended approach**:
75
- - Simple: Consider using /gsd-t-quick for each piece
76
- - Medium: Standard partition → plan → execute flow
77
- - Complex: Partition → discuss → plan → execute → integrate → verify
91
+ - 1-2 domains: Consider using /gsd-t-quick for each piece
92
+ - 3-4 domains: Standard partition → plan → execute flow
93
+ - 5+ domains: Partition → discuss → plan → execute → integrate → verify
78
94
 
79
95
  Present the assessment and ask: "Ready to partition into domains now, or want to discuss first?"
80
96
 
@@ -67,7 +67,7 @@ Append to `.gsd-t/roadmap.md`:
67
67
  - [ ] {each debt item resolved and verified}
68
68
  - [ ] No regression in existing functionality
69
69
  - [ ] {item-specific criteria from techdebt.md}
70
- **Estimated effort**: {combined effort assessment}
70
+ **Estimated scope**: {N domains} / {N waves} / $X-Y token-spend (express in GSD-T units only — never developer-hours/days/sprints per `feedback_no_human_hour_estimates.md`)
71
71
  **Priority**: {CRITICAL — before next feature | HIGH — soon | MEDIUM — planned}
72
72
  ```
73
73
 
@@ -351,7 +351,7 @@ Synthesize ALL findings into a **fresh** `.gsd-t/techdebt.md` (the previous vers
351
351
  - High priority: {N}
352
352
  - Medium priority: {N}
353
353
  - Low priority: {N}
354
- - Total estimated effort: {rough assessment}
354
+ - Total estimated scope: {N domains} / {N waves} / $X-Y token-spend (GSD-T units only — see `feedback_no_human_hour_estimates.md`)
355
355
  - Previous scan archive: techdebt_{previous-date}.md
356
356
 
357
357
  ---
@@ -461,22 +461,22 @@ Review all items marked `Milestone candidate: YES` and group them into logical m
461
461
 
462
462
  ### Suggested: Security Hardening (Critical)
463
463
  Combines: TD-001, TD-003, TD-005
464
- Estimated effort: {assessment}
464
+ Estimated scope: {domain-count} domains, {wave-count} waves, $X-Y token-spend (express in GSD-T units — domain/wave/spawn/token — never human-hours/days/sprints per `feedback_no_human_hour_estimates.md`)
465
465
  Should be prioritized: BEFORE next feature milestone
466
466
 
467
467
  ### Suggested: Performance Optimization (High)
468
468
  Combines: TD-010, TD-012, TD-015
469
- Estimated effort: {assessment}
469
+ Estimated scope: {domain-count} domains, {wave-count} waves, $X-Y token-spend (express in GSD-T units — domain/wave/spawn/token — never human-hours/days/sprints per `feedback_no_human_hour_estimates.md`)
470
470
  Can be scheduled: AFTER current feature work
471
471
 
472
- ### Suggested: Dependency Update Sprint (Medium)
472
+ ### Suggested: Dependency Update (Medium)
473
473
  Combines: TD-020, dependency table items with breaking=yes
474
- Estimated effort: {assessment}
474
+ Estimated scope: {domain-count} domains, {wave-count} waves, $X-Y token-spend (express in GSD-T units — domain/wave/spawn/token — never human-hours/days/sprints per `feedback_no_human_hour_estimates.md`)
475
475
  Can be scheduled: During next maintenance window
476
476
 
477
477
  ### Suggested: Shared Service Extraction (if candidates found)
478
478
  Combines: all "Shared Service Candidates" from quality.md Reusability Analysis
479
- Estimated effort: {assessment}
479
+ Estimated scope: {domain-count} domains, {wave-count} waves, $X-Y token-spend (express in GSD-T units — domain/wave/spawn/token — never human-hours/days/sprints per `feedback_no_human_hour_estimates.md`)
480
480
  Should be prioritized: BEFORE adding new consumer surfaces to the system
481
481
  Note: Use `/gsd-t-partition` Step 1.6 to design the SharedCore domain
482
482
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekyzinc/gsd-t",
3
- "version": "3.26.10",
3
+ "version": "3.26.11",
4
4
  "description": "GSD-T: Contract-Driven Development for Claude Code — 54 slash commands with headless-by-default workflow spawning, unattended supervisor relay with event stream, graph-powered code analysis, real-time agent dashboard, task telemetry, doc-ripple enforcement, backlog management, impact analysis, test sync, milestone archival, and PRD generation",
5
5
  "author": "Tekyz, Inc.",
6
6
  "license": "MIT",
@@ -572,6 +572,30 @@ BEFORE reporting "done" or presenting a summary:
572
572
 
573
573
  **The test for this gate**: If the user asks "did you update all the documents?" and the answer would be "no, I missed some" — you failed this gate. The user should never need to ask.
574
574
 
575
+ ## Effort Estimates — GSD-T-Native Units (MANDATORY)
576
+
577
+ **NEVER express effort or scope in developer-hours, dev-days, sprints, story points, or person-weeks.** GSD-T operates on a different cost model — the worker is Claude, not a human team — and human-time estimates have no predictive value for GSD-T workflows. They actively mislead by suggesting a calendar shape that doesn't match how the system runs.
578
+
579
+ Use GSD-T-native units instead:
580
+
581
+ | Unit | When to use |
582
+ |------|-------------|
583
+ | **Domain count** | Milestone scope (1-2 simple, 3-4 medium, 5+ complex) |
584
+ | **Wave count** | Cross-domain dependency depth — how many serial gates exist |
585
+ | **Parallel-domain count** | How many domains can run concurrently (file-disjoint) |
586
+ | **Spawn count** | Estimated `claude -p` / Task subagent invocations |
587
+ | **Token-spend range** | `$X-Y` dollars based on trailing-3 comparable milestones in `.gsd-t/token-log.md` |
588
+ | **Rate-limit-window count** | If the work might span > 1 5h Claude Max window |
589
+
590
+ Where this applies:
591
+ - `/gsd-t-milestone` Step 4 — Pre-Partition Assessment
592
+ - `/gsd-t-scan` techdebt milestone suggestions
593
+ - `/gsd-t-promote-debt` effort fields
594
+ - `docs/requirements.md`, `progress.md` Decision Log entries
595
+ - Any internal estimate the user might read
596
+
597
+ Acceptable: machine-time references (e.g. "5 min cache TTL", "5h rate-limit window", "14 day staleness threshold") — these are concrete system properties, not effort estimates. The rule applies to **effort/scope**, not to **system timeouts**.
598
+
575
599
  ## Execution Behavior
576
600
  - ALWAYS check docs/architecture.md before adding or modifying components.
577
601
  - ALWAYS check docs/workflows.md before changing any multi-step process.
@@ -176,7 +176,7 @@ MANDATORY:
176
176
 
177
177
  ├── For each design requirement, assess:
178
178
  │ Supported → stack handles this natively, proceed
179
- │ Partial → needs an addon/library — name it, estimate effort
179
+ │ Partial → needs an addon/library — name it, scope in GSD-T units (domain/wave/spawn/token, NOT dev-hours)
180
180
  │ Unsupported → stack CANNOT achieve this — flag as a blocker
181
181
 
182
182
  ├── If ANY requirement is Unsupported: