parallel-ralph is a multi-agent engineering sandbox that tracks two independent subprojects: a Rust regex engine and an embedded Rust SQLite clone. Each subproject is driven by its own agent prompt, test harness, and launch script so teams can iterate autonomously while sharing this single workspace.
regex/— clean-room regex engine exercise. The agent prompt (regex/AGENT_PROMPT.md) lays out parsing/AST/bytecode goals, testing expectations, and the lock-file workflow.launch_agents.shboots agents insidescreensessions, whileagent_loop.shcontains the interaction loop the agents run.sqlite/— embedded SQLite-like engine. The agent prompt (sqlite/AGENT_PROMPT.md) plus bootstrap prompt describe the expected architecture, testing rules, and coordination steps. The launcher script handles one bootstrap agent, waits for core artifacts, and then spins up Claude and Codex workers;agent_loop.shimplements each worker loop, withrestart_agents.shavailable for recovery.
- Read the relevant
AGENT_PROMPT.md(andBOOTSTRAP_PROMPT.mdfor the SQLite stack) before editing so you understand the task selection, locking, and testing conventions. - Respect each project’s local
current_tasks/,PROGRESS.md, andnotes/workflows: lock a task before working, update the progress document when you complete a task, leave notes for teammates, and remove the lock only when the work is finished. - Always run
./test.sh --fastwithin the subproject you touched before pushing; if you touched a high-impact area, run the full./test.shsuite as well.
- Regex:
cd regex && ./launch_agents.sh [num_agents](default 2). The launcher spins upscreensessions on/project/6049267/kyars/server-stuff/agent_loop.sh, so adjust the path or run from the containerized environment that provides that layout. - SQLite:
cd sqlite && ./launch_agents.sh. The script clonesgit@github.com:kiankyars/sqlite.gitinto a bootstrap workspace, runs a single Claude bootstrap agent, waits for the shared README/DESIGN/PROGRESS files to appear onorigin/main, and then launches the worker agents specified in the script.
- Capture design changes in
DESIGN.md(SQLite) or the equivalent notes directory, and sync progress updates before committing for transparency. - Follow the codebase conventions from the agent prompts: small modules, doc comments on public APIs, no
unsafeunless documented, and test-driven small increments. - After committing, push to the same branch you fetched from so bootstrap workers can see the new state; the SQLite launcher depends on
origin/maincontaining the latest README/DESIGN/PROGRESS files.
- The agent prompts (
regex/AGENT_PROMPT.md,sqlite/AGENT_PROMPT.md) describe the technical goals, testing rules, and lock protocols for each subproject. sqlite/BOOTSTRAP_PROMPT.mdcontains the bootstrap agent briefing required before launching additional workers.