ralphy-openspec — Summary
ralphy-openspec (published as ralphy-spec) is an npm CLI tool and multi-tool command pack that combines OpenSpec spec-first planning with the Ralph Loop iterative execution pattern, providing a SQLite-backed run ledger, budget tracking, and slash commands for four AI tools (Cursor, Claude Code, OpenCode, and a standalone Ralph loop runner).
Problem it solves: OpenSpec provides structured specs but lacks persistence between AI sessions — when context windows exhaust or sessions disconnect, agents lose progress. The Ralph Loop retries a prompt until completion but has no spec governance. ralphy-spec wires them together: specs lock intent before execution, the loop retries until tests pass (outputting <promise>TASK_COMPLETE</promise>), and a SQLite database tracks run history, budget, and checkpoints across sessions.
Distinctive trait: The only framework in this batch with a real-time SQLite state database (ralphy-spec/state.db) that persists run state, task ledger, budget tracking, and backend transcripts across sessions and CLI invocations. Combined with the Ralph Loop's iterative execution model (continuous agent loop until task completion), this provides crash recovery and resume capability that no other framework in the batch offers.
Target audience: Developers who run long AI coding sessions that frequently time out or get interrupted, needing reliable resume-from-checkpoint behavior, and who want OpenSpec's spec discipline on top of the iterative execution model.
Production-readiness: v0.3.6, 186 stars (highest in the batch), 20 forks. Last commit January 2026. Multi-language README (English, Chinese, Korean, Japanese). Published as ralphy-spec on npm.
Relationship to seeds: Most similar to taskmaster-ai (file + database-backed task ledger, runs via CLI, spans multiple AI tools) but adds the Ralph Loop continuous execution model and OpenSpec spec governance. Like claude-flow (which uses SQLite + vector DB for memory), ralphy-spec uses SQLite for run state — but focuses on spec-driven task execution rather than distributed agent memory. Unlike openspec (the canonical seed), ralphy-spec has 4 slash commands instead of 11, and adds the critical run/loop execution layer that OpenSpec lacks.