sqlew 4.0.4 → 4.1.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 +1805 -1762
- package/LICENSE +177 -39
- package/NOTICE +24 -0
- package/README.md +409 -390
- package/assets/claude-md-snippets/plan-mode-integration.md +17 -6
- package/assets/config.example.toml +282 -284
- package/assets/sample-agents/README.md +36 -40
- package/assets/sample-agents/sqlew-architect.md +321 -322
- package/assets/sample-agents/sqlew-researcher.md +292 -293
- package/assets/sample-agents/sqlew-scrum-master.md +286 -287
- package/assets/sample-commands/README.md +56 -57
- package/assets/sample-skills/sqlew-plan-guidance/SKILL.md +33 -26
- package/dist/cli/hooks/check-completion.d.ts +19 -0
- package/dist/cli/hooks/check-completion.d.ts.map +1 -0
- package/dist/cli/hooks/check-completion.js +104 -0
- package/dist/cli/hooks/check-completion.js.map +1 -0
- package/dist/cli/hooks/init-hooks.d.ts +35 -0
- package/dist/cli/hooks/init-hooks.d.ts.map +1 -0
- package/dist/cli/hooks/init-hooks.js +425 -0
- package/dist/cli/hooks/init-hooks.js.map +1 -0
- package/dist/cli/hooks/mark-done.d.ts +25 -0
- package/dist/cli/hooks/mark-done.d.ts.map +1 -0
- package/dist/cli/hooks/mark-done.js +128 -0
- package/dist/cli/hooks/mark-done.js.map +1 -0
- package/dist/cli/hooks/plan-id-utils.d.ts +83 -0
- package/dist/cli/hooks/plan-id-utils.d.ts.map +1 -0
- package/dist/cli/hooks/plan-id-utils.js +183 -0
- package/dist/cli/hooks/plan-id-utils.js.map +1 -0
- package/dist/cli/hooks/save.d.ts +23 -0
- package/dist/cli/hooks/save.d.ts.map +1 -0
- package/dist/cli/hooks/save.js +90 -0
- package/dist/cli/hooks/save.js.map +1 -0
- package/dist/cli/hooks/stdin-parser.d.ts +139 -0
- package/dist/cli/hooks/stdin-parser.d.ts.map +1 -0
- package/dist/cli/hooks/stdin-parser.js +127 -0
- package/dist/cli/hooks/stdin-parser.js.map +1 -0
- package/dist/cli/hooks/suggest.d.ts +19 -0
- package/dist/cli/hooks/suggest.d.ts.map +1 -0
- package/dist/cli/hooks/suggest.js +157 -0
- package/dist/cli/hooks/suggest.js.map +1 -0
- package/dist/cli/hooks/track-plan.d.ts +36 -0
- package/dist/cli/hooks/track-plan.d.ts.map +1 -0
- package/dist/cli/hooks/track-plan.js +152 -0
- package/dist/cli/hooks/track-plan.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +56 -16
- package/dist/cli.js.map +1 -1
- package/dist/config/global-config.d.ts +187 -0
- package/dist/config/global-config.d.ts.map +1 -0
- package/dist/config/global-config.js +206 -0
- package/dist/config/global-config.js.map +1 -0
- package/dist/config/loader.d.ts +42 -0
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +96 -0
- package/dist/config/loader.js.map +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +10 -0
- package/dist/constants.js.map +1 -1
- package/dist/database/operations/queries.d.ts.map +1 -1
- package/dist/database/operations/queries.js +11 -2
- package/dist/database/operations/queries.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/init-agents.js +0 -1
- package/dist/init-agents.js.map +1 -1
- package/dist/init-skills.d.ts +4 -3
- package/dist/init-skills.d.ts.map +1 -1
- package/dist/init-skills.js +10 -3
- package/dist/init-skills.js.map +1 -1
- package/dist/server/setup.d.ts +8 -0
- package/dist/server/setup.d.ts.map +1 -1
- package/dist/server/setup.js +141 -21
- package/dist/server/setup.js.map +1 -1
- package/dist/sync-agents.d.ts.map +1 -1
- package/dist/sync-agents.js +48 -3
- package/dist/sync-agents.js.map +1 -1
- package/dist/sync-commands.d.ts.map +1 -1
- package/dist/sync-commands.js +43 -3
- package/dist/sync-commands.js.map +1 -1
- package/dist/tools/constraints/actions/get.d.ts.map +1 -1
- package/dist/tools/constraints/actions/get.js +5 -8
- package/dist/tools/constraints/actions/get.js.map +1 -1
- package/dist/tools/constraints/help/help.d.ts.map +1 -1
- package/dist/tools/constraints/help/help.js +1 -6
- package/dist/tools/constraints/help/help.js.map +1 -1
- package/dist/tools/context/actions/get.d.ts.map +1 -1
- package/dist/tools/context/actions/get.js.map +1 -1
- package/dist/tools/context/actions/search-layer.d.ts.map +1 -1
- package/dist/tools/context/actions/search-layer.js +5 -3
- package/dist/tools/context/actions/search-layer.js.map +1 -1
- package/dist/tools/context/actions/set-from-policy.d.ts +2 -1
- package/dist/tools/context/actions/set-from-policy.d.ts.map +1 -1
- package/dist/tools/context/actions/set-from-policy.js.map +1 -1
- package/dist/tools/context/help/help.d.ts.map +1 -1
- package/dist/tools/context/help/help.js +1 -7
- package/dist/tools/context/help/help.js.map +1 -1
- package/dist/tools/context/internal/queries.d.ts.map +1 -1
- package/dist/tools/context/internal/queries.js +5 -2
- package/dist/tools/context/internal/queries.js.map +1 -1
- package/dist/tools/context/types.d.ts +1 -1
- package/dist/tools/context/types.d.ts.map +1 -1
- package/dist/tools/files/actions/get.d.ts.map +1 -1
- package/dist/tools/files/actions/get.js +4 -6
- package/dist/tools/files/actions/get.js.map +1 -1
- package/dist/tools/files/help/help.d.ts.map +1 -1
- package/dist/tools/files/help/help.js +1 -6
- package/dist/tools/files/help/help.js.map +1 -1
- package/dist/tools/suggest/help/constraint-help.d.ts.map +1 -1
- package/dist/tools/suggest/help/constraint-help.js +0 -2
- package/dist/tools/suggest/help/constraint-help.js.map +1 -1
- package/dist/tools/suggest/internal/constraint-queries.d.ts.map +1 -1
- package/dist/tools/suggest/internal/constraint-queries.js +12 -5
- package/dist/tools/suggest/internal/constraint-queries.js.map +1 -1
- package/dist/tools/suggest/internal/queries.js +2 -2
- package/dist/tools/suggest/internal/queries.js.map +1 -1
- package/dist/tools/tasks/help/help.d.ts.map +1 -1
- package/dist/tools/tasks/help/help.js +0 -6
- package/dist/tools/tasks/help/help.js.map +1 -1
- package/dist/tools/tasks/help/use-case.d.ts.map +1 -1
- package/dist/tools/tasks/help/use-case.js +0 -1
- package/dist/tools/tasks/help/use-case.js.map +1 -1
- package/dist/tools/tasks/watcher/status.d.ts.map +1 -1
- package/dist/tools/tasks/watcher/status.js +5 -1
- package/dist/tools/tasks/watcher/status.js.map +1 -1
- package/dist/types/decision/params.d.ts +7 -6
- package/dist/types/decision/params.d.ts.map +1 -1
- package/dist/types/decision/templates.d.ts +3 -2
- package/dist/types/decision/templates.d.ts.map +1 -1
- package/dist/types/view-entities.d.ts +2 -1
- package/dist/types/view-entities.d.ts.map +1 -1
- package/dist/types.d.ts +19 -11
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +4 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/enum-converter.d.ts +72 -0
- package/dist/utils/enum-converter.d.ts.map +1 -0
- package/dist/utils/enum-converter.js +76 -0
- package/dist/utils/enum-converter.js.map +1 -0
- package/dist/utils/hook-queue.d.ts +81 -0
- package/dist/utils/hook-queue.d.ts.map +1 -0
- package/dist/utils/hook-queue.js +156 -0
- package/dist/utils/hook-queue.js.map +1 -0
- package/dist/utils/project-root.d.ts +9 -2
- package/dist/utils/project-root.d.ts.map +1 -1
- package/dist/utils/project-root.js +16 -2
- package/dist/utils/project-root.js.map +1 -1
- package/dist/utils/tag-parser.d.ts.map +1 -1
- package/dist/utils/tag-parser.js +6 -0
- package/dist/utils/tag-parser.js.map +1 -1
- package/dist/utils/validators.d.ts +1 -1
- package/dist/utils/validators.d.ts.map +1 -1
- package/dist/utils/validators.js +1 -1
- package/dist/utils/validators.js.map +1 -1
- package/dist/utils/vcs-adapter.d.ts +44 -0
- package/dist/utils/vcs-adapter.d.ts.map +1 -1
- package/dist/utils/vcs-adapter.js +88 -0
- package/dist/utils/vcs-adapter.js.map +1 -1
- package/dist/utils/view-queries.d.ts.map +1 -1
- package/dist/utils/view-queries.js +9 -19
- package/dist/utils/view-queries.js.map +1 -1
- package/dist/watcher/base-watcher.d.ts +69 -0
- package/dist/watcher/base-watcher.d.ts.map +1 -0
- package/dist/watcher/base-watcher.js +130 -0
- package/dist/watcher/base-watcher.js.map +1 -0
- package/dist/watcher/index.d.ts +3 -0
- package/dist/watcher/index.d.ts.map +1 -1
- package/dist/watcher/index.js +2 -0
- package/dist/watcher/index.js.map +1 -1
- package/dist/watcher/queue-watcher.d.ts +64 -0
- package/dist/watcher/queue-watcher.d.ts.map +1 -0
- package/dist/watcher/queue-watcher.js +187 -0
- package/dist/watcher/queue-watcher.js.map +1 -0
- package/docs/ADR_CONCEPTS.md +140 -0
- package/docs/CONFIGURATION.md +922 -925
- package/docs/CROSS_DATABASE.md +153 -0
- package/docs/DATABASE_AUTH.md +70 -356
- package/docs/HOOKS_GUIDE.md +159 -0
- package/docs/SLASH_COMMANDS.md +329 -337
- package/docs/TASK_SYSTEM_DEPRECATED.md +88 -0
- package/docs/changelogs/CHANGELOG_ARCHIVE_v3.4_and_older.md +293 -296
- package/docs/cli/DATA_EXPORT_IMPORT.md +699 -700
- package/docs/cli/README.md +276 -277
- package/package.json +123 -119
- package/docs/ACCEPTANCE_CRITERIA.md +0 -625
- package/docs/AI_AGENT_GUIDE.md +0 -198
- package/docs/ARCHITECTURE.md +0 -167
- package/docs/AUTO_FILE_TRACKING.md +0 -841
- package/docs/BATCH_VALIDATION.md +0 -617
- package/docs/BEST_PRACTICES.md +0 -168
- package/docs/CONSTRAINT_INTELLIGENCE.md +0 -339
- package/docs/DECISION_CONTEXT.md +0 -675
- package/docs/DECISION_INTELLIGENCE.md +0 -605
- package/docs/GIT_AWARE_AUTO_COMPLETE.md +0 -646
- package/docs/MIGRATION_GUIDE_V3.9.0.md +0 -371
- package/docs/SHARED_CONCEPTS.md +0 -225
- package/docs/SPECIALIZED_AGENTS.md +0 -126
- package/docs/TASK_ACTIONS.md +0 -1177
- package/docs/TASK_OVERVIEW.md +0 -452
- package/docs/TASK_PRUNING.md +0 -594
- package/docs/TOOL_REFERENCE.md +0 -1077
- package/docs/TOOL_SELECTION.md +0 -83
- package/docs/WORKFLOWS.md +0 -941
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Task System (Deprecated)
|
|
2
|
+
|
|
3
|
+
> **Status**: Deprecated as of v4.1.0
|
|
4
|
+
>
|
|
5
|
+
> AI agents have evolved to become sophisticated enough to manage their own task orchestration through Claude Code's native TodoWrite tool and Plan Mode. The sqlew Task System has fulfilled its mission as a bridge technology and is now retired with honor.
|
|
6
|
+
>
|
|
7
|
+
> This document is preserved for historical reference and for users who wish to understand the original design.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Historical Overview
|
|
12
|
+
|
|
13
|
+
The sqlew Task System (v3.0.0 - v4.0.x) provided:
|
|
14
|
+
|
|
15
|
+
- **Kanban-style task management** with status transitions (todo, in_progress, waiting_review, blocked, done, archived)
|
|
16
|
+
- **File tracking** linking tasks to source files with action types (create, modify, delete)
|
|
17
|
+
- **Dependency management** with circular dependency detection
|
|
18
|
+
- **Auto-stale detection** transitioning abandoned tasks automatically
|
|
19
|
+
- **Git-aware auto-complete** using VCS events to advance task status
|
|
20
|
+
- **Acceptance criteria validation** for automated task completion checks
|
|
21
|
+
|
|
22
|
+
## Why Deprecated?
|
|
23
|
+
|
|
24
|
+
### The Original Problem (2025-06)
|
|
25
|
+
|
|
26
|
+
When sqlew was designed, AI agents lacked:
|
|
27
|
+
- Persistent memory across sessions
|
|
28
|
+
- Native task tracking capabilities
|
|
29
|
+
- Structured planning workflows
|
|
30
|
+
|
|
31
|
+
The Task System bridged this gap by providing database-backed task persistence.
|
|
32
|
+
|
|
33
|
+
### What Changed (2025-11)
|
|
34
|
+
|
|
35
|
+
Claude Code introduced:
|
|
36
|
+
- **TodoWrite tool** - Native task tracking within conversations
|
|
37
|
+
- **Plan Mode** - Structured planning with user approval workflow
|
|
38
|
+
- **Claude Code Hooks** - Automatic decision capture from Plan Mode
|
|
39
|
+
|
|
40
|
+
These native capabilities now handle what the Task System was designed to do, but with:
|
|
41
|
+
- Zero configuration required
|
|
42
|
+
- Seamless integration with Claude Code
|
|
43
|
+
- No database overhead for task state
|
|
44
|
+
|
|
45
|
+
## Migration Path
|
|
46
|
+
|
|
47
|
+
**Before (Task System)**:
|
|
48
|
+
```typescript
|
|
49
|
+
task({ action: "create", title: "Implement auth", layer: "business" })
|
|
50
|
+
task({ action: "move", task_id: 1, status: "in_progress" })
|
|
51
|
+
task({ action: "move", task_id: 1, status: "done" })
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**After (Native Claude Code)**:
|
|
55
|
+
```
|
|
56
|
+
// Just use Plan Mode - tasks are tracked automatically via TodoWrite
|
|
57
|
+
// Decisions are captured automatically via Hooks
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Preserved Features
|
|
61
|
+
|
|
62
|
+
The following sqlew features remain active and are enhanced in v4.1.0:
|
|
63
|
+
|
|
64
|
+
| Feature | Status | Notes |
|
|
65
|
+
|---------|--------|-------|
|
|
66
|
+
| **Decisions** | Active | Core ADR functionality |
|
|
67
|
+
| **Constraints** | Active | Architectural rules |
|
|
68
|
+
| **File Tracking** | Active | For decisions, not tasks |
|
|
69
|
+
| **Similarity Detection** | Active | Three-tier duplicate prevention |
|
|
70
|
+
| **Hooks Integration** | New | Auto-capture from Plan Mode |
|
|
71
|
+
|
|
72
|
+
## Original Documentation
|
|
73
|
+
|
|
74
|
+
The following documentation was consolidated into this file:
|
|
75
|
+
|
|
76
|
+
- TASK_OVERVIEW.md - Lifecycle and status transitions
|
|
77
|
+
- TASK_ACTIONS.md - All action references
|
|
78
|
+
- AUTO_FILE_TRACKING.md - File watching system
|
|
79
|
+
- GIT_AWARE_AUTO_COMPLETE.md - VCS integration
|
|
80
|
+
- TASK_PRUNING.md - Automatic cleanup
|
|
81
|
+
|
|
82
|
+
For historical implementation details, refer to:
|
|
83
|
+
- `src/tools/tasks/` - Task tool implementation
|
|
84
|
+
- `src/database/migrations/v4/` - Schema definitions
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
*The Task System served the AI agent community well from v3.0.0 to v4.0.x. Its design principles live on in Claude Code's native capabilities.*
|
|
@@ -1,296 +1,293 @@
|
|
|
1
|
-
# Changelog Archive (v3.4.1 and older)
|
|
2
|
-
|
|
3
|
-
This archive contains changelog entries for sqlew versions **v3.4.1 and older**.
|
|
4
|
-
|
|
5
|
-
For current changelog, see: [../../CHANGELOG.md](../../CHANGELOG.md)
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## [3.4.1] - 2025-10-22
|
|
10
|
-
|
|
11
|
-
### Fixed - File Watcher Immediate Detection
|
|
12
|
-
|
|
13
|
-
**Fixed chokidar configuration for instant file change detection**
|
|
14
|
-
|
|
15
|
-
#### Changes
|
|
16
|
-
- Removed 5-second aggregation delay
|
|
17
|
-
- Added `awaitWriteFinish` for write completion detection
|
|
18
|
-
- Immediate auto-transition on file save
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## [3.4.0] - 2025-10-22
|
|
23
|
-
|
|
24
|
-
### Added - VCS-Aware File Watching
|
|
25
|
-
|
|
26
|
-
**Automatic task transitions based on Git commit detection**
|
|
27
|
-
|
|
28
|
-
#### Features
|
|
29
|
-
- Auto-transition: `waiting_review` → `done` when watched files committed
|
|
30
|
-
- Multi-VCS support: Git, Mercurial, SVN
|
|
31
|
-
- VCS adapter pattern with pluggable implementations
|
|
32
|
-
- Whitelist exemption: Skip auto-transition for critical files (package.json, migrations)
|
|
33
|
-
- Configuration: `git_auto_complete_tasks`, `git_require_all_files_committed`, `git_file_whitelist`
|
|
34
|
-
|
|
35
|
-
#### Database Schema
|
|
36
|
-
- New table: `m_git_file_whitelist` - Exempt files from auto-completion
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## [3.2.6] - 2025-10-21
|
|
41
|
-
|
|
42
|
-
### Fixed - File Watcher Test Stability
|
|
43
|
-
|
|
44
|
-
**Improved debouncing and async handling in file watcher tests**
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
## [3.2.5] - 2025-10-21
|
|
49
|
-
|
|
50
|
-
### Fixed - File Watcher Error Handling
|
|
51
|
-
|
|
52
|
-
**Enhanced error handling and logging for file watcher operations**
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
## [3.2.4] - 2025-10-20
|
|
57
|
-
|
|
58
|
-
### Fixed - File Watcher Path Resolution
|
|
59
|
-
|
|
60
|
-
**Fixed absolute path resolution for file watching**
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## [3.2.3] - 2025-10-20 [DEPRECATED]
|
|
65
|
-
|
|
66
|
-
### Changed - File Watcher Implementation (Deprecated)
|
|
67
|
-
|
|
68
|
-
This version was replaced by v3.2.4. Use v3.2.4 or later.
|
|
69
|
-
|
|
70
|
-
---
|
|
71
|
-
|
|
72
|
-
## [3.2.2] - 2025-10-18
|
|
73
|
-
|
|
74
|
-
### Added - Decision Context
|
|
75
|
-
|
|
76
|
-
**Rich decision documentation with rationale, alternatives, tradeoffs**
|
|
77
|
-
|
|
78
|
-
#### Features
|
|
79
|
-
- New table: `t_decision_context` - Attach context to decisions
|
|
80
|
-
- New actions: `add_decision_context`, `list_decision_contexts`
|
|
81
|
-
- Enhanced `get` action with `include_context` parameter
|
|
82
|
-
|
|
83
|
-
#### Documentation
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
- New
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
- `
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
- `
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
- Tool
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
- `
|
|
230
|
-
- `
|
|
231
|
-
- `
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
-
|
|
283
|
-
-
|
|
284
|
-
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
#### MCP Tools
|
|
296
|
-
Initial implementation with 20 separate tools (consolidated to 6 in v2.0.0)
|
|
1
|
+
# Changelog Archive (v3.4.1 and older)
|
|
2
|
+
|
|
3
|
+
This archive contains changelog entries for sqlew versions **v3.4.1 and older**.
|
|
4
|
+
|
|
5
|
+
For current changelog, see: [../../CHANGELOG.md](../../CHANGELOG.md)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## [3.4.1] - 2025-10-22
|
|
10
|
+
|
|
11
|
+
### Fixed - File Watcher Immediate Detection
|
|
12
|
+
|
|
13
|
+
**Fixed chokidar configuration for instant file change detection**
|
|
14
|
+
|
|
15
|
+
#### Changes
|
|
16
|
+
- Removed 5-second aggregation delay
|
|
17
|
+
- Added `awaitWriteFinish` for write completion detection
|
|
18
|
+
- Immediate auto-transition on file save
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## [3.4.0] - 2025-10-22
|
|
23
|
+
|
|
24
|
+
### Added - VCS-Aware File Watching
|
|
25
|
+
|
|
26
|
+
**Automatic task transitions based on Git commit detection**
|
|
27
|
+
|
|
28
|
+
#### Features
|
|
29
|
+
- Auto-transition: `waiting_review` → `done` when watched files committed
|
|
30
|
+
- Multi-VCS support: Git, Mercurial, SVN
|
|
31
|
+
- VCS adapter pattern with pluggable implementations
|
|
32
|
+
- Whitelist exemption: Skip auto-transition for critical files (package.json, migrations)
|
|
33
|
+
- Configuration: `git_auto_complete_tasks`, `git_require_all_files_committed`, `git_file_whitelist`
|
|
34
|
+
|
|
35
|
+
#### Database Schema
|
|
36
|
+
- New table: `m_git_file_whitelist` - Exempt files from auto-completion
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## [3.2.6] - 2025-10-21
|
|
41
|
+
|
|
42
|
+
### Fixed - File Watcher Test Stability
|
|
43
|
+
|
|
44
|
+
**Improved debouncing and async handling in file watcher tests**
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## [3.2.5] - 2025-10-21
|
|
49
|
+
|
|
50
|
+
### Fixed - File Watcher Error Handling
|
|
51
|
+
|
|
52
|
+
**Enhanced error handling and logging for file watcher operations**
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## [3.2.4] - 2025-10-20
|
|
57
|
+
|
|
58
|
+
### Fixed - File Watcher Path Resolution
|
|
59
|
+
|
|
60
|
+
**Fixed absolute path resolution for file watching**
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## [3.2.3] - 2025-10-20 [DEPRECATED]
|
|
65
|
+
|
|
66
|
+
### Changed - File Watcher Implementation (Deprecated)
|
|
67
|
+
|
|
68
|
+
This version was replaced by v3.2.4. Use v3.2.4 or later.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## [3.2.2] - 2025-10-18
|
|
73
|
+
|
|
74
|
+
### Added - Decision Context
|
|
75
|
+
|
|
76
|
+
**Rich decision documentation with rationale, alternatives, tradeoffs**
|
|
77
|
+
|
|
78
|
+
#### Features
|
|
79
|
+
- New table: `t_decision_context` - Attach context to decisions
|
|
80
|
+
- New actions: `add_decision_context`, `list_decision_contexts`
|
|
81
|
+
- Enhanced `get` action with `include_context` parameter
|
|
82
|
+
|
|
83
|
+
#### Documentation
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## [3.2.0] - 2025-10-18
|
|
88
|
+
|
|
89
|
+
### Added - Task Dependencies
|
|
90
|
+
|
|
91
|
+
**Task dependency management with blocking relationships**
|
|
92
|
+
|
|
93
|
+
#### Features
|
|
94
|
+
- New table: `t_task_dependencies` - Track blocking relationships
|
|
95
|
+
- Circular dependency detection
|
|
96
|
+
- New actions: `add_dependency`, `remove_dependency`, `get_dependencies`
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## [3.1.2] - 2025-10-18
|
|
101
|
+
|
|
102
|
+
### Fixed - Task Linking Validation
|
|
103
|
+
|
|
104
|
+
**Fixed validation for task-decision-constraint-file links**
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## [3.1.1] - 2025-10-18
|
|
109
|
+
|
|
110
|
+
### Fixed - File Watcher Initialization
|
|
111
|
+
|
|
112
|
+
**Fixed file watcher startup sequence and error handling**
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## [3.0.2] - 2025-10-17
|
|
117
|
+
|
|
118
|
+
### Fixed - Task State Machine
|
|
119
|
+
|
|
120
|
+
**Enhanced task status transition validation**
|
|
121
|
+
|
|
122
|
+
#### Changes
|
|
123
|
+
- Fixed state machine transitions for task lifecycle
|
|
124
|
+
- Improved validation for blocked/unblocked transitions
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## [3.0.1] - 2025-10-17
|
|
129
|
+
|
|
130
|
+
### Fixed - Task Timestamps
|
|
131
|
+
|
|
132
|
+
**Fixed task timestamp updates on status changes**
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## [3.0.0] - 2025-10-17
|
|
137
|
+
|
|
138
|
+
### Added - Kanban Task Watcher
|
|
139
|
+
|
|
140
|
+
**AI-optimized task management with auto-stale detection**
|
|
141
|
+
|
|
142
|
+
#### Features
|
|
143
|
+
- Task management with metadata: status, priority, assignee, tags, layer
|
|
144
|
+
- Auto-stale detection: `in_progress` >2h → `waiting_review`, `waiting_review` >24h → `todo`
|
|
145
|
+
- File watching with `chokidar`: auto-transition `todo` → `in_progress` on file edit
|
|
146
|
+
- Link tasks to decisions, constraints, files
|
|
147
|
+
- 70% token reduction vs decision tool (~100 bytes/task vs ~332 bytes/decision)
|
|
148
|
+
- Flat hierarchy (no subtasks) for AI simplicity
|
|
149
|
+
|
|
150
|
+
#### Database Schema
|
|
151
|
+
- New tables: `t_tasks`, `t_task_details`, `t_task_tags`, `t_task_decision_links`, `t_task_constraint_links`, `t_task_file_links`
|
|
152
|
+
- New triggers: `trg_log_task_create`, `trg_log_task_status_change`, `trg_update_task_timestamp`
|
|
153
|
+
|
|
154
|
+
#### MCP Actions (task tool)
|
|
155
|
+
- `create`, `update`, `get`, `list`, `move`, `link`, `archive`, `create_batch`
|
|
156
|
+
- `watch_files` - Start file watching for auto-transitions
|
|
157
|
+
|
|
158
|
+
#### Documentation
|
|
159
|
+
- `TASK_LINKING.md` - Link tasks to decisions/constraints/files
|
|
160
|
+
- `TASK_MIGRATION.md` - Migrate from decision-based tracking
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## [2.1.4] - 2025-10-15
|
|
165
|
+
|
|
166
|
+
### Fixed - Action Validation
|
|
167
|
+
|
|
168
|
+
**Enhanced parameter validation for all MCP actions**
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## [2.1.3] - 2025-10-15
|
|
173
|
+
|
|
174
|
+
### Fixed - Message Priority Handling
|
|
175
|
+
|
|
176
|
+
**Fixed message priority enum conversion**
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## [2.1.2] - 2025-10-15
|
|
181
|
+
|
|
182
|
+
### Fixed - File Change Tracking
|
|
183
|
+
|
|
184
|
+
**Fixed file change timestamp handling**
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## [2.1.1] - 2025-10-15
|
|
189
|
+
|
|
190
|
+
### Fixed - Constraint Deactivation
|
|
191
|
+
|
|
192
|
+
**Fixed constraint soft delete logic**
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## [2.1.0] - 2025-10-14
|
|
197
|
+
|
|
198
|
+
### Added - Template System
|
|
199
|
+
|
|
200
|
+
**Decision and batch operation templates**
|
|
201
|
+
|
|
202
|
+
#### Features
|
|
203
|
+
- New actions: `set_from_template`, `create_template`, `list_templates`
|
|
204
|
+
- Template-based decision creation
|
|
205
|
+
- Batch operation support with `set_batch`, `send_batch`, `record_batch`
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## [2.0.0] - 2025-10-11
|
|
210
|
+
|
|
211
|
+
### Changed - Action-Based Tool Consolidation
|
|
212
|
+
|
|
213
|
+
**96% token reduction through action-based API**
|
|
214
|
+
|
|
215
|
+
#### Breaking Changes
|
|
216
|
+
- 20 tools → 6 tools (action-based routing)
|
|
217
|
+
- All tools use `action` parameter for routing
|
|
218
|
+
- Tool names changed: `context` → `decision`, `utils` → `stats`
|
|
219
|
+
|
|
220
|
+
#### Token Efficiency
|
|
221
|
+
- Tool definitions: 12,848 → 481 tokens (96% reduction)
|
|
222
|
+
- MCP context: ~13,730 → ~4,482 tokens (67% reduction)
|
|
223
|
+
- Help actions provide on-demand documentation
|
|
224
|
+
|
|
225
|
+
#### New Tool Structure
|
|
226
|
+
- `decision` - Context Management (9 actions)
|
|
227
|
+
- `message` - Agent Messaging (4 actions)
|
|
228
|
+
- `file` - File Change Tracking (4 actions)
|
|
229
|
+
- `constraint` - Constraint Management (4 actions)
|
|
230
|
+
- `stats` - Statistics & Utilities (4 actions)
|
|
231
|
+
- `config` - Configuration (3 actions)
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## [1.1.2] - 2025-10-11
|
|
236
|
+
|
|
237
|
+
### Fixed - Database Migration
|
|
238
|
+
|
|
239
|
+
**Fixed v1.2.0 → v1.3.0 table prefix migration**
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## [1.1.1] - 2025-10-11
|
|
244
|
+
|
|
245
|
+
### Fixed - Auto-Cleanup
|
|
246
|
+
|
|
247
|
+
**Fixed weekend-aware cleanup trigger timing**
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## [1.1.0] - 2025-10-11
|
|
252
|
+
|
|
253
|
+
### Added - Weekend-Aware Auto-Deletion
|
|
254
|
+
|
|
255
|
+
**Configurable retention with weekend-aware logic**
|
|
256
|
+
|
|
257
|
+
#### Features
|
|
258
|
+
- Configuration keys: `autodelete_ignore_weekend`, `autodelete_message_hours`, `autodelete_file_history_days`
|
|
259
|
+
- CLI arguments for startup override
|
|
260
|
+
- Manual cleanup via `clear_old_data` action
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
## [1.0.1] - 2025-10-11
|
|
265
|
+
|
|
266
|
+
### Fixed - Schema Initialization
|
|
267
|
+
|
|
268
|
+
**Fixed initial database schema creation**
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
## [1.0.0] - 2025-01-10
|
|
273
|
+
|
|
274
|
+
### Added - Initial Release
|
|
275
|
+
|
|
276
|
+
**MCP Shared Context Server for efficient context sharing**
|
|
277
|
+
|
|
278
|
+
#### Core Features
|
|
279
|
+
- Decision tracking with metadata (tags, layers, scopes, versions)
|
|
280
|
+
- Agent messaging with priority levels
|
|
281
|
+
- File change tracking with layer integration
|
|
282
|
+
- Constraint management with priorities
|
|
283
|
+
- Statistics and utilities
|
|
284
|
+
- SQLite-based persistence with better-sqlite3
|
|
285
|
+
|
|
286
|
+
#### Database Schema
|
|
287
|
+
- Master tables: agents, files, context_keys, layers, tags, scopes, etc.
|
|
288
|
+
- Transaction tables: decisions, messages, file_changes, constraints
|
|
289
|
+
- Views for token-efficient queries
|
|
290
|
+
- Automatic version history tracking
|
|
291
|
+
|
|
292
|
+
#### MCP Tools
|
|
293
|
+
Initial implementation with 20 separate tools (consolidated to 6 in v2.0.0)
|