Full rewrite spec covering: 4-layer architecture (core/domain/services/commands), plan-then-execute pattern, correct module path resolution, unified package domain shared by bootstrap, context-aware command surface, and setup modules abstraction. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>