# IDEA-021: Legacy code audit and removal

**Date:** 2026-03-05
**Source:** user
**Status:** raw

## Idea

Audit and remove legacy code that is no longer relevant. Example: `learn` command is already deprecated, `tests/test_learn.py` tests the legacy `agents/<name>/EVOLUTION_LOG.md` format which is no longer used for new installs. Similar dead weight likely exists across other deprecated commands (`add`, `remove`, `list`, `run`, `team`, `deps`).

## Why

Deprecated commands and their tests add maintenance overhead with no user value. Removing them reduces test surface, speeds up the test suite, and eliminates confusion about what is actually supported.
