proagents 1.6.11 → 1.6.12

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.
@@ -31,12 +31,32 @@ This project uses ProAgents - an AI-agnostic development workflow framework.
31
31
 
32
32
  **Multiple AI tools may work on this project simultaneously. They do NOT share context.**
33
33
 
34
+ ### AUTOMATIC Context Loading (No Manual pa:sync Needed)
35
+
36
+ **On FIRST pa: command of session, AI AUTOMATICALLY does:**
37
+
38
+ ```bash
39
+ # 1. Load context (replaces manual pa:sync)
40
+ cat .proagents/worklog/_context.md 2>/dev/null
41
+ cat .proagents/changelog/_recent.md 2>/dev/null | head -30
42
+ tail -10 .proagents/activity.log 2>/dev/null
43
+
44
+ # 2. Check for conflicts
45
+ cat .proagents/.active-files 2>/dev/null
46
+
47
+ # 3. Validate previous logging
48
+ git diff --name-only HEAD~3 2>/dev/null | wc -l
49
+ ```
50
+
51
+ **User does NOT need to type pa:sync - it happens automatically.**
52
+
34
53
  ### Before ANY `pa:` command:
35
54
 
36
- 1. **Read project context** - `./.proagents/context.md`
55
+ 1. **Auto-load context** - Read `worklog/_context.md` and `changelog/_recent.md`
37
56
  2. **Check activity log** - `./.proagents/activity.log`
38
57
  3. **Check feedback** - `./.proagents/feedback.md` (learn from past corrections!)
39
58
  4. **Check watchlist** - `./.proagents/watchlist.yaml` (files requiring confirmation)
59
+ 5. **Check file locks** - `./.proagents/.active-files`
40
60
 
41
61
  ### After ANY `pa:` command:
42
62
 
@@ -169,21 +189,30 @@ When removing or correcting previous changes, also log:
169
189
 
170
190
  ---
171
191
 
172
- ## Cross-AI Session Tracking (MANDATORY)
192
+ ## Cross-AI Session Tracking (AUTOMATIC)
193
+
194
+ **All session tracking is AUTOMATIC. User does NOT need to run these commands manually.**
195
+
196
+ ### Automatic Behavior:
173
197
 
174
- **Every AI must track work for other AIs to continue.**
198
+ | What | When | User Action Needed |
199
+ |------|------|-------------------|
200
+ | Load context | First pa: command | **None** - Auto |
201
+ | Log changes | After each edit | **None** - Auto |
202
+ | Update _context.md | After each edit | **None** - Auto |
203
+ | Check conflicts | Before editing files | **None** - Auto |
175
204
 
176
- ### On Session Start (pa:sync):
205
+ ### On First pa: Command (Auto-Sync):
177
206
 
178
- AI reads these files to get context:
207
+ AI automatically reads context (no manual pa:sync needed):
179
208
  ```bash
180
209
  cat .proagents/worklog/_context.md # Current state
181
210
  cat .proagents/changelog/_recent.md # Recent changes
182
- ls -t .proagents/worklog/*.md | head -3 # Last 2 session logs
183
- cat .proagents/active-features/_index.json # Active features
211
+ tail -10 .proagents/activity.log # Recent commands
212
+ cat .proagents/.active-files 2>/dev/null # Check file locks
184
213
  ```
185
214
 
186
- ### During Work:
215
+ ### During Work (Auto-Log):
187
216
 
188
217
  After ANY code modification, AI must update:
189
218
 
@@ -5,7 +5,16 @@ Execute these commands when user types them (prefix: `pa:`):
5
5
  ## Quick Aliases
6
6
  `pa:f` → feature | `pa:s` → status | `pa:h` → help | `pa:d` → doc | `pa:t` → test | `pa:q` → qa | `pa:a` → analyze | `pa:r` → requirements | `pa:p` → plan | `pa:i` → implement
7
7
 
8
- > **Multi-AI Note:** Multiple AIs may work on this project. Always read `./.proagents/activity.log` before executing commands, and log your actions after completing them.
8
+ > **Multi-AI Note:** Multiple AIs may work on this project. Context loading and logging is AUTOMATIC.
9
+
10
+ ## AUTOMATIC Session Handling
11
+
12
+ **On FIRST pa: command, AI automatically:**
13
+ 1. Reads `.proagents/worklog/_context.md` (context)
14
+ 2. Reads `.proagents/changelog/_recent.md` (recent changes)
15
+ 3. Checks `.proagents/.active-files` (file locks)
16
+
17
+ **User does NOT need to run pa:sync manually.**
9
18
 
10
19
  ## CRITICAL: Auto-Log Every Code Change
11
20
 
@@ -72,16 +72,22 @@ AI: "Fixed the login bug in src/auth/login.ts"
72
72
 
73
73
  | Command | Action |
74
74
  |---------|--------|
75
- | `pa:sync` | Load context (run FIRST) |
76
- | `pa:session-start` | Begin work session |
77
- | `pa:session-end` | End session, finalize logs |
75
+ | `pa:sync` | Load context (AUTO on first command) |
76
+ | `pa:session-start` | Begin work session (AUTO) |
77
+ | `pa:session-end` | End session (AUTO - logs on each change) |
78
78
  | `pa:handoff` | Create detailed handoff |
79
79
 
80
80
  ---
81
81
 
82
- ## pa:sync - Load Project Context
82
+ ## AUTOMATIC Context Loading
83
83
 
84
- **Run this FIRST when starting work on any AI platform.**
84
+ **User does NOT need to run pa:sync manually.**
85
+
86
+ On FIRST pa: command of any session, AI automatically loads context.
87
+
88
+ ## pa:sync - Load Project Context (AUTOMATIC)
89
+
90
+ **This runs AUTOMATICALLY on first pa: command. User can also run manually.**
85
91
 
86
92
  ### AI Workflow:
87
93
 
package/README.md CHANGED
@@ -80,21 +80,20 @@ Multiple AIs can work on the same project with full context sharing:
80
80
 
81
81
  | Feature | Description |
82
82
  |---------|-------------|
83
- | **Session Tracking** | Each AI logs detailed work sessions |
84
- | **Context Sync** | `pa:sync` loads full project context instantly |
83
+ | **Auto Context Loading** | AI automatically loads context on first command |
84
+ | **Auto Change Logging** | Every code change logged automatically |
85
85
  | **Feature Changelogs** | Per-feature change history |
86
86
  | **Module Changelogs** | Per-module change history |
87
+ | **Conflict Detection** | Warns if files modified by other AI |
87
88
  | **Activity Log** | Track what each AI does with model name |
88
- | **Handoff Notes** | Pass context between AI sessions |
89
89
 
90
90
  ```bash
91
- # Start work on any AI platform
92
- pa:sync # Load context from other AIs
93
- pa:session-start # Begin tracking your work
91
+ # Just start working - context loads automatically!
92
+ pa:feature "add login" # AI auto-loads context, then works
93
+ pa:fix "bug in auth" # AI auto-loads context, then fixes
94
94
 
95
- # Do work...
96
-
97
- pa:session-end # Save context for next AI
95
+ # No manual pa:sync needed - it's automatic
96
+ # No manual pa:session-end needed - changes logged automatically
98
97
  ```
99
98
 
100
99
  ### Project Templates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proagents",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "description": "AI-agnostic development workflow framework that automates the full software development lifecycle",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",