940 B
940 B
ADR 0012: Zero tech debt policy for editor UI
Status
Accepted
Context
The production editor program commits to shipping one correct path per feature rather than parallel “temporary” implementations.
Decision
| Anti-pattern | Policy |
|---|---|
| Dual inspector (ECS dump + authoring) | Removed from default Inspector; actor inspector only |
| Monolithic hydration | Replaced by shared/hydration/*; delete old function in same change |
Optional ActorKind inference at runtime |
Migration + validation only; no long-term guesswork |
| Deferred sub-phases (“Phase 3b”) | Not used; sibling order and related features ship in their named phase |
| Dead code after refactor | Deleted in the same PR |
Consequences
- Each phase ends with a debt gate (tests green, old path removed, docs updated).
- New subsystems get ADR or editor doc entries when behavior is user-visible.