Ownership properties
The child’s private capabilities are not exposed to the parent merely because the directory is nested.
Each SubAgent must declare its own
Agent(sandboxes=[...]) assignments. Its tools can then call context.sandboxes["<name>"].execute(code) or aexecute(code). Child-local names cannot duplicate ancestor names.
Discovery rules
Framework behavior
Check recursive discovery and portable graph behavior before choosing the layout.