Blacksite/docs/adr/0012-zero-tech-debt-editor.md
Rbanh f29712d158
Some checks are pending
CI / Format, lint, test, build (push) Waiting to run
Initial project import
2026-06-05 21:44:45 -04:00

25 lines
940 B
Markdown

# 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.