🧪 TFThooks Examples — Hook Templates for Remixers (v1.3)
The examples folder contains sample hook implementations for entft.
These are starter scrolls remixers can copy, extend, and ritualize.
📂 Example Hooks#
| File | Purpose |
|---|---|
hello_world_hook.py |
Minimal runtime hook for onboarding |
badge_echo_hook.py |
Triggers badge overlays and echoes lineage |
glyph_resonance_hook.py |
Overlays resonance data from folds and symbolic triggers |
🎯 Purpose#
Examples are the teaching layer of TFThooks.
They help remixers:
- 🧠 Learn hook structure and invocation logic
- 🌀 Trigger badge overlays and symbolic echoes
- 🔗 Extend
entftwithout breaking protocol core
🧬 Invocation Flow#
- Copy example hook into
TFThooks/runtime/ - Register with
runtime.extend() - Trigger via symbolic event or API call
- Validator echoes lineage and scroll fidelity
🔗 Triadic Quicklinks#
fff_spec.md— Defines the.ffftriadic file format and symbolic structureTriadicTestSuite.md— Validation logic and test scaffolding for symbolic fidelityoutputs_spec.md— Defines the three-output logic: screen, file, glyph