@tekyzinc/gsd-t 2.50.12 → 2.53.10

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.
Files changed (99) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +379 -372
  3. package/bin/component-registry.js +250 -0
  4. package/bin/graph-cgc.js +510 -510
  5. package/bin/graph-indexer.js +147 -147
  6. package/bin/graph-overlay.js +195 -195
  7. package/bin/graph-parsers.js +327 -327
  8. package/bin/graph-query.js +453 -452
  9. package/bin/graph-store.js +154 -154
  10. package/bin/qa-calibrator.js +194 -0
  11. package/bin/scan-data-collector.js +153 -153
  12. package/bin/scan-diagrams-generators.js +187 -187
  13. package/bin/scan-diagrams.js +79 -79
  14. package/bin/scan-renderer.js +92 -92
  15. package/bin/scan-report-sections.js +121 -121
  16. package/bin/scan-report.js +184 -184
  17. package/bin/scan-schema-parsers.js +199 -199
  18. package/bin/scan-schema.js +103 -103
  19. package/bin/token-budget.js +246 -0
  20. package/commands/Claude-md.md +10 -10
  21. package/commands/branch.md +15 -15
  22. package/commands/checkin.md +45 -45
  23. package/commands/global-change.md +209 -209
  24. package/commands/gsd-t-audit.md +199 -0
  25. package/commands/gsd-t-backlog-add.md +94 -94
  26. package/commands/gsd-t-backlog-edit.md +111 -111
  27. package/commands/gsd-t-backlog-list.md +63 -63
  28. package/commands/gsd-t-backlog-move.md +94 -94
  29. package/commands/gsd-t-backlog-promote.md +123 -123
  30. package/commands/gsd-t-backlog-remove.md +86 -86
  31. package/commands/gsd-t-backlog-settings.md +158 -158
  32. package/commands/gsd-t-complete-milestone.md +528 -515
  33. package/commands/gsd-t-debug.md +506 -399
  34. package/commands/gsd-t-discuss.md +174 -174
  35. package/commands/gsd-t-execute.md +758 -634
  36. package/commands/gsd-t-feature.md +276 -276
  37. package/commands/gsd-t-health.md +142 -142
  38. package/commands/gsd-t-help.md +465 -457
  39. package/commands/gsd-t-impact.md +302 -302
  40. package/commands/gsd-t-init.md +320 -280
  41. package/commands/gsd-t-integrate.md +365 -249
  42. package/commands/gsd-t-milestone.md +87 -87
  43. package/commands/gsd-t-partition.md +442 -361
  44. package/commands/gsd-t-pause.md +82 -82
  45. package/commands/gsd-t-plan.md +345 -344
  46. package/commands/gsd-t-populate.md +111 -111
  47. package/commands/gsd-t-prd.md +326 -326
  48. package/commands/gsd-t-project.md +211 -211
  49. package/commands/gsd-t-promote-debt.md +123 -123
  50. package/commands/gsd-t-prompt.md +137 -137
  51. package/commands/gsd-t-qa.md +266 -266
  52. package/commands/gsd-t-quick.md +357 -234
  53. package/commands/gsd-t-reflect.md +134 -134
  54. package/commands/gsd-t-resume.md +72 -72
  55. package/commands/gsd-t-scan.md +615 -615
  56. package/commands/gsd-t-setup.md +76 -0
  57. package/commands/gsd-t-status.md +192 -166
  58. package/commands/gsd-t-test-sync.md +381 -381
  59. package/commands/gsd-t-triage-and-merge.md +171 -171
  60. package/commands/gsd-t-verify.md +382 -382
  61. package/commands/gsd-t-visualize.md +118 -118
  62. package/commands/gsd-t-wave.md +401 -378
  63. package/docs/GSD-T-README.md +425 -422
  64. package/docs/architecture.md +385 -369
  65. package/docs/harness-design-analysis.md +371 -0
  66. package/docs/infrastructure.md +205 -205
  67. package/docs/prd-graph-engine.md +398 -398
  68. package/docs/prd-gsd2-hybrid.md +559 -559
  69. package/docs/prd-harness-evolution.md +583 -0
  70. package/docs/requirements.md +14 -0
  71. package/docs/workflows.md +226 -226
  72. package/examples/.gsd-t/domains/example-domain/scope.md +13 -13
  73. package/package.json +40 -40
  74. package/scripts/gsd-t-auto-route.js +39 -39
  75. package/scripts/gsd-t-dashboard-mockup.html +1143 -1143
  76. package/scripts/gsd-t-dashboard-server.js +171 -171
  77. package/scripts/gsd-t-dashboard.html +262 -262
  78. package/scripts/gsd-t-event-writer.js +128 -128
  79. package/scripts/gsd-t-statusline.js +94 -94
  80. package/scripts/gsd-t-tools.js +175 -175
  81. package/templates/CLAUDE-global.md +639 -614
  82. package/templates/CLAUDE-project.md +24 -0
  83. package/templates/backlog-settings.md +18 -18
  84. package/templates/backlog.md +1 -1
  85. package/templates/progress.md +40 -40
  86. package/templates/shared-services-contract.md +60 -60
  87. package/templates/stacks/desktop.ini +2 -2
  88. package/bin/desktop.ini +0 -2
  89. package/commands/desktop.ini +0 -2
  90. package/docs/ci-examples/desktop.ini +0 -2
  91. package/docs/desktop.ini +0 -2
  92. package/examples/.gsd-t/contracts/desktop.ini +0 -2
  93. package/examples/.gsd-t/desktop.ini +0 -2
  94. package/examples/.gsd-t/domains/desktop.ini +0 -2
  95. package/examples/.gsd-t/domains/example-domain/desktop.ini +0 -2
  96. package/examples/desktop.ini +0 -2
  97. package/examples/rules/desktop.ini +0 -2
  98. package/scripts/desktop.ini +0 -2
  99. package/templates/desktop.ini +0 -2
