inherits_from (Optional)
The inherits_from key allows an SDT fragment to declare explicit field-level inheritance from one or more other fragments. This enables modular composition of memory without repeating stable facts—especially when multiple fragments describe the same entity or belong to the same digest.
inherits_from:
- fragment: fragment-h5521-290-0-landscape
fields:
- plan_name
- contract_id
Field Definitions
| Key | Required? | Description |
|---|---|---|
fragment |
✅ | ID of the source fragment to inherit from |
fields |
✅ | List of id values to copy from the referenced fragment |
Use Cases
- Reference common fields like
plan_nameorcontract_idfrom a shared base fragment - Reduce duplication in
DataFragmentsorDirectoryFragmentsthat reuse structural fields - Enable modular retrieval and memory stitching in multi-fragment digests
Retrieval & Export Behavior
Fields referenced via inherits_from may be:
- Rendered by client UIs during display
- Included in structured export bundles (e.g., JSON-LD, TTL)
- Evaluated by agents for citation, scoring, or field merging logic
Best Practices
- Only inherit static, non-sensitive fields that are display-safe and semantically clear
- Avoid inheriting derived or volatile fields unless their integrity is validated
- Prefer inheritance between fragments sharing the same
entityidentifier - Include fallback content for agents operating without multi-fragment context