bmalph 2.7.5 → 2.7.6

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 (53) hide show
  1. package/README.md +20 -5
  2. package/dist/commands/doctor-runtime-checks.js +104 -86
  3. package/dist/commands/doctor-runtime-checks.js.map +1 -1
  4. package/dist/installer/bmad-assets.js +182 -0
  5. package/dist/installer/bmad-assets.js.map +1 -0
  6. package/dist/installer/commands.js +324 -0
  7. package/dist/installer/commands.js.map +1 -0
  8. package/dist/installer/install.js +42 -0
  9. package/dist/installer/install.js.map +1 -0
  10. package/dist/installer/metadata.js +56 -0
  11. package/dist/installer/metadata.js.map +1 -0
  12. package/dist/installer/project-files.js +169 -0
  13. package/dist/installer/project-files.js.map +1 -0
  14. package/dist/installer/ralph-assets.js +91 -0
  15. package/dist/installer/ralph-assets.js.map +1 -0
  16. package/dist/installer/template-files.js +168 -0
  17. package/dist/installer/template-files.js.map +1 -0
  18. package/dist/installer/types.js +2 -0
  19. package/dist/installer/types.js.map +1 -0
  20. package/dist/installer.js +5 -843
  21. package/dist/installer.js.map +1 -1
  22. package/dist/transition/artifact-loading.js +91 -0
  23. package/dist/transition/artifact-loading.js.map +1 -0
  24. package/dist/transition/context-output.js +85 -0
  25. package/dist/transition/context-output.js.map +1 -0
  26. package/dist/transition/fix-plan-sync.js +119 -0
  27. package/dist/transition/fix-plan-sync.js.map +1 -0
  28. package/dist/transition/orchestration.js +25 -362
  29. package/dist/transition/orchestration.js.map +1 -1
  30. package/dist/transition/specs-sync.js +78 -2
  31. package/dist/transition/specs-sync.js.map +1 -1
  32. package/dist/utils/ralph-runtime-state.js +222 -0
  33. package/dist/utils/ralph-runtime-state.js.map +1 -0
  34. package/dist/utils/state.js +17 -16
  35. package/dist/utils/state.js.map +1 -1
  36. package/dist/utils/validate.js +16 -0
  37. package/dist/utils/validate.js.map +1 -1
  38. package/dist/watch/renderer.js +48 -6
  39. package/dist/watch/renderer.js.map +1 -1
  40. package/dist/watch/state-reader.js +79 -44
  41. package/dist/watch/state-reader.js.map +1 -1
  42. package/package.json +1 -1
  43. package/ralph/RALPH-REFERENCE.md +33 -13
  44. package/ralph/drivers/claude-code.sh +25 -0
  45. package/ralph/drivers/codex.sh +11 -0
  46. package/ralph/drivers/copilot.sh +11 -0
  47. package/ralph/drivers/cursor.sh +11 -0
  48. package/ralph/lib/circuit_breaker.sh +3 -3
  49. package/ralph/lib/date_utils.sh +28 -9
  50. package/ralph/lib/response_analyzer.sh +127 -7
  51. package/ralph/ralph_loop.sh +464 -121
  52. package/ralph/templates/PROMPT.md +5 -0
  53. package/ralph/templates/ralphrc.template +14 -4
@@ -34,6 +34,11 @@ You are Ralph, an autonomous AI development agent working on a [YOUR PROJECT NAM
34
34
  - Keep .ralph/@AGENT.md updated with build/run instructions
35
35
  - Document the WHY behind tests and implementations
36
36
  - No placeholder implementations - build it properly
37
+ - do not ask the user questions during loop execution
38
+ - do not use AskUserQuestion, EnterPlanMode, or ExitPlanMode during loop execution
39
+ - make the safest reasonable assumption and continue
40
+ - prefer small, reversible changes when requirements are ambiguous
41
+ - surface blockers in the Ralph status block instead of starting a conversation
37
42
 
38
43
  ## 🎯 Status Reporting (CRITICAL - Ralph needs this!)
39
44
 
@@ -40,10 +40,20 @@ CLAUDE_OUTPUT_FORMAT="json"
40
40
  # TOOL PERMISSIONS
41
41
  # =============================================================================
42
42
 
43
- # Comma-separated list of allowed tools for Claude
44
- # Common tools: Write, Read, Edit, Grep, Glob
45
- # Bash patterns: Bash(git *), Bash(npm *), Bash(pytest)
46
- ALLOWED_TOOLS="Write,Read,Edit,Bash(git *),Bash(npm *),Bash(pytest)"
43
+ # Comma-separated list of allowed tools for Claude Code only.
44
+ # Ignored by the codex, cursor, and copilot drivers.
45
+ # Opt in to interactive pauses by adding AskUserQuestion manually.
46
+ ALLOWED_TOOLS="Write,Read,Edit,MultiEdit,Glob,Grep,Task,TodoWrite,WebFetch,WebSearch,NotebookEdit,Bash"
47
+
48
+ # Permission mode for Claude Code CLI (default: auto)
49
+ # Options: auto, acceptEdits, bypassPermissions, default, dontAsk, plan
50
+ CLAUDE_PERMISSION_MODE="auto"
51
+
52
+ # How Ralph responds when a driver reports permission denials:
53
+ # - continue: log the denial and keep looping (default for unattended mode)
54
+ # - halt: stop immediately and show recovery guidance
55
+ # - threshold: continue until the permission-denial circuit breaker trips
56
+ PERMISSION_DENIAL_MODE="continue"
47
57
 
48
58
  # =============================================================================
49
59
  # SESSION MANAGEMENT