prjct-cli 0.6.0 → 0.7.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 (83) hide show
  1. package/CHANGELOG.md +67 -6
  2. package/CLAUDE.md +442 -36
  3. package/README.md +47 -54
  4. package/bin/prjct +170 -240
  5. package/core/agentic/command-executor.js +113 -0
  6. package/core/agentic/context-builder.js +85 -0
  7. package/core/agentic/prompt-builder.js +86 -0
  8. package/core/agentic/template-loader.js +104 -0
  9. package/core/agentic/tool-registry.js +117 -0
  10. package/core/command-registry.js +106 -62
  11. package/core/commands.js +2030 -2211
  12. package/core/domain/agent-generator.js +118 -0
  13. package/core/domain/analyzer.js +211 -0
  14. package/core/domain/architect-session.js +300 -0
  15. package/core/{agents → infrastructure/agents}/claude-agent.js +16 -13
  16. package/core/{author-detector.js → infrastructure/author-detector.js} +3 -1
  17. package/core/{capability-installer.js → infrastructure/capability-installer.js} +3 -6
  18. package/core/{command-installer.js → infrastructure/command-installer.js} +4 -2
  19. package/core/{config-manager.js → infrastructure/config-manager.js} +4 -4
  20. package/core/{editors-config.js → infrastructure/editors-config.js} +2 -10
  21. package/core/{migrator.js → infrastructure/migrator.js} +34 -19
  22. package/core/{path-manager.js → infrastructure/path-manager.js} +20 -44
  23. package/core/{session-manager.js → infrastructure/session-manager.js} +45 -105
  24. package/core/{update-checker.js → infrastructure/update-checker.js} +67 -67
  25. package/core/{animations-simple.js → utils/animations.js} +3 -23
  26. package/core/utils/date-helper.js +238 -0
  27. package/core/utils/file-helper.js +327 -0
  28. package/core/utils/jsonl-helper.js +206 -0
  29. package/core/{project-capabilities.js → utils/project-capabilities.js} +21 -22
  30. package/core/utils/session-helper.js +277 -0
  31. package/core/{version.js → utils/version.js} +1 -1
  32. package/package.json +4 -12
  33. package/templates/agents/AGENTS.md +101 -27
  34. package/templates/analysis/analyze.md +84 -0
  35. package/templates/commands/analyze.md +9 -2
  36. package/templates/commands/bug.md +79 -0
  37. package/templates/commands/build.md +5 -2
  38. package/templates/commands/cleanup.md +5 -2
  39. package/templates/commands/design.md +5 -2
  40. package/templates/commands/done.md +4 -2
  41. package/templates/commands/feature.md +113 -0
  42. package/templates/commands/fix.md +41 -10
  43. package/templates/commands/git.md +7 -2
  44. package/templates/commands/help.md +2 -2
  45. package/templates/commands/idea.md +14 -5
  46. package/templates/commands/init.md +62 -7
  47. package/templates/commands/next.md +4 -2
  48. package/templates/commands/now.md +4 -2
  49. package/templates/commands/progress.md +27 -5
  50. package/templates/commands/recap.md +39 -10
  51. package/templates/commands/roadmap.md +19 -5
  52. package/templates/commands/ship.md +118 -16
  53. package/templates/commands/status.md +4 -2
  54. package/templates/commands/sync.md +19 -15
  55. package/templates/commands/task.md +4 -2
  56. package/templates/commands/test.md +5 -2
  57. package/templates/commands/workflow.md +4 -2
  58. package/core/agent-generator.js +0 -525
  59. package/core/analyzer.js +0 -600
  60. package/core/animations.js +0 -277
  61. package/core/ascii-graphics.js +0 -433
  62. package/core/git-integration.js +0 -401
  63. package/core/task-schema.js +0 -342
  64. package/core/workflow-engine.js +0 -213
  65. package/core/workflow-prompts.js +0 -192
  66. package/core/workflow-rules.js +0 -147
  67. package/scripts/post-install.js +0 -121
  68. package/scripts/preuninstall.js +0 -94
  69. package/scripts/verify-installation.sh +0 -158
  70. package/templates/agents/be.template.md +0 -27
  71. package/templates/agents/coordinator.template.md +0 -34
  72. package/templates/agents/data.template.md +0 -27
  73. package/templates/agents/devops.template.md +0 -27
  74. package/templates/agents/fe.template.md +0 -27
  75. package/templates/agents/mobile.template.md +0 -27
  76. package/templates/agents/qa.template.md +0 -27
  77. package/templates/agents/scribe.template.md +0 -29
  78. package/templates/agents/security.template.md +0 -27
  79. package/templates/agents/ux.template.md +0 -27
  80. package/templates/commands/context.md +0 -36
  81. package/templates/commands/stuck.md +0 -36
  82. package/templates/examples/natural-language-examples.md +0 -532
  83. /package/core/{agent-detector.js → infrastructure/agent-detector.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ## [0.6.0] - 2025-10-03
11
11
 
12
12
  ### Changed
13
+
13
14
  - **Philosophy Transformation** - Complete rebrand from PM tool to developer momentum tool
14
15
  - **Problem**: "Project management" messaging didn't match target audience (indie hackers, solo builders, small teams)
15
16
  - **Solution**: Eliminated ALL "project management" language across entire codebase
@@ -55,6 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55
56
  ## [0.5.3] - 2025-10-02
56
57
 
57
58
  ### Fixed
59
+
58
60
  - **Website Build Issues** - Fixed ES module compatibility for browser
59
61
  - **Problem**: Command registry using CommonJS `require()` caused runtime errors in browser
60
62
  - **Solution**:
@@ -80,6 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
80
82
  ## [0.5.2] - 2025-10-02
81
83
 
82
84
  ### Added
85
+
83
86
  - **Command Registry System** - Single source of truth for all prjct commands (`core/command-registry.js`)
84
87
  - **Problem**: Commands were dispersed across 4 locations with inconsistencies:
85
88
  - `bin/prjct` (15 commands in help)
@@ -162,6 +165,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
162
165
  ## [0.5.1] - 2025-10-02
163
166
 
164
167
  ### Fixed
168
+
165
169
  - **Critical: `prjct start` Command Error** - Fixed "commandInstaller.detectEditors is not a function" error
166
170
  - **Root Cause**: v0.5.0 refactored `command-installer.js` to Claude-only architecture but didn't update calling code
167
171
  - **Files Modified**: `core/commands.js` (lines 2227-2374)
@@ -173,9 +177,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
173
177
  - Simplified `setup()` function with installation status checking
174
178
  - Added `--force` flag support for reinstallation
175
179
  - **Result**: Both `prjct start` and `prjct setup` now work correctly
176
- - **Commands Installed**: Successfully installs all 21 /p:* commands to `~/.claude/commands/p/`
180
+ - **Commands Installed**: Successfully installs all 21 /p:\* commands to `~/.claude/commands/p/`
177
181
 
178
182
  ### Fixed
183
+
179
184
  - **Corrected Claude Subscription Messaging** - Clarified honest pricing throughout
180
185
  - Updated `website/src/pages/Changelog.tsx`:
181
186
  - Changed "Claude Code is 100% free" → "Works with whatever Claude subscription you have (free tier or Pro)"
@@ -204,6 +209,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
204
209
  - Website now compiles without TypeScript errors
205
210
 
206
211
  ### Changed
212
+
207
213
  - **Website Alignment with p. Trigger** - ALL website components now show p. trigger correctly
208
214
  - Updated `website/src/components/Features.tsx`:
209
215
  - Changed "p. Trigger" description to show multiple examples
@@ -238,6 +244,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
238
244
  - Real-world examples for creators
239
245
 
240
246
  ### Added
247
+
241
248
  - **p. Trigger System** - Zero memorization interface for prjct context
242
249
  - Simple prefix `p.` signals prjct context (e.g., "p. analiza esto")
243
250
  - Works in any language: English, Spanish, German, etc.
@@ -254,6 +261,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
254
261
  - Works natively in Claude Code and Claude Desktop
255
262
 
256
263
  ### Changed
264
+
257
265
  - **Natural Language System** - Enhanced with p. trigger and context validation
258
266
  - Updated `CLAUDE.md` with complete p. trigger detection logic
259
267
  - Added context validation examples and patterns
@@ -271,7 +279,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
271
279
  - **Website Alignment** - Updated all components to show p. trigger as primary interface
272
280
  - `website/src/components/Hero.tsx`:
273
281
  - Updated p. Trigger feature description
274
- - Changed badge to "Built for Claude Code - Claude Desktop"
282
+ - Changed badge to "Built for Claude Code"
275
283
  - Restored Windsurf Extension CTA with scroll-to-section functionality
276
284
  - Added Sparkles and ArrowRight animated icons
277
285
  - `website/src/components/Features.tsx`:
@@ -303,6 +311,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
303
311
  - Maintains page flow and user journey
304
312
 
305
313
  ### Fixed
314
+
306
315
  - **🐛 Natural Language Context Bug** - Fixed error messages when context is missing
307
316
  - Before: "⏺ No hay tarea activa en este momento..." (technical error)
308
317
  - After: "✨ You're not working on anything right now! Want to start something?" (conversational)
@@ -310,6 +319,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
310
319
  - Claude automatically validates and provides friendly guidance
311
320
 
312
321
  ### Technical Implementation
322
+
313
323
  - **Zero External Dependencies** - All functionality via CLAUDE.md
314
324
  - No SDK required (initially considered but removed)
315
325
  - Uses Claude Code's native session (zero API keys)
@@ -318,6 +328,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
318
328
  - No additional costs for users
319
329
 
320
330
  ### Coming Soon
331
+
321
332
  - **Windows Compatibility** - Native Windows support
322
333
  - PowerShell and CMD command execution
323
334
  - Windows path handling (`%USERPROFILE%\.prjct-cli\`)
@@ -357,6 +368,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
357
368
  **prjct-cli is now a developer momentum tool, NOT a project management tool.**
358
369
 
359
370
  **The Philosophy:**
371
+
360
372
  - Ship fast, stay focused, no BS
361
373
  - For indie hackers and small teams (2-5 devs)
362
374
  - No Jira, no ceremonies, no bureaucracy
@@ -394,6 +406,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
394
406
  - Honest compatibility (only claim what works)
395
407
 
396
408
  **Migration Path:**
409
+
397
410
  - **Using Claude?** → `npm update -g prjct-cli` (you're all set!)
398
411
  - **Using Cursor/Windsurf/Codex?** → Switch to Claude Code (free) or stay on v0.4.10
399
412
  - **See [MIGRATION.md](MIGRATION.md) for complete upgrade guide**
@@ -401,6 +414,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
401
414
  **This isn't a limitation - it's a strategic decision that makes prjct-cli better for developers who ship fast.**
402
415
 
403
416
  ### Added
417
+
404
418
  - **Dynamic AI Agent System** - Automatic generation of specialized AI agents based on project stack
405
419
  - **GitIntegration Module** (`core/git-integration.js`)
406
420
  - Repository validation and state tracking
@@ -462,6 +476,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
462
476
  - Comprehensive sync reporting and logging
463
477
 
464
478
  ### Changed
479
+
465
480
  - **Agent Architecture** - 100% Claude-focused (Claude Code + Claude Desktop)
466
481
  - Agents stored in `~/.claude/agents/` directory
467
482
  - Markdown format with YAML frontmatter (Claude native)
@@ -470,6 +485,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
470
485
  - Limited expertise per agent (focused specialization)
471
486
 
472
487
  ### Technical Details
488
+
473
489
  - **10 Agent Templates** in `templates/agents/`
474
490
  - 6 base templates (always generated)
475
491
  - 4 conditional templates (stack-dependent)
@@ -487,6 +503,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
487
503
  ## [0.4.10] - 2025-10-02
488
504
 
489
505
  ### Changed
506
+
490
507
  - **Agent Workflow Initialization** - `prjct init` now properly initializes AI agent workflows
491
508
  - When existing codebase detected, prompts user to run `/p:analyze`
492
509
  - Enables AI agents to follow complete analysis workflow
@@ -494,6 +511,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
494
511
  - Replaced silent programmatic analysis with workflow-driven approach
495
512
 
496
513
  ### Fixed
514
+
497
515
  - **Analysis Workflow** - AI agents now receive proper instructions during project initialization
498
516
  - Removed silent `analyze()` call that bypassed agent workflows
499
517
  - Agent workflows now activate when user runs `/p:analyze` command
@@ -502,6 +520,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
502
520
  ## [0.4.9] - 2025-10-02
503
521
 
504
522
  ### Added
523
+
505
524
  - **Editor Uninstallation** - `prjct start` now allows removing editors
506
525
  - Interactive checkbox selection shows currently installed editors
507
526
  - Uncheck an editor to remove all prjct commands from it
@@ -509,12 +528,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
509
528
  - User has full control over which editors have prjct commands
510
529
 
511
530
  ### Changed
531
+
512
532
  - **`prjct start` Never Blocks** - Removed "already set up" error
513
533
  - Can run `prjct start` anytime to reconfigure editors
514
534
  - Shows beautiful ASCII art every time
515
535
  - User decides which editors to keep/remove
516
536
 
517
537
  ### Fixed
538
+
518
539
  - **Interactive Prompts** - Better UX for editor selection
519
540
  - Pre-selects currently installed editors
520
541
  - Clear message: "Select AI editors (uncheck to remove)"
@@ -523,6 +544,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
523
544
  ## [0.4.8] - 2025-10-02
524
545
 
525
546
  ### Added
547
+
526
548
  - **Intelligent Project Initialization** - `prjct init` now works seamlessly in all scenarios
527
549
  - Preserves existing project IDs when re-initializing
528
550
  - Automatically merges local data with global structure
@@ -532,6 +554,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
532
554
  - Multiple developers can initialize the same project without conflicts
533
555
 
534
556
  ### Fixed
557
+
535
558
  - **Auto-Migration Removed** - Disabled intrusive automatic migration
536
559
  - Migration no longer runs automatically during `prjct init` or any command
537
560
  - Users can run `prjct migrate-all` manually if needed
@@ -539,6 +562,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
539
562
  - Cleaner, non-intrusive installation and update experience
540
563
 
541
564
  ### Changed
565
+
542
566
  - **`prjct init` Never Blocks** - Removed "already initialized" error
543
567
  - Always allows re-initialization with intelligent data fusion
544
568
  - Global architecture enables multi-developer workflows
@@ -546,8 +570,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
546
570
  ## [0.4.7] - 2025-10-02
547
571
 
548
572
  ### Fixed
573
+
549
574
  - **`prjct start` ASCII Art** - Restored beautiful Catppuccin-inspired colors
550
- - Original design from install.sh with (ノ◕ヮ◕)ノ*:・゚✧
575
+ - Original design from install.sh with (ノ◕ヮ◕)ノ\*:・゚✧
551
576
  - Vibrant magenta, cyan, and blue gradient for logo
552
577
  - Clean, professional look with value propositions
553
578
  - Better visual hierarchy and branding
@@ -558,6 +583,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
558
583
  ## [0.4.6] - 2025-10-02
559
584
 
560
585
  ### Added
586
+
561
587
  - **`prjct start` Command** - First-time setup with interactive editor selection
562
588
  - Beautiful ASCII art welcome message
563
589
  - Auto-detects installed AI editors (Claude Code, Cursor, Windsurf)
@@ -572,6 +598,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
572
598
  - Seamless workflow: `cd project/ && prjct now "task"` just works
573
599
 
574
600
  ### Changed
601
+
575
602
  - **Simplified Installation Flow**
576
603
  - `npm install -g prjct-cli` → Shows welcome message, tells user to run `prjct start`
577
604
  - `prjct start` → Interactive setup (first-time only)
@@ -586,6 +613,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
586
613
  - Cleaner, more predictable behavior
587
614
 
588
615
  ### Fixed
616
+
589
617
  - **Critical Bug Fixes** - All commands now enforce global architecture correctly
590
618
  - `/p:design` now creates designs in global `analysis/designs/` instead of local `.prjct/designs/`
591
619
  - `/p:cleanup` now operates on global project data instead of local `.prjct/`
@@ -596,6 +624,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
596
624
  - **Added 'Apps' directory** to migration scanner for better project detection
597
625
 
598
626
  ### Technical Details
627
+
599
628
  - **New Commands**:
600
629
  - `start()` - First-time setup with ASCII art and interactive editor selection
601
630
  - `setup()` - Renamed from `install()` for clarity
@@ -611,6 +640,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
611
640
  ## [0.4.4] - 2025-10-02
612
641
 
613
642
  ### Added
643
+
614
644
  - **Automatic Editor Command Updates** - Commands auto-update when npm package is updated
615
645
  - New `core/editors-config.js` tracks which editors user has installed commands to
616
646
  - Stores editor selections in `~/.prjct-cli/config/installed-editors.json`
@@ -639,12 +669,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
639
669
  - Uses existing battle-tested `core/migrator.js` system
640
670
 
641
671
  ### Changed
672
+
642
673
  - **Improved Command Tracking** - Always track editor installations for better update management
643
674
  - Modified `installToSelected()` to always save editor config (removed `!forceUpdate` restriction)
644
675
  - Ensures tracking happens even during force updates
645
676
  - Enables reliable auto-updates across all configured editors
646
677
 
647
678
  ### Fixed
679
+
648
680
  - **Global Architecture Enforcement** - All commands now enforce global architecture correctly
649
681
  - `/p:design` now creates designs in global `analysis/designs/` instead of local `.prjct/designs/`
650
682
  - `/p:cleanup` now operates on global project data instead of local `.prjct/`
@@ -655,6 +687,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
655
687
  - **Added 'Apps' directory** to migration scanner for better project detection
656
688
 
657
689
  ### Technical Details
690
+
658
691
  - **Post-Install Hook**: Runs after `npm install -g prjct-cli` or `npm update -g prjct-cli`
659
692
  - First install: Auto-detects editors and installs commands
660
693
  - Updates: Checks version change and auto-updates commands in tracked editors
@@ -681,6 +714,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
681
714
  ## [0.4.3] - 2025-10-02
682
715
 
683
716
  ### Added
717
+
684
718
  - **Automatic Editor Command Updates** - Commands auto-update when npm package is updated
685
719
  - New `core/editors-config.js` tracks which editors user has installed commands to
686
720
  - Stores editor selections in `~/.prjct-cli/config/installed-editors.json`
@@ -708,6 +742,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
708
742
  - Free hosting for public repositories with automatic authentication
709
743
 
710
744
  ### Changed
745
+
711
746
  - **Installation Documentation** - Updated README with dual installation options
712
747
  - Primary: npm registry (recommended for most users)
713
748
  - Alternative: GitHub Packages (for advanced users or npm fallback)
@@ -719,6 +754,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
719
754
  - Improved error handling and reporting
720
755
 
721
756
  ### Technical Details
757
+
722
758
  - **Editor Tracking**: Configuration saved after all successful command installations
723
759
  - **Post-Install Hook**:
724
760
  - Runs only for global installations, skips for local/dev installs
@@ -736,6 +772,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
736
772
  ## [0.4.2] - 2025-10-02
737
773
 
738
774
  ### Fixed
775
+
739
776
  - **Analyzer Compatibility** - Fixed ENOENT error when running `/p:init` in non-prjct projects
740
777
  - Added validation to check if `bin/prjct` exists before reading
741
778
  - Analyzer now works correctly in any project type (React, Vue, etc.)
@@ -750,6 +787,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
750
787
  ## [0.4.1] - 2025-10-01
751
788
 
752
789
  ### Added
790
+
753
791
  - **Automatic Update Detection** - Built-in update checker that notifies users of new versions
754
792
  - Checks npm registry every 24 hours for new versions
755
793
  - Non-blocking background check during command execution
@@ -758,13 +796,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
758
796
  - Respects 24-hour cache to minimize npm registry requests
759
797
 
760
798
  - **Automated npm Publication** - GitHub Actions workflow for automatic npm publishing
761
- - Triggered on version tags (v*)
799
+ - Triggered on version tags (v\*)
762
800
  - Automatic version verification against package.json
763
801
  - Provenance publishing with npm attestation
764
802
  - Post-publication verification
765
803
  - Publication summary in GitHub Actions
766
804
 
767
805
  ### Changed
806
+
768
807
  - **Installation Method** - npm is now the primary and recommended installation method
769
808
  - Simplified to single installation method: `npm install -g prjct-cli`
770
809
  - Removed Homebrew and Bun installation scripts
@@ -772,6 +811,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
772
811
  - Reduced package size: 104.6 KB (71 files)
773
812
 
774
813
  ### Fixed
814
+
775
815
  - **Package Structure** - Improved npm package configuration
776
816
  - Added `files` field to control package contents
777
817
  - Created `.npmignore` for development file exclusion
@@ -779,6 +819,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
779
819
  - Fixed CI/CD tests to verify CLI functionality instead of individual modules
780
820
 
781
821
  ### Technical Details
822
+
782
823
  - **Update Checker**: `core/update-checker.js` with semantic version comparison
783
824
  - **Cache Management**: Update checks cached for 24 hours in `~/.prjct-cli/config/update-cache.json`
784
825
  - **Architecture**: Clean separation between npm installation (`/opt/homebrew/lib/node_modules/prjct-cli/`) and user data (`~/.prjct-cli/`)
@@ -787,6 +828,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
787
828
  ## [0.4.0] - 2025-10-01
788
829
 
789
830
  ### Added
831
+
790
832
  - **Interactive Workflow System** - Intelligent agent workflows with user-guided capability installation
791
833
  - **Adaptive Workflows**: Workflows detect missing capabilities and prompt user for decisions
792
834
  - **Smart Recommendations**: Stack-aware tool suggestions (React → Vitest, Vue → Vitest, Angular → Jest)
@@ -809,6 +851,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
809
851
  - Enhanced `idea()`: Auto-initializes workflows for actionable tasks
810
852
 
811
853
  ### Changed
854
+
812
855
  - **Workflow Behavior**: Transformed from auto-skip to interactive prompting
813
856
  - Before: Missing capability → auto-skip step
814
857
  - After: Missing capability → prompt user → track installation → continue
@@ -816,6 +859,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
816
859
  - **Installation Visibility**: Tool installations appear as first-class workflow tasks
817
860
 
818
861
  ### Technical Details
862
+
819
863
  - **Stack Detection**: Identifies React/Vue/Angular, TypeScript, bundler (Vite/Webpack/esbuild)
820
864
  - **Tool Recommendations**:
821
865
  - React + TS → Vitest + Testing Library
@@ -830,6 +874,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
830
874
  ## [0.3.2] - 2025-10-01
831
875
 
832
876
  ### Fixed
877
+
833
878
  - **Interactive Installation Compatibility** - Fixed interactive editor selection failing due to inquirer ESM compatibility issues
834
879
  - Replaced inquirer v12 with prompts v2.4.2 for better CommonJS compatibility
835
880
  - inquirer v12 required complex ESM dynamic imports causing "prompt is not a function" errors
@@ -842,6 +887,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
842
887
  ## [0.3.1] - 2025-10-01
843
888
 
844
889
  ### Fixed
890
+
845
891
  - **Installation Path Resolution Error** - Fixed "setup.sh: No such file or directory" error during installation (#11)
846
892
  - Corrected path resolution in installation scripts (docs/install.sh, scripts/install.sh, scripts/setup.sh)
847
893
  - Added verification tests in `tests/verify-install-paths.sh`
@@ -851,6 +897,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
851
897
  ## [0.3.0] - 2025-09-30
852
898
 
853
899
  ### Added
900
+
854
901
  - **Intelligent Codebase Analysis & Sync** - Auto-detect implemented features and sync project state
855
902
  - `/p:analyze` command to analyze codebase and detect implemented commands/features
856
903
  - `/p:analyze --sync` to automatically update `.prjct/` files with real implementation state
@@ -876,7 +923,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
876
923
  - Optimizes installation by avoiding unnecessary editor installations
877
924
 
878
925
  ### Changed
879
- - **Updated branding** - New header design with kaomoji (ノ◕ヮ◕)ノ*:・゚✧
926
+
927
+ - **Updated branding** - New header design with kaomoji (ノ◕ヮ◕)ノ\*:・゚✧
880
928
  - Refreshed README.md header with fun, friendly design
881
929
  - Updated installer (scripts/install.sh) to match new branding
882
930
  - Consistent visual identity across documentation and installation experience
@@ -884,6 +932,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
884
932
  ## [0.2.1] - 2025-09-30
885
933
 
886
934
  ### Added
935
+
887
936
  - **Multi-Editor Command Installation** - Automatic slash command deployment across AI editors
888
937
  - `prjct install` command to install/update commands in all detected editors
889
938
  - Automatic detection of Claude Code, Cursor AI, and Codeium installations
@@ -916,6 +965,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
916
965
  - Preserves 100% of data during migration (files and directories)
917
966
 
918
967
  ### Changed
968
+
919
969
  - **Multi-Editor Support**
920
970
  - Updated command templates to use global architecture paths
921
971
  - Modified `prjct init` to automatically detect and install commands
@@ -948,6 +998,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
948
998
  - Enhanced init command with automatic editor installation
949
999
 
950
1000
  ### Fixed
1001
+
951
1002
  - Added missing `getGlobalBasePath()` method to path-manager.js
952
1003
  - Improved error handling in migration system
953
1004
  - Fixed paths in GitHub Actions workflow after reorganization
@@ -981,6 +1032,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
981
1032
  - Automatic detection via GitHub CLI or git config
982
1033
 
983
1034
  ### Added
1035
+
984
1036
  - **Global Data Storage System**
985
1037
  - Project data stored in `~/.prjct-cli/projects/[hash-id]/`
986
1038
  - Prevents bundle size inflation and accidental commits to git
@@ -1029,6 +1081,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1029
1081
  - Auto-accept mode when running through pipe (curl)
1030
1082
 
1031
1083
  ### Changed
1084
+
1032
1085
  - **Data Location**: Moved from `.prjct/` to `~/.prjct-cli/projects/[id]/`
1033
1086
  - **Memory Logs**: Now include `author` field in all entries
1034
1087
  - **File Structure**: Organized into layers (core, progress, planning, analysis, memory)
@@ -1036,13 +1089,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1036
1089
  - **All Commands**: Updated to use global paths and track authorship
1037
1090
 
1038
1091
  ### Removed
1092
+
1039
1093
  - Local `.prjct/` directory usage (replaced with global storage)
1040
1094
  - Legacy flat file structure (replaced with layered architecture)
1041
1095
 
1042
1096
  ### Migration Guide
1097
+
1043
1098
  See [MIGRATION.md](MIGRATION.md) for detailed migration instructions.
1044
1099
 
1045
1100
  **Quick Migration**:
1101
+
1046
1102
  ```bash
1047
1103
  # Projects will auto-detect migration need
1048
1104
  # Run init to trigger migration
@@ -1055,12 +1111,14 @@ See [MIGRATION.md](MIGRATION.md) for detailed migration instructions.
1055
1111
  ### Breaking Change Impact
1056
1112
 
1057
1113
  **For Individuals**:
1114
+
1058
1115
  - ✅ One-time migration required (automatic, zero data loss)
1059
1116
  - ✅ Cleaner repositories (no `.prjct/` bloat)
1060
1117
  - ✅ No accidental commits of personal work logs
1061
1118
  - ✅ Better privacy for your productivity tracking
1062
1119
 
1063
1120
  **For Teams**:
1121
+
1064
1122
  - ✅ Share `.prjct/prjct.config.json` for coordination
1065
1123
  - ✅ Each member tracks privately with author info
1066
1124
  - ✅ No exposure of individual work patterns
@@ -1068,22 +1126,25 @@ See [MIGRATION.md](MIGRATION.md) for detailed migration instructions.
1068
1126
  - ✅ Perfect for open source, remote teams, consulting
1069
1127
 
1070
1128
  **For Projects**:
1129
+
1071
1130
  - ✅ Git Repositories: `.prjct/` safely removed after migration
1072
1131
  - ✅ CI/CD Pipelines: No changes needed - data fully external
1073
1132
  - ✅ Bundle Size: Zero impact from prjct tracking
1074
1133
  - ✅ Collaboration: Non-intrusive team workflow ready
1075
1134
 
1076
1135
  ### Fixed
1136
+
1077
1137
  - Arithmetic operation syntax error in command counting (from previous unreleased)
1078
1138
  - Version detection for existing installations (from previous unreleased)
1079
1139
 
1080
1140
  ## [0.1.0] - 2024-01-XX
1081
1141
 
1082
1142
  ### Added
1143
+
1083
1144
  - Initial release of prjct-cli
1084
1145
  - AI-integrated developer momentum tool
1085
1146
  - Support for Claude Code, OpenAI Codex, and Terminal
1086
1147
  - Core commands: init, now, done, ship, recap, etc.
1087
1148
  - MCP integration for AI assistants
1088
1149
  - Automatic environment detection
1089
- - Project structure in `.prjct/` directory
1150
+ - Project structure in `.prjct/` directory