Commit Graph

53 Commits

Author SHA1 Message Date
11d2bc03bf [30e88f42] ✦ In dieser Sitzung haben wir den End-to-End-Test der SuperOffice-Schnittstelle erfolgreich von der automatisierten Simulation bis zum produktiven Live-Lauf
✦ In dieser Sitzung haben wir den End-to-End-Test der SuperOffice-Schnittstelle erfolgreich von der automatisierten Simulation bis zum produktiven Live-Lauf
  mit Echtdaten abgeschlossen.
2026-02-22 08:20:28 +00:00
e47aa383c7 Enhance: Address/VAT Sync & Infrastructure Hardening [30e88f42]
- Implemented Address (City) and VAT (OrgNumber) sync back to SuperOffice.
- Hardened Infrastructure: Removed Pydantic dependency in config for better Docker compatibility.
- Improved SuperOffice Client error logging and handled empty SO_ENVIRONMENT variables.
- Updated Matrix Generator: Switched to gemini-2.0-flash, added industry filtering, and robust JSON parsing.
- Updated Documentation with session findings and troubleshooting steps.
2026-02-21 21:26:57 +00:00
4d48b2689b Feat: End-to-End Test & Bidirectional Vertical Sync [30e88f42]
- Implemented comprehensive E2E test  covering full roundtrip and manual overrides.
- Enhanced  to detect manual Vertical changes in SuperOffice and sync them to Company Explorer.
- Updated  to handle industry overrides from CRM and auto-persist Person/Contact data for robust cascade updates.
2026-02-21 20:05:25 +00:00
f66df10d4d [2f988f42] 1. E2E-Test erfolgreich: Das neue Test-Skript (test_e2e_full_flow.py) hat den kompletten Prozess automatisiert verifiziert:
1. E2E-Test erfolgreich: Das neue Test-Skript (test_e2e_full_flow.py) hat den kompletten Prozess automatisiert verifiziert:
       * Provisionierung: Anlage eines Test-Unternehmens ("Klinikum Landkreis Erding (E2E Test)") über die API.
       * Discovery & Analyse: Das System hat die Website gefunden, gescrapt und die Branche ("Healthcare - Hospital") korrekt
         klassifiziert.
       * Fehlerbehebung (Crash-Fix): Während des Tests wurde ein kritischer AttributeError im Backend identifiziert (Absturz bei
         fehlenden Einheiten) und von mir behoben. Seitdem läuft die Analyse ohne Unterbrechung durch.
       * Opener-Generierung: Es wurden erfolgreich zwei hoch-personalisierte Einleitungssätze (Primary & Secondary Opener) generiert.
       * SuperOffice-Payload: Der finale Abgleich lieferte die korrekte Rolle ("Wirtschaftlicher Entscheider") für den
         "Geschäftsführer" zurück.
