/** Observations belong in logs, never in content-addressed compiler outputs. */ export const profile = (phase: string, started: number, details: Record = {}) => { if (process.env.QUIXOS_TRACE_PROFILE === "1") console.error(`[qx-profile] ${JSON.stringify({ phase, ms: Math.round(performance.now() - started), ...details })}`); };