ralphterm

Milestone 1: Autonomous engineering loop

The first milestone turns RalphTerm from a PTY session API into a complete local workflow engine for software tasks.

Definition of done

Phases

intake -> workspace -> plan -> implement -> validate -> independent-review -> accept/commit

The product boundary is the acceptance gate: implement -> validate -> independent-review -> accept/commit. An implementation agent finishing is not enough; the task only counts after validation succeeds and the reviewer prints REVIEW_PASS.

Core deliverables

Run model

Run, phase, workspace, session, artifact, and approval state.

Workspace isolation

Per-run worktrees with base commit tracking.

Agent drivers

Real Claude and Codex interactive sessions through PTYs.

Dashboard

Run list, live terminal output, phase timeline, transcripts, and artifacts.

Next implementation blocks