2026-02-21 10:32:50 +00:00
45acbeefb9 [2f988f42] fix(company-explorer): Implement robust quantitative potential and atomic opener generation\n\n- Refactored ClassificationService for two-stage metric extraction (direct area and proxy).- Enhanced MetricParser for targeted value matching and robust number parsing.- Implemented persona-specific 'Atomic Opener' generation using segmented pains.- Fixed logging configuration and Pydantic response models.- Added dedicated debugging script and updated documentation (GEMINI.md, MIGRATION_PLAN.md). 2026-02-21 08:05:04 +00:00
250ff4d97f [2ff88f42] feat(GTM-Engine): Add final test and trigger scripts 2026-02-20 16:41:56 +00:00
0143dba33e [2ff88f42] fix(test): Isolate opener test with proper mocking 2026-02-20 16:17:39 +00:00
c1e164b180 [2ff88f42] fix(test): Enhance mock data for opener test 2026-02-20 16:16:14 +00:00
23d0c695d6 [2ff88f42] feat(GTM-Engine): Implement Dual Opener Strategy & Harden Analysis
Completed the GTM engine setup:\n\n- Implemented 'Dual Opener' generation (Primary/Secondary) in ClassificationService.\n- Migrated DB to support two opener fields.\n- Updated API and Frontend to handle and display both openers.\n- Fixed bug creating duplicate website_scrape entries.\n- Hardened metric extraction by improving the LLM prompt and adding content length checks.
2026-02-20 15:38:06 +00:00
101f67936a [2ff88f42] einfügen
einfügen
2026-02-20 13:25:21 +00:00
653bd79e1f [2ff88f42] Finalize Verticals Pains/Gains in Notion & Update Docs
Updated all Notion Verticals with sharpened Pains/Gains based on internal strategy (Ops vs Infra focus). Updated SuperOffice Connector README to reflect the 'Static Magic' architecture.
2026-02-20 13:24:13 +00:00
027d114d08 [2ff88f42] Finalize SuperOffice Integration: Enhanced Persona model with Influencer role, switched Matrix Generator to Gemini, implemented Noise Reduction for Webhooks, and added E2E test scenarios. 2026-02-20 10:55:57 +00:00
a54d8b9c4e [2ff88f42] multiplikation vorbereitet
multiplikation vorbereitet
2026-02-19 20:59:04 +00:00
6ba6d71dc6 [2ff88f42] Full End-to-End integration: Webhooks, Auto-Enrichment, Notion-Sync, UI updates and new Connector Architecture 2026-02-19 16:13:16 +00:00
Moltbot-Jarvis
10a94165ae fix: Restore cron script update_projects_cache 2026-02-18 11:45:44 +00:00
Moltbot-Jarvis
35a3cbf9e7 refactor(frontend): Relocate Pains/Gains to Settings, add CRM view to Inspector 2026-02-18 11:33:39 +00:00
Moltbot-Jarvis
1f360c5807 feat: Frontend Inspector Upgrade (CRM & Strategy View) 2026-02-18 10:22:20 +00:00
Moltbot-Jarvis
536fdf0988 fix: Correct DB path in migration script 2026-02-18 10:02:20 +00:00
Moltbot-Jarvis
162eca91c1 feat: Restore CE backend changes and scripts 2026-02-18 09:36:43 +00:00
Moltbot-Jarvis
96f117ddf9 feat: Documentation and Tool Config Update 2026-02-18 09:12:04 +00:00
Moltbot-Jarvis
02128a74ab feat: Enhanced CE schema and Notion sync (Pains/Gains) 2026-02-17 19:44:42 +00:00
Jarvis
07ba8c5038 Fix another indentation issue in update_company_industry 2026-01-30 14:05:56 +00:00
Jarvis
7805514e53 Fix IndentationError in app.py 2026-01-30 14:04:40 +00:00
Jarvis
a749fb7510 Fix syntax error in app.py 2026-01-30 13:58:42 +00:00
3a6349eca5 [2f888f42] Container neu bauen und testne
Container neu bauen und testne
2026-01-30 11:55:37 +00:00
e419f4eb4b [2f388f42] Implementierung der UI-Anpassungen zur Anzeige von ausstehenden Fehlerberichten (rote Flagge in der Unternehmensliste, Anzeige im Inspector) und zur Ermöglichung weiterer Fehlerberichte. Backend-APIs wurden entsprechend erweitert.
Implementierung der UI-Anpassungen zur Anzeige von ausstehenden Fehlerberichten (rote Flagge in der Unternehmensliste, Anzeige im Inspector) und zur Ermöglichung weiterer Fehlerberichte. Backend-APIs wurden entsprechend erweitert.
2026-01-27 11:18:36 +00:00
cb63df28af feat(reporting): Implement 'Report Mistake' feature with API and UI [2f388f42] 2026-01-27 09:12:50 +00:00
4afadc2c26 fix(transcription): [2f388f42] finalize and fix AI insights feature
This commit resolves all outstanding issues with the AI Insights feature.

