@iservu-inc/adf-cli 0.9.1 → 0.11.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.
@@ -0,0 +1,196 @@
1
+ # Documentation Update Checklist
2
+
3
+ This checklist must be completed **BEFORE** publishing any new version to npm.
4
+
5
+ ## Pre-Publish Documentation Requirements
6
+
7
+ Before running `npm version` or `npm publish`, ensure ALL of the following are updated:
8
+
9
+ ### 1. CHANGELOG.md ✅
10
+
11
+ **Location:** `./CHANGELOG.md`
12
+
13
+ **Requirements:**
14
+ - [ ] Add new version entry at the top (format: `## [X.Y.Z] - YYYY-MM-DD`)
15
+ - [ ] Include comprehensive description of changes:
16
+ - What was added/changed/fixed
17
+ - Why it matters (user benefit)
18
+ - Technical details (files changed, new features)
19
+ - Breaking changes (if any)
20
+ - Testing status
21
+ - [ ] Use emojis for section headers (🚀, 🐛, ✨, 🔧, etc.)
22
+ - [ ] Include code examples for significant features
23
+ - [ ] Link to related issues/PRs if applicable
24
+
25
+ **Example Entry:**
26
+ ```markdown
27
+ ## [0.9.0] - 2025-10-05
28
+
29
+ ### 🎛️ AI Analysis Settings & Performance Modes
30
+
31
+ **MAJOR FEATURE:** Configurable AI analysis with three performance modes.
32
+
33
+ #### Three Performance Modes
34
+ ...
35
+ ```
36
+
37
+ ### 2. README.md ✅
38
+
39
+ **Location:** `./README.md`
40
+
41
+ **Requirements:**
42
+ - [ ] Update "Version History" section with latest version
43
+ - [ ] Add new feature documentation if applicable:
44
+ - New commands or options
45
+ - Configuration changes
46
+ - New workflows or capabilities
47
+ - [ ] Update any code examples that changed
48
+ - [ ] Update feature lists if new capabilities added
49
+ - [ ] Ensure all links and references are current
50
+
51
+ **Key Sections to Check:**
52
+ - Version History (line ~488)
53
+ - Configure ADF Settings (line ~63)
54
+ - Feature-specific sections (AI Provider, Learning System, etc.)
55
+
56
+ ### 3. package.json ✅
57
+
58
+ **Location:** `./package.json`
59
+
60
+ **Requirements:**
61
+ - [ ] Version number matches the version being published
62
+ - [ ] Use `npm version <major|minor|patch>` to auto-increment
63
+ - [ ] Verify description is up-to-date
64
+ - [ ] Check dependencies are current
65
+
66
+ ### 4. SESSION-STATUS.md
67
+
68
+ **Location:** `./.project/chats/current/SESSION-STATUS.md`
69
+
70
+ **Requirements:**
71
+ - [ ] Update "Latest Version" field
72
+ - [ ] Update "Status" field
73
+ - [ ] Update "Recent Completion" section with release details
74
+ - [ ] Update "Published Version" section
75
+ - [ ] Update "npm Registry" code block with new version
76
+ - [ ] Add new achievement section if major feature
77
+ - [ ] Update "Recent Version History" list
78
+ - [ ] Update "Last Updated" timestamp
79
+
80
+ ### 5. Chat History
81
+
82
+ **Location:** `./.project/chats/current/`
83
+
84
+ **Requirements:**
85
+ - [ ] Create comprehensive chat file for the session (if significant work)
86
+ - [ ] Move completed chat files to `./.project/chats/complete/` folder
87
+ - [ ] Document all decisions, changes, and reasoning
88
+ - [ ] Include technical details and code changes
89
+
90
+ ## Automation Script
91
+
92
+ To help automate documentation updates, use this workflow:
93
+
94
+ ```bash
95
+ # 1. Complete your code changes
96
+ # 2. Run tests to ensure everything passes
97
+ npm test
98
+
99
+ # 3. Update CHANGELOG.md manually (most important)
100
+ # Add entry for new version with all changes documented
101
+
102
+ # 4. Update README.md if needed
103
+ # Add feature documentation, update version history
104
+
105
+ # 5. Update SESSION-STATUS.md
106
+ # Update version, status, and latest achievement
107
+
108
+ # 6. Version bump (auto-updates package.json)
109
+ npm version patch # or minor, or major
110
+
111
+ # 7. Create git commit with documentation
112
+ git add .
113
+ git commit -m "Release vX.Y.Z - Description
114
+
115
+ - Feature/fix 1
116
+ - Feature/fix 2
117
+ - Documentation updates
118
+
119
+ 🤖 Generated with [Claude Code](https://claude.com/claude-code)
120
+
121
+ Co-Authored-By: Claude (Bob) <noreply@anthropic.com>"
122
+
123
+ # 8. Publish to npm
124
+ npm publish
125
+
126
+ # 9. Push to GitHub with tags
127
+ git push && git push --tags
128
+ ```
129
+
130
+ ## Quick Reference: Files That Must Be Updated
131
+
132
+ | File | Section | Update Frequency |
133
+ |------|---------|------------------|
134
+ | `CHANGELOG.md` | Top of file | **Every release** |
135
+ | `README.md` | Version History | **Every release** |
136
+ | `README.md` | Feature sections | When features added |
137
+ | `package.json` | version | **Every release** (via npm version) |
138
+ | `SESSION-STATUS.md` | Latest Version | **Every release** |
139
+ | `SESSION-STATUS.md` | Recent completion | **Every release** |
140
+ | Chat files | New session file | Significant work |
141
+
142
+ ## Common Mistakes to Avoid
143
+
144
+ ❌ **Don't:**
145
+ - Publish without updating CHANGELOG.md
146
+ - Forget to update version history in README.md
147
+ - Skip SESSION-STATUS.md updates
148
+ - Leave placeholder text in documentation
149
+ - Forget to move old chat files to complete/
150
+
151
+ ✅ **Do:**
152
+ - Update ALL documentation files before publishing
153
+ - Include comprehensive change descriptions
154
+ - Test all code examples in documentation
155
+ - Proofread all documentation updates
156
+ - Create git commit with documentation changes
157
+
158
+ ## Validation Checklist
159
+
160
+ Before running `npm publish`, verify:
161
+
162
+ - [ ] All 200 tests passing (`npm test`)
163
+ - [ ] CHANGELOG.md has new version entry
164
+ - [ ] README.md version history updated
165
+ - [ ] SESSION-STATUS.md reflects latest version
166
+ - [ ] package.json version incremented
167
+ - [ ] Git commit includes all documentation
168
+ - [ ] No uncommitted changes remain
169
+
170
+ ## Emergency: Published Without Documentation
171
+
172
+ If you accidentally published without updating documentation:
173
+
174
+ 1. **Don't panic** - the code is already published
175
+ 2. Update documentation immediately (CHANGELOG.md, README.md)
176
+ 3. Commit documentation updates: `git commit -m "docs: Update documentation for vX.Y.Z"`
177
+ 4. Push to GitHub: `git push`
178
+ 5. npm registry users will see updated README on next refresh
179
+ 6. Add note in next version's CHANGELOG about late documentation
180
+
181
+ ## Bob's Responsibility
182
+
183
+ As project assistant, Bob (Claude) must:
184
+ - ✅ Update CHANGELOG.md with detailed release notes
185
+ - ✅ Update README.md version history and feature docs
186
+ - ✅ Update SESSION-STATUS.md with release info
187
+ - ✅ Ensure all tests pass before publish
188
+ - ✅ Create comprehensive git commit message
189
+ - ✅ Follow semantic versioning correctly
190
+ - ✅ Never skip documentation updates
191
+
192
+ ---
193
+
194
+ **Last Updated:** 2025-10-05
195
+ **Maintained By:** Bob
196
+ **Purpose:** Ensure documentation is always current with published versions
@@ -1,8 +1,8 @@
1
1
  # ADF CLI - Development Roadmap
