find · diff

git:20260814.06fa906 to git:20260814.b99e55d

22 added, 21 removed. Audit A to A.

---
name: find
description: >
Find a person, lead, contact or company by name in ANY spelling — deterministic name search
that catches transliteration (Viktor/Victor across alphabets), wrong-keyboard-layout typing,
and typos. Trigger on "/find <name>", "find <name>", "show everyone named <X>". This is
SPELLING/exact-name search (0 tokens, NOT RAG) — the complement to semantic vault search.
license: MIT
---
- # /find — умный поиск имени/компании по написанию
+ # /find — smart search for a name or company by SPELLING
- > 🧒 **When reporting to Anton:** end with a child-simple "Простыми словами" recap.
+ > 🧒 **When reporting to a non-technical operator:** end with a child-simple "In plain words" recap in their language.
- Детерминированный, 0 токенов — **НЕ RAG**. Эмбеддинги не понимают каракули (`dbrnjh`, опечатки, раскладку); это ловит отдельный код по фонетическим отпечаткам + нечёткому сравнению. Для поиска по СМЫСЛУ — это `/ask`, не сюда.
+ Deterministic, 0 tokens — **NOT RAG**. Embeddings do not understand mangled spellings, typos or a wrong keyboard layout; that is caught by separate code using phonetic fingerprints + fuzzy comparison. For search by MEANING use `/ask`, not this.
- ## Когда сюда
- «найди Виктора» · «все Викторы» · «найди компанию Мерлион» · «кто такой <имя>» · `dbrnjh`/опечатки/транслит — любое имя ЧЕЛОВЕКА, лида, контакта или КОМПАНИИ в любом написании.
+ ## When to come here
+ "find Viktor" · "all the Viktors" · "find the company Merlion" · "who is <name>" · wrong-layout gibberish / typos / transliteration — any PERSON, lead, contact or COMPANY name in any spelling.
- ## Запуск (ВСЕГДА `PYTHONUTF8=1` — иначе cp1252 краш на виндовой консоли)
- `PYTHONUTF8=1 python "$IMPORTS_ROOT/namesearch/find_name.py" <имя> [--html] [--all]`
- - по умолчанию: лиды + люди + компании + Apple-контакты (заметки волта скрыты)
- - `--all` — добавить заголовки заметок всего волта
- - `--html` — визуальный дашборд в `_Dashboards\Name-Search-*.html` (Антон работает глазами — предлагай его для длинных списков)
+ ## Run (ALWAYS with `PYTHONUTF8=1` — otherwise a cp1252 crash on the Windows console)
+ `PYTHONUTF8=1 python "$IMPORTS_ROOT/namesearch/find_name.py" <name> [--html] [--all]`
+ - by default: leads + people + companies + Apple contacts (vault note titles hidden)
+ - `--all` — also include the note titles of the whole vault
+ - `--html` — a visual dashboard in `_Dashboards\Name-Search-*.html` (the operator works visually — offer it for long lists)
- Имя в кириллице даёт чистый запрос (виктор → ровно `viktor`); раскладочный/опечаточный запрос — расширяется автоматически.
+ A name written in its native script produces a clean query; a wrong-layout or typo'd query is expanded automatically.
- ## Смежное
- - `expand_query.py <слово> [--grep] [--line]` — развернуть слово во все написания для grep по волту или для скармливания в `/ask` (RAG-хук).
- - Индекс `names.db` пересобирается недельной задачей (и вручную `name_index.py --vault`). Если после большого импорта чего-то не хватает — упомяни, что нужна пересборка; сам не запускай без спроса.
+ ## Neighbours
+ - `expand_query.py <word> [--grep] [--line]` — expand a word into every spelling, for grepping the vault or feeding into `/ask` (the RAG hook).
+ - The `names.db` index is rebuilt by a weekly task (and manually via `name_index.py --vault`). If something is missing right after a big import, mention that a rebuild is due; do not run it unasked.
- ## Ответ
- - Дай список/таблицу (display · тип · файл-ссылка); для длинного — `--html` дашборд.
- - Компания всплывает первой по запросу фирмы + связанные люди.
- - Если 0 хитов — скажи прямо, предложи проверить написание или пересобрать индекс; не угадывай.
- - Коротко; закончи 🧒-рекапом.
+ ## The answer
+ - Give a list/table (display · type · file link); for a long one, the `--html` dashboard.
+ - A company surfaces first for a company query, together with its related people.
+ - 0 hits → say so plainly, suggest checking the spelling or rebuilding the index; never guess.
+ - Keep it short; end with the 🧒 recap.
- ## Не путать
- - `/ask` = по смыслу (RAG, эмбеддинги). `/find` = по написанию (детерминированный отпечаток). Канон-память [[smart-name-search]].
+ ## Do not confuse
+ `/ask` = by meaning (RAG, embeddings). `/find` = by spelling (a deterministic fingerprint). Canon memory [[smart-name-search]].
+
---
<!-- CONTACT-FOOTER -->
## About & contact
Built and battle-tested at **Palo Alto AI Research Lab** — a fleet of Claude Code machines
running 24/7 as a second brain and synthetic cofounder. Every skill here survived real
production use before publication.
- 📦 All 101 skills: https://github.com/tonydzi/second-brain-starter-kit
- 👤 Author: **Anton Dziatkovskii** — Telegram [@tonydzi](https://t.me/tonydzi) · WhatsApp [+1 341 222 9178](https://wa.me/13412229178) · X [@Tony_Stef_](https://x.com/Tony_Stef_)
- 🧪 **Engineers: want to test-drive this setup?** Message me — I hand out free starter seeds to engineers who test and report back. Custom skill requests welcome.