type Tree
import bendvy-ecs-core@0.1.0.4/feature.bend as Featureimport Base
import bendvy-ecs-core@0.1.0.4/schema_fragments.bend as SF
5# Recursive author metadata contains no payload owners or gameplay authority.
6# Detached feature selection metadata with named dependencies and schema
7# entries. A dependency reference does not automatically select/build it;
8# selected features must include required names. Owns no live world or payload.
9type Tree<S:Data> is Data:
10 Empty{}
11 Feature{name:String,entries:List<&2,SF.Entry<S>>,dependencies:Tree<S>}
12 Sequence{left:Tree<S>,right:Tree<S>}