proagents 1.6.18 → 1.6.20

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.
@@ -163,7 +163,19 @@
163
163
  "Bash(timeout 5 node:*)",
164
164
  "Bash(timeout 20 node:*)",
165
165
  "Bash(CURSOR_TRACE_ID=test-123 node:*)",
166
- "Bash(npm pack:*)"
166
+ "Bash(npm pack:*)",
167
+ "Bash(timeout 10 node:*)",
168
+ "Bash(bash -c 'printf \"\"1\\\\n\\\\n1\\\\n\"\" | node /Users/prakash/Saeculum/AI/proAgents/bin/proagents.js init 2>&1')",
169
+ "Bash(chmod:*)",
170
+ "Bash(/private/tmp/test-init.sh)",
171
+ "Bash(git -C /Users/prakash/Saeculum/AI/proAgents status --short)",
172
+ "Bash(git -C /Users/prakash/Saeculum/AI/proAgents diff --stat)",
173
+ "Bash(/private/tmp/test-comprehensive.sh)",
174
+ "Bash(/private/tmp/test-existing.sh)",
175
+ "Bash(git -C /Users/prakash/Saeculum/AI/proAgents diff lib/commands/ai.js)",
176
+ "Bash(for f in .proagents/AI_INSTRUCTIONS.md .proagents/CLAUDE.md .proagents/AGENTS.md .proagents/.cursorrules .proagents/.windsurfrules .proagents/GEMINI.md .proagents/BOLT.md .proagents/REPLIT.md .proagents/LOVABLE.md .proagents/KIRO.md)",
177
+ "Bash(if grep -q \"AI directives\" \"$f\")",
178
+ "Bash(if grep -q \"ANY.*pa:.*command\" \"$f\")"
167
179
  ]
168
180
  }
169
181
  }
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45
 
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45
 
@@ -1,30 +1,49 @@
1
- # ProAgents Commands for Codex
1
+ # ProAgents Commands
2
+
3
+ > **Universal AI Instructions** - Works with ChatGPT, Groq, Antigravity, Codex CLI, and any generic AI platform.
4
+ >
5
+ > ⚠️ **Do not remove this file** - Required for ProAgents to work properly.
2
6
 
3
7
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
8
 
5
- ## MANDATORY: Every pa: Command Flow
9
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
10
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
11
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
12
+
13
+ ## Auto-Sync Protocol
14
+
15
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
6
16
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
17
+ ### Workflow Commands (Auto-Sync Required)
8
18
 
9
- **Read these files FIRST before doing anything:**
19
+ Commands that CREATE or MODIFY code/content need context:
10
20
 
21
+ **BEFORE these commands, read:**
11
22
  ```bash
12
23
  cat .proagents/worklog/_context.md # Current state
13
24
  cat .proagents/changelog/_recent.md # Recent changes
14
25
  tail -10 .proagents/activity.log # Recent activity
15
26
  ```
16
27
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
28
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
29
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
30
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
31
+ `pa:session-start`, `pa:session-end`
18
32
 
19
- ### AFTER Any pa: Command (Auto-Log)
33
+ ### Utility Commands (No Sync Required)
20
34
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
35
+ Commands that only READ, DISPLAY, or CONFIGURE:
36
+ - **Skip BEFORE step** - No context reading needed
37
+ - **Skip AFTER step** - No logging needed
22
38
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
39
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
40
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
41
+
42
+ ### AFTER Workflow Commands (Auto-Log)
26
43
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
44
+ **After commands that CHANGE files, update:**
45
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
46
+ 2. `.proagents/worklog/_context.md` - Update current state
28
47
 
29
48
  ## Essential Commands
30
49
 
@@ -32,6 +51,8 @@ Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→u
32
51
  |---------|--------|
33
52
  | `pa:feature "name"` | Start new feature workflow |
34
53
  | `pa:fix "bug"` | Quick bug fix mode |
54
+ | `pa:project-setup` | Interactive project setup wizard |
55
+ | `pa:rnd` | Research & Development workflow |
35
56
  | `pa:doc` | Documentation options |
36
57
  | `pa:qa` | Quality assurance checks |
37
58
  | `pa:test` | Run test workflow |
