Commit Graph

1693 Commits

Author SHA1 Message Date
bb918a8839 feat(timetracking): Implement automatic time tracking for dev sessions
This commit introduces a time tracking feature for development sessions managed by .

Key changes:
- **Extended Notion Helpers:** Added new functions (get_page_number_property, get_page_date_property) to read numerical and date values from Notion. Refactored the status update function to a generic  to handle various field types.
- **Session Start Time:** A timestamp (session_start_time) is now saved in the  file when a session starts.
- **Automatic Time Calculation:** The time elapsed since  is calculated when the  command is executed.
- **Incremental Duration:** The calculated duration is added to the existing 'Total Duration h' property of the Notion task, and the result is written back to Notion.
- **Continuous Tracking:** The  is reset to the current time after each report to accurately track the next work unit in the same session.

Fixes [2f488f42]
2026-01-26 18:39:51 +00:00
e57aa374ea fix(transcription): Behebt Start- und API-Fehler in der App [2f488f42] 2026-01-26 14:15:23 +00:00
eb3f77f092 feat(notion): Append status reports directly to page content
- Replaces the Notion update mechanism to append content blocks to the task page instead of posting comments.
- A new function, , is implemented to handle the Notion Block API.
- The  function now formats the report into a 'heading_2' block for the title and a 'code' block for the detailed content, preserving formatting.
- This provides a much cleaner and more readable changelog directly within the Notion task description.
2026-01-26 13:16:52 +00:00
b396e54080 feat(transcription): add share button to detail view [2f488f42] 2026-01-26 13:07:45 +00:00
c4baf68595 refactor(workflow): Enhance Notion reporting and context awareness
- Adds a '--summary' parameter to dev_session.py to allow for detailed, narrative descriptions in Notion status updates.
- The Notion comment format is updated to prominently display this summary.

- start-gemini.sh is refactored to be more robust and context-aware.
- It now injects the container name and a strict rule against nested docker commands into the Gemini CLI's initial prompt.
- This prevents operational errors and provides better context for the agent.
2026-01-26 12:51:53 +00:00
0a1be647c4 feat(transcription): add download transcript as txt button
[2f488f42]
2026-01-26 12:36:58 +00:00
01e5ae8b5c feat(dev_session): Add agent-driven Notion status reporting
Implements the  functionality in , allowing the Gemini agent to non-interactively update a Notion task with a detailed progress summary.

The agent can now be prompted to:
- Collect the new task status and any open to-dos.
- Generate a summary of Git changes () and commit messages.
- Post a formatted report as a comment to the Notion task.
- Update the task's status property.

The  has been updated to document this new agent-centric workflow, detailing how to start a session, work within it, and use the agent to report progress and push changes seamlessly.
2026-01-26 12:24:26 +00:00
adafab61ae 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
771b06c1bc feat(transcription): [2f388f42] integrate prompt database and AI insights
Implements the core functionality for the AI-powered analysis of meeting transcripts in the Transcription Tool.

This commit introduces a new 'AI Insights' feature that allows users to generate various summaries and analyses from a transcript on demand.

- Creates a  to manage and version different AI prompts for tasks like generating meeting minutes, extracting action items, and creating sales summaries.
- Adds a new  responsible for orchestrating the analysis process: fetching the transcript, calling the Gemini API with the appropriate prompt, and caching the results in the database.
- Extends the FastAPI backend with a new endpoint  to trigger the insight generation.
- Updates the React frontend () with a new 'AI Insights' panel, including buttons to trigger the analyses and a modal to display the results.
- Updates the documentation () to reflect the new features, API endpoints, and version.
2026-01-26 07:43:24 +00:00
01c4968ddf refactor(dev-session): Entkopplung der Gemini CLI
Ändert die Architektur des -Systems, um die Stabilität der Gemini CLI zu verbessern.

Die Gemini CLI wird nicht mehr als direkter Unterprozess von  gestartet. Stattdessen gibt  den generierten Kontext auf stdout aus, und das -Skript fängt ihn ab und startet die CLI in einem sauberen, separaten Container.

- ****: Entfernt die Funktion  und gibt den Kontext stattdessen über stdout aus.
- ****: Führt jetzt einen zweistufigen Prozess aus. Zuerst wird der Kontext von  in einem temporären Container abgerufen und dann die Gemini CLI in einem neuen Container mit dem Kontext als  gestartet.
- ****: Dokumentation aktualisiert, um die neue Architektur widerzuspiegeln.
2026-01-25 19:40:26 +00:00
125080a0ba feat(dev-session): Containerize dev session manager
This commit introduces a containerized workflow for the development session manager (dev_session.py).

