← back to Tk 10965 Zero Price Analysis
apply-fix.mjs
13 lines
#!/usr/bin/env node
// TK-11300: the actual CLI is fail-closed; historical approvals do not authorize
// fresh scope. No credential loading, broad enumeration or production adapter.
import { parseArgs, USAGE } from './cli-args.mjs';
let cli;
try { cli = parseArgs(process.argv.slice(2)); }
catch (error) { console.error(`${error.message}\n\n${USAGE}`); process.exit(2); }
if (cli.mode === '--help') { console.log(USAGE); process.exit(0); }
try {
const { run } = await import('./vienna-executor.mjs');
console.log(JSON.stringify(await run(cli), null, 2));
} catch (error) { console.error('BLOCKED: '+error.message); process.exitCode=2; }