2
2
 
3
- **Last Updated:** 2025-10-05
4
- **Current Version:** v0.5.0
5
- **Status:** Phase 5 Complete, Phase 6 Planning
3
+ **Last Updated:** 2025-10-26
4
+ **Current Version:** v0.9.1
5
+ **Status:** Phase 5 Complete (with UX Polish), Phase 6 Planning
6
6
 
7
7
  ---
8
8
 
@@ -238,32 +238,107 @@ Create the definitive AI-driven requirements gathering tool that transforms vagu
238
238
 
239
239
  ---
240
240
 
241
+ ### ✅ Phase 5.1: UX Polish & Performance Configuration (v0.5.3 - v0.9.1)
242
+ **Released:** 2025-10-05
243
+ **Status:** Complete
244
+
245
+ **Delivered (9 versions):**
246
+
247
+ **v0.9.1 - Critical Bug Fix:**
248
+ - Fixed syntax error in interviewer.js causing interview failures
249
+ - All 200 tests passing
250
+
251
+ **v0.9.0 - AI Analysis Settings (MAJOR FEATURE):**
252
+ - Three performance modes: Fast, Balanced, Comprehensive
253
+ - Five configurable AI features with granular control
254
+ - Complete control over speed vs intelligence tradeoff
255
+ - New "AI Analysis Settings" category in `adf config`
256
+ - Performance mode display at interview start
257
+ - Settings persist to `.adf/analysis-config.json`
258
+
259
+ **v0.8.0 - Resume from Exit (MAJOR FEATURE):**
260
+ - Type `exit` or press Ctrl+C to save progress and quit gracefully
261
+ - Resume with `adf init` continues from last question
262
+ - Already-answered questions automatically skipped with preview
263
+ - Global Ctrl+C handler for clean exit anywhere
264
+ - Enhanced session manager with resume prompts
265
+
266
+ **v0.7.1 - UX Improvement:**
267
+ - Reverted to terminal input (v0.6.0-v0.7.0 external editor was disruptive)
268
+ - Kept exit and skip functionality
269
+ - Better user experience with inline typing
270
+
271
+ **v0.7.0 - Exit Shortcut:**
272
+ - Added `exit` command to quit interview anytime
273
+ - (Note: Later reverted external editor approach in v0.7.1)
274
+
275
+ **v0.6.0 - Multi-line Input Experiment:**
276
+ - Attempted fix for cursor lag with editor-based input
277
+ - (Note: Reverted in v0.7.1 based on user feedback)
278
+
279
+ **v0.5.6 - Configuration Validation:**
280
+ - Automatic detection and reset of invalid .env states
281
+ - Prevents "cart before the horse" configuration issues
282
+
283
+ **v0.5.5 - Provider Display Fix:**
284
+ - Fixed provider checkmark display logic in config menu
285
+
286
+ **v0.5.4 - Version Display:**
287
+ - Enhanced version display in help and commands
288
+
289
+ **v0.5.3 - Dependency Updates:**
290
+ - Updated AI SDK dependencies for better compatibility
291
+ - Improved stability
292
+
293
+ **Impact:**
294
+ - ✅ Flexible resume capability - exit and continue anytime
295
+ - ✅ User control over AI performance - choose speed or intelligence
296
+ - ✅ Graceful quit handling - Ctrl+C works everywhere
297
+ - ✅ Better UX - reverted disruptive experiments, kept what works
298
+ - ✅ Configuration safety - prevents invalid states
299
+ - ✅ Professional polish - 9 iterative improvements
300
+ - ✅ Zero breaking changes - fully backward compatible
301
+
302
+ ---
303
+
304
+ ### ✅ Phase 6.1: Pattern Decay Algorithm (v0.10.0)
305
+ **Released:** 2025-10-27
306
+ **Status:** Complete
307
+
308
+ **Delivered:**
309
+ - Time-based exponential decay for inactive patterns
310
+ - Confidence-based decay rates (high: 7.5%, medium: 15%, low: 22.5% per month)
311
+ - Automatic pattern cleanup (removes patterns <40 confidence or inactive 6+ months)
312
+ - Pattern renewal system (+10 confidence boost when reconfirmed)
313
+ - User-approved pattern protection (decay at half rate)
314
+ - DecayManager orchestration layer
315
+ - Pattern metadata tracking (createdAt, lastSeen, lastDecayCalculation, timesRenewed)
316
+ - Removal history tracking
317
+ - 40+ comprehensive tests (240 total tests passing)
318
+
319
+ **Impact:**
320
+ - ✅ Keeps learning data fresh and relevant over time
321
+ - ✅ Adapts to changing user workflows automatically
322
+ - ✅ Prevents stale patterns from affecting filtering
323
+ - ✅ User-approved patterns protected from rapid decay
324
+ - ✅ Pattern renewal reinforces active preferences
325
+
326
+ ---
327
+
241
328
  ## Active Development