- Corrects the transcript formatting logic in  to properly handle the database JSON structure, ensuring the AI receives the correct context.
- Fixes the Gemini API client by using the correct model name ('gemini-2.0-flash') and the proper client initialization.
- Updates  to securely pass the API key as an environment variable to the container.
- Cleans up the codebase by removing temporary debugging endpoints.
- Adds  script for programmatic updates.
- Updates documentation with troubleshooting insights from the implementation process.
2026-01-26 08:53:13 +00:00
83a417fc9a 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
5670660907 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
384e03e9da docs: added regression tests for metric parser and documented them in GEMINI.md 2026-01-23 21:45:02 +00:00
7eaa3148ca fix: removed aggressive string splitting on dashes which truncated sentences and hid metrics (Greilmeier bug) 2026-01-23 21:39:43 +00:00
a95e4781fb fix: metric parser now aggressively cleans expected_value to handle units (e.g. '8.000 m²') 2026-01-23 21:26:24 +00:00
5721c05688 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
b4595ef974 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
30639561d0 fix(explorer): resolve initialization and import errors for v0.7.0 backend 2026-01-20 17:11:31 +00:00
103287c12b feat(explorer): implement v0.7.0 quantitative potential analysis (cascade logic & metric extraction) 2026-01-20 16:38:05 +00:00
76d801c1d6 feat(explorer): add database migration script for industries schema 2026-01-20 15:38:20 +00:00
eacd572124 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
2fb9e6b552 fix: Update Notion sync logic to handle existing records and avoid unique constraint errors 2026-01-19 11:37:55 +00:00
dbdd157696 fix: Restore previous DB, migrate schema, mount Notion token 2026-01-19 11:34:24 +00:00
b74b834212 feat: Implement Notion sync for Industries and Robotics Categories 2026-01-19 11:28:08 +00:00
8bdc9983e6 feat: Connect classification service to DB industries & update docs 2026-01-19 07:58:49 +00:00
86f9962199 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
f1de20b5b5 feat(ce): upgrade to v0.5.0 with contacts management, advanced settings and ui modernization 2026-01-15 09:23:58 +00:00
b0ffc29eb2 Docs: Update MIGRATION_PLAN.md to v0.4.0 with new features (Company Explorer) 2026-01-09 10:18:45 +00:00
9636260477 fix(company-explorer): handle inconsistent LLM list responses in scraper
- Added logic to automatically flatten list-wrapped JSON responses from LLM in Impressum extraction.
- Fixed 'Unknown Legal Name' issue by ensuring property access on objects, not lists.
- Finalized v0.3.0 features and updated documentation with Lessons Learned.
2026-01-08 16:14:01 +01:00
44b78bd6b6 fix(company-explorer): enhance impressum scraping debug logging
- Increased logging verbosity in  to track raw input to LLM and raw LLM response.
- This helps diagnose why Impressum data extraction might be failing for specific company websites.
2026-01-08 16:14:01 +01:00
725ba3a096 feat(company-explorer): force-refresh analysis and refine extraction logic
- Enforced fresh scrape on 'Analyze' request to bypass stale cache.
- Implemented 2-Hop Impressum scraping strategy (via Kontakt page).
- Refined numeric extraction for German locale (thousands separators).
- Updated documentation with Lessons Learned.
2026-01-08 16:14:01 +01:00
e684f33bed feat(company-explorer): bump version to 0.3.0, add VAT ID extraction, and fix deep-link scraping
- Updated version to v0.3.0 (UI & Backend) to clear potential caching confusion.
- Enhanced Impressum scraper to extract VAT ID (Umsatzsteuer-ID).
- Implemented 2-Hop scraping strategy: Looks for 'Kontakt' page if Impressum isn't on the start page.
- Added VAT ID display to the Legal Data block in Inspector.
2026-01-08 16:14:01 +01:00