On this page

property.tuple

Intent

A reusable ordered heterogeneous tuple.

Exact selection subject:

yaml
subject: property.tuple

The current Runtime IR is evidence, not authority. Target improvements needed for a usable template contract are called out explicitly.

Scope envelope

ScopeContext
eachproperty.tuple: TuplePropertyContext
allproperties.tuples: TuplePropertyContext[]
collection candidatescollects.group, collects.feature

For collects.<dimension>, the singular collector is added beside the plural selected-subject array. A collector is valid only when ownership is semantically provable.

Context tree

Context pathTypeMeaning / template use
property.tuple.idstringOpaque stable semantic identity.
property.tuple.nameNameContextStable semantic identity and finite naming variants.
property.tuple.descriptionstring|nullHuman semantic description.
property.tuple.tagsstring[]Semantic classifiers; empty when none.
property.tuple.explanationsExplanationContext[]Advisory usage/security/implementation notes.
property.tuple.groupSemanticLinkContext|nullOwning semantic group.
property.tuple.featureSemanticLinkContext|nullCanonical owning feature, when present.
property.tuple.lifecycleLifecycleContextDeprecation/removal semantics.
property.tuple.itemsTupleItemContext[]Ordered elements.
property.tuple.items[].indexintegerCanonical position.
property.tuple.items[].typeTypeContextElement type.

Usage rules

  • Tuple item order is semantic and must be preserved exactly.

Runtime IR implications to audit

  • Properties should gain universal metadata.

Template example — Jinja / TypeScript tuple

jinja
export type {{ file.symbol }} = [
{% for item in property.tuple.items %}
  {{ render_type(item.type) }}{{ "," if not loop.last else "" }}
{% endfor %}
];

The example uses semantic context only. Any renderType/render_type helper shown is a pack-owned macro/partial consuming the documented TypeContext, not hidden Dryv context.

Audit questions

  • Can a real property.tuple pack generate code without parsing raw IR storage conventions?
  • Is any field here present only because the current IR happens to store it?
  • Does any nested item need first-class selection of its own?
Search in