polyforgeai 0.1.3 → 0.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polyforgeai",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Self-adaptive Claude Code plugin for automated software development workflows",
5
5
  "bin": {
6
6
  "polyforge": "./bin/polyforge.js"
@@ -54,13 +54,26 @@ Scan the project root and detect:
54
54
 
55
55
  After displaying what you detected, ask targeted questions to fill gaps. Always ask ONE question, wait for the answer, then ask the next.
56
56
 
57
+ **IMPORTANT: Use the `AskUserQuestion` tool for EVERY question.** Provide predefined choices via the `options` parameter so the user can select with a single click. Only add a free-text option when necessary (e.g., "Needs correction").
58
+
57
59
  Suggested question flow (skip any already answered by detection):
58
60
 
59
- 1. "I detected [stack]. Is this correct? Are there other internal repositories this project depends on?"
60
- 2. "I identified [architecture pattern]. Does this match your understanding?"
61
+ 1. "I detected [stack]. Is this correct?"
62
+ - 1. Correct, no other dependencies
63
+ - 2. Correct, but there are other internal repos (please list)
64
+ - 3. Needs correction (please specify)
65
+ 2. "I identified [architecture pattern]. Does this match?"
66
+ - 1. Yes
67
+ - 2. Not exactly (please describe)
61
68
  3. "For issue tracking, I detected [tracker]. Is this where issues should be created?"
62
- 4. "What level of autonomy do you want for automated fixes? (a) Full auto — branch, fix, test, PR (b) Semi-auto propose fix, wait for approval, then PR"
63
- 5. **Only if "full auto" was chosen in Q4**: "Do you want to allow Claude to execute all operations without asking permission (file edits, shell commands, etc.)? ⚠️ WARNING: This grants full access to read, write, and execute anything in this project directory. This is convenient for autonomous work but removes all safety prompts. (a) Yes — generate `.claude/settings.json` with full permissions (b) No — I'll approve operations manually"
69
+ - 1. Yes
70
+ - 2. No, I use [other] (please specify)
71
+ 4. "What level of autonomy do you want for automated fixes?"
72
+ - 1. Full auto — branch, fix, test, PR without asking (Recommended)
73
+ - 2. Semi-auto — propose changes, wait for approval
74
+ 5. **Only if "full auto" was chosen in Q4**: "Do you want to allow Claude to execute all operations without asking permission? ⚠️ This grants full access to read, write, and execute anything in this project directory."
75
+ - 1. Yes — full access (Recommended for full auto)
76
+ - 2. No — I'll approve operations manually
64
77
  - If (a): **CREATE `.claude/settings.json` IMMEDIATELY** — do not wait for Phase 3. This file must be written right now so that all subsequent file operations during init are auto-approved:
65
78
  ```json
66
79
  {