7 Commits

Author SHA1 Message Date
google-labs-jules[bot]
0ff8632b6a feat: Complete major refactoring and add initial test suite
This commit addresses a large number of pending tasks from `Tasks.md`, focusing on architectural improvements, documentation consistency, and the introduction of a testing framework.

Key changes include:

- **Button Dispatcher Agent (`[IMP-003]`):** Refactored the button handling logic into a dedicated `ButtonDispatcher` class. This decouples the dispatcher from handlers and improves modularity.
- **Documentation Consistency (`[DOC-001]`):** Updated `AGENTS.md` and `Agent_skills.md` to be consistent with the current codebase, removing outdated information and "Fallo Actual" notes.
- **Code Quality Tools (`[TEST-002]`):** Added `black` to the project for consistent code formatting and applied it to the entire `bot/` directory.
- **Initial Test Coverage (`[TEST-001]`):** Created a `tests/` directory and implemented a comprehensive suite of unit tests for the critical `FlowEngine` module, using Python's `unittest` framework.
- **Task Verification:** Investigated and confirmed that tasks `[ARCH-003]` (Code Duplication), `[PERF-003]` (Flow Engine Memory Usage), and `[PERF-002]` (Voice File Memory Management) were already resolved by previous refactoring.
- **Updated `Tasks.md`:** Updated the status of all addressed tasks to reflect the project's current state.
2025-12-23 01:17:23 +00:00
Marco Gallegos
7eb3535ba9 Update status of BUG-004 to TODO 2025-12-22 15:09:42 -06:00
Marco Gallegos
4ad40c48e9 fix: Add missing sqlite3 import and improve database connection robustness by verifying and safely closing connections. 2025-12-22 15:08:12 -06:00
google-labs-jules[bot]
93dbbf9586 docs: Update Tasks.md after sprint 2
Marks all completed tasks from the second sprint as complete and sets up the next sprint's tasks.
2025-12-22 20:59:13 +00:00
google-labs-jules[bot]
4da52dd972 feat: Complete sprint 2 tasks
- Upgrade Python to 3.11 and update dependencies.
- Refactor main.py to isolate business logic.
- Fix bugs in flow_engine.py and printer.py.
- Improve database connection handling.
- Standardize error handling.
- Verify secret management.
2025-12-22 20:55:55 +00:00
google-labs-jules[bot]
fc9fedddfe I've updated the Tasks.md file to reflect the completed sprint. The following tasks are now finished:
- [SEC-001] File upload security validation
- [DEP-002] Package security updates
- [IMP-001] Whisper transcription agent
2025-12-22 20:40:24 +00:00
Marco Gallegos
21995fece2 docs: Add Tasks.md to track pending tasks, improvements, and issues for the Talia Bot codebase. 2025-12-22 14:21:31 -06:00