866 B
866 B
Plan: Autonomous Code Editing (chrs-code-edit)
1. Goal
Enable CHORUS agents to autonomously write, modify, and compile code within isolated Git worktrees, closing the loop from "reasoning" to "delivery."
2. Components
- Git Worktree Manager: Integration of
git2-rsto spawn isolated branches for every task. - Atomic File Ops: A toolset for agents to perform RMWV (Read-Modify-Write-Verify) on source files.
- Compiler Feedback Loop: Wiring
chrs-execresults (errors/warnings) back into the agent'sthinkphase for self-correction.
3. Workflow
- Agent receives
implementation_task. - Agent creates a new Git branch
task/<uuid>. - Agent uses
chrs-execto test the current state. - Agent writes code changes.
- Agent verifies via
cargo checkinside the container. - Agent commits and signals
PR_READYviachrs-mail.