From 3969d045cc7f0f522a2eb6cb9949f26495e86c51 Mon Sep 17 00:00:00 2001 From: Andriy Oblivantsev Date: Thu, 23 Jul 2026 14:43:45 +0100 Subject: [PATCH] fix(oo): skip junk dirs in applications Discover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stop inventing CRM companies from node_modules/tools README trees. Only sync dossier-like folders (source-NNN-…) and invent Company from the slug token after the numeric id. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 046e3dd..5e6db65 100644 --- a/README.md +++ b/README.md @@ -751,7 +751,11 @@ oo applications sync --path ./applications/2026 --verbose oo applications sync --path ./applications/2026 --apply --verbose ``` -Each `README.md` is parsed for company, role, email, phone, LinkedIn, etc. +Each dossier `README.md` is parsed for company, role, email, phone, LinkedIn, etc. +Discovery walks `--path` and **skips** junk trees (`node_modules`, `tools`, `.venv`, +`pdfs`, …). Only folders that look like CV application slugs (`source-NNN-…`, or +long hyphenated dossiers) are synced — not npm package READMEs. + The sync creates or finds contacts, opens a deal, adds members, and appends a history note. Re-running is safe: duplicate members and duplicate deal titles are skipped when already present.