bmalph 2.7.2 → 2.7.4

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.
Files changed (46) hide show
  1. package/README.md +14 -4
  2. package/dist/commands/doctor-checks.js +17 -10
  3. package/dist/commands/doctor-checks.js.map +1 -1
  4. package/dist/run/ralph-process.js +101 -7
  5. package/dist/run/ralph-process.js.map +1 -1
  6. package/dist/transition/artifact-collection.js +74 -0
  7. package/dist/transition/artifact-collection.js.map +1 -0
  8. package/dist/transition/artifacts.js +12 -1
  9. package/dist/transition/artifacts.js.map +1 -1
  10. package/dist/transition/context.js +17 -25
  11. package/dist/transition/context.js.map +1 -1
  12. package/dist/transition/fix-plan.js +12 -7
  13. package/dist/transition/fix-plan.js.map +1 -1
  14. package/dist/transition/orchestration.js +213 -116
  15. package/dist/transition/orchestration.js.map +1 -1
  16. package/dist/transition/preflight.js +30 -17
  17. package/dist/transition/preflight.js.map +1 -1
  18. package/dist/transition/section-patterns.js +56 -4
  19. package/dist/transition/section-patterns.js.map +1 -1
  20. package/dist/transition/specs-index.js +5 -2
  21. package/dist/transition/specs-index.js.map +1 -1
  22. package/dist/transition/specs-sync.js +23 -0
  23. package/dist/transition/specs-sync.js.map +1 -0
  24. package/dist/transition/sprint-status.js +91 -0
  25. package/dist/transition/sprint-status.js.map +1 -0
  26. package/dist/transition/story-id.js +46 -0
  27. package/dist/transition/story-id.js.map +1 -0
  28. package/dist/transition/story-parsing.js +7 -7
  29. package/dist/transition/story-parsing.js.map +1 -1
  30. package/dist/transition/tech-stack.js +1 -7
  31. package/dist/transition/tech-stack.js.map +1 -1
  32. package/package.json +1 -1
  33. package/ralph/RALPH-REFERENCE.md +50 -46
  34. package/ralph/drivers/claude-code.sh +44 -2
  35. package/ralph/drivers/codex.sh +10 -1
  36. package/ralph/drivers/copilot.sh +5 -0
  37. package/ralph/drivers/cursor-agent-wrapper.sh +13 -0
  38. package/ralph/drivers/cursor.sh +178 -14
  39. package/ralph/lib/circuit_breaker.sh +5 -5
  40. package/ralph/lib/enable_core.sh +10 -10
  41. package/ralph/lib/response_analyzer.sh +357 -111
  42. package/ralph/ralph_import.sh +14 -10
  43. package/ralph/ralph_loop.sh +168 -119
  44. package/ralph/ralph_monitor.sh +4 -4
  45. package/ralph/templates/AGENT.md +7 -7
  46. package/ralph/templates/PROMPT.md +13 -13
@@ -83,8 +83,8 @@ check_existing_ralph() {
83
83
  # Check for required files
84
84
  local required_files=(
85
85
  ".ralph/PROMPT.md"
86
- ".ralph/fix_plan.md"
87
- ".ralph/AGENT.md"
86
+ ".ralph/@fix_plan.md"
87
+ ".ralph/@AGENT.md"
88
88
  )
89
89
 
90
90
  local missing=()
@@ -505,7 +505,7 @@ generate_prompt_md() {
505
505
  objectives_section="$objectives"
506
506
  else
507
507
  objectives_section="- Review the codebase and understand the current state
508
- - Follow tasks in fix_plan.md
508
+ - Follow tasks in @fix_plan.md
509
509
  - Implement one task per loop
510
510
  - Write tests for new functionality
511
511
  - Update documentation as needed"
@@ -527,7 +527,7 @@ ${objectives_section}
527
527
  - ONE task per loop - focus on the most important thing
528
528
  - Search the codebase before assuming something isn't implemented
529
529
  - Write comprehensive tests with clear documentation
530
- - Update fix_plan.md with your learnings
530
+ - Update @fix_plan.md with your learnings
531
531
  - Commit working changes with descriptive messages
532
532
 
533
533
  ## Testing Guidelines
@@ -536,7 +536,7 @@ ${objectives_section}
536
536
  - Only write tests for NEW functionality you implement
537
537
 
538
538
  ## Build & Run
539
- See AGENT.md for build and run instructions.
539
+ See @AGENT.md for build and run instructions.
540
540
 
541
541
  ## Status Reporting (CRITICAL)
542
542
 
@@ -555,11 +555,11 @@ RECOMMENDATION: <one line summary of what to do next>
555
555
  \`\`\`
556
556
 
557
557
  ## Current Task
558
- Follow fix_plan.md and choose the most important item to implement next.
558
+ Follow @fix_plan.md and choose the most important item to implement next.
559
559
  PROMPTEOF
560
560
  }
561
561
 
562
- # generate_agent_md - Generate AGENT.md with detected build commands
562
+ # generate_agent_md - Generate @AGENT.md with detected build commands
563
563
  #
564
564
  # Parameters:
565
565
  # $1 (build_cmd) - Build command
@@ -604,7 +604,7 @@ ${run_cmd}
604
604
  AGENTEOF
605
605
  }
606
606
 
607
- # generate_fix_plan_md - Generate fix_plan.md with imported tasks
607
+ # generate_fix_plan_md - Generate @fix_plan.md with imported tasks
608
608
  #
609
609
  # Parameters:
610
610
  # $1 (tasks) - Tasks to include (newline-separated, markdown checkbox format)
@@ -768,11 +768,11 @@ enable_ralph_in_directory() {
768
768
 
769
769
  local agent_content
770
770
  agent_content=$(generate_agent_md "$DETECTED_BUILD_CMD" "$DETECTED_TEST_CMD" "$DETECTED_RUN_CMD")
771
- safe_create_file ".ralph/AGENT.md" "$agent_content"
771
+ safe_create_file ".ralph/@AGENT.md" "$agent_content"
772
772
 
773
773
  local fix_plan_content
774
774
  fix_plan_content=$(generate_fix_plan_md "$task_content")
775
- safe_create_file ".ralph/fix_plan.md" "$fix_plan_content"
775
+ safe_create_file ".ralph/@fix_plan.md" "$fix_plan_content"
776
776
 
777
777
  # Detect task sources for .ralphrc
778
778
  detect_task_sources