Spaces:
Sleeping
Sleeping
Commit History
-
Sync from GitHub main — ERP priority, WMCA/Shropshire watchlist, network preserve-owners fix (a7395ea)
Verified signaturea87217c
-
Prefer movement-tracking sheet + fix flag-column shadowing
Piers Lyon +1: Claude Opus 4.7 (1M context)The auto-detector previously picked "Old Data" (35k rows) over "New Data" (32k rows) because it tied on Owner and broke the tie by row count. But "New Data" has the Position Change? / Company Change? / Old Company / New Company columns that drive MOVERS and PROMOTED signals — without those, every connection imports as ACTIVE and the movement-based outreach signals are dead. - network_loader.convert_xlsx_to_csv: add a third priority tier in the sheet scorer for sheets that have BOTH Owner AND movement- tracking columns. New Data wins over Old Data. - COLUMN_MAPPINGS: reorder new_company / new_position aliases so the flag-style columns ("Company Change?", "Position Change?") are matched before "New Company" / "New Position" — which are TEXT columns in the master sheet (the new role title / new employer), not Y/N flags. Without this fix, find_column returned the text column and is_yes() of "Senior Programme Manager" evaluated False, leaving movers=0 even on the right she…6996241 -
Fix Network upload: sheet auto-detection + always-visible toast
Piers Lyon +1: Claude Opus 4.7 (1M context)The Curium master connections workbook contains 16 sheets (Old Data, New Data, dropdowns, message templates, pivot tables…). The previous XLSX converter used `wb.active` which returns whichever sheet was active when the file was last saved — often a pivot or template sheet with no connection data. The import then succeeded with 0 rows and the user got "0 connections loaded" with no feedback. network_loader.py - convert_xlsx_to_csv: scan every sheet, pick the one with the connection-data header signature (Company + Position + name/owner columns), prefer ones with an Owner column, then largest row count. Falls back to wb.active if nothing matches. Also handles preamble rows before the actual header row. - COLUMN_MAPPINGS: drop 'First Name' from the full_name aliases — it short-circuited the proper First+Last combine when only the separate columns existed. Add 'Company Change?' / 'Position Change?' as aliases for the team's master sheet conventions. - load_master_csv: stash…35db415
-
Refactor into multipage Streamlit app with new intelligence features
Piers Lyon +1: Claude Opus 4.6Split monolithic app.py into multipage architecture with dedicated pages for Dashboard, Approach Brief, Tenders, Councils, LinkedIn Hub, Intelligence Query, and Source Health. Extract shared UI components into ui_components.py. Add AI query engine (query_engine.py) for natural-language lookups and LinkedIn activity generator (linkedin_activity.py) for daily engagement playbooks. Remove deprecated cqc_radar.py. Expand config.yaml with new source definitions and enhance collator, email engine, network loader, hunter, and LinkedIn modules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b8f40ca
-
Fix LinkedIn URL resolution and add proactive senior contact scanning
Piers Lyon +1: Claude Opus 4.6The CSS selector `a.app-aware-link` no longer exists in LinkedIn's DOM, causing all URL resolutions to silently fail and cache empty results. Replaced with broad `a` tag search for `/in/` links. Also replaced fragile CSS-based degree/mutual extraction with text-based regex. Added Priority 2 scanning: proactively targets senior HR/People/Culture/ Transformation contacts (CHROs, Heads of People, etc.) from the 30k+ network regardless of existing company signals. Enhanced company fuzzy matching with 3-strategy approach (exact normalized, first-word LIKE, raw name LIKE). Added XLSX support to network loader, expanded news trigger keywords, and LinkedIn group post scraping via Google dorking. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>6531129
-
Add annual report text mining and CQC inspection triggers
Piers Lyon +1: Claude Opus 4.6Add two new high-value data sources to the sales intelligence tool: 1. Annual Report Text Mining - downloads annual reports from Companies House, extracts text (XHTML/PDF), and uses Claude to identify transformation signals (restructuring, leadership changes, strategy shifts, culture programmes) 2. CQC Inspection Triggers - monitors Care Quality Commission ratings for healthcare organisations rated "Requires Improvement" or "Inadequate", which typically trigger transformation programmes Both sources integrate into the existing scoring engine with combo bonuses (report+job, CQC+job) and display in new dashboard tabs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>aa0f1ab