- 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>
25 lines
1.0 KiB
Markdown
25 lines
1.0 KiB
Markdown
# 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 подписывается и стримит. |