Enable Codex to run objective-first autonomous loops with mandatory review and optional verification for long-running task completion
SaferSkills independently audited ralph-wiggum-codex (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Codex-native Ralph loop for long-running autonomous task completion.
This skill is designed to be invoked as $ralph-wiggum-codex. The shell runner is support infrastructure for the skill, not the product story.
Use this skill when:
Do not use this skill when:
$ralph-prompt-generator first in that case.When the request is underspecified, invoke $ralph-prompt-generator first to turn it into a Ralph-ready prompt file.
Use the companion first when:
Companion handoff pattern:
$ralph-prompt-generator with the raw request.docs/prompt-improver-spec/final-prompts/<prompt-name>.md.When this skill is invoked, execute this flow:
cwd--progress-scope) for anti-no-op protection<cwd>/.codex/ralph-loop/:objective.mdacceptance-criteria.mdfeedback.mdwork-summary.mdreview-feedback.mdreview-result.txtRALPH-BLOCKED.md, stop with task_blocked, and wait for updated task/feedback files before resuming.~/.codex/skills/ralph-wiggum-codex/scripts/ralph-loop-codex.sh \
--cwd /path/to/repo \
--objective-file /path/to/repo/.codex/ralph-loop/objective.md \
--acceptance-file /path/to/repo/.codex/ralph-loop/acceptance-criteria.md \
--feedback-file /path/to/repo/.codex/ralph-loop/feedback.md \
--max-iterations 40 \
--max-stagnant-iterations 6 \
--progress-scope "src/" \
--idle-timeout-seconds 900 \
--hard-timeout-seconds 7200 \
--timeout-retries 1 \
--validate-cmd "npm run lint" \
--validate-cmd "npm run test"The runner is a mandatory work/review loop:
SHIP, REVISE, or BLOCKED.Completion is objective-first:
COMPLETE, the review phase decides SHIP, and any configured verification passes.task_blocked.--progress-scope plus no_change_justification only prevents fake no-op completion. It is not the product definition of success.Work schema (work-schema.json):
status: IN_PROGRESS, BLOCKED, COMPLETEassessment: concise statement of progress against the objective and acceptance criteriaevidence: non-empty array of concrete evidencenext_step: one highest-impact next stepblocker_reason (optional but required when status=BLOCKED)no_change_justification (optional)Review schema (review-schema.json):
decision: SHIP, REVISE, BLOCKEDassessment: concise review judgmentfeedback: actionable review guidance or ship confirmationevidence: non-empty array of concrete evidence.codex/ralph-loop/state.env.codex/ralph-loop/objective.md.codex/ralph-loop/acceptance-criteria.md.codex/ralph-loop/feedback.md.codex/ralph-loop/work-summary.md.codex/ralph-loop/review-feedback.md.codex/ralph-loop/review-result.txt.codex/ralph-loop/RALPH-BLOCKED.md.codex/ralph-loop/.ralph-complete.codex/ralph-loop/work-schema.json.codex/ralph-loop/review-schema.json.codex/ralph-loop/iteration-history.md.codex/ralph-loop/auto-feedback.md.codex/ralph-loop/run-summary.md.codex/ralph-loop/validation/.codex/ralph-loop/codex/iteration-<n>-<phase>-attempt-<m>.jsonltask_completetask_blockedmax_iterations_reachedmax_consecutive_failures_reachedmax_stagnant_iterations_reachedstop_file_detectedResume:
~/.codex/skills/ralph-wiggum-codex/scripts/ralph-loop-codex.sh \
--cwd /path/to/repo \
--resumeStop safely:
touch /path/to/repo/.codex/ralph-loop/STOPreferences/harness-principles.mdreferences/runbook.mdreferences/reliability-vnext.md~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.