Commit Graph

10 Commits

Author SHA1 Message Date
7d384fafdd feat(timetracking): Complete and verify time tracking implementation [2f488f42]
Implemented a full time tracking feature. The system now displays the previously recorded time in hh:mm format when a session starts. When a work unit is completed, the invested time is automatically calculated, added to the total in Notion, and included in the status report. Various bugs were fixed during this process.
2026-01-27 08:24:44 +00:00
c410c9b3c0 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
6e38c85de8 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
fbf59bfb71 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
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
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