🧪 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 entft without breaking protocol core

🧬 Invocation Flow#

  1. Copy example hook into TFThooks/runtime/
  2. Register with runtime.extend()
  3. Trigger via symbolic event or API call
  4. Validator echoes lineage and scroll fidelity

  • fff_spec.md — Defines the .fff triadic file format and symbolic structure
  • TriadicTestSuite.md — Validation logic and test scaffolding for symbolic fidelity
  • outputs_spec.md — Defines the three-output logic: screen, file, glyph