aidp 0.5.0 → 0.8.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 (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +128 -151
  3. data/bin/aidp +1 -1
  4. data/lib/aidp/analysis/kb_inspector.rb +471 -0
  5. data/lib/aidp/analysis/seams.rb +159 -0
  6. data/lib/aidp/analysis/tree_sitter_grammar_loader.rb +480 -0
  7. data/lib/aidp/analysis/tree_sitter_scan.rb +686 -0
  8. data/lib/aidp/analyze/error_handler.rb +2 -78
  9. data/lib/aidp/analyze/json_file_storage.rb +292 -0
  10. data/lib/aidp/analyze/progress.rb +12 -0
  11. data/lib/aidp/analyze/progress_visualizer.rb +12 -17
  12. data/lib/aidp/analyze/ruby_maat_integration.rb +13 -31
  13. data/lib/aidp/analyze/runner.rb +256 -87
  14. data/lib/aidp/analyze/steps.rb +6 -0
  15. data/lib/aidp/cli/jobs_command.rb +103 -435
  16. data/lib/aidp/cli.rb +317 -191
  17. data/lib/aidp/config.rb +298 -10
  18. data/lib/aidp/debug_logger.rb +195 -0
  19. data/lib/aidp/debug_mixin.rb +187 -0
  20. data/lib/aidp/execute/progress.rb +9 -0
  21. data/lib/aidp/execute/runner.rb +221 -40
  22. data/lib/aidp/execute/steps.rb +17 -7
  23. data/lib/aidp/execute/workflow_selector.rb +211 -0
  24. data/lib/aidp/harness/completion_checker.rb +268 -0
  25. data/lib/aidp/harness/condition_detector.rb +1526 -0
  26. data/lib/aidp/harness/config_loader.rb +373 -0
  27. data/lib/aidp/harness/config_manager.rb +382 -0
  28. data/lib/aidp/harness/config_schema.rb +1006 -0
  29. data/lib/aidp/harness/config_validator.rb +355 -0
  30. data/lib/aidp/harness/configuration.rb +477 -0
  31. data/lib/aidp/harness/enhanced_runner.rb +494 -0
  32. data/lib/aidp/harness/error_handler.rb +616 -0
  33. data/lib/aidp/harness/provider_config.rb +423 -0
  34. data/lib/aidp/harness/provider_factory.rb +306 -0
  35. data/lib/aidp/harness/provider_manager.rb +1269 -0
  36. data/lib/aidp/harness/provider_type_checker.rb +88 -0
  37. data/lib/aidp/harness/runner.rb +411 -0
  38. data/lib/aidp/harness/state/errors.rb +28 -0
  39. data/lib/aidp/harness/state/metrics.rb +219 -0
  40. data/lib/aidp/harness/state/persistence.rb +128 -0
  41. data/lib/aidp/harness/state/provider_state.rb +132 -0
  42. data/lib/aidp/harness/state/ui_state.rb +68 -0
  43. data/lib/aidp/harness/state/workflow_state.rb +123 -0
  44. data/lib/aidp/harness/state_manager.rb +586 -0
  45. data/lib/aidp/harness/status_display.rb +888 -0
  46. data/lib/aidp/harness/ui/base.rb +16 -0
  47. data/lib/aidp/harness/ui/enhanced_tui.rb +545 -0
  48. data/lib/aidp/harness/ui/enhanced_workflow_selector.rb +252 -0
  49. data/lib/aidp/harness/ui/error_handler.rb +132 -0
  50. data/lib/aidp/harness/ui/frame_manager.rb +361 -0
  51. data/lib/aidp/harness/ui/job_monitor.rb +500 -0
  52. data/lib/aidp/harness/ui/navigation/main_menu.rb +311 -0
  53. data/lib/aidp/harness/ui/navigation/menu_formatter.rb +120 -0
  54. data/lib/aidp/harness/ui/navigation/menu_item.rb +142 -0
  55. data/lib/aidp/harness/ui/navigation/menu_state.rb +139 -0
  56. data/lib/aidp/harness/ui/navigation/submenu.rb +202 -0
  57. data/lib/aidp/harness/ui/navigation/workflow_selector.rb +176 -0
  58. data/lib/aidp/harness/ui/progress_display.rb +280 -0
  59. data/lib/aidp/harness/ui/question_collector.rb +141 -0
  60. data/lib/aidp/harness/ui/spinner_group.rb +184 -0
  61. data/lib/aidp/harness/ui/spinner_helper.rb +152 -0
  62. data/lib/aidp/harness/ui/status_manager.rb +312 -0
  63. data/lib/aidp/harness/ui/status_widget.rb +280 -0
  64. data/lib/aidp/harness/ui/workflow_controller.rb +312 -0
  65. data/lib/aidp/harness/user_interface.rb +2381 -0
  66. data/lib/aidp/provider_manager.rb +131 -7
  67. data/lib/aidp/providers/anthropic.rb +28 -109
  68. data/lib/aidp/providers/base.rb +170 -0
  69. data/lib/aidp/providers/cursor.rb +52 -183
  70. data/lib/aidp/providers/gemini.rb +24 -109
  71. data/lib/aidp/providers/macos_ui.rb +99 -5
  72. data/lib/aidp/providers/opencode.rb +194 -0
  73. data/lib/aidp/storage/csv_storage.rb +172 -0
  74. data/lib/aidp/storage/file_manager.rb +214 -0
  75. data/lib/aidp/storage/json_storage.rb +140 -0
  76. data/lib/aidp/version.rb +1 -1
  77. data/lib/aidp.rb +56 -35
  78. data/templates/ANALYZE/06a_tree_sitter_scan.md +217 -0
  79. data/templates/COMMON/AGENT_BASE.md +11 -0
  80. data/templates/EXECUTE/00_PRD.md +4 -4
  81. data/templates/EXECUTE/02_ARCHITECTURE.md +5 -4
  82. data/templates/EXECUTE/07_TEST_PLAN.md +4 -1
  83. data/templates/EXECUTE/08_TASKS.md +4 -4
  84. data/templates/EXECUTE/10_IMPLEMENTATION_AGENT.md +4 -4
  85. data/templates/README.md +279 -0
  86. data/templates/aidp-development.yml.example +373 -0
  87. data/templates/aidp-minimal.yml.example +48 -0
  88. data/templates/aidp-production.yml.example +475 -0
  89. data/templates/aidp.yml.example +598 -0
  90. metadata +106 -64
  91. data/lib/aidp/analyze/agent_personas.rb +0 -71
  92. data/lib/aidp/analyze/agent_tool_executor.rb +0 -445
  93. data/lib/aidp/analyze/data_retention_manager.rb +0 -426
  94. data/lib/aidp/analyze/database.rb +0 -260
  95. data/lib/aidp/analyze/dependencies.rb +0 -335
  96. data/lib/aidp/analyze/export_manager.rb +0 -425
  97. data/lib/aidp/analyze/focus_guidance.rb +0 -517
  98. data/lib/aidp/analyze/incremental_analyzer.rb +0 -543
  99. data/lib/aidp/analyze/language_analysis_strategies.rb +0 -897
  100. data/lib/aidp/analyze/large_analysis_progress.rb +0 -504
  101. data/lib/aidp/analyze/memory_manager.rb +0 -365
  102. data/lib/aidp/analyze/metrics_storage.rb +0 -336
  103. data/lib/aidp/analyze/parallel_processor.rb +0 -460
  104. data/lib/aidp/analyze/performance_optimizer.rb +0 -694
  105. data/lib/aidp/analyze/repository_chunker.rb +0 -704
  106. data/lib/aidp/analyze/static_analysis_detector.rb +0 -577
  107. data/lib/aidp/analyze/storage.rb +0 -662
  108. data/lib/aidp/analyze/tool_configuration.rb +0 -456
  109. data/lib/aidp/analyze/tool_modernization.rb +0 -750
  110. data/lib/aidp/database/pg_adapter.rb +0 -148
  111. data/lib/aidp/database_config.rb +0 -69
  112. data/lib/aidp/database_connection.rb +0 -72
  113. data/lib/aidp/database_migration.rb +0 -158
  114. data/lib/aidp/job_manager.rb +0 -41
  115. data/lib/aidp/jobs/base_job.rb +0 -47
  116. data/lib/aidp/jobs/provider_execution_job.rb +0 -96
  117. data/lib/aidp/project_detector.rb +0 -117
  118. data/lib/aidp/providers/agent_supervisor.rb +0 -348
  119. data/lib/aidp/providers/supervised_base.rb +0 -317
  120. data/lib/aidp/providers/supervised_cursor.rb +0 -22
  121. data/lib/aidp/sync.rb +0 -13
  122. data/lib/aidp/workspace.rb +0 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26282ecc76062d41d599eb9bc8190303bcef16257fb98fa25250eecaf894270a
4
- data.tar.gz: ee50c920a5aa61d2883f906c7bea5d09c6835725c27c359bd2bce7d698f594e2
3
+ metadata.gz: 381bf0e833041913a075cab54a3e5df2be98d6954afd3eee4b821b05e19cf65e
4
+ data.tar.gz: dc7290731fd9eec058a31596d0ecc3e6d4b655ac67160f418bd2747c5820ef64
5
5
  SHA512:
6
- metadata.gz: 9fa312b72678f5bba517ee9add8c9fcd1bc06237f65781ddf429bb687b7f3a85fb3e031ebe992cb768d53885a09648d74c6f9d57282a6f988eeada7994ff534f
7
- data.tar.gz: e15204813d179e130dea804b89dc0a5225e1410af19fc5420ed2e82a3992d19b7a6e9e2054dce0269dce957f1ebee42e6c881f301e8554643f0eff1167a6fd61
6
+ metadata.gz: 04e4b6dc94bc641f02a8a0e45debb464943f0f03d9518ee23c773513009d6cdbd321202919a7d4f0b3fddd1120f0e43d34ee29d0d7f26636d203d4bdd6184fda
7
+ data.tar.gz: 723a75d5c1bd1ec0b8d9902a897cfead64a070b023e3998cab7415564aaf360f1936b317b91683849a049653144e55450348488a5039722c230c00a45012e153
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # AI Dev Pipeline (aidp) - Ruby Gem
2
2
 
3
- A portable CLI that automates a complete AI development workflow from idea to implementation using your existing IDE assistants.
3
+ A portable CLI that automates a complete AI development workflow from idea to implementation using your existing IDE assistants. Now with **Enhanced TUI** - a rich terminal interface that runs complete workflows with intelligent provider management and error recovery.
4
4
 
5
5
  ## Quick Start
6
6
 
@@ -11,142 +11,152 @@ gem install aidp
11
11
  # Navigate to your project
12
12
  cd /your/project
13
13
 
14
- # Start the workflow
15
- aidp execute next
14
+ # Start the interactive TUI (default)
15
+ aidp
16
16
  ```
17
17
 
18
- ## User Workflow
18
+ ## Enhanced TUI
19
19
 
20
- The gem automates a complete development pipeline with **human-in-the-loop gates** at key decision points. Here's the simplest workflow:
20
+ AIDP features a rich terminal interface that transforms it from a step-by-step tool into an intelligent development assistant. The enhanced TUI provides beautiful, interactive terminal components while running complete workflows automatically.
21
21
 
22
- ### 1. Start Your Project
22
+ ### Features
23
23
 
24
- ```bash
25
- cd /your/project
26
- aidp status # Check current progress
27
- aidp execute next # Run the next pending step
28
- ```
29
-
30
- ### 2. Handle Gate Steps
31
-
32
- When you reach a **gate step** (PRD, Architecture, Tasks, Implementation), the AI will:
24
+ - **🎨 Rich Terminal Interface**: Beautiful CLI UI components with progress bars, spinners, and frames
25
+ - **📋 Interactive Navigation**: Hierarchical menu system with breadcrumb navigation
26
+ - **⌨️ Keyboard Shortcuts**: Full keyboard navigation and control
27
+ - **📊 Real-time Progress**: Live monitoring of progress and system status
28
+ - **🔄 Workflow Control**: Pause, resume, cancel, and stop workflows with visual feedback
29
+ - **💬 Smart Question Collection**: Interactive prompts with validation and error handling
33
30
 
34
- 1. **Generate questions** in a file (e.g., `PRD_QUESTIONS.md`) if it needs more information
35
- 2. **Create the main output** (e.g., `docs/PRD.md`)
36
- 3. **Wait for your approval** before proceeding
37
-
38
- **Your actions at gates:**
31
+ ### Usage
39
32
 
40
33
  ```bash
41
- # Review the generated files
42
- cat PRD_QUESTIONS.md # Check if AI needs more information
43
- cat docs/PRD.md # Review the output
44
-
45
- # If PRD_QUESTIONS.md exists, answer the questions:
46
- # Edit the questions file directly with your answers
47
- nano PRD_QUESTIONS.md # Add your answers below each question
34
+ # Start the interactive TUI (default)
35
+ aidp
48
36
 
49
- # Re-run the step to use your answers
50
- aidp execute prd # AI will read your answers and complete the step
37
+ # Show version information
38
+ aidp --version
51
39
 
52
- # Once satisfied with the output, approve and continue
53
- aidp approve current # Mark the step complete
54
- aidp execute next # Continue to next step
40
+ # Show help information
41
+ aidp --help
55
42
  ```
56
43
 
57
- ### 3. Continue the Pipeline
58
-
59
- For non-gate steps, the AI runs automatically:
44
+ ## AI Providers
60
45
 
61
- ```bash
62
- aidp execute next # Run next step automatically
63
- aidp status # Check progress
46
+ AIDP intelligently manages multiple providers with automatic switching:
47
+
48
+ - **Claude API** - Primary provider for complex analysis and code generation
49
+ - **Gemini API** - Cost-effective fallback for general tasks
50
+ - **Cursor CLI** - IDE-integrated provider for code-specific tasks
51
+
52
+ The TUI automatically switches providers when:
53
+
54
+ - Rate limits are hit
55
+ - Providers fail or timeout
56
+ - Cost limits are reached
57
+ - Performance optimization is needed
58
+
59
+ ### Provider Configuration
60
+
61
+ ```yaml
62
+ # aidp.yml
63
+ providers:
64
+ claude:
65
+ type: "api"
66
+ api_key: "${AIDP_CLAUDE_API_KEY}"
67
+ max_tokens: 100000
68
+ gemini:
69
+ type: "api"
70
+ api_key: "${AIDP_GEMINI_API_KEY}"
71
+ max_tokens: 50000
72
+ cursor:
73
+ type: "package"
64
74
  ```
65
75
 
66
- ### 4. Complete the Workflow
67
-
68
- The pipeline includes 15 steps total:
69
-
70
- - **Gates**: PRD, Architecture, Tasks, Implementation (require approval)
71
- - **Auto**: NFRs, ADRs, Domains, Contracts, Threat Model, Test Plan, Scaffolding, Static Analysis, Observability, Delivery, Docs Portal, Post-Release
72
-
73
- ## Key Commands
76
+ ### Environment Variables
74
77
 
75
78
  ```bash
76
- aidp status # Show progress of all steps
77
- aidp execute next # Run next pending step
78
- aidp approve current # Approve current gate step
79
- aidp jobs # Monitor background jobs (real-time)
80
- aidp detect # See which AI provider will be used
81
- aidp execute <step> # Run specific step (e.g., prd, arch, tasks)
82
- aidp approve <step> # Approve specific step
83
- aidp reset # Reset all progress (start over)
79
+ # Set API keys
80
+ export AIDP_CLAUDE_API_KEY="your-claude-api-key"
81
+ export AIDP_GEMINI_API_KEY="your-gemini-api-key"
84
82
  ```
85
83
 
86
- ## AI Providers
84
+ ## Tree-sitter Static Analysis
87
85
 
88
- The gem automatically detects and uses the best available AI provider:
86
+ AIDP includes powerful Tree-sitter-based static analysis capabilities for code.
89
87
 
90
- - **Cursor CLI** (`cursor-agent`) - Preferred
91
- - **Claude CLI** (`claude`/`claude-code`) - Fallback
92
- - **Gemini CLI** (`gemini`/`gemini-cli`) - Fallback
88
+ ### Tree-sitter Dependencies
93
89
 
94
- ### Override Provider
90
+ The Tree-sitter analysis requires the Tree-sitter system library and pre-compiled language parsers:
95
91
 
96
92
  ```bash
97
- AIDP_PROVIDER=anthropic aidp execute next
98
- AIDP_LLM_CMD=/usr/local/bin/claude aidp execute next
99
- ```
93
+ # Install Tree-sitter system library
94
+ # macOS
95
+ brew install tree-sitter
96
+
97
+ # Ubuntu/Debian
98
+ sudo apt-get install tree-sitter
100
99
 
101
- ## Background Jobs
100
+ # Or follow the ruby_tree_sitter README for other platforms
101
+ # https://github.com/Faveod/ruby-tree-sitter#installation
102
102
 
103
- AIDP uses background jobs to handle all AI provider executions, providing better reliability and real-time monitoring capabilities.
103
+ # Install Tree-sitter parsers
104
+ ./install_tree_sitter_parsers.sh
105
+ ```
104
106
 
105
- ### Job Monitoring
107
+ ### Parser Installation Script
106
108
 
107
- Monitor running and completed jobs in real-time:
109
+ The `install_tree_sitter_parsers.sh` script automatically downloads and installs pre-built Tree-sitter parsers:
108
110
 
109
111
  ```bash
110
- aidp jobs # Show job status with real-time updates
112
+ # Make the script executable
113
+ chmod +x install_tree_sitter_parsers.sh
114
+
115
+ # Run the installation script
116
+ ./install_tree_sitter_parsers.sh
111
117
  ```
112
118
 
113
- The jobs view displays:
119
+ The script will:
114
120
 
115
- - **Running jobs** with live progress updates
116
- - **Queued jobs** waiting to be processed
117
- - **Completed jobs** with execution results
118
- - **Failed jobs** with error details
121
+ - Detect your OS and architecture (macOS ARM64, Linux x64, etc.)
122
+ - Download the appropriate parser bundle from [Faveod/tree-sitter-parsers](https://github.com/Faveod/tree-sitter-parsers/releases/tag/v4.9)
123
+ - Extract parsers to `.aidp/parsers/` directory
124
+ - Set up the `TREE_SITTER_PARSERS` environment variable
119
125
 
120
- ### Job Controls
126
+ ### Environment Setup
121
127
 
122
- From the jobs view, you can:
128
+ After running the installation script, make the environment variable permanent:
123
129
 
124
- - **Retry failed jobs** by pressing `r` on a failed job
125
- - **View job details** by pressing `d` on any job
126
- - **Exit monitoring** by pressing `q`
130
+ ```bash
131
+ # Add to your shell profile (e.g., ~/.zshrc, ~/.bashrc)
132
+ echo 'export TREE_SITTER_PARSERS="$(pwd)/.aidp/parsers"' >> ~/.zshrc
127
133
 
128
- ### Job Persistence
134
+ # Reload your shell
135
+ source ~/.zshrc
136
+ ```
129
137
 
130
- - Jobs persist across CLI restarts
131
- - Job history is preserved for analysis
132
- - Failed jobs can be retried at any time
133
- - All job metadata and logs are stored
138
+ ### Knowledge Base Structure
134
139
 
135
- ### Database Setup
140
+ The Tree-sitter analysis generates structured JSON files in `.aidp/kb/`:
136
141
 
137
- AIDP uses PostgreSQL for job management. Ensure PostgreSQL is installed and running:
142
+ - **`symbols.json`** - Classes, modules, methods, and their metadata
143
+ - **`imports.json`** - Require statements and dependencies
144
+ - **`calls.json`** - Method calls and invocation patterns
145
+ - **`metrics.json`** - Code complexity and size metrics
146
+ - **`seams.json`** - Integration points and dependency injection opportunities
147
+ - **`hotspots.json`** - Frequently changed code areas (based on git history)
148
+ - **`tests.json`** - Test coverage analysis
149
+ - **`cycles.json`** - Circular dependency detection
138
150
 
139
- ```bash
140
- # macOS (using Homebrew)
141
- brew install postgresql
142
- brew services start postgresql
151
+ ### Legacy Code Analysis Features
143
152
 
144
- # Ubuntu/Debian
145
- sudo apt-get install postgresql postgresql-contrib
146
- sudo systemctl start postgresql
153
+ The Tree-sitter analysis specifically supports:
147
154
 
148
- # The database will be created automatically on first use
149
- ```
155
+ - **Seam Detection**: Identifies I/O operations, global state access, and constructor dependencies
156
+ - **Change Hotspots**: Uses git history to identify frequently modified code
157
+ - **Dependency Analysis**: Maps import relationships and call graphs
158
+ - **Test Coverage**: Identifies untested public APIs
159
+ - **Refactoring Opportunities**: Suggests dependency injection points and seam locations
150
160
 
151
161
  ## File-Based Interaction
152
162
 
@@ -170,45 +180,13 @@ The questions file is only created when the AI needs additional information beyo
170
180
 
171
181
  ```bash
172
182
  # Enable debug output to see AI provider communication
173
- AIDP_DEBUG=1 aidp execute next
183
+ AIDP_DEBUG=1 aidp
174
184
 
175
185
  # Log to a file for debugging
176
- AIDP_LOG_FILE=aidp.log aidp execute next
186
+ AIDP_LOG_FILE=aidp.log aidp
177
187
 
178
188
  # Combine both for full debugging
179
- AIDP_DEBUG=1 AIDP_LOG_FILE=aidp.log aidp execute next
180
- ```
181
-
182
- ## Workflow Example
183
-
184
- Here's a typical session:
185
-
186
- ```bash
187
- # 1. Start the workflow
188
- aidp execute next
189
- # → Creates docs/PRD.md and PRD_QUESTIONS.md
190
-
191
- # 2. Monitor job progress (optional)
192
- aidp jobs
193
- # → Shows real-time job status and progress
194
-
195
- # 3. Review the questions (if any)
196
- cat PRD_QUESTIONS.md
197
- # → If questions exist, edit the file with your answers, then re-run
198
-
199
- # 4. Review the PRD
200
- cat docs/PRD.md
201
- # → Edit if needed
202
-
203
- # 5. Approve and continue
204
- aidp approve current
205
- aidp execute next
206
- # → Creates docs/NFRs.md automatically
207
-
208
- # 6. Continue through gates
209
- aidp execute next
210
- # → Creates docs/Architecture.md and ARCH_QUESTIONS.md
211
- # → Repeat review/approve cycle
189
+ AIDP_DEBUG=1 AIDP_LOG_FILE=aidp.log aidp
212
190
  ```
213
191
 
214
192
  ## Development
@@ -217,9 +195,19 @@ aidp execute next
217
195
  # Install dependencies
218
196
  bundle install
219
197
 
198
+ # Install Tree-sitter parsers for development
199
+ ./install_tree_sitter_parsers.sh
200
+
201
+ # Set up environment variables
202
+ export TREE_SITTER_PARSERS="$(pwd)/.aidp/parsers"
203
+
220
204
  # Run tests
221
205
  bundle exec rspec
222
206
 
207
+ # Run Tree-sitter analysis tests specifically
208
+ bundle exec rspec spec/aidp/analysis/
209
+ bundle exec rspec spec/integration/tree_sitter_analysis_workflow_spec.rb
210
+
223
211
  # Run linter
224
212
  bundle exec standardrb
225
213
 
@@ -230,35 +218,24 @@ bundle exec standardrb --fix
230
218
  bundle exec rake build
231
219
  ```
232
220
 
233
- ## Contributing
221
+ ### Development Dependencies
234
222
 
235
- See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and conventional commit guidelines.
223
+ The following system dependencies are required for development:
236
224
 
237
- ## Pipeline Steps
225
+ - **Tree-sitter** - System library for parsing (install via `brew install tree-sitter` or package manager)
226
+ - **Ruby gems** - All required gems are specified in `aidp.gemspec` and installed via `bundle install`
238
227
 
239
- The gem automates a complete 15-step development pipeline:
228
+ ## Contributing
240
229
 
241
- ### Gate Steps (Require Approval)
230
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and conventional commit guidelines.
242
231
 
243
- - **PRD** → Product Requirements Document (`docs/PRD.md`)
244
- - **Architecture** → System architecture and ADRs (`docs/Architecture.md`)
245
- - **Tasks** → Implementation tasks and backlog (`tasks/backlog.yaml`)
246
- - **Implementation** → Implementation strategy and guidance (`docs/ImplementationGuide.md`)
232
+ ## Documentation
247
233
 
248
- ### Automatic Steps
234
+ For detailed information:
249
235
 
250
- - **NFRs** Non-Functional Requirements (`docs/NFRs.md`)
251
- - **ADRs** Architecture Decision Records (`docs/adr/`)
252
- - **Domains** Domain decomposition (`docs/DomainCharters/`)
253
- - **Contracts** → API/Event contracts (`contracts/`)
254
- - **Threat Model** → Security analysis (`docs/ThreatModel.md`)
255
- - **Test Plan** → Testing strategy (`docs/TestPlan.md`)
256
- - **Scaffolding** → Project structure guidance (`docs/ScaffoldingGuide.md`)
257
- - **Static Analysis** → Code quality tools (`docs/StaticAnalysis.md`)
258
- - **Observability** → Monitoring and SLOs (`docs/Observability.md`)
259
- - **Delivery** → Deployment strategy (`docs/DeliveryPlan.md`)
260
- - **Docs Portal** → Documentation portal (`docs/DocsPortalPlan.md`)
261
- - **Post-Release** → Post-release analysis (`docs/PostReleaseReport.md`)
236
+ - **[TUI User Guide](docs/TUI_USER_GUIDE.md)** - Complete guide to using the enhanced TUI
237
+ - **[Configuration Guide](docs/harness-configuration.md)** - Detailed configuration options and examples
238
+ - **[Troubleshooting Guide](docs/harness-troubleshooting.md)** - Common issues and solutions
262
239
 
263
240
  ## Manual Workflow (Alternative)
264
241
 
data/bin/aidp CHANGED
@@ -2,4 +2,4 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require "aidp"
5
- Aidp::CLI.start(ARGV)
5
+ exit Aidp::CLI.run(ARGV)