Commit Graph

33 Commits

Author SHA1 Message Date
05d81efc8a feat(gtm): upgrade to v3.1 'Closing-Ready' engine (ROI fix, legal battlecards, senior report mode) 2026-01-20 09:09:37 +00:00
461972c0fc feat(gtm): Implement Meta-Framework for strategic analysis
Refactors the GTM orchestrator prompts (phases 2-9) to use a question-based strategic framework derived from the internal marketing blueprint. This new 'Meta-Framework' approach ensures strategic depth and prevents content pollution from irrelevant examples when analyzing new product categories.

- Updates orchestrator prompts in .
- Adds documentation in  explaining how to modify the new strategy logic.
- Includes minor fixes to the Node.js  and dependency updates in .
2026-01-14 15:34:15 +00:00
c4fcc990b0 Update: GTM Architect v2.6.2 (Edit Specs, Report Fix) & Company Explorer v0.4 (Export, Timestamps) 2026-01-09 09:15:16 +00:00
d07fbcb2cd fix(gtm): Fix white screen and implement URL persistence v2.6.1
- Fixed TypeError in SessionBrowser by adding defensive checks for the sessions array.
- Implemented mandatory URL persistence: The research URL is now saved in DB, shown in UI, and included in reports.
- Added 'Start New Analysis' button to the session browser for better UX flow.
- Updated documentation to reflect v2.6.1 changes.
2026-01-08 21:36:42 +00:00
e6dde59cdf feat(gtm): v2.5 - Hard Fact Extraction & UI
- Backend: Implemented secondary extraction phase for structured specs (JSON schema).

- Backend: Added strict normalization rules (min, cm, kg).

- Frontend: Added 'Phase1Data' interface update for specs.

- Frontend: Implemented new UI component for 'Technical Specifications' in Phase 1.

- Frontend: Updated header and sidebar to display 'v2.5' build marker.

- Docs: Updated architectural documentation.
2026-01-06 19:36:42 +00:00
aa1319856c feat(gtm): add aspect ratio & corporate design; fix(market): harden backend logging & json parsing 2026-01-05 11:42:15 +00:00
7cd90f77e3 feat(gtm): add responsive collapsible sidebar for mobile 2026-01-04 19:53:21 +00:00
8a575c1f29 docs: update migration guide with gemini versioning and model availability insights (v2.4) 2026-01-04 19:24:43 +00:00
04567d5f6a feat(gtm): improve phase 5 report rendering & update documentation to v2.3 2026-01-04 18:29:30 +00:00
5993c4af4a feat(gtm): add session history, database loading, and markdown file import 2026-01-04 17:29:20 +00:00
c3c5773ecc feat(gtm): upgrade to google-genai, fix image gen & frontend crash 2026-01-04 16:02:23 +00:00
bba45d83e0 Fix: Corrected image response handling in frontend and integrated mandatory Wackler Ecosystem logic into system prompts 2026-01-03 14:37:52 +00:00
c1dbd24c97 Fix: Redirect Python logs to stderr to prevent JSON corruption in stdout 2026-01-03 13:56:01 +00:00
f3438c5a38 Fix: Resolved E2BIG error by switching to file-based payload passing for large requests (images) 2026-01-03 13:44:18 +00:00
da8c78713f Fix: Implemented SVG fallback for image generation, enforced phase consolidation in report, and updated troubleshooting guide 2026-01-03 13:22:42 +00:00
fb667b23ea Fix: Resolved [object Object] report bug, enforced German output language across all phases, and documented troubleshooting steps 2026-01-03 13:01:32 +00:00
38b30a4fe1 Enhancement: Refined Phase 1 prompt for less granular features & updated migration guide with troubleshooting tips 2026-01-03 12:49:57 +00:00
571e05ed51 fix(config): Ensure API keys are loaded by orchestrator
- Reverts docker-compose.yml to use volume mount for gemini_api_key.txt, due to format constraints.
- Restores and refines Config.load_api_keys() in config.py.
- **Crucially, calls Config.load_api_keys() at the start of gtm_architect_orchestrator.py to ensure keys are loaded.**
- Adjusts _get_gemini_api_key in helpers.py to prioritize keys from Config.API_KEYS.
- This definitively addresses the 'API Key missing' error by guaranteeing key initialization.
2026-01-03 09:33:33 +00:00
708c2f423f fix(debug): Add version info and API key debugging
- Adds a version and timestamp to the orchestrator's startup logs to verify code deployment.
- Introduces extensive debug logging in config.py and helpers.py to trace the API key loading process, including exact file paths and environment variable checks. This will help diagnose the persistent 'API Key missing' error.
2026-01-03 09:06:00 +00:00
c356f9a990 feat(gtm-architect): Finalize migration and implement web scraping
- Refactors the gtm-architect Dockerfile for a flat, more efficient build process.
- Implements robust web scraping via BeautifulSoup in helpers.py for URL analysis in phase1.
- Makes shared library imports (gspread, pandas, etc.) in helpers.py optional to prevent ModuleNotFoundErrors in microservices.
- Implements the main execution logic in the orchestrator to handle command-line arguments.
- Updates documentation to reflect the new architecture, scraping feature, and dependency handling.
2026-01-03 08:43:53 +00:00
8439a7fb10 Refactor GTM Architect to v2: Python-driven architecture, 9-phase process, new DB and Docker setup 2026-01-02 19:00:05 +00:00
8475fe5807 Fix GTM Architect: Robust prompt syntax, Gemini API migration, Docker logging 2026-01-01 22:39:43 +00:00
9091b1d14c fix(gtm-architect): Stabilize Docker environment and fix frontend
- Refactor Docker build process for gtm-app to ensure reliability
- Correct volume mounts and build context in docker-compose.yml to prevent stale code
- Fix frontend 404 error by using relative paths in index.html
- Ensure API key is correctly mounted into the container
- Stabilize Node.js to Python data passing via explicit --data argument
- Update gtm_architect_documentation.md with extensive troubleshooting guide
2026-01-01 08:36:48 +00:00
7a3a92f635 fix(gtm): Implement ultimate prompt robustness, version logging, and final doc update 2025-12-31 15:34:45 +00:00
64d6970e69 fix(gtm): Ultimate prompt syntax robustness, add versions to logs, update migration docs 2025-12-31 15:26:23 +00:00
0d02072eb6 fix(gtm): Final robust prompt construction to eliminate SyntaxError and update migration guide 2025-12-31 15:04:45 +00:00
be4cd3365b fix(gtm): Resolve SyntaxError in multi-line prompt by changing "2. " to "2) " numbering 2025-12-31 14:55:06 +00:00
1434f719b6 fix(gtm): Final syntax fix for dictionaries and f-strings 2025-12-31 14:30:02 +00:00
a6e5c7df7f fix(gtm): Correct dictionary merge syntax error and add debug logging 2025-12-31 14:27:04 +00:00
bfaf274051 fix(gtm): Replace risky ternary operators in f-strings with explicit if/else blocks to fix SyntaxError 2025-12-31 14:23:45 +00:00
5c1f77ddbe fix(gtm): Resolve f-string SyntaxError and helpers.py incompatibility in orchestrator 2025-12-31 14:20:30 +00:00
9ee73f6229 fix(gtm): Remove unsupported 'system_message' arg from call_openai_chat calls and fix indentation 2025-12-31 14:11:25 +00:00
f88a13f38e feat(gtm-architect): Integrate GTM Architect app with Python backend, DB persistence, and Docker stack 2025-12-31 12:38:28 +00:00