242
329
 
243
- ### 🔄 Phase 6: Advanced Learning Features (Planned)
244
- **Target Version:** v0.6.0
330
+ ### 🔄 Phase 6.2: Advanced Learning Features (Continued)
331
+ **Target Version:** v0.11.0
245
332
  **Priority:** High
246
333
  **Estimated Effort:** 2-3 weeks
247
334
  **Status:** Planning
248
335
 
249
336
  #### Goals
250
- Enhance the learning system with advanced features for better accuracy, visibility, and collaboration.
251
-
252
- #### Features
337
+ Continue enhancing the learning system with analytics, team collaboration, and advanced features.
253
338
 
254
- ##### 1. Pattern Decay (High Priority)
255
- **Problem:** Old patterns may become stale and inaccurate over time.
256
- **Solution:** Reduce confidence scores over time for inactive patterns.
339
+ #### Features Remaining
257
340
 
258
- **Implementation:**
259
- - Decay algorithm: Reduce confidence by X% per month of inactivity
260
- - Configurable decay rate in learning settings
261
- - Automatic removal of patterns below confidence threshold
262
- - Pattern "last seen" timestamp tracking
263
-
264
- **User Benefit:** Keeps learning data fresh and relevant
265
-
266
- ##### 2. Learning Analytics Dashboard (High Priority)
341
+ ##### 1. Learning Analytics Dashboard (High Priority)
267
342
  **Problem:** Users can't visualize their learning data effectively.
