proagents 1.6.18 → 1.6.19

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.
@@ -55,6 +55,30 @@ The complete 10-phase development workflow for new features.
55
55
  └─────────────────────────────────────────────────────────────┘
56
56
  ```
57
57
 
58
+ ### Flow Context Check
59
+
60
+ Before starting, check `.proagents/worklog/_context.md` for Flow Context:
61
+
62
+ ```
63
+ 📋 Checking for prior context...
64
+
65
+ If Flow Context exists:
66
+ ┌─────────────────────────────────────────────────────────┐
67
+ │ 📋 Continuing from previous workflow │
68
+ │ │
69
+ │ Last Command: pa:rnd-compare │
70
+ │ Decision: Zustand for state management │
71
+ │ Context: E-commerce cart state │
72
+ │ Research: docs/research/comparisons/state-mgmt.md │
73
+ │ │
74
+ │ Use this context? (yes/no/modify) │
75
+ └─────────────────────────────────────────────────────────┘
76
+
77
+ If "yes": Pre-populate feature with context data
78
+ If "no": Start fresh, clear Flow Context
79
+ If "modify": Allow user to adjust context
80
+ ```
81
+
58
82
  ### Starting Full Workflow
59
83
 
60
84
  ```bash
@@ -63,6 +87,9 @@ pa:feature start "User Profile Management"
63
87
 
64
88
  # With options
65
89
  pa:feature start "User Profile" --skip-ui --checkpoint=critical
90
+
91
+ # Continue from RND (auto-reads Flow Context)
92
+ pa:feature start "Cart State" --from-rnd
66
93
  ```
67
94
 
68
95
  ### Checkpoints
@@ -72,6 +72,53 @@ Failing: [Test names or "None"]
72
72
  | Open Issues | [N] |
73
73
  ```
74
74
 
75
+ ---
76
+
77
+ ## Flow Context
78
+ <!-- Tracks command chain for seamless transitions between pa: commands -->
79
+ ```
80
+ Current Flow: [command chain, e.g., "rnd → feature → plan"]
81
+ Last Command: [last pa: command run]
82
+ Decision: [key decision made, if any]
83
+ Context: [relevant context to carry forward]
84
+ Next Suggested: [suggested next command]
85
+ Data: [JSON data to pass to next command]
86
+ ```
87
+
88
+ ### Flow Context Rules
89
+
90
+ 1. **Write after completion** - Each command writes its output to Flow Context
91
+ 2. **Read on start** - Commands check Flow Context for relevant prior decisions
92
+ 3. **Offer continuation** - If Flow Context has Next Suggested, offer to run it
93
+ 4. **Clear on explicit start** - When user starts fresh workflow, clear Flow Context
94
+ 5. **Preserve data** - JSON data carries structured info (tech stack, decisions, etc.)
95
+
96
+ ### Example Flow
97
+
98
+ ```markdown
99
+ ## Flow Context
100
+ ```
101
+ Current Flow: rnd → feature
102
+ Last Command: pa:rnd-compare
103
+ Decision: Zustand for state management
104
+ Context: E-commerce cart with complex state
105
+ Next Suggested: pa:feature "cart state management"
106
+ Data: {"tech": "zustand", "use_case": "cart", "research_doc": "docs/research/comparisons/state-management-2024-03-17.md"}
107
+ ```
108
+ ```
109
+
110
+ When pa:feature starts, it reads this and says:
111
+ ```
112
+ 📋 Continuing from R&D...
113
+
114
+ You recently decided on Zustand for cart state management.
115
+ Research: docs/research/comparisons/state-management-2024-03-17.md
116
+
117
+ Start feature with this context? (yes/no/different)
118
+ ```
119
+
120
+ ---
121
+
75
122
  ## Auto-Update Rules
76
123
 
77
124
  1. **Update `Last Updated`** with current timestamp
package/COMMANDS.md CHANGED
@@ -212,6 +212,65 @@ Type these in any AI assistant (Claude, ChatGPT, Gemini, Cursor, etc.)
212
212
 
213
213
  ---
214
214
 