@@ -1,158 +1,158 @@
1
- # GSD-T: Backlog Settings — Manage Types, Apps, Categories, and Defaults
2
-
3
- You are managing the backlog settings file. This controls the allowed values for types, apps, and categories used by backlog entries, and the default app assignment.
4
-
5
- ## Step 1: Read Settings
6
-
7
- Read `.gsd-t/backlog-settings.md` and parse current settings:
8
- - **Types** section — list of allowed type values
9
- - **Apps** section — list of allowed app values
10
- - **Categories** section — list of allowed category values
11
- - **Defaults** section — Default App and Auto-categorize values
12
-
13
- If the file doesn't exist:
14
- - "No backlog settings found. Run `/gsd-t-init` with backlog support to create settings."
15
- - Stop.
16
-
17
- ## Step 2: Parse Subcommand
18
-
19
- Parse $ARGUMENTS to identify the subcommand and its arguments.
20
-
21
- Valid subcommands:
22
- - `list` — no additional args
23
- - `add-type <name>` — requires a name
24
- - `remove-type <name>` — requires a name
25
- - `add-app <name>` — requires a name
26
- - `remove-app <name>` — requires a name
27
- - `add-category <name>` — requires a name
28
- - `remove-category <name>` — requires a name
29
- - `default-app <name>` — requires a name
30
-
31
- If no subcommand or an invalid subcommand is provided:
32
- - Show usage: "Usage: `/gsd-t-backlog-settings <subcommand> [args]`"
33
- - List available subcommands with brief descriptions
34
- - Stop.
35
-
36
- If a subcommand requires a name argument and none is provided:
37
- - "Missing argument. Usage: `/gsd-t-backlog-settings {subcommand} <name>`"
38
- - Stop.
39
-
40
- ## Step 3: Validate
41
-
42
- Perform validation based on the subcommand:
43
-
44
- - **add-type/add-app/add-category**: Convert name to lowercase. Check the appropriate section for duplicates. If the value already exists: "'{name}' already exists in {section}." — Stop.
45
- - **remove-type/remove-app/remove-category**: Check the appropriate section for existence. If the value doesn't exist: "'{name}' not found in {section}." — Stop.
46
- - **default-app**: Convert name to lowercase. Check that the name exists in the Apps section. If not: "'{name}' is not in the Apps list. Add it first with `add-app {name}`." — Stop.
47
-
48
- ## Step 4: Execute Subcommand
49
-
50
- ### `list`
51
-
52
- Display all current settings in a formatted view:
53
-
54
- ```
55
- Backlog Settings:
56
-
57
- Types: bug, feature, improvement, ux, architecture
58
- Apps: {app1}, {app2}
59
- Categories: {cat1}, {cat2}
60
-
61
- Defaults:
62
- Default App: {app}
63
- Auto-categorize: true
64
- ```
65
-
66
- Stop after displaying. No file modifications needed.
67
-
68
- ### `add-type`, `add-app`, `add-category`
69
-
70
- Append the new value (lowercase) to the appropriate section in `.gsd-t/backlog-settings.md`.
71
-
72
- Format: `- {name}` added as the last item in the section's list.
73
-
74
- Confirm: "Added '{name}' to {section}."
75
-
76
- ### `remove-type`, `remove-app`, `remove-category`
77
-
78
- Before removing, read `.gsd-t/backlog.md` and check if any existing entries use this value.
79
-
80
- If entries use this value:
81
- - Warn: "'{name}' is currently used by {count} backlog entry/entries: {titles}."
82
- - Ask for confirmation: "Remove anyway? (y/n)"
83
- - If user declines, stop.
84
-
85
- Remove the value from the appropriate section in `.gsd-t/backlog-settings.md`.
86
-
87
- Confirm: "Removed '{name}' from {section}."
88
-
89
- ### `default-app`
90
-
91
- Update the `- **Default App:** {value}` line in the Defaults section of `.gsd-t/backlog-settings.md`.
92
-
93
- Confirm: "Default app changed to '{name}'."
94
-
95
- ## Step 5: Rewrite Settings File
96
-
97
- Skip this step for the `list` subcommand.
98
-
99
- Rewrite `.gsd-t/backlog-settings.md` with the updated settings, preserving the file format:
100
-
101
- ```markdown
102
- # Backlog Settings
103
-
104
- ## Types
105
- - {type1}
106
- - {type2}
107
- ...
108
-
109
- ## Apps
110
- - {app1}
111
- - {app2}
112
- ...
113
-
114
- ## Categories
115
- - {cat1}
116
- - {cat2}
117
- ...
118
-
119
- ## Defaults
120
- - **Default App:** {app}
121
- - **Auto-categorize:** true
122
- ```
123
-
124
- ## Step 6: Document Ripple
125
-
126
- Skip this step for the `list` subcommand.
127
-
128
- If `.gsd-t/progress.md` exists, update:
129
-
130
- ### Always update:
131
- 1. **`.gsd-t/progress.md`** — Log the settings change in the Decision Log:
132
- - For add: `"Added '{name}' to backlog {section}"`
133
- - For remove: `"Removed '{name}' from backlog {section}"`
134
- - For default-app: `"Changed default app to '{name}'"`
135
-
136
- ### Check if affected:
137
- 2. **`.gsd-t/contracts/file-format-contract.md`** — If this change affects the documented settings format, flag it (should be rare)
138
-
139
- ### Skip what's not affected — most settings changes only touch progress.md.
140
-
141
- ## Step 7: Test Verification
142
-
143
- Skip this step for the `list` subcommand.
144
-
145
- Verify the settings file is well-formed after update:
146
-
147
- 1. Read `.gsd-t/backlog-settings.md` and confirm:
148
- - All four sections exist: Types, Apps, Categories, Defaults
149
- - Each section's items are `- {value}` format, lowercase
150
- - Defaults section has `- **Default App:** {value}` and `- **Auto-categorize:** {value}`
151
- - No empty lines within a section's list, no orphaned content
152
- 2. If any issues found, fix them before finishing
153
-
154
- $ARGUMENTS
155
-
156
- ## Auto-Clear
157
-
158
- All work is committed to project files. Execute `/clear` to free the context window for the next command.
1
+ # GSD-T: Backlog Settings — Manage Types, Apps, Categories, and Defaults
2
+
3
+ You are managing the backlog settings file. This controls the allowed values for types, apps, and categories used by backlog entries, and the default app assignment.
4
+
5
+ ## Step 1: Read Settings
6
+
7
+ Read `.gsd-t/backlog-settings.md` and parse current settings:
8
+ - **Types** section — list of allowed type values
9
+ - **Apps** section — list of allowed app values
10
+ - **Categories** section — list of allowed category values
11
+ - **Defaults** section — Default App and Auto-categorize values
12
+
13
+ If the file doesn't exist:
14
+ - "No backlog settings found. Run `/gsd-t-init` with backlog support to create settings."
15
+ - Stop.
16
+
17
+ ## Step 2: Parse Subcommand
18
+
19
+ Parse $ARGUMENTS to identify the subcommand and its arguments.
20
+
21
+ Valid subcommands:
22
+ - `list` — no additional args
23
+ - `add-type <name>` — requires a name
24
+ - `remove-type <name>` — requires a name
25
+ - `add-app <name>` — requires a name
26
+ - `remove-app <name>` — requires a name
27
+ - `add-category <name>` — requires a name
28
+ - `remove-category <name>` — requires a name
29
+ - `default-app <name>` — requires a name
30
+
31
+ If no subcommand or an invalid subcommand is provided:
32
+ - Show usage: "Usage: `/gsd-t-backlog-settings <subcommand> [args]`"
33
+ - List available subcommands with brief descriptions
34
+ - Stop.
35
+
36
+ If a subcommand requires a name argument and none is provided:
37
+ - "Missing argument. Usage: `/gsd-t-backlog-settings {subcommand} <name>`"
38
+ - Stop.
39
+
40
+ ## Step 3: Validate
41
+
42
+ Perform validation based on the subcommand:
43
+
44
+ - **add-type/add-app/add-category**: Convert name to lowercase. Check the appropriate section for duplicates. If the value already exists: "'{name}' already exists in {section}." — Stop.
45
+ - **remove-type/remove-app/remove-category**: Check the appropriate section for existence. If the value doesn't exist: "'{name}' not found in {section}." — Stop.
46
+ - **default-app**: Convert name to lowercase. Check that the name exists in the Apps section. If not: "'{name}' is not in the Apps list. Add it first with `add-app {name}`." — Stop.
47
+
48
+ ## Step 4: Execute Subcommand
49
+
50
+ ### `list`
51
+
52
+ Display all current settings in a formatted view:
53
+
54
+ ```
55
+ Backlog Settings:
56
+
57
+ Types: bug, feature, improvement, ux, architecture
58
+ Apps: {app1}, {app2}
59
+ Categories: {cat1}, {cat2}
60
+
61
+ Defaults:
62
+ Default App: {app}
63
+ Auto-categorize: true
64
+ ```
65
+
66
+ Stop after displaying. No file modifications needed.
67
+
68
+ ### `add-type`, `add-app`, `add-category`
69
+
70
+ Append the new value (lowercase) to the appropriate section in `.gsd-t/backlog-settings.md`.
71
+
72
+ Format: `- {name}` added as the last item in the section's list.
73
+
74
+ Confirm: "Added '{name}' to {section}."
75
+
76
+ ### `remove-type`, `remove-app`, `remove-category`
77
+
78
+ Before removing, read `.gsd-t/backlog.md` and check if any existing entries use this value.
79
+
80
+ If entries use this value:
81
+ - Warn: "'{name}' is currently used by {count} backlog entry/entries: {titles}."
82
+ - Ask for confirmation: "Remove anyway? (y/n)"
83
+ - If user declines, stop.
84
+
85
+ Remove the value from the appropriate section in `.gsd-t/backlog-settings.md`.
86
+
87
+ Confirm: "Removed '{name}' from {section}."
88
+
89
+ ### `default-app`
90
+
91
+ Update the `- **Default App:** {value}` line in the Defaults section of `.gsd-t/backlog-settings.md`.
92
+
93
+ Confirm: "Default app changed to '{name}'."
94
+
95
+ ## Step 5: Rewrite Settings File
96
+
97
+ Skip this step for the `list` subcommand.
98
+
99
+ Rewrite `.gsd-t/backlog-settings.md` with the updated settings, preserving the file format:
100
+
101
+ ```markdown
102
+ # Backlog Settings
103
+
104
+ ## Types
105
+ - {type1}
106
+ - {type2}
107
+ ...
108
+
109
+ ## Apps
110
+ - {app1}
111
+ - {app2}
112
+ ...
113
+
114
+ ## Categories
115
+ - {cat1}
116
+ - {cat2}
117
+ ...
118
+
119
+ ## Defaults
120
+ - **Default App:** {app}
121
+ - **Auto-categorize:** true
122
+ ```
123
+
124
+ ## Step 6: Document Ripple
125
+
126
+ Skip this step for the `list` subcommand.
127
+
128
+ If `.gsd-t/progress.md` exists, update:
129
+
130
+ ### Always update:
131
+ 1. **`.gsd-t/progress.md`** — Log the settings change in the Decision Log:
132
+ - For add: `"Added '{name}' to backlog {section}"`
133
+ - For remove: `"Removed '{name}' from backlog {section}"`
134
+ - For default-app: `"Changed default app to '{name}'"`
135
+
136
+ ### Check if affected:
137
+ 2. **`.gsd-t/contracts/file-format-contract.md`** — If this change affects the documented settings format, flag it (should be rare)
138
+
139
+ ### Skip what's not affected — most settings changes only touch progress.md.
140
+
141
+ ## Step 7: Test Verification
142
+
143
+ Skip this step for the `list` subcommand.
144
+
145
+ Verify the settings file is well-formed after update:
146
+
147
+ 1. Read `.gsd-t/backlog-settings.md` and confirm:
148
+ - All four sections exist: Types, Apps, Categories, Defaults
149
+ - Each section's items are `- {value}` format, lowercase
150
+ - Defaults section has `- **Default App:** {value}` and `- **Auto-categorize:** {value}`
151
+ - No empty lines within a section's list, no orphaned content
152
+ 2. If any issues found, fix them before finishing
153
+
154
+ $ARGUMENTS
155
+
156
+ ## Auto-Clear
157
+
158
+ All work is committed to project files. Execute `/clear` to free the context window for the next command.