Skip to main content

Legacy Codebase Support

“AI works great on greenfield projects, but it’s hopeless on our legacy code.” Sound familiar? Your developers aren’t wrong. But they’re not stuck, either.

The Problem Every Enterprise Faces

AI coding assistants are trained on modern, well-documented open-source code. When they encounter your 15-year-old monolith with:
  • Mixed naming conventions (some snake_case, some camelCase, some SCREAMING_CASE)
  • Undocumented tribal knowledge (“we never touch the processUser() function directly”)
  • Schemas that don’t match the ORM (“the accounts table is actually users”)
  • Three different async patterns in the same codebase
  • Build systems that require arcane incantations
…they stumble. Repeatedly. Every session starts from zero.

Overdeck’s Unique Solution: Adaptive Learning

Overdeck includes two AI self-monitoring skills that no other orchestration framework provides:

How It Works

The Compound Effect

Shared Team Knowledge

When one developer learns, everyone benefits. Knowledge Capture writes captured skills to .claude/skills/project-knowledge/SKILL.md in the repository you’re working in. Overdeck adds .claude/skills/ to a project’s .gitignore when it creates a workspace, so that file stays on your machine. To share it, move it to .pan/skills/project-knowledge/SKILL.md and commit it. Overdeck copies .pan/skills/ into each new issue workspace, so when Sarah commits that “we use camelCase columns”, every developer’s next workspace inherits it. See Project skills.
No more repeating the same corrections to AI across 10 different developers. No more tribal knowledge locked in one person’s head. The team’s collective understanding of your codebase becomes permanent, searchable, and automatically applied. New hire onboarding? The AI already knows your conventions from day one.

For Technical Leaders

Refactor Radar names the patterns that keep confusing AI in your codebase: one entity called user, account and member across layers, a relationship with no foreign key constraint, or callbacks, promises and async/await mixed in one module. It doesn’t count errors or measure what they cost. Each proposal includes:
  • Evidence: Specific file paths and examples
  • Impact: How this affects AI (and new developers)
  • Migration path: Incremental fix that won’t break production

For Executives

ROI is simple:
  • $200K/year senior developer spends 2 hours/day correcting AI on legacy code
  • That’s $50K/year in wasted productivity per developer
  • Team of 10 = $500K/year in AI friction
Overdeck’s learning system:
  • Captures corrections once, applies them forever
  • Identifies root causes (not just symptoms)
  • Creates actionable improvement proposals
  • Works in every harness pan sync installs skills for: Claude Code, plus Codex and Pi through ~/.agents/skills
This isn’t “AI for greenfield only.” This is AI that learns your business.

Configurable Per Team and Per Developer

Each developer lists the categories to skip or welcome in their own global context file, and each project can tune how often the skills ask in .overdeck/knowledge-capture.json and .overdeck/refactor-radar.json:
  • “Skip database migrations” - Your DBA has a change management process
  • “Skip infrastructure” - Platform team owns that
  • “Welcome naming fixes” - Low risk, high value, always appreciated
The AI adapts to your org structure, not the other way around.

Give agents a map and the rules up front

  • Codebase map. The /pan-map skill writes four orientation files under .overdeck/context/codebase/: architecture.md, conventions.md, concerns.md and stack.md. Commit them. Planning agents read them first and write them when they’re missing; work agents skim them before they start.
  • Project rules. pan context edit --layer project opens .overdeck/context/project.md, the committed project layer. See Context layers.
  • Memory facts. Record a rule every agent must follow with pan memory add <id>; see Memory for its type, description and body options. Overdeck renders the fact index into each managed agent’s launch context.