On this page

group

Selectable subject: no

A group is structural scope metadata. It is exposed when the generation partition is explicitly grouped by collects.group, or as the owner of a collects.feature partition.

Availability

text
scope: collects.group
→ group: GroupContext

scope: collects.feature
→ group: GroupContext
   feature: FeatureContext

Context tree

Context pathTypeMeaning / template use
group.idstringOpaque stable semantic identity.
group.nameNameContextGroup identity/naming.
group.descriptionstring|nullScope purpose.
group.tagsstring[]Semantic metadata.
group.explanationsExplanationContext[]Advisory metadata.
group.parentSemanticLinkContext|nullParent group link.
group.facets.http.rootstring|nullHTTP scope root contributed by the group.

Deliberately excluded

Do not embed:

text
group.children
group.features
group.schemas
group.operations
group.policies
...

The selected subject array already describes what this invocation is generating. Group metadata only describes the partition.

Example

jinja
# package for {{ group.name.qualified }}
ROUTE_ROOT = "{{ group.facets.http.root }}"

Runtime IR implications

  • Group identity/metadata remains canonical, but declaration membership should not leak into template context by default.
Search in