@tekyzinc/gsd-t 2.31.14 → 2.31.16
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/commands/gsd-t-init.md +15 -1
- package/package.json +1 -1
- package/templates/CLAUDE-global.md +30 -1
package/commands/gsd-t-init.md
CHANGED
|
@@ -90,13 +90,27 @@ Read the project's `CLAUDE.md` (if it exists) to auto-populate backlog settings:
|
|
|
90
90
|
|
|
91
91
|
## Step 5: Initialize Progress File
|
|
92
92
|
|
|
93
|
+
### Version Detection
|
|
94
|
+
|
|
95
|
+
Before creating the progress file, determine the starting version:
|
|
96
|
+
|
|
97
|
+
1. **Check for an existing version** in the project's manifest file (in this priority order):
|
|
98
|
+
- `package.json` → `version` field
|
|
99
|
+
- `pyproject.toml` → `[project] version` or `[tool.poetry] version`
|
|
100
|
+
- `Cargo.toml` → `[package] version`
|
|
101
|
+
- `setup.py` → `version=` argument
|
|
102
|
+
- `build.gradle` / `build.gradle.kts` → `version = `
|
|
103
|
+
- `.version` file → contents as-is
|
|
104
|
+
2. **If a version is found**: Use it as the starting GSD-T version (the project already has its own versioning history).
|
|
105
|
+
3. **If no version is found**: Use `0.1.00` — the standard GSD-T starting point for a brand-new project with no prior releases. The first `gsd-t-complete-milestone` will reset the patch to `0.1.10` (or bump minor/major per milestone scope).
|
|
106
|
+
|
|
93
107
|
Create `.gsd-t/progress.md`:
|
|
94
108
|
|
|
95
109
|
```markdown
|
|
96
110
|
# GSD-T Progress
|
|
97
111
|
|
|
98
112
|
## Project: {name from CLAUDE.md or $ARGUMENTS}
|
|
99
|
-
## Version: 0.1.
|
|
113
|
+
## Version: {detected version, or 0.1.00}
|
|
100
114
|
## Status: INITIALIZED
|
|
101
115
|
## Date: {today}
|
|
102
116
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekyzinc/gsd-t",
|
|
3
|
-
"version": "2.31.
|
|
3
|
+
"version": "2.31.16",
|
|
4
4
|
"description": "GSD-T: Contract-Driven Development for Claude Code — 46 slash commands with backlog management, impact analysis, test sync, milestone archival, and PRD generation",
|
|
5
5
|
"author": "Tekyz, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -118,7 +118,9 @@ GSD-T tracks project version in `.gsd-t/progress.md` using semantic versioning:
|
|
|
118
118
|
|
|
119
119
|
**Patch convention**: Patch numbers are always 2 digits (≥10). When resetting after a minor or major bump, start at **10** (not 0). This keeps patches always 2 characters without leading zeros, so semver stays valid.
|
|
120
120
|
|
|
121
|
-
- Version is set during `gsd-t-init
|
|
121
|
+
- Version is set during `gsd-t-init`:
|
|
122
|
+
- **New project** (no existing manifest version): starts at `0.1.00` — first `complete-milestone` resets patch to `0.1.10`
|
|
123
|
+
- **Existing repo** (has `package.json`, `pyproject.toml`, `Cargo.toml`, etc. with a version): use that version as the starting point
|
|
122
124
|
- Version is bumped during `gsd-t-complete-milestone` based on milestone scope
|
|
123
125
|
- Version is reflected in: `progress.md`, `README.md`, package manifest (if any), and git tags (`v{version}`)
|
|
124
126
|
|
|
@@ -456,6 +458,33 @@ constants: UPPER_SNAKE_CASE (MAX_RETRIES)
|
|
|
456
458
|
private: _underscore (_internal_method)
|
|
457
459
|
```
|
|
458
460
|
|
|
461
|
+
## Markdown Tables
|
|
462
|
+
|
|
463
|
+
Emoji display as 2 characters wide in terminal/monospace but count as 1 in string length. This causes misaligned columns. **Always add one extra space after emoji in table cells** to compensate:
|
|
464
|
+
|
|
465
|
+
```
|
|
466
|
+
WRONG — misaligned in terminal:
|
|
467
|
+
| Channel | Support |
|
|
468
|
+
|----------|---------|
|
|
469
|
+
| Discord | ✅ |
|
|
470
|
+
| LINE | ❌ |
|
|
471
|
+
|
|
472
|
+
RIGHT — one extra space after emoji:
|
|
473
|
+
| Channel | Support |
|
|
474
|
+
|----------|---------|
|
|
475
|
+
| Discord | ✅ |
|
|
476
|
+
| LINE | ❌ |
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
This extra space is invisible in rendered HTML (GitHub, VS Code preview) but restores alignment in terminal views. Apply to all GSD-T-generated docs that use emoji in tables.
|
|
480
|
+
|
|
481
|
+
Also pad all cell values in a column to the width of the widest value:
|
|
482
|
+
```
|
|
483
|
+
| iMessage (BlueBubbles) | ✅ |
|
|
484
|
+
| Discord | ✅ |
|
|
485
|
+
| QQ | ❌ |
|
|
486
|
+
```
|
|
487
|
+
|
|
459
488
|
|
|
460
489
|
# Recovery After Interruption
|
|
461
490
|
|