function generateTestPlan() {
  console.log('');
  console.log('╔══════════════════════════════════════════════════════════╗');
  console.log('║  PLANNING is handled by the AI agent                   ║');
  console.log('║                                                         ║');
  console.log('║  The AI reads playwright-test-planner.agent.md,         ║');
  console.log('║  explores your app with Playwright MCP, and writes      ║');
  console.log('║  the test plan directly to specs/.                      ║');
  console.log('║                                                         ║');
  console.log('║  The AI will STOP and ask for your approval before      ║');
  console.log('║  proceeding to test generation.                         ║');
  console.log('║                                                         ║');
  console.log('║  Tell your AI agent:                                    ║');
  console.log('║  "Read router.md and plan tests for my-story.md"        ║');
  console.log('╚══════════════════════════════════════════════════════════╝');
  console.log('');
  process.exit(0);
}

if (require.main === module) {
  generateTestPlan();
}

module.exports = { generateTestPlan };
