gsdd-cli 0.18.4 → 0.19.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.
Files changed (100) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +625 -607
  3. package/agents/DISTILLATION.md +421 -421
  4. package/agents/README.md +62 -62
  5. package/agents/approach-explorer.md +361 -361
  6. package/agents/debugger.md +82 -82
  7. package/agents/executor.md +394 -394
  8. package/agents/integration-checker.md +318 -318
  9. package/agents/mapper.md +103 -103
  10. package/agents/planner.md +313 -313
  11. package/agents/researcher.md +84 -84
  12. package/agents/roadmapper.md +296 -296
  13. package/agents/synthesizer.md +236 -236
  14. package/agents/verifier.md +337 -337
  15. package/bin/adapters/agents.mjs +34 -34
  16. package/bin/adapters/claude.mjs +191 -191
  17. package/bin/adapters/codex.mjs +85 -85
  18. package/bin/adapters/index.mjs +20 -20
  19. package/bin/adapters/opencode.mjs +278 -278
  20. package/bin/gsdd.mjs +123 -116
  21. package/bin/lib/cli-utils.mjs +28 -28
  22. package/bin/lib/evidence-contract.mjs +112 -112
  23. package/bin/lib/file-ops.mjs +209 -161
  24. package/bin/lib/health-truth.mjs +181 -178
  25. package/bin/lib/health.mjs +265 -235
  26. package/bin/lib/init-flow.mjs +252 -236
  27. package/bin/lib/init-prompts.mjs +248 -247
  28. package/bin/lib/init-runtime.mjs +225 -212
  29. package/bin/lib/init.mjs +17 -17
  30. package/bin/lib/lifecycle-preflight.mjs +360 -333
  31. package/bin/lib/lifecycle-state.mjs +351 -267
  32. package/bin/lib/manifest.mjs +116 -114
  33. package/bin/lib/models.mjs +411 -411
  34. package/bin/lib/phase.mjs +397 -378
  35. package/bin/lib/plan-constants.mjs +30 -30
  36. package/bin/lib/provenance.mjs +109 -106
  37. package/bin/lib/rendering.mjs +178 -130
  38. package/bin/lib/runtime-freshness.mjs +221 -219
  39. package/bin/lib/templates.mjs +225 -224
  40. package/bin/lib/workspace-root.mjs +132 -0
  41. package/distilled/DESIGN.md +2347 -2327
  42. package/distilled/EVIDENCE-INDEX.md +397 -394
  43. package/distilled/README.md +196 -193
  44. package/distilled/SKILL.md +86 -85
  45. package/distilled/templates/agents.block.md +21 -21
  46. package/distilled/templates/agents.md +6 -6
  47. package/distilled/templates/approach.md +232 -232
  48. package/distilled/templates/auth-matrix.md +78 -78
  49. package/distilled/templates/brownfield-change/CHANGE.md +99 -0
  50. package/distilled/templates/brownfield-change/HANDOFF.md +38 -0
  51. package/distilled/templates/brownfield-change/VERIFICATION.md +56 -0
  52. package/distilled/templates/codebase/architecture.md +110 -110
  53. package/distilled/templates/codebase/concerns.md +95 -95
  54. package/distilled/templates/codebase/conventions.md +193 -193
  55. package/distilled/templates/codebase/stack.md +96 -96
  56. package/distilled/templates/delegates/approach-explorer.md +25 -25
  57. package/distilled/templates/delegates/mapper-arch.md +26 -26
  58. package/distilled/templates/delegates/mapper-concerns.md +27 -27
  59. package/distilled/templates/delegates/mapper-quality.md +28 -28
  60. package/distilled/templates/delegates/mapper-tech.md +25 -25
  61. package/distilled/templates/delegates/plan-checker.md +68 -68
  62. package/distilled/templates/delegates/researcher-architecture.md +30 -30
  63. package/distilled/templates/delegates/researcher-features.md +30 -30
  64. package/distilled/templates/delegates/researcher-pitfalls.md +30 -30
  65. package/distilled/templates/delegates/researcher-stack.md +30 -30
  66. package/distilled/templates/delegates/researcher-synthesizer.md +31 -31
  67. package/distilled/templates/research/architecture.md +57 -57
  68. package/distilled/templates/research/features.md +23 -23
  69. package/distilled/templates/research/pitfalls.md +46 -46
  70. package/distilled/templates/research/stack.md +45 -45
  71. package/distilled/templates/research/summary.md +67 -67
  72. package/distilled/templates/roadmap.md +74 -62
  73. package/distilled/templates/spec.md +110 -110
  74. package/distilled/workflows/audit-milestone.md +275 -271
  75. package/distilled/workflows/complete-milestone.md +336 -332
  76. package/distilled/workflows/execute.md +454 -449
  77. package/distilled/workflows/map-codebase.md +253 -253
  78. package/distilled/workflows/new-milestone.md +242 -238
  79. package/distilled/workflows/new-project.md +398 -398
  80. package/distilled/workflows/pause.md +160 -156
  81. package/distilled/workflows/plan-milestone-gaps.md +183 -183
  82. package/distilled/workflows/plan.md +451 -447
  83. package/distilled/workflows/progress.md +227 -223
  84. package/distilled/workflows/quick.md +351 -347
  85. package/distilled/workflows/resume.md +220 -212
  86. package/distilled/workflows/verify-work.md +260 -260
  87. package/distilled/workflows/verify.md +431 -429
  88. package/docs/BROWNFIELD-PROOF.md +95 -95
  89. package/docs/RUNTIME-SUPPORT.md +93 -75
  90. package/docs/USER-GUIDE.md +440 -399
  91. package/docs/VERIFICATION-DISCIPLINE.md +59 -59
  92. package/docs/claude/context-monitor.md +98 -98
  93. package/docs/proof/consumer-node-cli/README.md +37 -37
  94. package/docs/proof/consumer-node-cli/ROADMAP.md +14 -14
  95. package/docs/proof/consumer-node-cli/SPEC.md +17 -17
  96. package/docs/proof/consumer-node-cli/brief.md +9 -9
  97. package/docs/proof/consumer-node-cli/phases/01-foundation/01-01-PLAN.md +34 -34
  98. package/docs/proof/consumer-node-cli/phases/01-foundation/01-01-SUMMARY.md +10 -10
  99. package/docs/proof/consumer-node-cli/phases/01-foundation/01-VERIFICATION.md +30 -30
  100. package/package.json +62 -61
