i told my family about the rabbinic definition of a “wall” as “a barrier that impedes the passage of goats” and my mother was so delighted by this that weeks later she showed me a photo of a baby goat squeezing itself under a gate and was like “this is NOT a wall!”
If the baby goat had to squeeze through, that may suffice? Impeding can mean slowing down or delaying or making more difficult, so if the gate posed enough of a challege, it may be a wall.
A wall that does not stop goats is not a kosher wall but the rabbis, IMO, define it too narrowly, as they say a wall two handsbreadths off the ground will stop a goat and admittedly I have kind of big hands but I’ve seen goats get through a smaller space than that on many occasions
My neighbor has a goat farm with a cattle grid instead of a gate on his driveway. It seems to contain them, to my surprise. Does a cattle grid count as a “barrier”, and if so, could a goat-stopping cattle grid be considered a wall?