ralph-session-ops-reference
SKILL.md
Ralph Session Operations Reference
Use this skill when a Ralph-v2 agent needs deterministic session-level reference material instead of improvising it from memory.
Use Cases
- Validate
metadata.yamloriterations/<N>/progress.md - Repair malformed Ralph session state
- Apply the standard subagent timeout recovery ladder
- Generate Ralph session IDs or ISO8601 timestamps
Schema Validation Rules
iterations/<N>/progress.md must include
# Progress## Legendwith[ ],[/],[P],[x],[F],[C]## Planning Progress (Iteration N)## Implementation Progress (Iteration N)
metadata.yaml must include
version,session_id,created_at,updated_at,iterationorchestrator.statetasks.total,tasks.completed,tasks.failed,tasks.pendingsession_review.cyclesession_review.issue_severity_thresholdsession_review.max_critique_cycles
Timeout Recovery Policy
Apply this to any Ralph-v2 subagent call that times out or fails unexpectedly.
- Retry the same single-mode invocation immediately.
- Retry after 30 seconds.
- Retry after 60 seconds.
- Retry after another 60 seconds.
- If still failing:
- If
TASK_IDexists, invoke Planner withMODE: SPLIT_TASKand continue with the replacement tasks. - If no
TASK_IDexists, stop and ask for a narrower scope.
- If
Sleep Commands
- Windows PowerShell:
Start-Sleep -Seconds 30orStart-Sleep -Seconds 60 - Linux/WSL:
sleep 30orsleep 60
Local Timestamp Commands
Session ID format <YYMMDD>-<hhmmss>
- Windows PowerShell:
Get-Date -Format "yyMMdd-HHmmss" - Linux/WSL:
TZ=Asia/Ho_Chi_Minh date +"%y%m%d-%H%M%S"
ISO8601 local timestamp
- Windows PowerShell:
Get-Date -Format "yyyy-MM-ddTHH:mm:ssK" - Linux/WSL:
TZ=Asia/Ho_Chi_Minh date +"%Y-%m-%dT%H:%M:%S%z"
Weekly Installs
1
Repository
arisng/github-copilot-fcGitHub Stars
2
First Seen
7 days ago
Security Audits
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1