Skip to content

Improve default prompts for clarity and completeness#5

Merged
johnnygreco merged 1 commit intomainfrom
improve-default-prompts
Mar 6, 2026
Merged

Improve default prompts for clarity and completeness#5
johnnygreco merged 1 commit intomainfrom
improve-default-prompts

Conversation

@johnnygreco
Copy link
Owner

Summary

  • Use {state_dir} template variable throughout default prompts instead of hardcoding .ralphkit/
  • Add RALPH-BLOCKED.md to both worker and reviewer STATE FILES lists (the CLI checks for it but agents didn't know to create it)
  • Add work-summary.md to worker STATE FILES list (was only referenced in workflow steps, not listed as a state file)
  • Add {max_iterations} to worker task prompt and reviewer system prompt so agents know iteration urgency
  • Add explicit REVIEW PROCESS section to reviewer prompt with numbered steps (read task, read summary, read actual files, run tests, write verdict)
  • Tighten reviewer output instruction: "the file must contain ONLY the verdict word"
  • Update configs/example.yaml and README config example to match

Test plan

  • All 76 tests pass
  • ruff check passes
  • ruff format passes

- Use {state_dir} template variable instead of hardcoding .ralphkit/
- Add RALPH-BLOCKED.md to both worker and reviewer state file lists
- Add work-summary.md to worker state file list
- Add {max_iterations} to worker task prompt and reviewer system prompt
- Add explicit REVIEW PROCESS section to reviewer with numbered steps
- Tighten reviewer output instruction (file must contain ONLY the verdict)
- Update configs/example.yaml and README to match
@johnnygreco johnnygreco merged commit ab46ec0 into main Mar 6, 2026
4 checks passed
@johnnygreco johnnygreco mentioned this pull request Mar 6, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant