Query roots
Origin and role
createdBy means the feature introduced the item. modifiedBy means it is in
the feature’s output lineage as a modified item. Roles identify semantic
classes; the optional sketch source distinguishes members created from one
authored entity.
Geometric predicates
Faces support:Logical composition
and and or flatten, deduplicate, and canonicalize their operands.
not() negates a query inside the current topology universe.
Adjacency
Adjacency crosses topology kinds through a completed selection:Cardinality is required intent
Finish a query with one of:Explain a selection
explainTopologySelection evaluates the query against a detached topology
snapshot and returns a frozen aggregate report. It records the outcome,
topology kind, snapshot history, candidates considered and matched, required
cardinality, and the resolved keys on success. Failure diagnostics carry
additional bounded candidate summaries when the evaluator can provide them;
the public explanation does not expose per-candidate or logical-branch traces.
Use explanations for tooling and debugging; do not parse human-readable
diagnostic messages to recover selector state.