prjct-cli 0.10.9 → 0.10.11

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 CHANGED
@@ -1,5 +1,93 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.10.11] - 2025-11-29
4
+
5
+ ### Refactored - 100% Agentic System
6
+
7
+ Complete elimination of procedural keyword-based logic. Claude now decides everything via templates:
8
+
9
+ - **Templates Created (12 new files)**
10
+ - `templates/analysis/complexity.md` - Replaces `_detectComplexity()` keyword lists
11
+ - `templates/analysis/task-breakdown.md` - Replaces `_breakdownFeatureTasks()` hardcoded patterns
12
+ - `templates/analysis/bug-severity.md` - Replaces `_detectBugSeverity()` keyword detection
13
+ - `templates/analysis/health.md` - Replaces `_calculateHealth()` scoring logic
14
+ - `templates/analysis/intent.md` - Replaces `analyzeSemantics()` regex patterns
15
+ - `templates/design/architecture.md` - Architecture design guidance for Claude
16
+ - `templates/design/api.md` - API design guidance for Claude
17
+ - `templates/design/component.md` - Component design guidance for Claude
18
+ - `templates/design/database.md` - Database design guidance for Claude
19
+ - `templates/design/flow.md` - User flow design guidance for Claude
20
+ - `templates/architect/discovery.md` - Discovery phase template
21
+ - `templates/architect/phases.md` - Phase selection template
22
+
23
+ - **commands.js** - Simplified 11 helper methods
24
+ - `_breakdownFeatureTasks()` - Returns placeholder, Claude generates via template
25
+ - `_detectBugSeverity()` - Returns 'medium', Claude assesses via template
26
+ - `_calculateHealth()` - Simple activity check, Claude evaluates via template
27
+ - `_detectComplexity()` - Returns default, Claude analyzes via template
28
+ - `_autoAssignAgent()` - Returns 'generalist', routing via agent-router.js
29
+ - `_generateArchitectureDesign()` - 60 → 2 lines
30
+ - `_generateApiDesign()` - 75 → 2 lines
31
+ - `_generateComponentDesign()` - 75 → 2 lines
32
+ - `_generateDatabaseDesign()` - 65 → 2 lines
33
+ - `_generateFlowDesign()` - 58 → 2 lines
34
+
35
+ - **architecture-generator.js** - Reduced from 561 to 93 lines (83% reduction)
36
+ - Removed all phase-specific generation logic
37
+ - Claude generates content via architect templates
38
+
39
+ - **task-analyzer.js** - Simplified semantic analysis
40
+ - `analyzeSemantics()` - Removed all regex patterns
41
+ - `estimateComplexity()` - Removed keyword lists
42
+ - `detectDomains()` - Returns empty, Claude decides domain
43
+
44
+ ### Fixed
45
+
46
+ - **prompt-builder.test.js** - Updated 3 tests to match compressed format
47
+ - Tests now expect `## FILES:` instead of `AVAILABLE PROJECT FILES`
48
+ - Tests now expect `## PROJECT:` instead of `PROJECT FILES`
49
+
50
+ ### Impact
51
+ - Zero keyword-based logic remaining
52
+ - All decisions delegated to Claude via templates
53
+ - Easier to extend (just add/edit templates)
54
+ - More accurate analysis (semantic understanding vs pattern matching)
55
+
56
+ ## [0.10.10] - 2025-11-28
57
+
58
+ ### Refactored - Agentic Architecture Optimization
59
+
60
+ Major refactoring to make prjct-cli truly agentic with 70% context reduction:
61
+
62
+ - **CLAUDE.md** - Reduced from 1,079 to 204 lines (81% reduction)
63
+ - Removed verbose examples and implementation pseudocode
64
+ - Kept only critical rules and command reference
65
+ - Cleaner, more focused instructions for Claude
66
+
67
+ - **Templates Expanded to Executable Specs**
68
+ - `done.md`: 24 → 138 lines with step-by-step instructions
69
+ - `ship.md`: 36 → 257 lines with full decision trees
70
+ - `feature.md`: 35 → 276 lines with value analysis flow
71
+ - `sync.md`: 72 → 263 lines with agent generation rules
72
+
73
+ - **patterns.md** - Simplified from 207 to 61 lines (70% reduction)
74
+ - Removed verbose SOLID explanations
75
+ - Focused on detection steps and output format
76
+
77
+ - **prompt-builder.js** - Conditional injection for efficiency
78
+ - Agents only injected for code-modifying commands
79
+ - Pattern summary extraction (800 bytes vs 6KB)
80
+ - File list compressed (5 files vs 20)
81
+
82
+ ### Impact
83
+ - Context per command: ~54KB → ~18KB (67% reduction)
84
+ - Templates now executable specifications with:
85
+ - Explicit paths and variables
86
+ - Decision trees with IF/ELSE
87
+ - Error handling at each step
88
+ - JSONL format specifications
89
+ - Concrete examples
90
+
3
91
  ## [0.10.9] - 2025-11-28
4
92
 
5
93
  ### Added