sdtk-spec-kit 0.8.0 → 0.8.1
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/README.md +1 -1
- package/assets/manifest/toolkit-bundle.manifest.json +8 -8
- package/assets/manifest/toolkit-bundle.sha256.txt +3 -3
- package/assets/toolkit/toolkit/skills/sdtk-evolve/SKILL.md +2 -2
- package/assets/toolkit/toolkit/skills-claude/evolve/SKILL.md +2 -2
- package/assets/toolkit/toolkit/templates/QUALITY_CHECKLIST.md +1 -1
- package/package.json +1 -1
- package/src/commands/init.js +13 -0
- package/src/lib/update.js +2 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
It exposes the `sdtk-spec` CLI as the primary upstream command surface.
|
|
6
6
|
|
|
7
|
-
Package version in this source snapshot: `0.8.
|
|
7
|
+
Package version in this source snapshot: `0.8.1`
|
|
8
8
|
Full usage guide: `products/sdtk-spec/governance/SDTK_SPEC_USAGE_GUIDE.md`
|
|
9
9
|
|
|
10
10
|
Wraps the `SDTK-SPEC` PowerShell toolkit for portable, reproducible feature documentation scaffolding.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.8.
|
|
3
|
-
"sourceCommit": "
|
|
2
|
+
"version": "0.8.1",
|
|
3
|
+
"sourceCommit": "12c007b7b4588c7cf1bf13a34ebee83bb9d2e40b",
|
|
4
4
|
"fileCount": 100,
|
|
5
5
|
"files": [
|
|
6
6
|
{
|
|
@@ -140,8 +140,8 @@
|
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"path": "toolkit/skills-claude/evolve/SKILL.md",
|
|
143
|
-
"sha256": "
|
|
144
|
-
"size":
|
|
143
|
+
"sha256": "caab483c02ff355634dd3e94c2d3d585ba6469c092ce5ab4bee97357da40be99",
|
|
144
|
+
"size": 7532
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"path": "toolkit/skills-claude/mailbox-dispatch/SKILL.md",
|
|
@@ -240,8 +240,8 @@
|
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
"path": "toolkit/skills/sdtk-evolve/SKILL.md",
|
|
243
|
-
"sha256": "
|
|
244
|
-
"size":
|
|
243
|
+
"sha256": "691e7a0dd50262f247ad8a4c8ca05892c1240245de20580cc411c2d063bf9a1f",
|
|
244
|
+
"size": 7861
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
"path": "toolkit/skills/sdtk-mailbox-dispatch/SKILL.md",
|
|
@@ -490,8 +490,8 @@
|
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
"path": "toolkit/templates/QUALITY_CHECKLIST.md",
|
|
493
|
-
"sha256": "
|
|
494
|
-
"size":
|
|
493
|
+
"sha256": "1cc6c9e0fbbbd545da9750e6f13e09ad968d9b23bff3a69a36a46a2be57d5ea2",
|
|
494
|
+
"size": 7039
|
|
495
495
|
},
|
|
496
496
|
{
|
|
497
497
|
"path": "toolkit/templates/README.md",
|
|
@@ -25,7 +25,7 @@ c17bb4faff318032ee99ead56e5fa182811c7bcaa176e463d0377cefde213ac1 toolkit/skills
|
|
|
25
25
|
b4de86bc4730c4fcfe4f1bde8f9f64f03fd517825bb699e911199825cc3d4249 toolkit/skills-claude/dev-backend/SKILL.md
|
|
26
26
|
37b3ae11db18bc3f64a76b22bca95cea778d6cfbb8b038d46851bd44ff8ff8f1 toolkit/skills-claude/dev-frontend/SKILL.md
|
|
27
27
|
a4f326e2cafff865aaaed8f8de9407f3baa3cfebe33979528a15eb26d2e8482b toolkit/skills-claude/dev/SKILL.md
|
|
28
|
-
|
|
28
|
+
caab483c02ff355634dd3e94c2d3d585ba6469c092ce5ab4bee97357da40be99 toolkit/skills-claude/evolve/SKILL.md
|
|
29
29
|
6fa2283aa1ebb7bf5b6e84d5d5d9d9ddf71082091b108bd46895923a5fca3e09 toolkit/skills-claude/mailbox-dispatch/SKILL.md
|
|
30
30
|
aa086be1038e34b1b29f7f65bacf254b5c1bfdc1203bd3e643c27acca4f9c2fa toolkit/skills-claude/orchestrator/SKILL.md
|
|
31
31
|
e9e346ff0e1fc66236ceabf64a043c9a28926e7ff06296b26dd5836cf045802a toolkit/skills-claude/pm/SKILL.md
|
|
@@ -45,7 +45,7 @@ ce5af79e5c4902b9c8ceb7e8dae848a6a5a26d5b845eee94ee8aafff88990256 toolkit/skills
|
|
|
45
45
|
6c866b7f8dec193a4c26066e8ac43004ff809f6407ead467a3cb72d90425af52 toolkit/skills/sdtk-dev/prompts/implementer.md
|
|
46
46
|
55dd53b1ccbedd271ad23ca8df01afc317eced27ee17af3b37f31f0b9176ca8b toolkit/skills/sdtk-dev/prompts/spec-reviewer.md
|
|
47
47
|
749f0ff0865d8940cec9b16859706fd46f111a4d9bf54b6ccba381fe9db7a90e toolkit/skills/sdtk-dev/SKILL.md
|
|
48
|
-
|
|
48
|
+
691e7a0dd50262f247ad8a4c8ca05892c1240245de20580cc411c2d063bf9a1f toolkit/skills/sdtk-evolve/SKILL.md
|
|
49
49
|
df593d5ab4e7c5f4b05ac9ddb5078189b25bd954e546ab65c0147d024e4f4d59 toolkit/skills/sdtk-mailbox-dispatch/SKILL.md
|
|
50
50
|
66ddb66fee3b12b008ea269baa57acde77f8614ac15a9f87cc994eae64ca63dc toolkit/skills/sdtk-orchestrator/SKILL.md
|
|
51
51
|
ae53d96b6a4fb4ea60fb5de6578b2620c3adb43e1d722a0469cdfa5a90b92903 toolkit/skills/sdtk-pm/SKILL.md
|
|
@@ -95,6 +95,6 @@ e65192c4e72d86d27452c89f7be2d3bfe1118af550f71e3eee9db92e20f96cea toolkit/templa
|
|
|
95
95
|
6ee91d4307ec0fc6dbdee281f2a3f99efa552de55b535ff46cf498689572f9f7 toolkit/templates/handoffs/QA_RELEASE_DECISION.md
|
|
96
96
|
54ae1612b6e95af0f19bd0ea897ceb1df72d366dc20485c91ba3261484e88cf2 toolkit/templates/mailbox/AGENT_REPORT_TEMPLATE.md
|
|
97
97
|
3fd748061615802c8cd5a4978396a782f59404662339ee18f732352cb79b4f84 toolkit/templates/mailbox/AGENT_TASK_TEMPLATE.md
|
|
98
|
-
|
|
98
|
+
1cc6c9e0fbbbd545da9750e6f13e09ad968d9b23bff3a69a36a46a2be57d5ea2 toolkit/templates/QUALITY_CHECKLIST.md
|
|
99
99
|
2ba15299f149dca87d182ca65d8dccc3b27335c6ac31e01cc42afd02476d5dad toolkit/templates/README.md
|
|
100
100
|
bc778c499c534c3a0c4547c35d2fed02e745cefe743c1ed8a1074e1e0a88a8b2 toolkit/templates/SHARED_PLANNING.md
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sdtk-evolve
|
|
3
|
-
description: "Local self-improvement loop for SDTK
|
|
3
|
+
description: "Local self-improvement loop for SDTK. Harvest your own past agent sessions for recurring friction and stage at most 4 bounded, evidence-backed lesson edits to .sdtk/evolve/LEARNED.md for explicit human adoption. Use at the end of a substantial session or when the same correction keeps repeating."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# SDTK Evolve — learn from your own sessions, behind a human gate
|
|
@@ -63,5 +63,5 @@ Every turn produced while executing this skill is part of an evolve cycle. Begin
|
|
|
63
63
|
## Runtime Entrypoint Truth (Codex)
|
|
64
64
|
- Project-local Codex support is bounded to explicit `CODEX_HOME=<project>/.codex`; presence of `sdtk-evolve` under `.codex/skills` does not prove direct built-in exposure. Invoke via "Use the sdtk-evolve skill." when no direct syntax is validated.
|
|
65
65
|
|
|
66
|
-
## Effectiveness discipline
|
|
66
|
+
## Effectiveness discipline
|
|
67
67
|
The loop measures itself: recurrence verdicts are the metric, FAILING lessons get culled, and `sdtk evolve status` reminds the operator when the dogfood checkpoint (4 weeks / 20 sessions) is due. Never claim a lesson "works" without the recurrence evidence — flat/noisy results are reported as exactly that.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: evolve
|
|
3
|
-
description: Local self-improvement loop for SDTK
|
|
3
|
+
description: "Local self-improvement loop for SDTK. Harvest your own past agent sessions for recurring friction and stage at most 4 bounded, evidence-backed lesson edits to .sdtk/evolve/LEARNED.md for explicit human adoption. Use at the end of a substantial session or when the same correction keeps repeating."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# SDTK Evolve — learn from your own sessions, behind a human gate
|
|
@@ -60,5 +60,5 @@ Every turn produced while executing this skill is part of an evolve cycle. Begin
|
|
|
60
60
|
- It is **not** yours to edit directly, not a scratchpad, not a place for secrets or project data — lessons are about *how to work*, not *what the code is*.
|
|
61
61
|
- Git posture is the operator's choice (commit to share with a team, ignore for personal habits); `sdtk evolve status` shows the current posture.
|
|
62
62
|
|
|
63
|
-
## Effectiveness discipline
|
|
63
|
+
## Effectiveness discipline
|
|
64
64
|
The loop measures itself: recurrence verdicts are the metric, FAILING lessons get culled, and `sdtk evolve status` reminds the operator when the dogfood checkpoint (4 weeks / 20 sessions) is due. Never claim a lesson "works" without the recurrence evidence — flat/noisy results are reported as exactly that.
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
| 4 | Test obligations are explicit enough for downstream verification | [ ] Pending | Dev Agent | | |
|
|
75
75
|
| 5 | Readiness decision is explicit (`READY_FOR_SDTK_CODE` or `BLOCKED_FOR_SDTK_CODE`) | [ ] Pending | Dev Agent | | |
|
|
76
76
|
| 6 | `CODE_HANDOFF_[FEATURE_KEY].json` generated or validated successfully | [ ] Pending | Dev Agent | | |
|
|
77
|
-
| 7 | `sdtk-spec config check` passes (no UPDATE_ME placeholders
|
|
77
|
+
| 7 | `sdtk-spec config check` passes (no UPDATE_ME placeholders - stack/test commands are real) | [ ] Pending | Dev Agent | Run `sdtk-spec config apply-profile <name>` if unfilled | |
|
|
78
78
|
| **8** | **DEV READY FOR SDTK-CODE** | [ ] Pending | **Dev Gate** | **If ready: suggest `sdtk-code start ...`; if blocked: keep blockers visible** | |
|
|
79
79
|
|
|
80
80
|
---
|
package/package.json
CHANGED
package/src/commands/init.js
CHANGED
|
@@ -129,6 +129,19 @@ async function cmdInit(args) {
|
|
|
129
129
|
if (s.unknown.length) {
|
|
130
130
|
console.log(` Could not detect (please set manually): ${s.unknown.join(", ")}.`);
|
|
131
131
|
}
|
|
132
|
+
// BK-346: close the loop from detection into a gate-ready config.
|
|
133
|
+
const profileHint = d.framework === "laravel" || d.language === "php"
|
|
134
|
+
? "php-laravel"
|
|
135
|
+
: d.framework === "django"
|
|
136
|
+
? "django-react"
|
|
137
|
+
: d.framework === "nextjs" || d.framework === "next"
|
|
138
|
+
? "node-nextjs"
|
|
139
|
+
: null;
|
|
140
|
+
if (profileHint) {
|
|
141
|
+
console.log(` Tip: run "sdtk-spec config apply-profile ${profileHint}" to fill stack + gate commands, then verify with "sdtk-spec config check".`);
|
|
142
|
+
} else {
|
|
143
|
+
console.log(' Tip: fill the remaining values with "sdtk-spec config apply-profile <name>" (see sdtk-spec.config.profiles.example.json), then verify with "sdtk-spec config check".');
|
|
144
|
+
}
|
|
132
145
|
console.log("");
|
|
133
146
|
}
|
|
134
147
|
|
package/src/lib/update.js
CHANGED
|
@@ -306,6 +306,8 @@ async function applyPlan(plan, options) {
|
|
|
306
306
|
|
|
307
307
|
console.log("");
|
|
308
308
|
console.log("SDTK-SPEC update completed successfully.");
|
|
309
|
+
// BK-346: fragmentation is born exactly at update time (BK-322 lesson).
|
|
310
|
+
console.log('Tip: run "sdtk doctor" to confirm every suite CLI now serves the updated copy (detects shadowed installs).');
|
|
309
311
|
}
|
|
310
312
|
|
|
311
313
|
async function executeUpdate(args) {
|