Commit d417e2a
fix(crm-starter-export): deal-tolerant matcher, audited — trims and prefixes with guardrails
The tracker names deals, not orgs; the matcher now tolerates the
decorations (slash-splits, ': <date>' suffixes, progressive right-trim
with exact-match-only acceptance, unique-prefix rescue). The fuzzy-audit
pass caught one real false positive — bare "james" (5 chars)
prefix-matched james-and-judith-k-dimon-foundation — so single-token
prefixes now need brand-length distinctiveness (≥8 chars: bloomberg
matches, first names don't) and multi-token ≥5.
Final run: 75/96 pipeline rows matched (29 exact + 46 fuzzy, all
flagged for operator review), 21 to the sidecar as the operator's
triage list. Alias-driven oddities (jed-foundation carries alias
"todd-fisher") left untouched and flagged — canonical-layer data is not
the matcher's to edit.
Files changed:
- scripts/export-crm-orgs-csv.mjs
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RW28dw3kQAKXr2ZNefCukE1 parent 87f6e0c commit d417e2a
1 file changed
Lines changed: 44 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
175 | 218 | | |
176 | 219 | | |
177 | 220 | | |
178 | 221 | | |
179 | 222 | | |
180 | | - | |
| 223 | + | |
181 | 224 | | |
182 | 225 | | |
183 | 226 | | |
| |||
0 commit comments