Enum: HookTypeEnum
Lifecycle hook stages (derived from HookType).
URI: mellea:HookTypeEnum
Permissible Values
| Value |
Meaning |
Description |
| SESSION_PRE_INIT |
None |
session pre init |
| SESSION_POST_INIT |
None |
session post init |
| SESSION_RESET |
None |
session reset |
| SESSION_CLEANUP |
None |
session cleanup |
| COMPONENT_PRE_EXECUTE |
None |
component pre execute |
| COMPONENT_POST_SUCCESS |
None |
component post success |
| COMPONENT_POST_ERROR |
None |
component post error |
| GENERATION_PRE_CALL |
None |
generation pre call |
| GENERATION_POST_CALL |
None |
generation post call |
| GENERATION_ERROR |
None |
generation error |
| VALIDATION_PRE_CHECK |
None |
validation pre check |
| VALIDATION_POST_CHECK |
None |
validation post check |
| SAMPLING_LOOP_START |
None |
sampling loop start |
| SAMPLING_ITERATION |
None |
sampling iteration |
| SAMPLING_REPAIR |
None |
sampling repair |
| SAMPLING_LOOP_END |
None |
sampling loop end |
| TOOL_PRE_INVOKE |
None |
tool pre invoke |
| TOOL_POST_INVOKE |
None |
tool post invoke |
Slots
| Name |
Description |
| hook_type |
Slot describing the hook type |
Annotations
| property |
value |
| derived_from |
mellea/plugins/types.py::HookType |
Schema Source
LinkML Source
name: HookTypeEnum
annotations:
derived_from:
tag: derived_from
value: mellea/plugins/types.py::HookType
description: Lifecycle hook stages (derived from HookType).
from_schema: https://w3id.org/lmodel/mellea
related_mappings:
- attack:KillChainPhase
- mcp:TaskStatusEnum
rank: 1000
permissible_values:
SESSION_PRE_INIT:
text: SESSION_PRE_INIT
description: session pre init
annotations:
python_value:
tag: python_value
value: session_pre_init
SESSION_POST_INIT:
text: SESSION_POST_INIT
description: session post init
annotations:
python_value:
tag: python_value
value: session_post_init
SESSION_RESET:
text: SESSION_RESET
description: session reset
annotations:
python_value:
tag: python_value
value: session_reset
SESSION_CLEANUP:
text: SESSION_CLEANUP
description: session cleanup
annotations:
python_value:
tag: python_value
value: session_cleanup
COMPONENT_PRE_EXECUTE:
text: COMPONENT_PRE_EXECUTE
description: component pre execute
annotations:
python_value:
tag: python_value
value: component_pre_execute
COMPONENT_POST_SUCCESS:
text: COMPONENT_POST_SUCCESS
description: component post success
annotations:
python_value:
tag: python_value
value: component_post_success
COMPONENT_POST_ERROR:
text: COMPONENT_POST_ERROR
description: component post error
annotations:
python_value:
tag: python_value
value: component_post_error
GENERATION_PRE_CALL:
text: GENERATION_PRE_CALL
description: generation pre call
annotations:
python_value:
tag: python_value
value: generation_pre_call
GENERATION_POST_CALL:
text: GENERATION_POST_CALL
description: generation post call
annotations:
python_value:
tag: python_value
value: generation_post_call
related_mappings:
- nexus:EvaluationResultRecord
GENERATION_ERROR:
text: GENERATION_ERROR
description: generation error
annotations:
python_value:
tag: python_value
value: generation_error
VALIDATION_PRE_CHECK:
text: VALIDATION_PRE_CHECK
description: validation pre check
annotations:
python_value:
tag: python_value
value: validation_pre_check
VALIDATION_POST_CHECK:
text: VALIDATION_POST_CHECK
description: validation post check
annotations:
python_value:
tag: python_value
value: validation_post_check
related_mappings:
- nexus:AiEval
- iso27001:AuditFinding
SAMPLING_LOOP_START:
text: SAMPLING_LOOP_START
description: sampling loop start
annotations:
python_value:
tag: python_value
value: sampling_loop_start
SAMPLING_ITERATION:
text: SAMPLING_ITERATION
description: sampling iteration
annotations:
python_value:
tag: python_value
value: sampling_iteration
SAMPLING_REPAIR:
text: SAMPLING_REPAIR
description: sampling repair
annotations:
python_value:
tag: python_value
value: sampling_repair
SAMPLING_LOOP_END:
text: SAMPLING_LOOP_END
description: sampling loop end
annotations:
python_value:
tag: python_value
value: sampling_loop_end
TOOL_PRE_INVOKE:
text: TOOL_PRE_INVOKE
description: tool pre invoke
annotations:
python_value:
tag: python_value
value: tool_pre_invoke
TOOL_POST_INVOKE:
text: TOOL_POST_INVOKE
description: tool post invoke
annotations:
python_value:
tag: python_value
value: tool_post_invoke