Its all legal, we have passed 3 inspections so far, just need to pass "final".
The slab was added to on 3 sides, the foundation wasnt poured "on top"...Im no builder, but I am sure everything is ok ...They had to trench down about 4 feet on the side near the pool before they poured...
Cheers,