According Ada2012 RM Assertion_Policy:
10.2/3 A pragma Assertion_Policy applies to the named assertion aspects in a specific region, and applies to all assertion expressions specified in that region. A pragma Assertion_Policy given in a declarative_part or immediately within a package_specification applies from the place of the pragma to the end of the innermost enclosing declarative region. The region for a pragma Assertion_Policy given as a configuration pragma is the declarative region for the entire compilation unit (or units) to which it applies.
This means that if I have a package hierarchy as per the following example:
└───Root
├───Child1
├───Child2
│ └───GrandSon
└───Child3
And if I define the pragma Assertion_Policy at Root package specification, it will affect to the whole package hierarchy right?