steroids-cli 0.8.7 → 0.8.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"post-reviewer.d.ts","sourceRoot":"","sources":["../../src/orchestrator/post-reviewer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAqMxE"}
1
+ {"version":3,"file":"post-reviewer.d.ts","sourceRoot":"","sources":["../../src/orchestrator/post-reviewer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAsMxE"}
@@ -16,7 +16,7 @@ function buildPostReviewerPrompt(context) {
16
16
  let stderrSection = '';
17
17
  if (stderr) {
18
18
  stderrSection = `
19
- **Errors:**
19
+ **Stderr (informational - CLI tools commonly write progress, warnings, and debug info here):**
20
20
  \`\`\`
21
21
  ${stderr_tail}
22
22
  \`\`\`
@@ -61,9 +61,10 @@ ${stderrSection}
61
61
 
62
62
  ## Decision Rules
63
63
 
64
- ### 1. Clear Approval
64
+ ### 1. Clear Approval (HIGHEST PRIORITY)
65
65
  - Output contains "APPROVE" / "LGTM" / "looks good" → \`approve\`
66
66
  - Exit 0 + positive language + no rejection phrases → \`approve\`
67
+ - Stderr warnings/info do NOT override an explicit approval in stdout
67
68
 
68
69
  ### 2. Clear Rejection
69
70
  - Output contains "REJECT" / "needs work" / "issues found" → \`reject\`
@@ -81,7 +82,7 @@ ${stderrSection}
81
82
  ### 5. Unclear
82
83
  - Exit 0 but no clear decision words → \`unclear\`
83
84
  - Timeout → \`unclear\`
84
- - Stderr has errors \`unclear\`
85
+ - **IMPORTANT:** Stderr output alone does NOT make a decision unclear. AI CLI tools routinely write progress, warnings, and debug info to stderr. If stdout contains a clear APPROVE/REJECT/DISPUTE signal, honor it regardless of stderr content.
85
86
 
86
87
  ### 6. Rejection Threshold
87
88
  - Rejection count = 15 → automatically \`dispute\` (prevent infinite loops)
@@ -1 +1 @@
1
- {"version":3,"file":"post-reviewer.js","sourceRoot":"","sources":["../../src/orchestrator/post-reviewer.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAOH,0DAqMC;AAxMD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,OAAwB;IAC9D,MAAM,EACJ,IAAI,EACJ,eAAe,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,EACtE,WAAW,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,EAAE,EACjE,GAAG,OAAO,CAAC;IAEZ,MAAM,gBAAgB,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACzD,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;IACxC,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;IAExC,IAAI,aAAa,GAAG,EAAE,CAAC;IACvB,IAAI,MAAM,EAAE,CAAC;QACX,aAAa,GAAG;;;EAGlB,WAAW;;CAEZ,CAAC;IACA,CAAC;IAED,OAAO;;;;;;;;;;eAUM,IAAI,CAAC,EAAE;kBACJ,IAAI,CAAC,KAAK;uBACL,IAAI,CAAC,eAAe;;;;;;iBAM1B,SAAS;iBACT,SAAS;gBACV,gBAAgB;;;;EAI9B,WAAW;;EAEX,aAAa;;;;;cAKD,UAAU;qBACH,aAAa,CAAC,MAAM;cAC3B,SAAS,KAAK,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;iDA+IY,CAAC;AAClD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steroids-cli",
3
- "version": "0.8.7",
3
+ "version": "0.8.8",
4
4
  "description": "Automated task execution system with coder/reviewer loop",
5
5
  "main": "dist/index.js",
6
6
  "bin": {