Commit Graph

68 Commits

Author SHA1 Message Date
04c7c9fc6c Finalize SuperOffice production migration and multi-campaign architecture (v1.8) 2026-02-27 15:09:52 +00:00
a1738e83c5 [2ff88f42] Feat: Verticals-Update (Transkript 2) & Dev-Toolbox Establishment
- Aktualisierung der Pains/Gains für Energy, Retail und Tech in der lokalen DB.
- Ergänzung von Secondary Products für Energy & Tech.
- Aufbau eines permanenten Werkzeugkastens unter /app/devtools/ für DB- & Notion-Tasks.
- Verifikation der manuellen Notion-Änderungen mittels neuer Maintenance-Skripte.
2026-02-24 18:52:09 +00:00
7c82e4b5d7 feat: Implement unsubscribe link for marketing automation [31188f42]
This commit introduces a new unsubscribe feature to allow contacts to opt-out
from marketing automation.

Key changes include:
- Database schema migration: Added  (UUID) to the  model.
- Data population: Implemented a script to assign unique tokens to existing contacts.
- API endpoint: Created a public GET  endpoint to handle opt-out requests.
- Automation: New contacts automatically receive an unsubscribe token upon creation.
- Integration: The full unsubscribe link is now returned via the provisioning API
  for storage in SuperOffice UDFs (ProgID: SuperOffice:9).
- Documentation: Updated  and
  to reflect the new feature and its integration requirements.
- Added  for quick overview and next steps.
2026-02-24 12:18:13 +00:00
0c7088e5fd [31188f42] einfügen
einfügen
2026-02-24 08:40:38 +00:00
bfb96118b0 [2ff88f42] einfügen
einfügen
2026-02-24 07:13:49 +00:00
e39c745a78 [31188f42] einfügen
einfügen
2026-02-24 06:47:35 +00:00
1a693750c2 feat(opener): Optimiere Atomic Opener für Prägnanz und Direktheit [2ff88f42]
Überarbeite den Prompt für die Generierung der Atomic Opener.
Die Opener werden nun auf genau zwei Sätze begrenzt, um Prägnanz zu gewährleisten.
Der Ton ist faktenbasierter und leitet direkter zu den operativen Herausforderungen über,
anstatt generische Lobhudelei zu verwenden.
2026-02-23 13:55:32 +00:00
4a1f392c40 feat(marketing-matrix): Optimiere Intro-Texte für bessere Relevanz [2ff88f42]
Überarbeite den Prompt für die Generierung von Intro-Texten in der Marketing Matrix.
Das Intro beginnt nun direkt mit der branchenspezifischen Produktkategorie und dem zentralen Nutzen,
anstatt die Herausforderung zu wiederholen. Dies verbessert die Prägnanz und Relevanz der E-Mails.
2026-02-23 13:55:32 +00:00
f3fab63cc0 [2ff88f42] Finalize Pains & Gains Phase 2 + Matrix Engine v3.2 (Ops Secondary Logic) 2026-02-23 10:53:13 +00:00
6d778c90bb [2ff88f42] Implement Ops-Secondary Logic & Matrix Gen v3.2 2026-02-23 10:45:12 +00:00
22bd9de971 [2ff88f42] Add update_verticals_phase2.py for Notion Pains & Gains update 2026-02-23 10:08:43 +00:00
a4f3532028 docs: update MIGRATION_PLAN and add phase 1 update script [2ff88f42] 2026-02-23 07:37:53 +00:00
bea257d37b docs: add deep-dive analysis of notion verticals and check script [2ff88f42] 2026-02-23 07:09:28 +00:00
a821d232c3 [30f88f42] einfügen
einfügen
2026-02-22 19:22:39 +00:00
8e39333267 [30e88f42] Einfügen
Einfügen
2026-02-22 14:31:00 +00:00
d8dc37fa91 [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
b41b6c38b8 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
1acdad9923 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
746feda028 [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
cf7cac2819 [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
ec959bd691 [2ff88f42] feat(GTM-Engine): Add final test and trigger scripts 2026-02-20 16:41:56 +00:00
57fb536d7a [2ff88f42] fix(test): Isolate opener test with proper mocking 2026-02-20 16:17:39 +00:00
1a9e68a0f7 [2ff88f42] fix(test): Enhance mock data for opener test 2026-02-20 16:16:14 +00:00
30529b2b13 [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
a6447da149 [2ff88f42] einfügen
einfügen
2026-02-20 13:25:21 +00:00
0b64b1fd49 [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
c58707cc1e [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
d64189ef5f [2ff88f42] multiplikation vorbereitet
multiplikation vorbereitet
2026-02-19 20:59:04 +00:00
a39efeb5b1 [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
067e672bff fix: Restore cron script update_projects_cache 2026-02-18 11:45:44 +00:00
Moltbot-Jarvis
c1b9308c05 refactor(frontend): Relocate Pains/Gains to Settings, add CRM view to Inspector 2026-02-18 11:33:39 +00:00
Moltbot-Jarvis
75deb72525 feat: Frontend Inspector Upgrade (CRM & Strategy View) 2026-02-18 10:22:20 +00:00
Moltbot-Jarvis
fe8e1aad14 fix: Correct DB path in migration script 2026-02-18 10:02:20 +00:00
Moltbot-Jarvis
ec9b56d45b feat: Restore CE backend changes and scripts 2026-02-18 09:36:43 +00:00
Moltbot-Jarvis
bdbfaa470e feat: Documentation and Tool Config Update 2026-02-18 09:12:04 +00:00
Moltbot-Jarvis
f3cf366a6a feat: Enhanced CE schema and Notion sync (Pains/Gains) 2026-02-17 19:44:42 +00:00
Jarvis
e4b01218b3 Fix another indentation issue in update_company_industry 2026-01-30 14:05:56 +00:00
Jarvis
a61865cdd8 Fix IndentationError in app.py 2026-01-30 14:04:40 +00:00
Jarvis
027e5fb3a7 Fix syntax error in app.py 2026-01-30 13:58:42 +00:00
30b3042e85 [2f888f42] Container neu bauen und testne
Container neu bauen und testne
2026-01-30 11:55:37 +00:00
a4f9f522bf [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
45b5ec2d3f feat(reporting): Implement 'Report Mistake' feature with API and UI [2f388f42] 2026-01-27 09:12:50 +00:00
9019a801ed 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
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
5de7d38fcb docs: added regression tests for metric parser and documented them in GEMINI.md 2026-01-23 21:45:02 +00:00
13119b0e8a fix: removed aggressive string splitting on dashes which truncated sentences and hid metrics (Greilmeier bug) 2026-01-23 21:39:43 +00:00
f3ca139d85 fix: metric parser now aggressively cleans expected_value to handle units (e.g. '8.000 m²') 2026-01-23 21:26:24 +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