215
+ ## Project Setup
216
+
217
+ | Command | Description |
218
+ |---------|-------------|
219
+ | `pa:project-setup` | Interactive setup wizard (new or existing projects) |
220
+ | `pa:setup` | Alias for pa:project-setup |
221
+ | `pa:setup --preset [name]` | Use quick preset (mobile-mvp, saas, etc.) |
222
+ | `pa:setup --analyze` | Analyze existing project only |
223
+ | `pa:setup --resume` | Resume interrupted setup |
224
+ | `pa:setup --clear-progress` | Clear saved progress and start fresh |
225
+
226
+ **Features:**
227
+ - Quick Presets - Instant setup for common stacks (Mobile MVP, SaaS, E-commerce, etc.)
228
+ - Idea-First Mode - Describe your idea, AI suggests tech stack with comparison table
229
+ - Full Automation - Installs packages, creates folders, generates docs
230
+ - Resume Support - Auto-saves progress, resume if interrupted
231
+ - Merge Strategy - Updates existing docs without overwriting custom content
232
+ - Works for both new projects and existing codebases
233
+
234
+ ---
235
+
236
+ ## Research & Development
237
+
238
+ | Command | Description |
239
+ |---------|-------------|
240
+ | `pa:rnd` | Interactive R&D workflow (compare, prototype, explore) |
241
+ | `pa:research` | Alias for pa:rnd |
242
+ | `pa:rnd-compare` | Direct to comparison mode |
243
+ | `pa:rnd-poc` | Direct to prototype mode |
244
+ | `pa:rnd-explore` | Direct to exploration mode |
245
+ | `pa:rnd --quick` | Quick 5-minute research |
246
+ | `pa:rnd --resume` | Resume interrupted session |
247
+ | `pa:rnd --clear` | Clear saved progress |
248
+
249
+ **Features:**
250
+ - Compare Options - Side-by-side library/framework comparisons with weighted scoring
251
+ - Build POC - Quick proof-of-concept in isolated `./poc/` folder
252
+ - Explore Solutions - Research and document findings
253
+ - Web Search - Verify latest package stats (stars, downloads, releases)
254
+ - Cost Estimator - Monthly costs at different user scales
255
+ - Deprecation Alerts - Warn about deprecated/insecure packages
256
+ - Comparison Tables - Visual side-by-side with recommendations
257
+ - Past Decision Recall - Surface previous decisions on similar topics
258
+ - Scope Guard - Alert when research drifts off-topic
259
+ - Resume Support - Auto-saves progress
260
+ - Tags & Categories - Organize research by topic
261
+ - Archive System - Auto-archive old research after 6 months
262
+ - Review Reminders - Set reminder to revisit decisions
263
+ - Next Phase Integration - After RND, trigger pa:feature or pa:plan
264
+
265
+ **Outputs:**
266
+ - Comparison docs: `docs/research/comparisons/`
267
+ - Research findings: `docs/research/findings/`
268
+ - Research index: `docs/research/INDEX.md`
269
+ - Bookmarks: `docs/research/BOOKMARKS.md`
270
+ - POC code: `./poc/[name]/`
271
+
272
+ ---
273
+
215
274
  ## Workflow Phase Commands
216
275
 
217
276
  | Command | Phase | Description |
package/README.md CHANGED
@@ -164,6 +164,8 @@ Type these in any AI assistant (Claude, ChatGPT, Gemini, Cursor, etc.):
164
164
  |---------|-------------|
165
165
  | `pa:feature "name"` | Start new feature workflow (all phases) |
166
166
  | `pa:fix "description"` | Quick bug fix mode |
167
+ | `pa:project-setup` | Interactive project setup wizard |
168
+ | `pa:rnd` | Research & Development workflow |
167
169
  | `pa:status` | Show current progress |
168
170
  | `pa:sync` | Load project context (usually auto) |
169
171
  | `pa:test` | Run tests |
@@ -173,7 +175,7 @@ Type these in any AI assistant (Claude, ChatGPT, Gemini, Cursor, etc.):
173
175
  | `pa:undo-last` | Revert last AI's changes |
174
176
  | `pa:handoff` | Create notes for another AI |
175
177
 
176
- **Quick aliases:** `pa:f` (feature), `pa:s` (status), `pa:t` (test), `pa:h` (help)
178
+ **Quick aliases:** `pa:f` (feature), `pa:s` (status), `pa:t` (test), `pa:h` (help), `pa:setup` (project-setup), `pa:research` (rnd)
177
179
 
178
180
  📖 **Want more?** See [COMMANDS.md](COMMANDS.md) for 100+ AI commands (debugging, testing, refactoring, code generation, sprints...)
179
181
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proagents",
3
- "version": "1.6.18",
3
+ "version": "1.6.19",
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",