268
343
  **Solution:** Comprehensive analytics with insights and visualizations.
269
344
 
@@ -276,7 +351,7 @@ Enhance the learning system with advanced features for better accuracy, visibili
276
351
 
277
352
  **User Benefit:** Visibility into learning behavior and patterns
278
353
 
279
- ##### 3. Export/Import Rules (Medium Priority)
354
+ ##### 2. Export/Import Rules (Medium Priority)
280
355
  **Problem:** Teams can't share learned preferences.
281
356
  **Solution:** Export rules as JSON, import with validation.
282
357
 
@@ -288,7 +363,7 @@ Enhance the learning system with advanced features for better accuracy, visibili
288
363
 
289
364
  **User Benefit:** Team collaboration and knowledge sharing
290
365
 
291
- ##### 4. Cross-Project Learning (Low Priority)
366
+ ##### 3. Cross-Project Learning (Low Priority)
292
367
  **Problem:** Patterns learned in one project could benefit others.
293
368
  **Solution:** Optional aggregation across projects.
294
369
 
@@ -300,7 +375,7 @@ Enhance the learning system with advanced features for better accuracy, visibili
300
375
 
301
376
  **User Benefit:** Faster learning for new projects
302
377
 
303
- ##### 5. Time-Based Patterns (Low Priority)
378
+ ##### 4. Time-Based Patterns (Low Priority)
304
379
  **Problem:** Some patterns are time-dependent (e.g., skip deployment on Fridays).
305
380
  **Solution:** Detect and apply schedule-aware patterns.
306
381
 
@@ -313,7 +388,7 @@ Enhance the learning system with advanced features for better accuracy, visibili
313
388
  **User Benefit:** More intelligent, context-aware filtering
314
389
 
315
390
  #### Success Criteria
316
- - Pattern decay prevents >90% of stale patterns from affecting filtering
391
+ - Pattern decay prevents >90% of stale patterns from affecting filtering (COMPLETE)
317
392
  - Analytics dashboard shows 5+ meaningful insights
318
393
  - Export/Import works across team members
319
394
  - Cross-project learning requires explicit user opt-in
@@ -329,11 +404,11 @@ Enhance the learning system with advanced features for better accuracy, visibili
329
404
  ---
330
405
 
331
406
  ### 🔄 Phase 7: AI-Enhanced Filtering (Planned)
332
- **Target Version:** v0.7.0
407
+ **Target Version:** v0.11.0
333
408
  **Priority:** Medium
334
409
  **Estimated Effort:** 3-4 weeks
335
410
  **Status:** Planning
336
- **Dependencies:** Phase 4.4 complete
411
+ **Dependencies:** Phase 6 complete
337
412
 
338
413
  #### Goals
