Commit 11a8732
feat(crm-starter-export): --include for operator-directed org rows; person-anchored deals resolve via org aliases
Two operator rulings from the triage pass land as mechanism:
--include <slugs>: canonical orgs appended to the pipeline-scoped export
as their own rows (enrichment filled, pipeline columns blank,
pipeline_matched 'manual'). First use: raise-us — the org behind the
person-anchored "Blair Miller" deal row.
Person-anchored deal rows resolve by aliasing the org with the person's
name forms — "Judy Dimon"/"Judith Dimon" now alias
james-and-judith-k-dimon-foundation (via resolver.update_org, so the
export needs no special case and every future run matches). Same pattern
the todd-fisher alias on jed-foundation pioneered.
Run: 97 org rows (75 matched + raise-us manual), 20-row sidecar,
76 people incl. Blair Miller → raise-us and Judith Dimon → the Dimon
foundation.
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 d417e2a commit 11a8732
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
275 | 280 | | |
276 | 281 | | |
277 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
278 | 301 | | |
279 | 302 | | |
280 | 303 | | |
| |||
0 commit comments