-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Summary
Update the loop executor to work with Amp SDK's native tool invocation and stream format.
Linear: ENG-1463
Changes
- Update
runAgent()insrc/loop/agents.tsto handle Amp's output stream format - Map Amp's tool-use responses to ralph-starter's validation pipeline
- Handle Amp's sub-agent spawning within the loop
- Ensure iteration tracking works with Amp's execution model
Current Architecture
src/loop/executor.ts (900+ lines):
runLoop(): Main loop that spawns agents per iteration- Handles
stream-jsonformat for Claude Code - Validation pipeline: lint → build → tests
- Iteration feedback loop
Files
src/loop/executor.tssrc/loop/agents.ts
Depends On
- Issue K (Research)
- Issue L (Agent abstraction refactor)
Reactions are currently unavailable