@@ -2,34 +2,48 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
8
+
5
9
  ---
6
10
 
7
- ## ⚠️ MANDATORY: Auto-Sync on EVERY pa: Command
11
+ ## Auto-Sync Protocol
12
+
13
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
8
14
 
9
- **BEFORE executing ANY `pa:` command, AI MUST run these steps FIRST:**
15
+ ### Workflow Commands (Auto-Sync Required)
10
16
 
17
+ Commands that CREATE or MODIFY code/content need context.
18
+
19
+ **BEFORE these commands, read:**
11
20
  ```bash
12
- # STEP 1: Load context (REQUIRED - do this FIRST)
13
- cat .proagents/worklog/_context.md 2>/dev/null
14
- cat .proagents/changelog/_recent.md 2>/dev/null | head -30
15
- tail -10 .proagents/activity.log 2>/dev/null
21
+ cat .proagents/worklog/_context.md 2>/dev/null # Current state
22
+ cat .proagents/changelog/_recent.md 2>/dev/null | head -30 # Recent changes
23
+ tail -10 .proagents/activity.log 2>/dev/null # Recent activity
16
24
  ```
17
25
 
18
- **This applies to ALL commands including:**
19
- - `pa:fix "bug"` - Load context FIRST, then fix
20
- - `pa:feature "name"` - Load context FIRST, then start feature
21
- - `pa:test` - Load context FIRST, then run tests
22
- - `pa:doc` - Load context FIRST, then generate docs
23
- - **EVERY pa: command** - Load context FIRST
26
+ **Workflow commands:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
27
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
28
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
29
+ `pa:session-start`, `pa:session-end`
30
+
31
+ ### Utility Commands (No Sync Required)
24
32
 
25
- **AFTER executing ANY `pa:` command that changes files, AI MUST:**
33
+ Commands that only READ, DISPLAY, or CONFIGURE:
34
+ - **Skip BEFORE step** - No context reading needed
35
+ - **Skip AFTER step** - No logging needed
26
36
 
37
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
38
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
39
+
40
+ ### AFTER Workflow Commands (Auto-Log)
41
+
42
+ **After commands that CHANGE files, update:**
27
43
  ```bash
28
- # Update worklogs and changelogs
29
44
  # 1. Prepend to .proagents/changelog/_recent.md
30
45
  # 2. Update .proagents/worklog/_context.md
31
- # 3. Update .proagents/changelog/modules/[module].md
32
- # 4. Log to .proagents/activity.log
46
+ # 3. Log to .proagents/activity.log
33
47
  ```
34
48
 
35
49
  **Example flow for `pa:fix "login bug"`:**
@@ -41,7 +55,7 @@ tail -10 .proagents/activity.log 2>/dev/null
41
55
  5. AI logs to activity.log ← LOG ACTIVITY
42
56
  ```
43
57
 
44
- **Note:** When updating `_recent.md` or `_context.md`, first read the corresponding `*.template.md` file to use the latest format. See "Using Template Reference Files" section below.
58
+ **Note:** When updating `_recent.md` or `_context.md`, first read the corresponding `*.template.md` file to use the latest format.
45
59
 
46
60
  ---
47
61
 
@@ -74,26 +88,20 @@ tail -10 .proagents/activity.log 2>/dev/null
74
88
 
75
89
  **Multiple AI tools may work on this project simultaneously. They do NOT share context.**
76
90
 
77
- ### AUTOMATIC Context Loading (EVERY pa: Command)
91
+ ### Context Loading for Workflow Commands
78
92
 
79
- **On EVERY `pa:` command, AI MUST FIRST load context:**
93
+ **For workflow commands (pa:feature, pa:fix, pa:implement, etc.), load context FIRST:**
80
94
 
81
95
  ```bash
82
- # MANDATORY FIRST STEP - Run before ANY pa: command
83
96
  cat .proagents/worklog/_context.md 2>/dev/null
84
97
  cat .proagents/changelog/_recent.md 2>/dev/null | head -30
85
98
  tail -10 .proagents/activity.log 2>/dev/null
