AI Native Dev

Maria Gorinova: Feedback Loops That Fix Your Codebase

Published 2026-10-13 · Duration 37:58

Summary

The video details the concept of a 'software factory,' defining it as a system built upon repeatable workflows, a shared execution environment, and, critically, agent feedback loops. These loops allow the system to self-maintain and improve by analyzing data streams (e.g., PR comments, agent session logs) to identify inefficiencies and automatically request fixes. The discussion distinguishes between three types of loops—inner, middle, and outer—and emphasizes that success hinges on defining clear intent and treating the codebase, context, and data as integral parts of the factory itself.

Download summary

Key takeaways

  1. Software Factory Definition 2:38

    A software factory is defined by three components: repeatable workflows, a shared execution environment, and agent feedback loops, which enable the system to maintain and improve its own quality over time. (00:02:36)

  2. The Three Stages of a Feedback Loop 9:15

    A feedback loop operates in three distinct stages: 1) Analyzing a data stream (e.g., past PR comments); 2) Identifying potential problems or inefficiencies; and 3) Suggesting or requesting a fix (which can be code, refactor, or context improvement). (00:09:15)

  3. Types of Feedback Loops 13:16

    Loops are categorized by scope: Inner loops operate on a single change (e.g., Verifiers triggered on every PR/CI); Middle loops generalize from many changes (e.g., analyzing agent logs across many sessions); and Outer loops monitor production signals (e.g., service failure or declining DAU) for self-healing. (00:13:16)

  4. Importance of Clear Intent 18:35

    Vague intent is the biggest risk; the loop must be highly specific (e.g., a 'comment diet' loop focusing only on reducing comment lines) to avoid becoming a 'god loop' that attempts to fix everything without depth. (00:18:35)

Technical details

  • Agent Context Evolution 338s

    Agent capabilities progressed from V1 (agent only) to V2 (agent + context, skills, and hooks). Context allows control over the agent's behavior within a specific repository, defining how the team wants the agent to operate. (00:05:38)

  • Verifiers (Inner Loop) 858s

    Verifiers allow defining specific criteria that code must meet, using an LLM-as-a-judge approach. They are tightly scoped and run on every change (e.g., during CI) to enforce rules not easily covered by standard tests or linting. (00:13:16)

  • Drift and Abstraction 1665s

    Drift is defined as the difference between the expected ideal state and the reality in the codebase. The 'Rule of Three' (writing code three times necessitates an abstraction) is cited as a human pattern that agents must learn to generalize and correct via middle loops. (00:27:45)

  • Advanced Loop Concepts 1695s

    The concept of a 'Meta Feedback Loop' is introduced, which analyzes the performance of the primary feedback loop itself, making the system capable of managing and improving its own processes. (00:27:45)

Mentioned resources

  • Tessl (Product/Platform)

Channel & topics

Watch on YouTube · Back to latest

This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.