A sandbox for experimenting with Ralph - an autonomous coding agent workflow that iteratively implements features from a PRD.
This sandbox contains a Todo CLI application built with Rust, demonstrating the Ralph Loop workflow.
- Add tasks with title, priority (high/medium/low), and optional due date
- List tasks sorted by priority and due date
- Complete tasks by ID
- Delete tasks by ID
- SQLite database with Diesel ORM
# Build
cargo build --release
# Add a task
./target/release/todo add "Buy groceries" --priority high --due 2026-01-25
# List tasks
./target/release/todo list
./target/release/todo list --all # Include completed tasks
# Complete a task
./target/release/todo complete 1
# Delete a task
./target/release/todo delete 1- Rust (Edition 2024)
- Diesel ORM - Type-safe database operations
- Clap - CLI argument parsing
- SQLite - Embedded database
.
├── src/
│ ├── main.rs # Entry point
│ ├── cli/ # CLI commands and handlers
│ ├── domain/ # Domain models (Task, Priority)
│ ├── repository/ # Database layer (Diesel)
│ ├── schema.rs # Diesel table schema
│ └── error.rs # Error types
├── migrations/ # Diesel migrations
├── tasks/
│ ├── prd.json # Current PRD
│ ├── progress.txt # Implementation progress log
│ └── archive/ # Completed PRDs
└── diesel.toml # Diesel configuration
cargo testThis is a sandbox project for experimentation purposes.