midas-mcp 4.0.0 → 5.0.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.
Files changed (66) hide show
  1. package/dist/analyzer.d.ts.map +1 -1
  2. package/dist/analyzer.js +70 -22
  3. package/dist/analyzer.js.map +1 -1
  4. package/dist/cli.d.ts +3 -0
  5. package/dist/cli.d.ts.map +1 -1
  6. package/dist/cli.js +183 -1
  7. package/dist/cli.js.map +1 -1
  8. package/dist/config.d.ts +6 -0
  9. package/dist/config.d.ts.map +1 -1
  10. package/dist/config.js +38 -0
  11. package/dist/config.js.map +1 -1
  12. package/dist/docs/WHY.md +168 -0
  13. package/dist/docs/examples/brainlift-example.md +87 -0
  14. package/dist/docs/examples/gameplan-example.md +230 -0
  15. package/dist/docs/examples/prd-example.md +170 -0
  16. package/dist/server.d.ts.map +1 -1
  17. package/dist/server.js +32 -2
  18. package/dist/server.js.map +1 -1
  19. package/dist/state/phase.d.ts +32 -0
  20. package/dist/state/phase.d.ts.map +1 -1
  21. package/dist/state/phase.js +25 -21
  22. package/dist/state/phase.js.map +1 -1
  23. package/dist/tools/analyze.d.ts +5 -0
  24. package/dist/tools/analyze.d.ts.map +1 -1
  25. package/dist/tools/analyze.js +21 -0
  26. package/dist/tools/analyze.js.map +1 -1
  27. package/dist/tools/cleanup.d.ts +53 -0
  28. package/dist/tools/cleanup.d.ts.map +1 -0
  29. package/dist/tools/cleanup.js +170 -0
  30. package/dist/tools/cleanup.js.map +1 -0
  31. package/dist/tools/examples.d.ts +30 -0
  32. package/dist/tools/examples.d.ts.map +1 -0
  33. package/dist/tools/examples.js +65 -0
  34. package/dist/tools/examples.js.map +1 -0
  35. package/dist/tools/hotfix.d.ts +69 -0
  36. package/dist/tools/hotfix.d.ts.map +1 -0
  37. package/dist/tools/hotfix.js +174 -0
  38. package/dist/tools/hotfix.js.map +1 -0
  39. package/dist/tools/index.d.ts +6 -1
  40. package/dist/tools/index.d.ts.map +1 -1
  41. package/dist/tools/index.js +11 -1
  42. package/dist/tools/index.js.map +1 -1
  43. package/dist/tools/scope.d.ts +50 -0
  44. package/dist/tools/scope.d.ts.map +1 -0
  45. package/dist/tools/scope.js +278 -0
  46. package/dist/tools/scope.js.map +1 -0
  47. package/dist/tools/validate-docs.d.ts +65 -0
  48. package/dist/tools/validate-docs.d.ts.map +1 -0
  49. package/dist/tools/validate-docs.js +196 -0
  50. package/dist/tools/validate-docs.js.map +1 -0
  51. package/dist/tools/verify.d.ts +22 -0
  52. package/dist/tools/verify.d.ts.map +1 -1
  53. package/dist/tools/verify.js +66 -0
  54. package/dist/tools/verify.js.map +1 -1
  55. package/dist/tracker.d.ts +36 -0
  56. package/dist/tracker.d.ts.map +1 -1
  57. package/dist/tracker.js +134 -0
  58. package/dist/tracker.js.map +1 -1
  59. package/dist/tui.d.ts.map +1 -1
  60. package/dist/tui.js +165 -39
  61. package/dist/tui.js.map +1 -1
  62. package/docs/WHY.md +168 -0
  63. package/docs/examples/brainlift-example.md +87 -0
  64. package/docs/examples/gameplan-example.md +230 -0
  65. package/docs/examples/prd-example.md +170 -0
  66. package/package.json +1 -1
