memory_alias
Teach a search-term synonym pair: store term→alias so recall finds content via either, one-way only. Omit both fields to list all aliases. Direction is as taught; teach reverse for symmetric lookup.
Instructions
Teach recall a synonym: pass term + alias to record the pair (both are normalized: lowercased + diacritic-folded). DIRECTION IS ONE-WAY, as taught: querying term also searches alias, NEVER the reverse — a single pair does NOT make the alias side find term-side content. When you want symmetric recall, YOU teach the reverse pair too (configuração→config AND config→configuração; two rows, two calls). memory_retrieve then expands each query term with its recorded aliases (an alias hit grounds and is explained as alias: in matched_terms). recorded is STATE (true = the pair exists after this call — the same replay convention as memory_relate); re-adding an existing pair is an OBSERVABLE no-op: recorded:true + already_recorded:true, keeping the first at — verifiable on the list surface, whose rows carry {term, alias, at}. Pass NEITHER field to list the whole table. Empty/self pairs are typed errors. Aliases are derived, droppable data — never authority. Audited on record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | The term recall callers will search with. Pass together with `alias` to record; omit BOTH to list the whole table. | |
| alias | No | The alias that should also ground `term` (direction is as-taught: term → alias, one-way; the CALLER teaches the reverse pair when it wants symmetric recall). |