pub fn config_render_context<V: Serialize>(yui: &YuiVars, vars: &V) -> ContextExpand description
template_context plus self-referencing placeholders for the
hook script vars (script_path / script_dir / script_name /
script_stem / script_ext). Use this only for the
config-load Tera pass, where those tokens haven’t been bound
yet but should survive verbatim so the hook executor can
resolve them at run time.
Why a separate builder rather than seeding the placeholders in
template_context itself: dotfile (*.tera) rendering uses
template_context too, and a typo’d {{ script_path }} in a
dotfile should surface as “Variable not found in context”
rather than silently rendering to the literal {{ script_path }}.
Keeping the placeholders carve-out config-only preserves that
loud failure for dotfiles.