@ktpartners/dgs-platform 3.4.1 → 3.4.2
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
|
@@ -8,6 +8,11 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [3.4.2] - 2026-06-25
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- **Shipped workflows no longer hardcode the author's home path (quick-260625-0b3)** — `workflows/init-product.md` (8 sites) and `workflows/execute-plan.md` (1 site) invoked `node`/`cat` against the literal `/Users/adrian/.claude/deliver-great-systems/...`, so on any other user's machine those `dgs-tools` calls and the CLAUDE.md template read pointed at a nonexistent directory and failed. Replaced every occurrence with the portable `~/.claude/deliver-great-systems/...` form already used by all other workflows. No code or config files were affected — this was the only path leak in the distribution; `git grep /Users/adrian` over the shipped workflows now returns nothing.
|
|
15
|
+
|
|
11
16
|
## [3.4.1] - 2026-06-12
|
|
12
17
|
|
|
13
18
|
### Fixed
|
|
@@ -512,7 +512,7 @@ ls -1 ${phase_dir}/*-SUMMARY.md 2>/dev/null | wc -l
|
|
|
512
512
|
**Determine milestone status** (MANDATORY — do not guess from context):
|
|
513
513
|
|
|
514
514
|
```bash
|
|
515
|
-
ROADMAP_INFO=$(node
|
|
515
|
+
ROADMAP_INFO=$(node ~/.claude/deliver-great-systems/bin/dgs-tools.cjs roadmap analyze)
|
|
516
516
|
```
|
|
517
517
|
|
|
518
518
|
Parse the `phases` array from the JSON result. Find the highest phase number in the current milestone. Compare against the current phase number to determine which route to take.
|
|
@@ -27,7 +27,7 @@ What would you like to name this product? (e.g., "my-saas-app", "mobile-platform
|
|
|
27
27
|
## 2. Run Init Product
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
RESULT=$(node
|
|
30
|
+
RESULT=$(node ~/.claude/deliver-great-systems/bin/dgs-tools.cjs repos init-product "$PRODUCT_NAME" --raw)
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
Parse JSON response. Route to the appropriate handler based on the response shape.
|
|
@@ -94,7 +94,7 @@ Workflow discipline is always enabled by default — it adds a CLAUDE.md file th
|
|
|
94
94
|
|
|
95
95
|
Read the CLAUDE.md template:
|
|
96
96
|
```bash
|
|
97
|
-
CLAUDE_TEMPLATE=$(cat
|
|
97
|
+
CLAUDE_TEMPLATE=$(cat ~/.claude/deliver-great-systems/templates/claude-md.md)
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
Check if `./CLAUDE.md` already exists in the project root (cwd):
|
|
@@ -121,7 +121,7 @@ Check if `./CLAUDE.md` already exists in the project root (cwd):
|
|
|
121
121
|
|
|
122
122
|
Set config:
|
|
123
123
|
```bash
|
|
124
|
-
node
|
|
124
|
+
node ~/.claude/deliver-great-systems/bin/dgs-tools.cjs config-set workflow.discipline true
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
Display: `Workflow discipline enabled — CLAUDE.md added.`
|
|
@@ -133,14 +133,14 @@ CLAUDE.md is always included in the init commit file list (b4 below).
|
|
|
133
133
|
All other recommended defaults (`model_profile=balanced`, `commit_docs=true`, `workflow.research=true`, `workflow.plan_check=true`, `workflow.verifier=true`, `git.base_branch=main`) are already applied by `repos init-product` in step 2 — they live in `config.cjs`'s hardcoded defaults and are merged with any per-user overrides from `~/.dgs/defaults.json` (saved via `/dgs:settings save-as-defaults`). The three keys below are the only ones the underlying init does not pre-populate, so they are set explicitly here:
|
|
134
134
|
|
|
135
135
|
```bash
|
|
136
|
-
node
|
|
137
|
-
node
|
|
138
|
-
node
|
|
136
|
+
node ~/.claude/deliver-great-systems/bin/dgs-tools.cjs config-set mode yolo
|
|
137
|
+
node ~/.claude/deliver-great-systems/bin/dgs-tools.cjs config-set granularity standard
|
|
138
|
+
node ~/.claude/deliver-great-systems/bin/dgs-tools.cjs config-set workflow.codereview true
|
|
139
139
|
```
|
|
140
140
|
|
|
141
141
|
Commit the applied defaults:
|
|
142
142
|
```bash
|
|
143
|
-
node
|
|
143
|
+
node ~/.claude/deliver-great-systems/bin/dgs-tools.cjs commit "chore: apply recommended defaults" --files ${config_path}
|
|
144
144
|
```
|
|
145
145
|
|
|
146
146
|
**b4. Commit initialized files:**
|
|
@@ -150,7 +150,7 @@ Extract the `scaffolded_files` array from the init response (`RESULT` captured i
|
|
|
150
150
|
```bash
|
|
151
151
|
# AGENT-13: consume scaffolded_files from cmdReposInitProduct (per references/workflow-conventions.md)
|
|
152
152
|
SCAFFOLDED=$(printf '%s' "$RESULT" | jq -r '.scaffolded_files[]?' | tr '\n' ' ')
|
|
153
|
-
node
|
|
153
|
+
node ~/.claude/deliver-great-systems/bin/dgs-tools.cjs commit "docs: initialize product ${product_name}" --files REPOS.md PROJECTS.md config.json .gitignore CLAUDE.md ${SCAFFOLDED}
|
|
154
154
|
```
|
|
155
155
|
|
|
156
156
|
CLAUDE.md is always included (workflow discipline is now always enabled by default — see b2). The `${SCAFFOLDED}` token is unquoted intentionally so word-splitting expands the multiple paths into separate `--files` arguments.
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://github.com/KT-Partners-Ltd/dgs-platform-docs/issues"
|
|
10
10
|
},
|
|
11
|
-
"version": "3.4.
|
|
11
|
+
"version": "3.4.2",
|
|
12
12
|
"description": "Deliver Great Systems Platform — A meta-prompting, context engineering and spec-driven development system for Claude Code and Gemini by KT Partners.",
|
|
13
13
|
"bin": {
|
|
14
14
|
"dgs": "bin/install.js"
|