339
414
  Use AI to go beyond rule-based filtering for even more intelligent question selection.
@@ -500,7 +575,7 @@ Build a community-driven ecosystem around ADF CLI with plugins, templates, and s
500
575
  ## Prioritization Framework
501
576
 
502
577
  ### High Priority (Do Next)
503
- - **Pattern Decay** - Critical for learning quality
578
+ - **Pattern Decay** - Critical for learning quality (COMPLETE v0.10.0)
504
579
  - **Learning Analytics** - User visibility and trust
505
580
  - **Export/Import Rules** - Team collaboration
506
581
 
@@ -518,32 +593,55 @@ Build a community-driven ecosystem around ADF CLI with plugins, templates, and s
518
593
 
519
594
  ## Version Planning
520
595
 
521
- ### v0.5.0 - Intelligent Answer Analysis (Complete )
522
- - Answer analyzer with 12 information types
523
- - Knowledge graph for tracking
524
- - Dynamic question pipeline
525
- - Question reordering and skipping
596
+ ### v0.9.1 - Current Release
597
+ - Critical bug fix (syntax error in interviewer.js)
598
+ - Released: 2025-10-05
599
+
600
+ ### v0.9.0 - AI Analysis Settings
601
+ - Three performance modes (Fast, Balanced, Comprehensive)
602
+ - Five configurable AI features
603
+ - Complete control over speed vs intelligence
526
604
  - Released: 2025-10-05
527
605
 
528
- ### v0.6.0 - Advanced Learning (Next)
529
- - Pattern decay algorithm
606
+ ### v0.8.0 - Resume from Exit ✅
607
+ - Exit and Ctrl+C graceful quit
608
+ - Resume capability from any point
609
+ - Already-answered questions skipped
610
+ - Released: 2025-10-05
611
+
612
+ ### v0.7.1 - UX Improvements ✅
613
+ - Terminal input restoration
614
+ - Reverted external editor experiment
615
+ - Released: 2025-10-05
616
+
617
+ ### v0.5.0 - v0.7.0 - Core Features ✅
618
+ - Intelligent Answer Analysis (v0.5.0)
619
+ - Multi-line input experiments (v0.6.0-v0.7.0, later reverted)
620
+ - Configuration improvements (v0.5.3-v0.5.6)
621
+ - Released: 2025-10-05
622
+
623
+ ### v0.10.0 - Pattern Decay Algorithm ✅
624
+ - Time-based exponential decay for inactive patterns
625
+ - Confidence-based decay rates (high/medium/low)
626
+ - Automatic pattern cleanup and renewal system
627
+ - Pattern metadata tracking and removal history
628
+ - 40+ comprehensive tests (240 total tests passing)
629
+ - Released: 2025-10-27
630
+
631
+ ### v0.11.0 - Advanced Learning (Next)
530
632
  - Learning analytics dashboard
531
- - Export/Import rules
633
+ - Export/Import rules for team sharing
634
+ - Cross-project learning (optional)
635
+ - Time-based patterns
532
636
  - Estimated: 2-3 weeks
533
637
 
534
- ### v0.7.0 - AI Enhancement
638
+ ### v0.12.0 - AI Enhancement
535
639
  - AI-powered relevance scoring
536
640
  - Dynamic question generation
537
641
  - Custom follow-ups
538
642
  - Estimated: 3-4 weeks
539
643
 
540
- ### v0.8.0 - Cross-Project Learning
541
- - Cross-project pattern aggregation
542
- - Time-based patterns
543
- - Advanced analytics
544
- - Estimated: 2 weeks
545
-
546
- ### v0.9.0 - AI Pattern Detection
644
+ ### v0.13.0 - AI Pattern Detection
547
645
  - AI-assisted pattern detection
548
646
  - Semantic clustering
549
647
  - Natural language descriptions
@@ -584,7 +682,7 @@ Build a community-driven ecosystem around ADF CLI with plugins, templates, and s
584
682
  - **Pattern Detection Rate:** >80% accuracy
585
683
  - **Learning Effectiveness:** >50% time saved after 3 sessions
586
684
  - **Rule Confidence:** >75% average
587
- - **Pattern Decay:** <10% stale patterns active
685
+ - **Pattern Decay:** <10% stale patterns active (ACHIEVED)
588
686
 
589
687
  ---
590
688