Commit Graph

22 Commits

Author SHA1 Message Date
8894f086c9 feat(company-explorer-integration): Implement Company Explorer Connector and Lead Engine Sync [2f988f42]\n\nIntegrates the Company Explorer API into the Lead Engine workflow, allowing for robust company existence checks, creation, and asynchronous enrichment.\n\n- Introduced as a central client wrapper for the Company Explorer API, handling find-or-create logic, discovery, polling for website data, and analysis triggers.\n- Updated to utilize the new connector for syncing new leads with the Company Explorer.\n- Added for comprehensive unit testing of the connector logic.\n- Created as a demonstration script for the end-to-end integration.\n- Updated to document the new client integration architecture pattern.\n\nThis enhances the Lead Engine with a reliable mechanism for company data enrichment. 2026-02-01 19:55:12 +00:00
d67245c50a feat(reporting): Implement 'Report Mistake' feature with API and UI [2f388f42] 2026-01-27 09:12:50 +00:00
194f95f726 docs: restore and enhance MIGRATION_PLAN.md with full history and lessons learned 2026-01-24 14:06:56 +00:00
31e1a5fc08 fix(classification): restore service logic and standardization formula
- Restored missing method implementations in ClassificationService (classify, extract_metrics)
- Fixed Standardization Logic not being applied in metric cascade
- Bumped version to v0.7.4 in config.py
- Removed duplicate API endpoint in app.py
- Updated MIGRATION_PLAN.md
2026-01-24 13:34:04 +00:00
57360496f8 feat(Explorer): Enhance metric extraction, source transparency, and UI display
- **Standardization & Formula Logic:** Fixed NameError/SyntaxError in formula parser; added support for comments and capitalized placeholders.
- **Source URL Tracking:** Extended DB schema and cascade logic to store and track specific source URLs.
- **Frontend & UI:**
  - Added 'Standardized Potential' display in Inspector.
  - Added clickable source link with icon.
  - Fixed Settings tab layout collapse (flex-shrink-0).
- **Export Capabilities:**
  - Single-company JSON export now includes full quantitative metadata.
  - New global CSV export endpoint /api/companies/export.
- **System Integrity:**
  - Fixed Notion sync typo ('Stanardization').
  - Corrected Nginx proxy routing and FastAPI route ordering.
  - Ensured DB persistence via explicit docker-compose volume mapping.
2026-01-24 09:56:59 +00:00
5602f3b60a docs: consolidate metric parser fixes in migration plan 2026-01-23 21:46:04 +00:00
e43e129771 feat: robust metric extraction with confidence score and proof snippets
- fixed Year-Prefix Bug in MetricParser
- added metric_confidence and metric_proof_text to database
- added Entity-Check and Annual-Priority to LLM prompt
- improved UI: added confidence traffic light and mouse-over proof tooltip
- restored missing API endpoints (create, bulk, wiki-override)
2026-01-23 21:16:07 +00:00
c5652fc9b5 feat(app): Add wiki re-evaluation and fix wolfra bug
- Implemented a "Re-evaluate Wikipedia" button in the UI.

- Added a backend endpoint to trigger targeted Wikipedia metric extraction.

- Hardened the LLM metric extraction prompt to prevent hallucinations.

- Corrected several database path errors that caused data loss.

- Updated application version to 0.6.4 and documented the ongoing issue.
2026-01-23 16:05:44 +00:00
67c0f7322a docs(migration): finalize v0.7.0 documentation with backend fixes 2026-01-20 17:57:44 +00:00
4ff93cd8e6 feat(explorer): implement v0.7.0 quantitative potential analysis (cascade logic & metric extraction) 2026-01-20 16:38:05 +00:00
ea3d46f380 feat(explorer): add database migration script for industries schema 2026-01-20 15:38:20 +00:00
23b3e709b9 fix(explorer): resolve notion sync, add debug logging, and fix UI display for industries v0.6.1 2026-01-20 15:35:26 +00:00
d286ee989f docs: Update migration plan with Notion SSoT and refined prompt variables 2026-01-19 12:02:01 +00:00
ea87ace6e2 feat: Connect classification service to DB industries & update docs 2026-01-19 07:58:49 +00:00
6ad948e522 docs: Add core analysis prompts to migration plan 2026-01-19 07:44:23 +00:00
0f87ef192f docs: Restore missing content in migration plan 2026-01-19 07:38:37 +00:00
4a336f6374 fix(ce): Resolve database schema mismatch and restore docs
- Fixed a critical  in the company-explorer by forcing a database re-initialization with a new file (). This ensures the application code is in sync with the database schema.
- Documented the schema mismatch incident and its resolution in MIGRATION_PLAN.md.

- Restored and enhanced BUILDER_APPS_MIGRATION.md by recovering extensive, valuable content from the git history that was accidentally deleted. The guide now again includes detailed troubleshooting steps and code templates for common migration pitfalls.
2026-01-15 15:54:45 +00:00
4fcbbe3723 docs(ce): update country field and ui fix documentation 2026-01-15 10:33:32 +00:00
51143e06a6 docs(ce): update migration plan with industries and job role mapping specifications 2026-01-15 09:26:17 +00:00
4b815c6510 feat(ce): upgrade to v0.5.0 with contacts management, advanced settings and ui modernization 2026-01-15 09:23:58 +00:00
1b5a8e3b96 Docs: Update MIGRATION_PLAN.md to v0.4.0 with new features (Company Explorer) 2026-01-09 10:18:45 +00:00
95634d7bb6 feat(company-explorer): Initial Web UI & Backend with Enrichment Flow
This commit introduces the foundational elements for the new "Company Explorer" web application, marking a significant step away from the legacy Google Sheets / CLI system.

Key changes include:
- Project Structure: A new  directory with separate  (FastAPI) and  (React/Vite) components.
- Data Persistence: Migration from Google Sheets to a local SQLite database () using SQLAlchemy.
- Core Utilities: Extraction and cleanup of essential helper functions (LLM wrappers, text utilities) into .
- Backend Services: , ,  for AI-powered analysis, and  logic.
- Frontend UI: Basic React application with company table, import wizard, and dynamic inspector sidebar.
- Docker Integration: Updated  and  for multi-stage builds and sideloading.
- Deployment & Access: Integrated into central Nginx proxy and dashboard, accessible via .

Lessons Learned & Fixed during development:
- Frontend Asset Loading: Addressed issues with Vite's  path and FastAPI's .
- TypeScript Configuration: Added  and .
- Database Schema Evolution: Solved  errors by forcing a new database file and correcting  override.
- Logging: Implemented robust file-based logging ().

This new foundation provides a powerful and maintainable platform for future B2B robotics lead generation.
2026-01-07 17:55:08 +00:00