AI templates

Ask the companion for a template and it saves one in _templates/, checked first.

Ask for a template, for example “make me an RFC template that asks for an owner”. The companion knows the template tokens and proposes the template, saved as _templates/RFC.md for example once you apply it. It shows up in /template straight away.

Each template is checked before it's saved, for things like an unknown token or two {{cursor}}s. When there's a problem the companion fixes it and tries again; nothing is saved until it passes. It never replaces a template you have: ask it to change one and it edits that file. Undo under the reply removes a new template again. You need an open vault.