@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
@@ -26,10 +26,34 @@
26
26
  <!-- Claude will verify the branch before every commit. -->
27
27
  **Expected branch**: {main | master | feature-branch-name}
28
28
 
29
+ ## Daily Token Budget (optional)
30
+ <!-- Set a session token ceiling for token-aware orchestration (bin/token-budget.js). -->
31
+ <!-- When the session approaches this ceiling, model assignments are downgraded and -->
32
+ <!-- non-essential operations are skipped to stay within budget. -->
33
+ <!-- Example: 1500000 (1.5M tokens) — omit this field to disable token-aware orchestration. -->
34
+ <!-- **Daily token budget**: {ceiling in tokens} -->
35
+
29
36
  <!-- For multi-branch parallel work (e.g., web + mobile in separate terminals), -->
30
37
  <!-- each terminal's CLAUDE.md should declare its own expected branch. -->
31
38
  <!-- Example: Web terminal → master, Mobile terminal → Mobile -->
32
39
 
40
+ ## Quality North Star
41
+
42
+ <!-- Define the quality identity of this project. Subagents read this section and apply it as a quality lens. -->
43
+ <!-- Choose one of the presets below or write your own 1–3 sentence persona, then remove the others. -->
44
+
45
+ <!-- PRESET: library (npm package, SDK, shared utility) -->
46
+ <!-- This is a published npm library. Every public API must be intuitive, well-documented, and backward-compatible. Type safety and zero-dependency design are non-negotiable. -->
47
+
48
+ <!-- PRESET: web-app (user-facing web application) -->
49
+ <!-- This is a user-facing web application. Every feature must be accessible, performant, and visually consistent. The user experience is the product. -->
50
+
51
+ <!-- PRESET: cli (developer CLI or command-line utility) -->
52
+ <!-- This is a developer CLI tool. Every command must be fast, predictable, and produce clear output. Error messages must explain what went wrong and how to fix it. -->
53
+
54
+ <!-- CUSTOM: replace this line with your own 1–3 sentence quality persona -->
55
+ {Quality persona — describe what "excellent" means for this project}
56
+
33
57
  ## GSD-T Workflow
34
58
  This project uses contract-driven development.
35
59
  - State: .gsd-t/progress.md
