Commit Graph

8 Commits

Author SHA1 Message Date
rob 304400cc85 fix: update visualizer to support @AI_Visualizer mentions
- Change MENTION_TOKEN to MENTION_REGEX supporting both @AI_visual and @AI_Visualizer
- Makes it case-insensitive and consistent with other agents (AI_Moderator, AI_Designer)
- Update agent name from AI_Visual to AI_Visualizer
- Update HTML markers from AUTO:VISUAL to AUTO:VISUALIZER
- Update tests to match new naming
- All tests passing
2025-11-04 22:32:57 -04:00
rob e6292fbad4 refactor: remove HTML markers from voting participant agents
- Remove HTML comment markers from AI_Moderator and AI_Designer
- These are voting participants, not background tools
- Should comment naturally like humans in discussions
- Occasional duplicate comments are acceptable and enrich discussion
- Background agents (Visualizer, Researcher) still keep markers
- Updated test to check for 'Name: AI_Moderator' instead of markers
- All 41 tests passing
2025-11-04 22:22:35 -04:00
rob 39a0c94160 debugging and tweeking 2025-11-04 20:14:26 -04:00
rob 2dbcbf1443 agent upgrade 2025-11-04 18:44:29 -04:00
rob e203323ac7 agents refactor 2025-11-04 17:45:11 -04:00
rob 3ec5fa67a5 updating 2025-11-04 13:33:39 -04:00
rob 4176f51e7d fix: Add YAML syntax fix and mock AI script for testing
- Fix missing space after colon in features.ai-rules.yml
- Add tools/mock_ai.sh for testing automation without real AI
- Ensures installer has valid YAML templates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 09:18:59 -03:00
rob 05002b766b test: Add comprehensive workflow tests and improve template tests
Testing improvements completing Week 1 consolidation:

1. Add tests/test_workflow.py (6 comprehensive tests)
   - test_extract_vote_value: Vote value extraction
   - test_parse_votes_single_participant_single_vote: Basic parsing
   - test_parse_votes_single_participant_multiple_votes: Latest vote wins
   - test_parse_votes_multiple_participants: Multi-participant tracking
   - test_parse_votes_malformed_lines: Error handling
   - test_parse_votes_mixed_content: Real-world scenarios

2. Improve tests/test_template_meta.py
   - Replace stub tests with real implementations
   - test_find_template_fields: Field extraction from templates
   - test_render_request_from_template: Template rendering
   - test_render_request_from_template_with_existing_meta: Preserve existing data

3. Add __init__.py files for test imports
   - assets/__init__.py: Make assets importable
   - automation/__init__.py: Make automation importable
   - Enables tests to import workflow.py and create_feature.py

4. Update pyproject.toml pytest configuration
   - Add ".", "assets" to pythonpath
   - Allows tests to import from automation/ and assets/

Test Results:
- All 11 tests passing
- Coverage: workflow vote parsing, template rendering, utils
- Foundation ready for Stage 2 development

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 16:20:42 -03:00