Files
meeting-room/.tasks/v2-p1-engine.md
vitya 52e77bb50c feat: v2 plan — remove autogen/crewai, add tasks and wiki
- Remove autogen and crewai backends (focus on custom only)
- Simplify CLI: remove --backend flag
- Remove optional deps from pyproject.toml
- Add .tasks/ with 7 tasks for Phase 1 refactor
- Add .wiki/concepts/meeting-room-v2.md with architecture plan
- Update .wiki/index.md and .tasks/STATUS.md

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 23:42:39 +03:00

25 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# v2-p1-engine
## Goal
Извлечь DiscussionEngine из backends/custom/run.py. Заменить print() на events.emit(). Добавить inject_message() для Boss/CSO.
## Key files
- `meeting_room/engine.py` — создать
- `tests/test_engine.py` — создать
## Decisions log
- 2026-05-03: Движок emit'ит события, потребитель подписывается
## Open questions
- [ ]
## Completed steps
- [ ] Создать DiscussionEngine с __init__(config, api_client, tool_registry, event_emitter)
- [ ] Перенести _run_agent_turn() из backends/custom/run.py
- [ ] Заменить все print() на self.events.emit()
- [ ] Добавить inject_message(role_id, content) для Boss/CSO
- [ ] Написать тесты с mock APIClient и ToolRegistry
- [ ] Запустить тесты
## Notes
Движок полностью отделён от I/O. CLI подписывается на события и печатает, WebSocket подписывается и стримит.