pam ▸ docs/ralph/README.md
updated 2026-03-28
Ralph in Pam
Pam includes a Ralph-ready prompt and PRD set so Ralph can run bounded research iterations against the current strategy system.
Files
docs/ralph/PROMPT_PAM_RESEARCH.mddocs/prds/PRD_001_eventful_market_observation.mddocs/prds/PRD_002_dislocation_research_sleeves.mddocs/prds/PRD_003_deployment_gate_and_candidate_review.mddocs/prds/PRD_004_ralph_research_operator.mdscripts/run_ralph_pam_research.sh
Run
./scripts/run_ralph_pam_research.sh
Notes
- Ralph is installed locally at
/Users/joshua/.ralph. - This local install is a script bundle, not a git checkout, so updates are manual.
- The current Claude Code version on this machine is compatible with Ralph’s modern CLI checks.
- The local Ralph bundle was refreshed on
2026-03-16from upstreamfrankbria/ralph-claude-code. - The most relevant upstream improvements for Pam are:
- dual-condition exit gate using explicit
EXIT_SIGNAL: true- improved premature-exit protection - uninstall script - Pam should use the local wrapper here:
-
./scripts/run_ralph_pam_research.sh - Newer Ralph versions write runtime state under the project-local
.ralph/directory. That directory is ignored in Git. - Pam also includes a provider router:
-
scripts/ralph_provider_router.pyThis lets Ralph run againstclaudeorcodexby changingRALPH_PROVIDER. - The wrapper exports
CLAUDE_CODE_CMDdirectly because the current upstream Ralph release snapshots the default command too early for.ralphrcto reliably override it.