- Dockerization: Added gemini.Dockerfile to create a self-contained environment with all Python dependencies, removing the need for manual host setup.
- Start Script: Updated start-gemini.sh to build and run the container, executing dev_session.py as the entrypoint.
- Session Management: Implemented --done flag to properly terminate a session, update the Notion task status, and clean up the git hook.
- Notion Integration: Created and integrated notion_commit_hook.py which is automatically installed/uninstalled to post commit messages to the active Notion task.
- Documentation: Updated README_dev_session.md to reflect the new container-based setup, usage, and features.
2026-01-25 19:22:18 +00:00
a353c2d23d [2f388f42] Chore: Add python-dotenv and configure dev_session.py to load environment variables 2026-01-25 11:26:59 +00:00
01ae937f6e [2f388f42] Feature: Dynamically load Readme paths from Notion projects, update tasks and Notion_Dashboard. Refactor dev_session.py and remove old strategy documents. 2026-01-25 11:10:51 +00:00
7615a1c58b feat(dev-session): Add README.md for dev_session.py [2f388f42]
This commit introduces a comprehensive README.md for the dev_session.py script.
The documentation covers the purpose, features, usage, installation, and important notes for the Notion-integrated development session manager.
It also clarifies the Git branch naming convention suggested by the tool.

The creation of this README.md fulfills task [2f388f42].
2026-01-25 10:38:18 +00:00
281014de43 feat(transcription): v0.5.0 with global speaker management and trimming
- Backend: Added global speaker rename endpoint
- Backend: Hardened JSON parsing and timestamp offsets
- Frontend: Integrated Speaker Management Bar
- Frontend: Added Trim Start/End (Scissors) and Single Line Delete
- Frontend: Fixed various TypeScript and Syntax issues
- Docs: Full documentation of v0.5.0 features
2026-01-24 21:26:01 +00:00
68f263978a feat(transcription): v0.4.0 with structured json, inline editing and deletion
- Backend: Switched prompt to JSON output for structured data
- Backend: Added PUT /chunks/{id} endpoint for persistence
- Backend: Fixed app.py imports and initialization logic
- Frontend: Complete rewrite for Unified View (flattened chunks)
- Frontend: Added Inline Editing (Text/Speaker) and Row Deletion
- Docs: Updated TRANSCRIPTION_TOOL.md with v0.4 features
2026-01-24 20:43:33 +00:00
4e52e194f1 feat(transcription): add meeting assistant micro-service v0.1.0
- Added FastAPI backend with FFmpeg and Gemini 2.0 integration
- Added React frontend with upload and meeting list
- Integrated into main docker-compose stack and dashboard
2026-01-24 16:34:01 +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
01985aca33 fix(UI): Remove duplicate standardized potential block in Inspector 2026-01-24 12:07: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
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
d8665697b2 feat(Notion): Refactor product DBs for GTM strategy
- Implements a 3-tier database architecture (Canonical Products, Portfolio, Companies) to separate product master data from company-specific portfolio information.

- Upgrades import_competitive_radar.py to an intelligent "upsert" script that prevents duplicates by checking for existing entries before importing.

- This enables detailed GTM strategy tracking for RoboPlanet products while monitoring competitor portfolios.

- Updates documentation to reflect the new architecture and import process.
2026-01-22 20:33:55 +00:00
67c0f7322a docs(migration): finalize v0.7.0 documentation with backend fixes 2026-01-20 17:57:44 +00:00
a33a60f462 fix(explorer): resolve initialization and import errors for v0.7.0 backend 2026-01-20 17:11:31 +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
7624bc9531 fix(content): implement state refresh on update to prevent data loss on tab switch 2026-01-20 15:35:33 +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
f68562d20c docs(content): update README with v1.0 features and lessons learned 2026-01-20 14:05:53 +00:00
41e60c72bc feat(content): implement Content Engine MVP (v1.0) with GTM integration 2026-01-20 12:45:59 +00:00
401ad7e6e8 feat(dashboard): add Content Engine concept and dashboard link 2026-01-20 11:24:17 +00:00
ea21687c0f feat(gtm): upgrade to v3.1 'Closing-Ready' engine (ROI fix, legal battlecards, senior report mode) 2026-01-20 09:09:37 +00:00
d4b51c4210 docs: Revert unnecessary changes in migration guide 2026-01-19 16:28:04 +00:00
d286ee989f docs: Update migration plan with Notion SSoT and refined prompt variables 2026-01-19 12:02:01 +00:00
66508a28d7 docs: Update allowed_industries description in migration guide to reflect DB source 2026-01-19 11:57:51 +00:00
5801ddc797 fix(ui): Remove unused handlers to fix Typescript build 2026-01-19 11:54:12 +00:00
46b59d4411 fix(ui): Escape '>' in JSX to fix build error 2026-01-19 11:52:38 +00:00
bbefb36f47 feat(ui): Update Industries settings to display Notion-synced fields read-only 2026-01-19 11:51:07 +00:00
7c2ae08c74 fix: Update Notion sync logic to handle existing records and avoid unique constraint errors 2026-01-19 11:37:55 +00:00
694be6eb4d fix: Restore previous DB, migrate schema, mount Notion token 2026-01-19 11:34:24 +00:00
35cf0c0753 feat: Implement Notion sync for Industries and Robotics Categories 2026-01-19 11:28:08 +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
7a10f316b1 docs: Add CRITICAL rule against accidental doc deletion 2026-01-19 07:39:46 +00:00