--- name: derived-entity description: Queryable representation of a parsed derived concept a named composition of base concepts and syncs . Enables trace rollup by linking derivedContext tags to the composition hierarchy , and powers queries like what concepts does this derived concept compose? and what syncs wire it together? argument-hint: [command] [name] [source] [ast] allowed-tools: Read, Grep, Glob, Bash --- # DerivedEntity Queryable representation of a parsed derived concept a named composition of base concepts and syncs . Enables trace rollup by linking derivedContext tags to the composition hierarchy , and powers queries like what concepts does this derived concept compose? and what syncs wire it together? ## Commands ### register Register a parsed derived concept as a semantic entity . Extracts composition hierarchy , claimed syncs , surface actions queries , and operational principle from the DerivedAST . **Arguments:** `$0` **name** (string), `$1` **source** (string), `$2` **ast** (string) ### get Retrieve a derived entity by name . **Arguments:** `$0` **name** (string) ### findByComposedConcept Return all derived concepts that compose the given concept . Results as serialized JSON array . **Arguments:** `$0` **concept** (string) ### findBySync Return all derived concepts that claim the given sync . Results as serialized JSON array . **Arguments:** `$0` **syncName** (string) ### compositionTree Build the full composition hierarchy , resolving nested derived concepts into a tree . Returns serialized JSON . **Arguments:** `$0` **entity** (D) ### traceRollup Roll up a flow trace by grouping sync firings under the derived concept s claimed syncs , producing a summary view . Returns serialized JSON . **Arguments:** `$0` **entity** (D), `$1` **flowId** (string)