Skip to content

Expand SEARCH_ALIASES to ~55 business terms - #34

Merged
cloud3000 merged 1 commit into
mainfrom
expand-aliases
Jun 27, 2026
Merged

Expand SEARCH_ALIASES to ~55 business terms#34
cloud3000 merged 1 commit into
mainfrom
expand-aliases

Conversation

@cloud3000

Copy link
Copy Markdown
Owner

Summary

Grows tools/find.py's SEARCH_ALIASES from 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

  • Every entry verified to fire as an alias and resolve to >0 items.
  • Dropped shadowed/false-positive candidates — e.g. asset (substring of
    "Maintenance / Asset Management") and ar (falsely matched "warehouse").
  • Entity-first alias targets: a bare target like order now means the
    order entity, not the whole Sales category (fulfillment 637 → 289;
    sku/item → 188). Multi-word category targets (e.g. Quality Management)
    still fall through to the category lookup.

CI/ci_check green; CHANGELOG [Unreleased] updated.

🤖 Generated with Claude Code

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
cloud3000 merged commit 304ae1f into main Jun 27, 2026
1 check passed
@cloud3000
cloud3000 deleted the expand-aliases branch June 27, 2026 20:07
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant