mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-25 07:05:57 +03:00
[PR #15] [CLOSED] feat: Self-improvement infrastructure & user-collaborative validation framework #90
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ralph-orchestrator#90
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mikeyobrien/ralph-orchestrator/pull/15
Author: @krzemienski
Created: 1/2/2026
Status: ❌ Closed
Base:
main← Head:feat/agnostic-validation-gates📝 Commits (8)
c366b52chore: add Claude Flow and Swarm tooling directories to gitignore546d9e9Enhance onboarding: MCP ecosystem integration & agent-assisted analysisfdda7c7feat(validation): Add agnostic validation gate framework4609211feat(validation): Add opt-in user-collaborative validation systema368f6bClarify ClaudeAdapter settings inheritance comment4e838e6refactor(self-improve): Pure-Python runner using SDK directly6b88f2ffeat(self-improve): Add web UI and direct prompt file supportd83d7f5feat(self-improve): Add full RalphConfig CLI params support📊 Changes
17 files changed (+4776 additions, -4 deletions)
View changed files
📝
.gitignore(+10 -0)➕
examples/ralph-self-improvement.yml(+73 -0)➕
examples/run_self_improvement.py(+366 -0)➕
prompts/DIAGNOSTIC_PROMPT.md(+397 -0)➕
prompts/ONBOARDING_PROMPT.md(+820 -0)➕
prompts/VALIDATION_CODING_PROMPT.md(+349 -0)➕
prompts/VALIDATION_FEATURE_PROMPT.md(+504 -0)➕
prompts/VALIDATION_PROPOSAL_PROMPT.md(+185 -0)📝
ralph.yml(+19 -1)➕
scripts/self_improve.py(+487 -0)📝
src/ralph_orchestrator/orchestrator.py(+125 -2)➕
src/ralph_orchestrator/validation/__init__.py(+48 -0)➕
src/ralph_orchestrator/validation/base.py(+253 -0)➕
src/ralph_orchestrator/validation/config.py(+253 -0)➕
src/ralph_orchestrator/validation/gates.py(+538 -0)📝
tests/test_acp_client.py(+2 -1)➕
tests/test_validation_feature.py(+347 -0)📄 Description
Summary
This PR adds two foundational capabilities to Ralph Orchestrator:
1. Self-Improvement Infrastructure (
scripts/self_improve.py)A pure-Python runner that enables AI to improve AI - Ralph can now build features into itself:
Key features:
--with-web-ui2. User-Collaborative Validation Framework
An opt-in validation system where AI proposes validation strategies and users confirm before proceeding:
Philosophy: Propose, Don't Prescribe
Usage:
Why This Approach?
The self-improvement infrastructure enables a development pattern where:
self_improve.pywith that promptThis PR is the foundation. Subsequent features (TUI, onboarding, etc.) will be built using this self-improvement system.
Files Changed
scripts/self_improve.py- Pure Python self-improvement runnersrc/ralph_orchestrator/validation/- Validation frameworksrc/ralph_orchestrator/orchestrator.py-enable_validationsupportprompts/VALIDATION_*.md- Validation promptstests/test_validation_feature.py- Test suite (16 tests passing)Test Plan
python scripts/self_improve.py --statusworkspython scripts/self_improve.py --helpshows all params🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.