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, somecamelCase, someSCREAMING_CASE) - Undocumented tribal knowledge (“we never touch the
processUser()function directly”) - Schemas that don’t match the ORM (“the
accountstable is actually users”) - Three different async patterns in the same codebase
- Build systems that require arcane incantations
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.
For Technical Leaders
Refactor Radar names the patterns that keep confusing AI in your codebase: one entity calleduser, 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
- Captures corrections once, applies them forever
- Identifies root causes (not just symptoms)
- Creates actionable improvement proposals
- Works in every harness
pan syncinstalls skills for: Claude Code, plus Codex and Pi through~/.agents/skills
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
Give agents a map and the rules up front
- Codebase map. The
/pan-mapskill writes four orientation files under.overdeck/context/codebase/:architecture.md,conventions.md,concerns.mdandstack.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 projectopens.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.
Related Guides
- Knowledge Capture Skill - Capturing learnings automatically
- Refactor Radar Skill - Detecting systemic issues
- Project Skills - Sharing project-specific knowledge through
.pan/skills/