ADR-004: Legacy Tool Surface Strategy (Deprecate vs Compatibility Mode)
Status
Proposed
Context
The consolidated runtime path is active, while src/server/tools.ts remains as a legacy-style tool surface.
Problem
Without explicit policy, dual surfaces increase maintenance cost and risk behavior divergence.
Decision (to be made)
Choose one explicit strategy and document it:
- Deprecate/remove legacy surface with migration notes, or
- Retain compatibility mode with explicit support guarantees and parity tests
Consequences
If deprecate
- Lower long-term maintenance and less drift risk
- Requires migration communication for any dependents
If retain compatibility
- Better short-term backward compatibility
- Ongoing parity testing/maintenance overhead
Acceptance Criteria
Source
Architecture analysis: docs/ARCHITECTURE-CODEBASE-ANALYSIS.md