Commit graph

30 commits

Author SHA1 Message Date
JamesTheGiblet
8933e111a5 chore: update gitignore for secrets and data 2026-01-08 18:03:46 +00:00
JamesTheGiblet
962e167667 Add initial test script to print "hello" 2026-01-08 18:01:18 +00:00
JamesTheGiblet
f0e2c975aa Fix: Remove .env and large db from tracking 2026-01-08 17:51:01 +00:00
JamesTheGiblet
d4e09f6d13 Add unit tests for analytics, fallback client, and refactored validators
- Implemented comprehensive unit tests for the BuddAI Analytics module, covering fallback statistics calculations.
- Created tests for the FallbackClient to ensure proper escalation to various AI models and handling of missing API keys.
- Developed unit tests for the refactored validator system, validating various hardware and coding standards.
- Established a base validator interface and implemented specific validators for ESP32, Arduino, motor control, memory safety, and more.
- Enhanced the validator registry to auto-discover and manage validators effectively.
- Included detailed validation logic for common issues in embedded systems programming, such as unused variables, safety timeouts, and coding style violations.
2026-01-08 17:43:11 +00:00
James The Giblet
22506653dd Refactor README for improved clarity and presentation
Updated the README to enhance clarity and presentation, including reformatting sections, improving headings, and refining descriptions of BuddAI's features and benefits.
2026-01-08 11:28:41 +00:00
JamesTheGiblet
99ef8f5592 Update .gitignore to include .env and ensure proper newline formatting 2026-01-07 20:40:04 +00:00
JamesTheGiblet
48716ff271 Add comprehensive unit tests for BuddAI confidence scoring and fallback mechanisms
- Implemented tests for confidence scoring logic in `test_buddai_confidence.py` and `test_confidence.py`, covering high and low confidence scenarios, escalation thresholds, and validation scoring penalties.
- Created tests for fallback logging functionality in `test_fallback_logging.py`, ensuring fallback prompts are logged correctly and the `/logs` command retrieves log content.
- Developed tests for fallback prompts in `test_fallback_prompts.py`, verifying that specific prompts are used for different models based on confidence levels.
- Generated detailed test reports for multiple test runs, confirming all tests passed successfully.
2026-01-07 20:27:39 +00:00
JamesTheGiblet
27601aa2ba Add comprehensive unit tests for BuddAI functionality
- Introduced 16 additional coverage tests in `test_additional_coverage.py` to enhance overall test coverage.
- Added 15 extended feature tests in `test_extended_features.py` to validate new functionalities.
- Implemented 27 final coverage tests in `test_final_coverage.py` to achieve a total of 100 tests.
- Created 2 fallback logic tests in `test_fallback_logic.py` to ensure proper fallback behavior based on confidence scores.
- Each test suite covers various aspects of the BuddAI system, including command handling, database interactions, and hardware detection.
2026-01-07 19:48:24 +00:00
JamesTheGiblet
f9fd27d228 Implement core skills: Code validation, model fine-tuning, and system diagnostics
- Added `ModelFineTuner` class for preparing training data and fine-tuning models based on user corrections.
- Introduced `CodeValidator` class to validate generated code against various hardware and style rules, including safety checks and function naming conventions.
- Developed skills for calculator operations, system information retrieval, weather fetching, and timer functionality.
- Implemented a self-diagnostic skill to run unit tests and report results.
- Created a dynamic skill loading mechanism to discover and register skills from the current directory.
- Added unit tests for skills to ensure functionality and reliability.
2026-01-06 22:04:37 +00:00
JamesTheGiblet
743f9f311d updated 2026-01-06 18:47:21 +00:00
JamesTheGiblet
d707c65017 Add README for BuddAI v4.0 - Personal Data-driven Exocortex Intelligence
- Introduced comprehensive documentation detailing features, capabilities, and architecture of BuddAI v4.0.
- Highlighted the symbiotic relationship between user and AI, emphasizing personalized learning and memory retention.
- Included validation results showcasing 90% accuracy across various coding tasks.
- Documented the journey of development and validation from December 2025 to January 2026.
- Outlined business value, commercialization potential, and future roadmap for enhancements.
2026-01-01 18:21:06 +00:00
JamesTheGiblet
1932b128ff feat: update version to v4.0 in main entry point and argument parser description 2026-01-01 17:26:50 +00:00
JamesTheGiblet
4e42a06618 docs: Add Remote Access Implementation Log detailing troubleshooting steps for Ngrok and Tailscale integration 2026-01-01 17:08:45 +00:00
JamesTheGiblet
10e57a83a2 feat: add new commands for response correction and learning in README 2025-12-31 12:27:33 +00:00
JamesTheGiblet
4943809044 feat: enhance changelog and implement SmartLearner for pattern extraction 2025-12-31 12:09:32 +00:00
JamesTheGiblet
fc603464ee Add BuddAI local launcher script and ngrok integration
- Introduced `run_buddai.ps1` to automate the setup and launch of the BuddAI server.
- Implemented checks for Docker and Ollama services, ensuring they are running before starting the server.
- Added model verification and automatic pulling of required AI models.
- Created a Python virtual environment and installed necessary dependencies.
- Configured firewall rules for port 8000 and provided options for remote access via ngrok or Tailscale.
- Enhanced user experience with informative messages and QR code generation for easy access to the server.
- Included logic to determine the best public URL for the server based on available network configurations.
2025-12-30 00:15:54 +00:00
JamesTheGiblet
93c9395c6f Release v3.2: Production Hardening 2025-12-29 16:46:36 +00:00
JamesTheGiblet
036dabbb00 feat: implement feedback system and integration tests for BuddAI 2025-12-29 16:03:21 +00:00
JamesTheGiblet
66095285a6 feat: add connection pooling test and update .gitignore for runtime data 2025-12-29 15:47:39 +00:00
JamesTheGiblet
c214b4a8ea Add unit tests for BuddAI v3.2 to verify type hints and routing logic
- Implemented tests for method annotations to ensure type hints are present.
- Added tests for routing logic to validate behavior for simple questions, complex requests, search queries, and forced model scenarios.
- Verified module extraction logic with specific test cases.
- Mocked database interactions and suppressed print statements during tests.
2025-12-29 15:45:31 +00:00
JamesTheGiblet
b8a34be03f feat: add file upload validation for size and type in BuddAI 2025-12-29 15:04:39 +00:00
JamesTheGiblet
2c4a88f619 fix: comment out unsupported theme-color meta tag and add iOS status bar style 2025-12-29 15:04:23 +00:00
JamesTheGiblet
d28a737c15 Release v3.1: Repository Intelligence
- Repository indexing (Python, C++, Arduino, JS, HTML, CSS)
- Semantic code search with natural language
- Style signature scanning and application
- Shadow suggestion engine (proactive hints)
- Web interface with live code workspace
- Dark/Light theme support
- Session management (rename/delete)
- Forge Theory mode selector
- 11/11 tests passing (100%)
- Comprehensive documentation
2025-12-29 14:03:42 +00:00
JamesTheGiblet
2b775903a6 feat: add session title management and rename functionality in the BuddAI interface 2025-12-29 13:43:37 +00:00
JamesTheGiblet
da3530774b Add comprehensive test suite for BuddAI v3.1
- Implemented tests for database initialization, SQL injection prevention, auto-learning pattern extraction, module detection, complexity detection, LRU cache performance, session export, actionable suggestions, repository indexing, search query safety, and context window management.
- Utilized SQLite for database operations and temporary directories for test isolation.
- Included detailed output for test results with color-coded pass/fail indicators.
2025-12-29 13:38:31 +00:00
JamesTheGiblet
406d848203 feat: add initial implementation of BuddAI web interface with chat functionality, file upload, and theme toggle 2025-12-28 17:25:03 +00:00
JamesTheGiblet
ba814f0559 feat: Upgrade to BuddAI v3.0 with server capabilities and new frontend interface 2025-12-28 16:59:16 +00:00
JamesTheGiblet
3747bf5091 feat: Introduce BuddAI v3.0 with enhanced modular building and proactive suggestion engine
- Added ShadowSuggestionEngine for proactive module suggestions based on user history.
- Implemented style signature scanning to extract coding preferences from indexed repositories.
- Enhanced chat functionality to include search queries for repository functions.
- Updated database schema to include style preferences.
- Improved modular build execution with Forge Theory integration.
- Added proactive suggestion bar to responses based on user input and generated code.
- Refined code generation to align with user-specific naming conventions and safety patterns.
- Introduced commands for scanning style signatures and improved help documentation.
2025-12-28 16:29:06 +00:00
James The Giblet
fe928a5df4 Update print statement from 'Hello' to 'Goodbye' 2025-12-27 11:48:03 +00:00
James The Giblet
fbea56b68e Initial commit 2025-12-27 11:46:01 +00:00