kiro-spec-engine 1.12.0 → 1.12.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,49 @@ 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.12.3] - 2026-01-29
9
+
10
+ ### Added
11
+ - **Documentation Enhancement**: Comprehensive `.kiro/README.md` update (v2.0)
12
+ - Added complete directory structure documentation with purpose explanations
13
+ - Added workspace management section with detailed usage examples
14
+ - Added document governance section with validation commands
15
+ - Added data storage location details for `kse workspace` feature
16
+ - Added JSON data structure examples for workspace-state.json
17
+ - Clarified difference between `kse workspace` (cross-project) and `contexts/` (multi-user)
18
+ - Added key features list for workspace management
19
+
20
+ ### Changed
21
+ - **Documentation**: Updated `.kiro/README.md` version to 2.0 with comprehensive feature documentation
22
+ - **Documentation**: Enhanced workspace storage explanation with platform-specific paths
23
+
24
+ ## [1.12.2] - 2026-01-29
25
+
26
+ ### Added
27
+ - **Critical Principle**: Added "测试失败零容忍原则" (Zero Tolerance for Test Failures) to CORE_PRINCIPLES.md
28
+ - Emphasizes "千里之堤溃于蚁穴" - never ignore any test failure
29
+ - Provides clear execution standards and rationale
30
+ - Aligns with Ultrawork spirit and KSE core values
31
+
32
+ ### Changed
33
+ - **Documentation Optimization**: Refactored CORE_PRINCIPLES.md for clarity and value density
34
+ - Fixed duplicate principle numbering (two #6)
35
+ - Merged overlapping content (context management + doc simplification)
36
+ - Consolidated quality principles (code quality + test zero-tolerance)
37
+ - Simplified Spec naming examples (7 → 3 examples)
38
+ - Removed redundant content while preserving all core value
39
+ - Reduced from ~200 lines to ~130 lines (35% reduction)
40
+ - Improved scannability and memorability
41
+ - Updated to v7.0
42
+
43
+ ## [1.12.1] - 2026-01-29
44
+
45
+ ### Fixed
46
+ - **Critical**: Registered `workspace` command in CLI that was missing from v1.12.0
47
+ - Added workspace command registration in `bin/kiro-spec-engine.js`
48
+ - All workspace subcommands now available: create, list, switch, remove, info
49
+ - Fixes issue where users couldn't access multi-workspace management features
50
+
8
51
  ## [1.12.0] - 2026-01-29
9
52
 
10
53
  ### Added - Test Suite Optimization and Expansion 🚀
@@ -411,6 +411,53 @@ opsCmd.action(async (subcommand, args, options) => {
411
411
  await opsCommand(subcommand, args, options);
412
412
  });
413
413
 
414
+ // Multi-workspace management commands
415
+ const workspaceCommand = require('../lib/commands/workspace-multi');
416
+
417
+ const workspaceCmd = program
418
+ .command('workspace')
419
+ .description('Manage multiple kse project workspaces');
420
+
421
+ workspaceCmd
422
+ .command('create <name>')
423
+ .description('Create a new workspace')
424
+ .option('-p, --path <path>', 'Workspace path (defaults to current directory)')
425
+ .action(async (name, options) => {
426
+ await workspaceCommand.createWorkspace(name, options);
427
+ });
428
+
429
+ workspaceCmd
430
+ .command('list')
431
+ .alias('ls')
432
+ .description('List all workspaces')
433
+ .option('-v, --verbose', 'Show detailed information')
434
+ .action(async (options) => {
435
+ await workspaceCommand.listWorkspaces(options);
436
+ });
437
+
438
+ workspaceCmd
439
+ .command('switch <name>')
440
+ .description('Switch to a workspace')
441
+ .action(async (name) => {
442
+ await workspaceCommand.switchWorkspace(name);
443
+ });
444
+
445
+ workspaceCmd
446
+ .command('remove <name>')
447
+ .alias('rm')
448
+ .description('Remove a workspace')
449
+ .option('-f, --force', 'Skip confirmation prompt')
450
+ .action(async (name, options) => {
451
+ await workspaceCommand.removeWorkspace(name, options);
452
+ });
453
+
454
+ workspaceCmd
455
+ .command('info [name]')
456
+ .description('Show workspace information (defaults to current workspace)')
457
+ .action(async (name) => {
458
+ await workspaceCommand.infoWorkspace(name);
459
+ });
460
+
414
461
  // 更新项目配置的辅助函数
415
462
  async function updateProjectConfig(projectName) {
416
463
  const envPath = path.join(process.cwd(), '.kiro/steering/ENVIRONMENT.md');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kiro-spec-engine",
3
- "version": "1.12.0",
3
+ "version": "1.12.3",
4
4
  "description": "kiro-spec-engine (kse) - A CLI tool and npm package for spec-driven development with AI coding assistants. NOT the Kiro IDE desktop application.",
5
5
  "main": "index.js",
6
6
  "bin": {