Expand SEARCH_ALIASES to ~55 business terms - #34
Merged
Merged
Conversation
Grow the find.py alias map from 12 to 55 business terms across Finance, CRM, Sales, Procurement, Inventory/Supply, HR, Healthcare, Manufacturing, Quality, and Product. Every entry verified to fire as an alias and resolve to >0 items (dropped shadowed/dead candidates, e.g. 'asset' which substring-matches the Maintenance category, and 'ar' which falsely matched 'warehouse'). Also resolve alias *targets* entity-first so a bare target like "order" means the order entity, not the whole "Sales / Order Management" category (fulfillment 637 -> 289; sku/item -> 188). Multi-word category targets still fall through to the category lookup. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cloud3000
added a commit
that referenced
this pull request
Jun 27, 2026
Note the find.py alias map expansion to 55 business terms + entity-first targets (#34). Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Grows
tools/find.py'sSEARCH_ALIASESfrom 12 → 55 business terms,grounded in entities/categories that actually exist, plus a precision fix for
alias targets.
Coverage added
Finance (billing, payee, payer, receivable, payable/ap, ledger/journal/gl,
tax), CRM (client, company, partner, prospect, address), Sales (quotation,
deal, pricing), Procurement (po, rfq, vendor, supplier), Inventory/Supply
(shipping, delivery, transfer, fulfillment, lot, batch, serial), HR (employee,
staff, worker, department, position, people), Healthcare (appointment, visit,
vitals, diagnosis, doctor/physician/provider, insurance), Manufacturing (mfg,
workcenter, assembly), Quality (qa, qc, inspection, defect, nonconformance),
Product (sku, catalog, item, barcode).
Quality bar
asset(substring of"Maintenance / Asset Management") and
ar(falsely matched "warehouse").ordernow means theorderentity, not the whole Sales category (fulfillment637 → 289;sku/item→ 188). Multi-word category targets (e.g.Quality Management)still fall through to the category lookup.
CI/
ci_checkgreen; CHANGELOG[Unreleased]updated.🤖 Generated with Claude Code