agentic-loop 3.12.0 → 3.12.2
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/README.md +1 -1
- package/package.json +1 -1
- package/ralph/init.sh +2 -2
- package/ralph/prd-check.sh +2 -2
- package/ralph/verify/api.sh +2 -2
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ You describe what you want to build. Claude Code writes a PRD (Product Requireme
|
|
|
25
25
|
│ │ ┌─ loop (per story) ───────────────┐ │
|
|
26
26
|
│ ENHANCE AS YOU LEARN │ │ │ │
|
|
27
27
|
│ → Add signs when Ralph repeats │ │ Read prd.json → get next story │ │
|
|
28
|
-
│ the same mistake │ │ Load
|
|
28
|
+
│ the same mistake │ │ Load PROMPT.md, signs, config │ │
|
|
29
29
|
│ → Tune timeouts, retries, checks │ │ Load last_failure.txt (if retry) │ │
|
|
30
30
|
│ → Refine test commands for your │ │ Build prompt with full context │ │
|
|
31
31
|
│ stack │ │ Spawn Claude → write code │ │
|
package/package.json
CHANGED
package/ralph/init.sh
CHANGED
|
@@ -593,8 +593,8 @@ auto_configure_project() {
|
|
|
593
593
|
if [[ "$require_tests" == "true" ]]; then
|
|
594
594
|
echo ""
|
|
595
595
|
print_warning "No test directory or test files found."
|
|
596
|
-
echo " Without tests, Ralph
|
|
597
|
-
echo "
|
|
596
|
+
echo " Without tests, Ralph relies on lint, type-checking, and PRD test steps."
|
|
597
|
+
echo " Consider adding tests or PRD testCommands for better verification."
|
|
598
598
|
echo ""
|
|
599
599
|
echo " To fix: Add tests, or set in .ralph/config.json:"
|
|
600
600
|
echo " {\"tests\": {\"directory\": \"src\", \"patterns\": \"*.test.ts\"}}"
|
package/ralph/prd-check.sh
CHANGED
|
@@ -174,8 +174,8 @@ validate_prd() {
|
|
|
174
174
|
if [[ "$require_tests" == "true" && -z "$test_dir" ]]; then
|
|
175
175
|
echo ""
|
|
176
176
|
print_warning "No test directory configured in .ralph/config.json"
|
|
177
|
-
echo " Without tests, Ralph
|
|
178
|
-
echo "
|
|
177
|
+
echo " Without tests, Ralph relies on lint, type-checking, and PRD test steps."
|
|
178
|
+
echo " Consider adding tests or PRD testCommands for better verification."
|
|
179
179
|
echo ""
|
|
180
180
|
echo " To fix: Add tests, or set in .ralph/config.json:"
|
|
181
181
|
echo " {\"tests\": {\"directory\": \"src\", \"patterns\": \"*.test.ts\"}}"
|
package/ralph/verify/api.sh
CHANGED
|
@@ -108,8 +108,8 @@ run_frontend_smoke_test() {
|
|
|
108
108
|
# No frontend configured, skip silently
|
|
109
109
|
[[ -z "$frontend_url" ]] && return 0
|
|
110
110
|
|
|
111
|
-
# Skip for backend-only stories
|
|
112
|
-
|
|
111
|
+
# Skip for backend-only stories
|
|
112
|
+
[[ "$story_type" == "backend" ]] && return 0
|
|
113
113
|
|
|
114
114
|
echo ""
|
|
115
115
|
echo " [5/5] Running frontend smoke tests..."
|