Topic

Codebase Management

All digests tagged Codebase Management

AI Coding Agents Are Breaking Big Codebases — Dan Adler, Sourcegraph thumbnail

· 12:23

AI Coding Agents Are Breaking Big Codebases — Dan Adler, Sourcegraph

The talk addresses the critical challenge of maintaining massive, decades-old codebases (tens of thousands of repositories) in the era of AI coding agents. While agents accelerate development, they also accelerate codebase decay through duplicated code, drifting standards, and new vulnerabilities. Dan Adler argues that the bottleneck is not model quality, but the infrastructure required for large-scale code visibility. Sourcegraph introduces 'Agentic Batch Changes,' a product designed to execute code changes across thousands of repositories from a single prompt, ensuring auditability and consistency across complex, distributed systems.

Key takeaways

  1. The Scale Problem

    Most software industry employment is in large enterprises managing thousands of repositories and decades of code history, making codebase ownership increasingly difficult.

  2. Codebase Decay 4:17

    AI-generated code, while fast, is causing decay by proliferating duplicated code, creating brittle cross-service dependencies, and introducing new vulnerabilities.

  3. Visibility is Infrastructure

    The core problem is the volume of code; agents cannot understand what they cannot see. Large-scale code visibility and a comprehensive 'code graph' are essential infrastructure requirements.

  4. Agentic Batch Changes

    Sourcegraph launched 'Agentic Batch Changes,' a frontier agent that allows owners to execute code changes across hundreds or thousands of repositories from a single prompt, providing necessary tracking and auditability.

Watch on YouTube Full article

How to Generate Mergeable Code with a Context Engine — Peter Werry, Unblocked thumbnail

· 18:36

How to Generate Mergeable Code with a Context Engine — Peter Werry, Unblocked

The presentation introduces the concept of a Context Engine designed to overcome limitations in current AI agents. Agents often suffer from 'satisfaction of search' and lack deep organizational context (intent, conventions, past decisions), behaving like new employees who reset their knowledge for every task. A Context Engine solves this by ingesting data from diverse sources—including GitHub PRs, Slack discussions, and architecture documents—to provide a comprehensive understanding that allows agents to generate accurate plans, show their work, and prevent compounding errors during complex development tasks.

Key takeaways

  1. The Context Problem in AI Agents 6:59

    Agents struggle because they lack access to 'unknown unknowns'—the critical organizational context like team conventions or architectural rationale. Simply attaching a wiki is insufficient; the agent needs guided, synthesized information.

  2. The Compounding Effect of Context 16:43

    The true value of a context engine is not in solving the first task, but in preventing compounding errors. Without proper context, agents may operate on wrong assumptions, forcing costly loops and significantly increasing time/token usage.

  3. The Role of Seniority Signals

    Advanced review agents can use signals like reviewer seniority or expertise to boost the visibility of important past comments, ensuring critical institutional knowledge is surfaced during code reviews.

Watch on YouTube Full article