kiro-spec-engine 1.2.3 → 1.4.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.
- package/CHANGELOG.md +135 -0
- package/README.md +239 -213
- package/README.zh.md +0 -330
- package/bin/kiro-spec-engine.js +62 -0
- package/docs/README.md +223 -0
- package/docs/agent-hooks-analysis.md +815 -0
- package/docs/command-reference.md +252 -0
- package/docs/cross-tool-guide.md +554 -0
- package/docs/examples/add-export-command/design.md +194 -0
- package/docs/examples/add-export-command/requirements.md +110 -0
- package/docs/examples/add-export-command/tasks.md +88 -0
- package/docs/examples/add-rest-api/design.md +855 -0
- package/docs/examples/add-rest-api/requirements.md +323 -0
- package/docs/examples/add-rest-api/tasks.md +355 -0
- package/docs/examples/add-user-dashboard/design.md +192 -0
- package/docs/examples/add-user-dashboard/requirements.md +143 -0
- package/docs/examples/add-user-dashboard/tasks.md +91 -0
- package/docs/faq.md +696 -0
- package/docs/integration-modes.md +525 -0
- package/docs/integration-philosophy.md +313 -0
- package/docs/manual-workflows-guide.md +417 -0
- package/docs/quick-start-with-ai-tools.md +374 -0
- package/docs/quick-start.md +711 -0
- package/docs/spec-workflow.md +453 -0
- package/docs/steering-strategy-guide.md +196 -0
- package/docs/tools/claude-guide.md +653 -0
- package/docs/tools/cursor-guide.md +705 -0
- package/docs/tools/generic-guide.md +445 -0
- package/docs/tools/kiro-guide.md +308 -0
- package/docs/tools/vscode-guide.md +444 -0
- package/docs/tools/windsurf-guide.md +390 -0
- package/docs/troubleshooting.md +795 -0
- package/docs/zh/README.md +275 -0
- package/docs/zh/quick-start.md +711 -0
- package/docs/zh/tools/claude-guide.md +348 -0
- package/docs/zh/tools/cursor-guide.md +280 -0
- package/docs/zh/tools/generic-guide.md +498 -0
- package/docs/zh/tools/kiro-guide.md +342 -0
- package/docs/zh/tools/vscode-guide.md +448 -0
- package/docs/zh/tools/windsurf-guide.md +377 -0
- package/lib/adoption/detection-engine.js +14 -4
- package/lib/commands/adopt.js +117 -3
- package/lib/commands/context.js +99 -0
- package/lib/commands/prompt.js +105 -0
- package/lib/commands/status.js +225 -0
- package/lib/commands/task.js +199 -0
- package/lib/commands/watch.js +569 -0
- package/lib/commands/workflows.js +240 -0
- package/lib/commands/workspace.js +189 -0
- package/lib/context/context-exporter.js +378 -0
- package/lib/context/prompt-generator.js +482 -0
- package/lib/steering/adoption-config.js +164 -0
- package/lib/steering/steering-manager.js +289 -0
- package/lib/task/task-claimer.js +430 -0
- package/lib/utils/tool-detector.js +383 -0
- package/lib/watch/action-executor.js +458 -0
- package/lib/watch/event-debouncer.js +323 -0
- package/lib/watch/execution-logger.js +550 -0
- package/lib/watch/file-watcher.js +499 -0
- package/lib/watch/presets.js +266 -0
- package/lib/watch/watch-manager.js +533 -0
- package/lib/workspace/workspace-manager.js +370 -0
- package/lib/workspace/workspace-sync.js +356 -0
- package/package.json +3 -1
- package/template/.kiro/tools/backup_manager.py +295 -0
- package/template/.kiro/tools/configuration_manager.py +218 -0
- package/template/.kiro/tools/document_evaluator.py +550 -0
- package/template/.kiro/tools/enhancement_logger.py +168 -0
- package/template/.kiro/tools/error_handler.py +335 -0
- package/template/.kiro/tools/improvement_identifier.py +444 -0
- package/template/.kiro/tools/modification_applicator.py +737 -0
- package/template/.kiro/tools/quality_gate_enforcer.py +207 -0
- package/template/.kiro/tools/quality_scorer.py +305 -0
- package/template/.kiro/tools/report_generator.py +154 -0
- package/template/.kiro/tools/ultrawork_enhancer_refactored.py +0 -0
- package/template/.kiro/tools/ultrawork_enhancer_v2.py +463 -0
- package/template/.kiro/tools/ultrawork_enhancer_v3.py +606 -0
- package/template/.kiro/tools/workflow_quality_gate.py +100 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,141 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.4.0] - 2026-01-23
|
|
11
|
+
|
|
12
|
+
### Added - User Onboarding and Documentation Overhaul 📚
|
|
13
|
+
|
|
14
|
+
**Complete Documentation Restructure**:
|
|
15
|
+
- **New Positioning**: Repositioned kse as "A context provider for AI coding tools"
|
|
16
|
+
- **Three-Tier Structure**: README → Core Guides → Tool-Specific Guides
|
|
17
|
+
- **"What kse is NOT" Section**: Clear clarification of kse's role
|
|
18
|
+
|
|
19
|
+
**New Documentation** (20+ new files):
|
|
20
|
+
- **Quick Start Guide** (`docs/quick-start.md`): Complete 5-minute tutorial with user-login example
|
|
21
|
+
- **6 Tool-Specific Guides**:
|
|
22
|
+
- Cursor Integration Guide
|
|
23
|
+
- Claude Code Integration Guide
|
|
24
|
+
- Windsurf Integration Guide
|
|
25
|
+
- Kiro Integration Guide
|
|
26
|
+
- VS Code + Copilot Integration Guide
|
|
27
|
+
- Generic AI Tools Guide
|
|
28
|
+
- **Core Guides**:
|
|
29
|
+
- Spec Workflow Guide (deep dive into Spec creation)
|
|
30
|
+
- Integration Modes Guide (Native, Manual Export, Watch Mode)
|
|
31
|
+
- Troubleshooting Guide (organized by category)
|
|
32
|
+
- FAQ (frequently asked questions)
|
|
33
|
+
- **3 Complete Example Specs**:
|
|
34
|
+
- API Feature Example (RESTful API with authentication)
|
|
35
|
+
- UI Feature Example (React dashboard)
|
|
36
|
+
- CLI Feature Example (export command)
|
|
37
|
+
- **Documentation Index** (`docs/README.md`): Comprehensive navigation hub
|
|
38
|
+
|
|
39
|
+
**Visual Enhancements**:
|
|
40
|
+
- **3 Mermaid Diagrams**:
|
|
41
|
+
- Spec creation workflow diagram
|
|
42
|
+
- Integration modes diagram
|
|
43
|
+
- Context flow sequence diagram
|
|
44
|
+
|
|
45
|
+
**Bilingual Support**:
|
|
46
|
+
- **Complete Chinese Translations**:
|
|
47
|
+
- Chinese README (`README.zh.md`)
|
|
48
|
+
- Chinese Quick Start Guide (`docs/zh/quick-start.md`)
|
|
49
|
+
- All 6 tool guides translated (`docs/zh/tools/`)
|
|
50
|
+
- Chinese documentation index (`docs/zh/README.md`)
|
|
51
|
+
|
|
52
|
+
**Metadata and Navigation**:
|
|
53
|
+
- Added version, date, audience, and time estimates to all major docs
|
|
54
|
+
- Cross-document linking with "Related Documentation" sections
|
|
55
|
+
- "Next Steps" sections for progressive learning
|
|
56
|
+
- "Getting Help" sections with multiple support channels
|
|
57
|
+
|
|
58
|
+
### Changed
|
|
59
|
+
|
|
60
|
+
- **README.md**: Complete restructure with embedded quick start and clear positioning
|
|
61
|
+
- **README.zh.md**: Updated to match new English structure
|
|
62
|
+
- All documentation now emphasizes kse's role as a context provider for AI tools
|
|
63
|
+
|
|
64
|
+
### Improved
|
|
65
|
+
|
|
66
|
+
- **User Experience**: Reduced time-to-first-feature from unclear to 5 minutes
|
|
67
|
+
- **Tool Integration**: Clear guidance for 6 major AI tools
|
|
68
|
+
- **Learning Path**: Progressive disclosure from beginner to advanced
|
|
69
|
+
- **Accessibility**: Bilingual support for English and Chinese developers
|
|
70
|
+
|
|
71
|
+
## [1.3.0] - 2026-01-23
|
|
72
|
+
|
|
73
|
+
### Added - Watch Mode Automation System 🤖
|
|
74
|
+
|
|
75
|
+
**Core Components** (2150+ lines of code, 172 tests):
|
|
76
|
+
- **FileWatcher**: Cross-platform file monitoring with chokidar
|
|
77
|
+
- Glob pattern matching with minimatch
|
|
78
|
+
- Configurable ignored patterns
|
|
79
|
+
- Event emission for file changes
|
|
80
|
+
- Error recovery and health monitoring
|
|
81
|
+
- **EventDebouncer**: Smart event management
|
|
82
|
+
- Debounce and throttle logic
|
|
83
|
+
- Event queue with duplicate prevention
|
|
84
|
+
- Configurable delays per pattern
|
|
85
|
+
- **ActionExecutor**: Command execution engine
|
|
86
|
+
- Shell command execution with context interpolation
|
|
87
|
+
- Retry logic with exponential/linear backoff
|
|
88
|
+
- Timeout handling and process management
|
|
89
|
+
- Command validation and security
|
|
90
|
+
- **ExecutionLogger**: Complete audit trail
|
|
91
|
+
- Log rotation by size
|
|
92
|
+
- Metrics tracking (executions, time saved, success rates)
|
|
93
|
+
- Export to JSON/CSV
|
|
94
|
+
- Configurable log levels
|
|
95
|
+
- **WatchManager**: Central coordinator
|
|
96
|
+
- Lifecycle management (start/stop/restart)
|
|
97
|
+
- Configuration loading and validation
|
|
98
|
+
- Status reporting and metrics
|
|
99
|
+
|
|
100
|
+
**CLI Commands** (7 commands):
|
|
101
|
+
- `kse watch init` - Initialize watch configuration
|
|
102
|
+
- `kse watch start/stop` - Control watch mode
|
|
103
|
+
- `kse watch status` - Show current status
|
|
104
|
+
- `kse watch logs` - View execution logs (with tail/follow)
|
|
105
|
+
- `kse watch metrics` - Display automation metrics
|
|
106
|
+
- `kse watch presets` - List available presets
|
|
107
|
+
- `kse watch install <preset>` - Install automation preset
|
|
108
|
+
|
|
109
|
+
**Automation Presets** (4 presets):
|
|
110
|
+
- `auto-sync` - Automatically sync workspace when tasks.md changes
|
|
111
|
+
- `prompt-regen` - Regenerate prompts when requirements/design change
|
|
112
|
+
- `context-export` - Export context when tasks complete
|
|
113
|
+
- `test-runner` - Run tests when source files change
|
|
114
|
+
|
|
115
|
+
**Tool Detection & Auto-Configuration**:
|
|
116
|
+
- Automatic IDE detection (Kiro IDE, VS Code, Cursor)
|
|
117
|
+
- Tool-specific automation recommendations
|
|
118
|
+
- Auto-configuration during project adoption
|
|
119
|
+
- Confidence-based suggestions
|
|
120
|
+
|
|
121
|
+
**Manual Workflows** (6 workflows):
|
|
122
|
+
- Complete workflow guide (300+ lines)
|
|
123
|
+
- `kse workflows` command for workflow management
|
|
124
|
+
- Step-by-step instructions with time estimates
|
|
125
|
+
- Interactive checklists for common tasks
|
|
126
|
+
- Workflows: task-sync, context-export, prompt-generation, daily, task-completion, spec-creation
|
|
127
|
+
|
|
128
|
+
### Enhanced
|
|
129
|
+
- **README.md**: Added comprehensive automation section
|
|
130
|
+
- **Project Adoption**: Integrated tool detection with automation setup
|
|
131
|
+
- **Documentation**: Complete manual workflows guide
|
|
132
|
+
|
|
133
|
+
### Testing
|
|
134
|
+
- 289 tests passing (100% pass rate)
|
|
135
|
+
- 279 unit tests
|
|
136
|
+
- 10 integration tests
|
|
137
|
+
- Full coverage of all watch mode components
|
|
138
|
+
|
|
139
|
+
### Performance
|
|
140
|
+
- Efficient file watching with debouncing
|
|
141
|
+
- Configurable retry logic
|
|
142
|
+
- Log rotation to prevent disk space issues
|
|
143
|
+
- Metrics tracking for optimization
|
|
144
|
+
|
|
10
145
|
## [1.2.3] - 2026-01-23
|
|
11
146
|
|
|
12
147
|
### Added
|