ai-assistant-discord-bot/tests
Claude Discord Bot 48c93adade Add /add-project command for dynamic project setup
New Features:
- /add-project slash command for adding projects without restart
- Clones git repository with shallow clone (--depth 1)
- Updates config.yaml atomically with rollback on failure
- Live config reload (no bot restart needed)
- Administrator permission required
- Comprehensive validation and error handling

Implementation:
- config.py: add_project() and save() methods
- commands.py: add_project command (193 lines)
- 12 new tests covering all scenarios
- Full documentation in COMMANDS_USAGE.md

Test Results: 30/30 passing (100%)

Usage:
  /add-project
    project_name: my-project
    git_url: https://git.manticorum.com/cal/my-project.git
    model: sonnet

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 19:47:47 +00:00
..
__init__.py Initial commit: Core infrastructure (CRIT-001 through CRIT-005) 2026-02-13 17:55:03 +00:00
conftest.py Initial commit: Core infrastructure (CRIT-001 through CRIT-005) 2026-02-13 17:55:03 +00:00
test_bot.py Week 3 progress: Logging and testing complete (MED-001, MED-002, MED-005) 2026-02-13 19:12:04 +00:00
test_claude_runner.py Initial commit: Core infrastructure (CRIT-001 through CRIT-005) 2026-02-13 17:55:03 +00:00
test_commands.py Add /add-project command for dynamic project setup 2026-02-13 19:47:47 +00:00
test_concurrency.py Week 2 complete: Discord bot MVP with full integration 2026-02-13 18:42:50 +00:00
test_config.py Implement CRIT-006: Config system with YAML validation 2026-02-13 18:01:49 +00:00
test_logging.py Week 3 progress: Logging and testing complete (MED-001, MED-002, MED-005) 2026-02-13 19:12:04 +00:00
test_response_formatter.py Week 2 complete: Discord bot MVP with full integration 2026-02-13 18:42:50 +00:00
test_session_manager.py Initial commit: Core infrastructure (CRIT-001 through CRIT-005) 2026-02-13 17:55:03 +00:00