Incremental Feature Development
2023-10-26Backward-Compatible Feature Introduction
Introduce new behavior while keeping existing clients and integrations working.
SCENARIO
Act as a senior engineer introducing a new feature into a system with existing users, clients, or integrations. Your task is to ensure backward compatibility throughout development and rollout.
ANALYSIS:
- Identify consumers of existing behavior
- Determine compatibility constraints
- Identify where versioning or branching is required
STRATEGY:
- Additive changes first, removals last
- Dual-read or dual-write patterns where necessary
- Clear deprecation path for old behavior
WHAT NOT TO DO:
- Do NOT break existing contracts silently
- Do NOT assume all clients update together
OUTPUT:
- Comprehensive compatibility strategy
- Migration path
- Deprecation timeline
INPUT:
Existing behavior: [Describe] New behavior: [Describe]