You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(settings): route diagnostics through emitDiagnostic
SettingsDefaultsManager used raw console.warn for its [SETTINGS]
diagnostics. Replace with emitDiagnostic (hook-io) so the lines survive
the Phase 2 hook stderr buffer (#2292) — the same channel logger uses —
instead of being swallowed by raw console.
Keeps the deliberate stderr-not-stdout behavior that protects the
machine-readable JSON contract on stdout. emitDiagnostic is chosen over
logger because logger transitively depends on this module via
shared/paths, so importing logger here would invert layering and risk a
circular dependency at bootstrap. hook-io is a leaf module (type-only
import), so no cycle.
0 commit comments