86
-
87
- # Also check for conflicts
88
- cat .proagents/.active-files 2>/dev/null
99
+ cat .proagents/.active-files 2>/dev/null # Check for conflicts
89
100
  ```
90
101
 
91
- **This is NOT optional. This is NOT just for "first command".**
92
- **EVERY pa: command = Load context FIRST, then execute.**
93
-
94
- **User does NOT need to type pa:sync - AI does it automatically on EVERY pa: command.**
102
+ **Skip context loading for utility commands** (pa:help, pa:status, pa:ai-*, etc.)
95
103
 
96
- ### Before ANY `pa:` command:
104
+ ### Before Workflow Commands:
97
105
 
98
106
  1. **Auto-load context** - Read `worklog/_context.md` and `changelog/_recent.md`
99
107
  2. **Check activity log** - `./.proagents/activity.log`
@@ -101,7 +109,7 @@ cat .proagents/.active-files 2>/dev/null
101
109
  4. **Check watchlist** - `./.proagents/watchlist.yaml` (files requiring confirmation)
102
110
  5. **Check file locks** - `./.proagents/.active-files`
103
111
 
104
- ### After ANY `pa:` command:
112
+ ### After Workflow Commands:
105
113
 
106
114
  **MANDATORY: Log every command to `./.proagents/activity.log`**
107
115
 
@@ -126,7 +134,7 @@ echo "[$(date '+%Y-%m-%d %H:%M')] [Claude:opus-4] [pa:feature] Started user-auth
126
134
  **CRITICAL:**
127
135
  - Log AFTER the "--- Activity Log Start ---" marker
128
136
  - Use YOUR AI platform name (Claude, Cursor, Gemini, etc.)
129
- - Log EVERY pa: command, not just major ones
137
+ - Log workflow commands (skip utility commands like pa:help, pa:status)
130
138
 
131
139
  ### Lock File
132
140
 
@@ -488,6 +496,10 @@ Auto-detect issue numbers from user input and include in changelog:
488
496
  | `pa:status` | Show current progress |
489
497
  | `pa:feature "name"` | Start new feature |
490
498
  | `pa:fix "bug"` | Quick bug fix |
499
+ | `pa:project-setup` | Interactive project setup wizard |
500
+ | `pa:setup` | Alias for pa:project-setup |
501
+ | `pa:rnd` | Research & Development workflow |
502
+ | `pa:research` | Alias for pa:rnd |
491
503
  | `pa:feature-list` | List all features |
492
504
  | `pa:feature-complete` | Mark feature complete |
493
505
 
@@ -587,6 +599,14 @@ Auto-detect issue numbers from user input and include in changelog:
587
599
  | `pa:checkpoint` | Pause for approval |
588
600
  | `pa:skip-checkpoint` | Skip checkpoint |
589
601
 
602
+ ### AI Platform Management
603
+ | Command | Action | Prompt File |
604
+ |---------|--------|-------------|
605
+ | `pa:ai-list` | Show installed AI platforms | `./prompts/ai-list.md` |
606
+ | `pa:ai-add` | Add AI platform | `./prompts/ai-add.md` |
607
+ | `pa:ai-remove` | Remove AI platform | `./prompts/ai-remove.md` |
608
+ | `pa:ai-sync` | Sync config with files | `./prompts/ai-sync.md` |
609
+
590
610
  ### History & Progress
591
611
  | Command | Action |
592
612
  |---------|--------|
@@ -594,6 +614,42 @@ Auto-detect issue numbers from user input and include in changelog:
594
614
  | `pa:progress` | Show feature progress |
595
615
  | `pa:activity` | **Show ALL AI platforms activity** (cross-AI visibility) |
596
616
 
617
+ ### Navigation & Flow
618
+ | Command | Action |
619
+ |---------|--------|
620
+ | `pa:next` | Show next step in workflow |
621
+ | `pa:back` | Go to previous phase |
622
+ | `pa:resume` | Resume last session |
623
+ | `pa:skip` | Skip current phase |
624
+ | `pa:lock-release` | Release lock after work |
625
+
626
+ ### Quality & Metrics
627
+ | Command | Action |
628
+ |---------|--------|
629
+ | `pa:metrics` | Show code quality metrics |
630
+ | `pa:coverage` | Show test coverage report |
631
+ | `pa:perf` | Performance analysis |
632
+ | `pa:a11y` | Accessibility audit |
633
+
634
+ ### Code Generation
635
+ | Command | Action |
636
+ |---------|--------|
637
+ | `pa:generate-component "name"` | Generate component from template |
638
+ | `pa:generate-api "name"` | Generate API endpoint |
639
+ | `pa:generate-test "file"` | Generate test file |
640
+
641
+ ### Refactoring
642
+ | Command | Action |
643
+ |---------|--------|
644
+ | `pa:rename "old" "new"` | Rename across codebase |
645
+ | `pa:cleanup` | Remove dead code, unused imports |
646
+
647
+ ### Git & Release
648
+ | Command | Action |
649
+ |---------|--------|
650
+ | `pa:version` | Show/bump version |
651
+ | `pa:github-pr` | Create pull request |
652
+
597
653
  ---
598
654
 
599
655
  ## How to Execute Commands
@@ -624,6 +680,17 @@ When user types a `pa:` command:
624
680
  | `pa:session-start` | `./prompts/11-session-tracking.md` |
625
681
  | `pa:session-end` | `./prompts/11-session-tracking.md` |
626
682
  | `pa:changelog` | `./prompts/11-session-tracking.md` + `./prompts/07-documentation.md` |
683
+ | `pa:project-setup` | `./prompts/00-project-setup.md` |
684
+ | `pa:setup` | `./prompts/00-project-setup.md` |
685
+ | `pa:rnd` | `./prompts/12-rnd.md` |
686
+ | `pa:research` | `./prompts/12-rnd.md` |
687
+ | `pa:rnd-compare` | `./prompts/12-rnd.md` |
688
+ | `pa:rnd-poc` | `./prompts/12-rnd.md` |
689
+ | `pa:rnd-explore` | `./prompts/12-rnd.md` |
690
+ | `pa:ai-list` | `./prompts/ai-list.md` |
691
+ | `pa:ai-add` | `./prompts/ai-add.md` |
692
+ | `pa:ai-remove` | `./prompts/ai-remove.md` |
693
+ | `pa:ai-sync` | `./prompts/ai-sync.md` |
627
694
 
628
695
  ---
629
696
 
@@ -668,6 +735,8 @@ ProAgents Help
668
735
  Core Commands:
669
736
  pa:feature "name" Start new feature with full workflow
670
737
  pa:fix "bug" Quick bug fix mode
738
+ pa:project-setup Interactive project setup wizard
739
+ pa:rnd Research & Development workflow
671
740
  pa:status Show current progress (enhanced)
672
741
  pa:help Show this help
673
742
 
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45
 
@@ -32,6 +47,8 @@ Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→u
32
47
  |---------|--------|
33
48
  | `pa:feature "name"` | Start new feature workflow |
34
49
  | `pa:fix "bug"` | Quick bug fix mode |
50
+ | `pa:project-setup` | Interactive project setup wizard |
51
+ | `pa:rnd` | Research & Development workflow |
35
52
  | `pa:doc` | Documentation options |
36
53
  | `pa:qa` | Quality assurance checks |
37
54
  | `pa:test` | Run test workflow |
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45
 
@@ -32,6 +47,8 @@ Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→u
32
47
  |---------|--------|
33
48
  | `pa:feature "name"` | Start new feature workflow |
34
49
  | `pa:fix "bug"` | Quick bug fix mode |
50
+ | `pa:project-setup` | Interactive project setup wizard |
51
+ | `pa:rnd` | Research & Development workflow |
35
52
  | `pa:doc` | Documentation options |
36
53
  | `pa:qa` | Quality assurance checks |
37
54
  | `pa:test` | Run test workflow |
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45
 
@@ -32,6 +47,8 @@ Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→u
32
47
  |---------|--------|
33
48
  | `pa:feature "name"` | Start new feature workflow |
34
49
  | `pa:fix "bug"` | Quick bug fix mode |
50
+ | `pa:project-setup` | Interactive project setup wizard |
51
+ | `pa:rnd` | Research & Development workflow |
35
52
  | `pa:doc` | Documentation options |
36
53
  | `pa:qa` | Quality assurance checks |
37
54
  | `pa:test` | Run test workflow |