@@ -0,0 +1,170 @@
1
+ # PRD Example: Task Management CLI
2
+
3
+ This is an example PRD (Product Requirements Document) for the task management CLI.
4
+
5
+ ---
6
+
7
+ ## Overview
8
+
9
+ **Product**: `task` - A command-line task manager for developers
10
+ **Version**: 1.0 (MVP)
11
+ **Target**: Solo developers who work in the terminal
12
+
13
+ ## Goals
14
+
15
+ 1. **Replace my current sticky-note chaos** with structured task tracking
16
+ 2. **Stay in terminal flow** - no browser tabs, no context switching
17
+ 3. **Sub-second operations** - faster than any web app
18
+ 4. **Offline-first** - works without internet
19
+
20
+ ## Non-Goals (v1)
21
+
22
+ - Team collaboration
23
+ - Web or mobile interface
24
+ - Real-time sync
25
+ - Time tracking
26
+ - Integrations with external services
27
+ - Notifications/reminders (requires daemon)
28
+
29
+ ## User Stories
30
+
31
+ ### Must Have (P0)
32
+
33
+ **Add a task**
34
+ ```
35
+ task add "Fix login bug" --priority high --due tomorrow --project midas
36
+ ```
37
+ As a developer, I want to quickly add a task with metadata so I don't forget important work.
38
+
39
+ **List tasks**
40
+ ```
41
+ task list
42
+ task list --due today
43
+ task list --project midas --priority high
44
+ ```
45
+ As a developer, I want to see my tasks filtered by various criteria so I can focus on what matters.
46
+
47
+ **Complete a task**
48
+ ```
49
+ task done 42
50
+ task done --id abc123
51
+ ```
52
+ As a developer, I want to mark tasks complete so my list stays current.
53
+
54
+ **Edit a task**
55
+ ```
56
+ task edit 42 --due friday --priority low
57
+ ```
58
+ As a developer, I want to update task details without recreating them.
59
+
60
+ ### Should Have (P1)
61
+
62
+ **Projects**
63
+ ```
64
+ task project list
65
+ task project create mobile-app
66
+ ```
67
+ As a developer working on multiple projects, I want to organize tasks by project.
68
+
69
+ **Tags**
70
+ ```
71
+ task add "Review PR" --tags review,urgent
72
+ task list --tag urgent
73
+ ```
74
+ As a developer, I want to tag tasks for cross-cutting concerns.
75
+
76
+ **Search**
77
+ ```
78
+ task search "auth"
79
+ ```
80
+ As a developer, I want to find tasks by keyword.
81
+
82
+ ### Nice to Have (P2)
83
+
84
+ **Recurring tasks**
85
+ ```
86
+ task add "Weekly review" --recur weekly
87
+ ```
88
+ As a developer, I want tasks that automatically recreate on a schedule.
89
+
90
+ **Import/Export**
91
+ ```
92
+ task import tasks.csv
93
+ task export --format json > backup.json
94
+ ```
95
+ As a developer, I want to migrate from other tools and backup my data.
96
+
97
+ ## Technical Requirements
98
+
99
+ ### Performance
100
+ - All operations complete in < 100ms
101
+ - Startup time < 50ms
102
+ - Handle 10,000+ tasks without degradation
103
+
104
+ ### Data
105
+ - Local SQLite database in `~/.local/share/task/tasks.db`
106
+ - TOML config in `~/.config/task/config.toml`
107
+ - Follow XDG Base Directory spec
108
+
109
+ ### CLI
110
+ - Subcommand structure: `task <command> [options]`
111
+ - Short flags for common options (-p, -d, -t)
112
+ - Shell completions for bash, zsh, fish
113
+ - Colorized output with `--no-color` fallback
114
+ - JSON output with `--json` for scripting
115
+ - Exit codes: 0 (success), 1 (error), 2 (not found)
116
+
117
+ ### Compatibility
118
+ - Linux x86_64 (primary)
119
+ - macOS (Intel + Apple Silicon)
120
+ - Windows via WSL
121
+
122
+ ## Out of Scope
123
+
124
+ - GUI of any kind
125
+ - Server component
126
+ - User accounts or authentication
127
+ - Encryption (filesystem encryption is sufficient)
128
+ - Attachments or rich text
129
+
130
+ ## Success Metrics
131
+
132
+ | Metric | Target |
133
+ |--------|--------|
134
+ | Daily usage | Use it every day for 2 weeks |
135
+ | Task add latency | < 50ms p99 |
136
+ | Abandoned tasks | < 10% |
137
+ | Return to old system | Never |
138
+
139
+ ## Milestones
140
+
141
+ **Week 1**: Core CRUD
142
+ - add, list, done, edit commands
143
+ - SQLite storage
144
+ - Basic output formatting
145
+
146
+ **Week 2**: Polish
147
+ - Shell completions
148
+ - Filtering (--due, --priority, --project)
149
+ - JSON output
150
+
151
+ **Week 3**: Advanced
152
+ - Recurring tasks
153
+ - Import from CSV
154
+ - Search
155
+
156
+ ---
157
+
158
+ ## Why This Document Matters
159
+
160
+ Without this PRD:
161
+ - Scope would creep (sync, notifications, team features)
162
+ - No clear definition of "done"
163
+ - Would build features nobody asked for
164
+ - No measurable success criteria
165
+
166
+ With this PRD:
167
+ - Clear finish line for v1
168
+ - Explicit non-goals prevent distraction
169
+ - Milestones break work into achievable chunks
170
+ - AI can validate suggestions against requirements
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "midas-mcp",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "MCP server for Golden Code methodology - everything you vibecode turns to gold",
5
5
  "main": "dist/index.js",
6
6
  "bin": {