Skip to content

[plan] Implement learnings persistence in Ralph Loop workflow #11137

@github-actions

Description

@github-actions

Objective

Enhance the Ralph Loop workflow to persist learnings between iterations, similar to Ralph's progress.txt and AGENTS.md updates.

Context

A key feature of Ralph is that learnings from each iteration persist and inform future iterations. This includes both progress.txt (append-only log) and AGENTS.md updates (discovered patterns and conventions).

Approach

  1. Update .github/workflows/ralph-loop-basic.md to:

    • Append learnings to progress.txt after each iteration
    • Extract key learnings from AI responses
    • Update relevant AGENTS.md files with discovered patterns
    • Commit progress.txt and AGENTS.md changes
  2. Add logic to extract learnings:

    • Code patterns discovered
    • Gotchas encountered
    • Useful conventions
    • Test patterns
  3. Format progress.txt entries with timestamp and iteration info

Files to Modify

  • .github/workflows/ralph-loop-basic.md - Add learnings persistence
  • examples/ralph/README.md - Document learnings feature

Acceptance Criteria

  • Workflow appends to progress.txt after each iteration
  • Each entry includes timestamp and iteration number
  • Workflow updates AGENTS.md with discovered patterns
  • Learnings are extractable and well-formatted
  • Git commits include both progress.txt and AGENTS.md changes
    Related to Add Ralph Loop examples for agentic workflows #11132

AI generated by Plan Command for #11132

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions