An agency must have a case plan for any child to whom the agency is providing services if 1) the agency filed a shelter care complaint, 2) the agency has temporary or permanent custody of the child, 3) the child is living at home subject to an order for protective supervision, or 4) the child is in a planned permanent living arrangement (long term foster care).