"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert_1 = require("assert");
const child_process_1 = require("child_process");
const r = (0, child_process_1.spawnSync)('node', ['bin/openlife.js', 'ask', 'roteie esta missão: criar landing page com design copy e deploy no github'], {
    cwd: process.cwd(),
    encoding: 'utf-8',
    env: { ...process.env, OPENLIFE_ASK_TIMEOUT_MS: '30000' }
});
assert_1.strict.equal(r.status, 0, r.stderr || r.stdout);
assert_1.strict.ok(r.stdout.includes('Roteamento OpenLife:'), r.stdout);
assert_1.strict.ok(r.stdout.includes('Squad:'), r.stdout);
assert_1.strict.ok(r.stdout.includes('Agente:'), r.stdout);
assert_1.strict.ok(r.stdout.includes('Skill:'), r.stdout);
console.log('TEST_OPENLIFE_GATEKEEPER_ROUTING_OK');
