kiro-spec-engine 1.6.2 → 1.6.3
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
|
@@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.6.3] - 2026-01-24
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Fixed incorrect command recommendations in diagnostic tools** 🐛
|
|
12
|
+
- Updated `lib/governance/diagnostic-engine.js` to recommend `kse docs archive --spec <spec-name>` instead of `kse archive --spec <spec-name>`
|
|
13
|
+
- Updated `lib/commands/status.js` to show correct archive command in quick fix suggestions
|
|
14
|
+
- Fixed all related test expectations to match actual command structure
|
|
15
|
+
- **Impact**: Users will now see correct commands when `kse doctor --docs` or `kse status` detect misplaced artifacts
|
|
16
|
+
- **Root cause**: Documentation/functionality mismatch - the actual command is `kse docs archive`, not `kse archive`
|
|
17
|
+
|
|
18
|
+
**Discovered from real user feedback:**
|
|
19
|
+
> User's AI (Codex) tried to run `kse archive --spec 01-00-user-space-diagnosis`
|
|
20
|
+
> based on `kse doctor --docs` recommendation, but got `error: unknown command 'archive'`
|
|
21
|
+
|
|
22
|
+
**Why this matters:**
|
|
23
|
+
- Prevents user confusion when following system recommendations
|
|
24
|
+
- AI agents will now execute correct commands automatically
|
|
25
|
+
- Improves reliability of automated workflows
|
|
26
|
+
|
|
8
27
|
## [1.6.2] - 2026-01-24
|
|
9
28
|
|
|
10
29
|
### Changed
|
package/lib/commands/status.js
CHANGED
|
@@ -280,7 +280,7 @@ async function displayDocumentCompliance(projectPath) {
|
|
|
280
280
|
console.log(` ${chalk.gray('•')} Run diagnostics: ${chalk.cyan('kse doctor --docs')}`);
|
|
281
281
|
console.log(` ${chalk.gray('•')} Clean temporary files: ${chalk.cyan('kse cleanup')}`);
|
|
282
282
|
console.log(` ${chalk.gray('•')} Validate structure: ${chalk.cyan('kse validate --all')}`);
|
|
283
|
-
console.log(` ${chalk.gray('•')} Archive artifacts: ${chalk.cyan('kse archive --spec <name>')}`);
|
|
283
|
+
console.log(` ${chalk.gray('•')} Archive artifacts: ${chalk.cyan('kse docs archive --spec <name>')}`);
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
console.log();
|
|
@@ -229,7 +229,7 @@ class DiagnosticEngine {
|
|
|
229
229
|
|
|
230
230
|
// Misplaced artifacts
|
|
231
231
|
if (summary.byType.misplaced_artifact > 0) {
|
|
232
|
-
recommendations.push('Run `kse archive --spec <spec-name>` to organize artifacts into subdirectories');
|
|
232
|
+
recommendations.push('Run `kse docs archive --spec <spec-name>` to organize artifacts into subdirectories');
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
// Missing required files
|
package/package.json
CHANGED