package/agents/README.md CHANGED
@@ -1,62 +1,62 @@
1
- # Canonical Role Library
2
-
3
- Vendor-agnostic role contracts for Workspine's agent architecture.
4
-
5
- ## Two-Layer Architecture
6
-
7
- | Layer | Location | Purpose |
8
- |-------|----------|---------|
9
- | **Roles** (this directory) | `agents/*.md` | Durable contracts: identity, inputs, outputs, algorithm, guarantees |
10
- | **Delegates** | `distilled/templates/delegates/*.md` | Task-specific wrappers: scoped instructions that reference a role |
11
-
12
- Roles define what an agent is. Delegates define what an agent does in a specific workflow context.
13
-
14
- ## Lifecycle Roles
15
-
16
- | Role | File | Absorbs From (GSD) |
17
- |------|------|---------------------|
18
- | Mapper | `mapper.md` | `gsd-codebase-mapper.md` |
19
- | Researcher | `researcher.md` | `gsd-project-researcher.md` + `gsd-phase-researcher.md` |
20
- | Synthesizer | `synthesizer.md` | `gsd-research-synthesizer.md` |
21
- | Approach Explorer | `approach-explorer.md` | `discuss-phase.md` + `list-phase-assumptions.md` + `discovery-phase.md` |
22
- | Planner | `planner.md` | `gsd-planner.md` + `gsd-plan-checker.md` |
23
- | Executor | `executor.md` | `gsd-executor.md` |
24
- | Verifier | `verifier.md` | `gsd-verifier.md` |
25
- | Roadmapper | `roadmapper.md` | `gsd-roadmapper.md` |
26
-
27
- ## Audit Roles
28
-
29
- | Role | File | Absorbs From (GSD) |
30
- |------|------|--------------------|
31
- | Integration Checker | `integration-checker.md` | `gsd-integration-checker.md` |
32
-
33
- ## Utility Roles
34
-
35
- | Role | File | Note |
36
- |------|------|------|
37
- | Debugger | `debugger.md` | Not part of core lifecycle. Standalone diagnostic utility. |
38
-
39
- ## Runtime Distribution
40
-
41
- `gsdd init` copies all role contracts (excluding this README) from `agents/` into `.planning/templates/roles/` in the consumer project. This gives consumer projects a portable, self-contained copy of the role library with no hard dependency on the GSDD framework repo at runtime.
42
-
43
- - **Single source of truth:** `agents/*.md` in this repo. Consumer copies are generated, not edited.
44
- - **Delegates reference the local copy:** `distilled/templates/delegates/*.md` point to `.planning/templates/roles/<role>.md`, not back to this repo.
45
- - **Idempotent:** `gsdd init` skips the copy if `.planning/templates/roles/` already exists.
46
- - **Updates:** `gsdd update --templates` re-copies from latest framework sources with hash-based modification detection.
47
-
48
- Verifier note:
49
- - `verifier.md` is phase-scoped.
50
- - The milestone integration-audit surface exists as `distilled/workflows/audit-milestone.md` with its own `integration-checker.md` role contract. It is not absorbed into the verifier.
51
-
52
- ## Commit Convention
53
-
54
- All commits — whether authored by humans or AI agents — must follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/). The `semantic-release` automation reads commit messages to determine version bumps and generate the changelog. A commit not following the convention produces no release and no changelog entry.
55
-
56
- Use `feat:` for new capabilities, `fix:` for corrections, `chore:` for maintenance that must not trigger a publish, and `test:` for test-only changes. Never use `chore(release):` — that prefix is reserved for the release automation.
57
-
58
- See `CONTRIBUTING.md` for the full type table.
59
-
60
- ## Archive
61
-
62
- `_archive/` contains the original 11 GSD agent files (preserved via `git mv` for history). These are the verbose, GSD-specific sources from which canonical roles were distilled. Do not reference them in workflows; use the canonical roles above.
1
+ # Canonical Role Library
2
+
3
+ Vendor-agnostic role contracts for Workspine's agent architecture.
4
+
5
+ ## Two-Layer Architecture
6
+
7
+ | Layer | Location | Purpose |
8
+ |-------|----------|---------|
9
+ | **Roles** (this directory) | `agents/*.md` | Durable contracts: identity, inputs, outputs, algorithm, guarantees |
10
+ | **Delegates** | `distilled/templates/delegates/*.md` | Task-specific wrappers: scoped instructions that reference a role |
11
+
12
+ Roles define what an agent is. Delegates define what an agent does in a specific workflow context.
13
+
14
+ ## Lifecycle Roles
15
+
16
+ | Role | File | Absorbs From (GSD) |
17
+ |------|------|---------------------|
18
+ | Mapper | `mapper.md` | `gsd-codebase-mapper.md` |
19
+ | Researcher | `researcher.md` | `gsd-project-researcher.md` + `gsd-phase-researcher.md` |
20
+ | Synthesizer | `synthesizer.md` | `gsd-research-synthesizer.md` |
21
+ | Approach Explorer | `approach-explorer.md` | `discuss-phase.md` + `list-phase-assumptions.md` + `discovery-phase.md` |
22
+ | Planner | `planner.md` | `gsd-planner.md` + `gsd-plan-checker.md` |
23
+ | Executor | `executor.md` | `gsd-executor.md` |
24
+ | Verifier | `verifier.md` | `gsd-verifier.md` |
25
+ | Roadmapper | `roadmapper.md` | `gsd-roadmapper.md` |
26
+
27
+ ## Audit Roles
28
+
29
+ | Role | File | Absorbs From (GSD) |
30
+ |------|------|--------------------|
31
+ | Integration Checker | `integration-checker.md` | `gsd-integration-checker.md` |
32
+
33
+ ## Utility Roles
34
+
35
+ | Role | File | Note |
36
+ |------|------|------|
37
+ | Debugger | `debugger.md` | Not part of core lifecycle. Standalone diagnostic utility. |
38
+
39
+ ## Runtime Distribution
40
+
41
+ `gsdd init` copies all role contracts (excluding this README) from `agents/` into `.planning/templates/roles/` in the consumer project. This gives consumer projects a portable, self-contained copy of the role library with no hard dependency on the GSDD framework repo at runtime.
42
+
43
+ - **Single source of truth:** `agents/*.md` in this repo. Consumer copies are generated, not edited.
44
+ - **Delegates reference the local copy:** `distilled/templates/delegates/*.md` point to `.planning/templates/roles/<role>.md`, not back to this repo.
45
+ - **Idempotent:** `gsdd init` skips the copy if `.planning/templates/roles/` already exists.
46
+ - **Updates:** `gsdd update --templates` re-copies from latest framework sources with hash-based modification detection.
47
+
48
+ Verifier note:
49
+ - `verifier.md` is phase-scoped.
50
+ - The milestone integration-audit surface exists as `distilled/workflows/audit-milestone.md` with its own `integration-checker.md` role contract. It is not absorbed into the verifier.
51
+
52
+ ## Commit Convention
53
+
54
+ All commits — whether authored by humans or AI agents — must follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/). The `semantic-release` automation reads commit messages to determine version bumps and generate the changelog. A commit not following the convention produces no release and no changelog entry.
55
+
56
+ Use `feat:` for new capabilities, `fix:` for corrections, `chore:` for maintenance that must not trigger a publish, and `test:` for test-only changes. Never use `chore(release):` — that prefix is reserved for the release automation.
57
+
58
+ See `CONTRIBUTING.md` for the full type table.
59
+
60
+ ## Archive
61
+
62
+ `_archive/` contains the original 11 GSD agent files (preserved via `git mv` for history). These are the verbose, GSD-specific sources from which canonical roles were distilled. Do not reference them in workflows; use the canonical roles above.