/** * Deprecation alias: `module audit` → `module verify`. * * Per CELILO_UPDATE D11, `audit` is now reserved for system-level * drift detection (`celilo system audit`). The integrity check that * used to live at `module audit` was renamed to `module verify`. * * This shim emits a one-line warning to stderr and delegates to * `moduleVerify` so existing scripts and tests don't break overnight. * Remove after one release cycle. */ import type { CommandResult } from '../types'; import { moduleVerify } from './module-verify'; export async function moduleAudit( args: string[], flags: Record = {}, ): Promise { process.stderr.write( 'warning: `celilo module audit` is deprecated; use `celilo module verify` instead.\n', ); return moduleVerify(args, flags); }