Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions documents/patterns/feedback-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ authors: [nitsan_avni]

# Feedback Loop

Closely related: ["Engineer the Harness"](https://mitchellh.com/writing/my-ai-adoption-journey#step-5-engineer-the-harness)

## Pattern
Set up automated feedback, give AI permission to iterate autonomously until goal is reached.
Set up automated feedback, give AI permission to iterate autonomously until a goal is reached.

1. Identify clear success signal (tests pass, UI matches design, coverage hits X%)
1. Identify a clear success signal (tests pass, UI matches design, coverage hits X%)
2. Give AI access to that signal (tests, devtools, linter, logs)
3. Grant explicit permission: "Keep iterating until tests pass"
4. Step away - AI checks its own work and keeps refining
Expand Down