true, 'engine' => 'Goose', 'capabilities' => [ 'autonomous_coding' => true, 'local_execution' => true, 'task_planning' => true, 'multi_file_edit' => true, 'test_generation' => true ], 'status' => 'ready']); break; case 'execute': $data = json_decode(file_get_contents('php://input'), true); echo json_encode(['ok' => true, 'task' => $data['task'] ?? '', 'status' => 'queued', 'engine' => 'Goose agentic']); break; default: echo json_encode(['error' => 'action: status|execute']); }