agentic-loop 3.1.2 → 3.1.3

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": "agentic-loop",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "description": "Autonomous AI coding loop - PRD-driven development with Claude Code",
5
5
  "author": "Allie Jones <allie@allthrive.ai>",
6
6
  "license": "MIT",
package/ralph/loop.sh CHANGED
@@ -265,6 +265,7 @@ run_loop() {
265
265
  local failure_context=""
266
266
  if [[ -f "$RALPH_DIR/last_failure.txt" ]]; then
267
267
  failure_context=$(cat "$RALPH_DIR/last_failure.txt")
268
+ echo " (Passing failure context: $(echo "$failure_context" | wc -l | tr -d ' ') lines)"
268
269
  fi
269
270
 
270
271
  # Temporarily disable errexit to capture build_prompt errors
package/ralph/verify.sh CHANGED
@@ -188,6 +188,11 @@ run_verification() {
188
188
  return 0
189
189
  else
190
190
  print_error "=== Verification failed ==="
191
+ # Debug: Show which failure logs exist
192
+ echo "Saving failure context..."
193
+ [[ -f "$RALPH_DIR/last_lint_failure.log" ]] && echo " - Found lint failure log"
194
+ [[ -f "$RALPH_DIR/last_test_failure.log" ]] && echo " - Found test failure log"
195
+ [[ -f "$RALPH_DIR/last_typescript_failure.log" ]] && echo " - Found typescript failure log"
191
196
  # Save failure context for next iteration
192
197
  save_failure_context "$story"
193
198
  return 1