File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -281,6 +281,27 @@ determinism — identical hashes on two consecutive calls; (3) HEAD vs
281281HEAD^ — classifies symbol changes as signature drift / body-only /
282282add / remove.
283283
284+ ## Template aliases
285+
286+ Templates can declare ` aliases: ` in their frontmatter to cover
287+ retrieval gaps — synonyms and alternate phrasings that keyword search
288+ would otherwise miss:
289+
290+ ``` yaml
291+ ---
292+ type : concept
293+ feature : tool-planning
294+ aliases :
295+ - how to plan tools
296+ - tool design principles
297+ - when to use tools
298+ ---
299+ ```
300+
301+ ` aliases ` is a YAML list of strings. The retrieval engine scores alias
302+ hits the same as title hits, so a query that uses a synonym routes to
303+ the right template even when the canonical slug has no token overlap.
304+
284305## License
285306
286307Apache 2.0
You can’t perform that action at this time.
0 commit comments