# Config conduit lifecycle hooks **🟡 Intermediate · Lesson 33** SpellbookConfiguration hooks, family 2: the CONDUIT LIFECYCLE. Five moments of a conduit's life are observable: on_conduit_pre_created / on_conduit_post_created / on_conduit_activated at conjure, and on_conduit_cleanup_start / on_conduit_cleanup_complete at the end. Register before conjure; watch the whole life. ## Before you run Use the [Intermediate guide](../../intermediate/index.md) for prerequisite concepts. Run from a checkout with Melder installed and Python 3.14 free-threading selected. The collection download includes the level's local helper modules. ## Run the saved script ```bash python UX_and_AIX_experiences/02_intermediate/33_config_conduit_lifecycle_hooks.py ``` ```powershell py -3.14t UX_and_AIX_experiences/02_intermediate/33_config_conduit_lifecycle_hooks.py ``` {download}`Download this collection <../../downloads/intermediate-examples.zip>` · [Source on GitHub](https://github.com/Synaptic724/melder/blob/a30a754d0bb61db0b142936010cdb82cffecec6f/UX_and_AIX_experiences/02_intermediate/33_config_conduit_lifecycle_hooks.py) ## Public surface conduit lifecycle hooks, firing order ## Code ```{literalinclude} ../../downloads/02_intermediate/33_config_conduit_lifecycle_hooks.py :language: python :linenos: ``` ## Check the outcome The script contains its own assertions or demonstrated refusal paths. Run it to evaluate those checks against your installed version. The code above is taken directly from the saved file; no run output is invented here. [More intermediate examples](index.md) · [Level guide](../../intermediate/index.md) ## Related guides - [Lifecycle hooks](../../intermediate/hooks.md)