import { emergencyAutomation } from '../../../../lib/emergency-automation'

export async function GET() {
  try {
    const status = emergencyAutomation.getStatus()
    
    return Response.json({
      success: true,
      message: 'Emergency automation test - all systems locked down',
      status,
      safety: 'Emergency mode active'
    })
  } catch (error) {
    return Response.json({
      success: false,
      error: 'Emergency test failed'
    }, { status: 500 })
  }
}
