/** * Canonical booter boot-step identifiers emitted through {@link emitBooterBootStep} * (lifecycle / diagnostics). Keep in sync with `emitBooterBootPhase` call sites in `index.js`. */ export const BARE_OS_BOOTER_BOOT_STEPS = Object.freeze([ 'vfs', 'ctx', 'repl', 'initd', 'kernel_invoke' ]) /** * @param {string} step * @returns {boolean} */ export function isKnownBareOsBooterBootStep(step) { return BARE_OS_BOOTER_BOOT_STEPS.includes(String(step)) }