@@ -1,18 +1,18 @@
1
- # Backlog Settings
2
-
3
- ## Types
4
- - bug
5
- - feature
6
- - improvement
7
- - ux
8
- - architecture
9
-
10
- ## Apps
11
- - {app1}
12
- - {app2}
13
-
14
- ## Categories
15
-
16
- ## Defaults
17
- - **Default App:** {app}
18
- - **Auto-categorize:** true
1
+ # Backlog Settings
2
+
3
+ ## Types
4
+ - bug
5
+ - feature
6
+ - improvement
7
+ - ux
8
+ - architecture
9
+
10
+ ## Apps
11
+ - {app1}
12
+ - {app2}
13
+
14
+ ## Categories
15
+
16
+ ## Defaults
17
+ - **Default App:** {app}
18
+ - **Auto-categorize:** true
@@ -1 +1 @@
1
- # Backlog
1
+ # Backlog
@@ -1,40 +1,40 @@
1
- # GSD-T Progress
2
-
3
- ## Project: {Project Name}
4
- ## Version: 0.1.0
5
- ## Status: READY
6
- ## Date: {Date}
7
-
8
- ## Current Milestone
9
- None — ready for next milestone
10
-
11
- ## Completed Milestones
12
- | Milestone | Version | Completed | Tag |
13
- |-----------|---------|-----------|-----|
14
-
15
- ## Domains
16
- | Domain | Status | Tasks | Completed |
17
- |--------|--------|-------|-----------|
18
- (populated during partition phase)
19
-
20
- ## Contracts
21
- (populated during partition phase)
22
-
23
- ## Integration Checkpoints
24
- (populated during plan phase)
25
-
26
- ## Blockers
27
- <!--
28
- ### [Blocker description]
29
- - **Found**: [date]
30
- - **Attempted**: [what was tried]
31
- - **Status**: investigating | waiting | resolved
32
- -->
33
-
34
- ## Decision Log
35
- - {Date}: Project initialized with GSD-T workflow
36
-
37
- ## Session Log
38
- | Date | Session | What was accomplished |
39
- |------|---------|----------------------|
40
- | {Date} | 1 | Project initialized |
1
+ # GSD-T Progress
2
+
3
+ ## Project: {Project Name}
4
+ ## Version: 0.1.0
5
+ ## Status: READY
6
+ ## Date: {Date}
7
+
8
+ ## Current Milestone
9
+ None — ready for next milestone
10
+
11
+ ## Completed Milestones
12
+ | Milestone | Version | Completed | Tag |
13
+ |-----------|---------|-----------|-----|
14
+
15
+ ## Domains
16
+ | Domain | Status | Tasks | Completed |
17
+ |--------|--------|-------|-----------|
18
+ (populated during partition phase)
19
+
20
+ ## Contracts
21
+ (populated during partition phase)
22
+
23
+ ## Integration Checkpoints
24
+ (populated during plan phase)
25
+
26
+ ## Blockers
27
+ <!--
28
+ ### [Blocker description]
29
+ - **Found**: [date]
30
+ - **Attempted**: [what was tried]
31
+ - **Status**: investigating | waiting | resolved
32
+ -->
33
+
34
+ ## Decision Log
35
+ - {Date}: Project initialized with GSD-T workflow
36
+
37
+ ## Session Log
38
+ | Date | Session | What was accomplished |
39
+ |------|---------|----------------------|
40
+ | {Date} | 1 | Project initialized |
@@ -1,60 +1,60 @@
1
- # Shared Services Contract
2
- **Project**: {Project Name}
3
- **Milestone**: {Milestone Name}
4
- **Updated**: {Date}
5
-
6
- This contract documents backend functions and operations shared across multiple consumer surfaces.
7
- All surfaces that need a shared operation MUST call it through the `shared-core` domain —
8
- never implement a duplicate.
9
-
10
- ---
11
-
12
- ## Consumer Surfaces
13
-
14
- | Surface | Type | Adapter Domain |
15
- |--------------|----------------|---------------------|
16
- | {Web App} | web | {web-api domain} |
17
- | {Mobile App} | mobile | {mobile-api domain} |
18
- | {CLI} | cli | {cli domain} |
19
-
20
- ---
21
-
22
- ## Shared Operations
23
-
24
- | Operation | Description | Owner Domain | Consumers |
25
- |------------------|--------------------------------------|---------------|-------------------------|
26
- | {operation-name} | {what it does} | shared-core | web-api, mobile-api |
27
- | {operation-name} | {what it does} | shared-core | web-api, cli |
28
-
29
- ### Function Signatures
30
-
31
- ```
32
- {operationName}(params: {ParamType}): {ReturnType}
33
- - {param}: {description}
34
- - Returns: {description}
35
- - Errors: {error conditions}
36
- ```
37
-
38
- ---
39
-
40
- ## SharedCore Domain Boundaries
41
-
42
- **shared-core owns:**
43
- - Business logic for all shared operations above
44
- - Data access for shared operations
45
- - Input validation for shared operations
46
-
47
- **shared-core does NOT own:**
48
- - HTTP route handlers (owned by surface-specific adapter domains)
49
- - Surface-specific response formatting
50
- - Auth/session handling (owned by auth domain)
51
-
52
- ---
53
-
54
- ## Violation Rule
55
-
56
- If a surface-specific domain implements an operation that matches a shared operation above,
57
- that is a **contract violation**. The implementation must be moved to shared-core.
58
-
59
- Flag during: `gsd-t-impact` (New Consumer Analysis), `gsd-t-plan` (Duplicate Operation Scan),
60
- and `gsd-t-verify` (contract compliance check).
1
+ # Shared Services Contract
2
+ **Project**: {Project Name}
3
+ **Milestone**: {Milestone Name}
4
+ **Updated**: {Date}
5
+
6
+ This contract documents backend functions and operations shared across multiple consumer surfaces.
7
+ All surfaces that need a shared operation MUST call it through the `shared-core` domain —
8
+ never implement a duplicate.
9
+
10
+ ---
11
+
12
+ ## Consumer Surfaces
13
+
14
+ | Surface | Type | Adapter Domain |
15
+ |--------------|----------------|---------------------|
16
+ | {Web App} | web | {web-api domain} |
17
+ | {Mobile App} | mobile | {mobile-api domain} |
18
+ | {CLI} | cli | {cli domain} |
19
+
20
+ ---
21
+
22
+ ## Shared Operations
23
+
24
+ | Operation | Description | Owner Domain | Consumers |
25
+ |------------------|--------------------------------------|---------------|-------------------------|
26
+ | {operation-name} | {what it does} | shared-core | web-api, mobile-api |
27
+ | {operation-name} | {what it does} | shared-core | web-api, cli |
28
+
29
+ ### Function Signatures
30
+
31
+ ```
32
+ {operationName}(params: {ParamType}): {ReturnType}
33
+ - {param}: {description}
34
+ - Returns: {description}
35
+ - Errors: {error conditions}
36
+ ```
37
+
38
+ ---
39
+
40
+ ## SharedCore Domain Boundaries
41
+
42
+ **shared-core owns:**
43
+ - Business logic for all shared operations above
44
+ - Data access for shared operations
45
+ - Input validation for shared operations
46
+
47
+ **shared-core does NOT own:**
48
+ - HTTP route handlers (owned by surface-specific adapter domains)
49
+ - Surface-specific response formatting
50
+ - Auth/session handling (owned by auth domain)
51
+
52
+ ---
53
+
54
+ ## Violation Rule
55
+
56
+ If a surface-specific domain implements an operation that matches a shared operation above,
57
+ that is a **contract violation**. The implementation must be moved to shared-core.
58
+
59
+ Flag during: `gsd-t-impact` (New Consumer Analysis), `gsd-t-plan` (Duplicate Operation Scan),
60
+ and `gsd-t-verify` (contract compliance check).
@@ -1,2 +1,2 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
1
+ [.ShellClassInfo]
2
+ IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
package/bin/desktop.ini DELETED
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
package/docs/desktop.ini DELETED
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27
@@ -1,2 +0,0 @@
1
- [.ShellClassInfo]
2
- IconResource=C:\Program Files\Google\Drive File Stream\122.0.1.0\GoogleDriveFS.exe,27