Files
meeting-room/.tasks/v2-p1-config-cli.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

26 lines
1.4 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-config-cli
## Goal
Извлечь config.py из cli.py, реорганизовать CLI как подписчик событий, добавить deprecation shim в backends/custom/.
## Key files
- `meeting_room/config.py` — создать (извлечь из cli.py)
- `meeting_room/cli.py` — изменить (тонкая обёртка, подписка на события)
- `meeting_room/backends/custom/run.py` — изменить (deprecation shim)
## Decisions log
- 2026-05-03: CLI не меняет пользовательский интерфейс — те же флаги, тот же вывод
## Open questions
- [ ]
## Completed steps
- [ ] Создать config.py: load_config(), find_workspace_config(), load_discussion_config()
- [ ] Рефакторить cli.py: создать DiscussionEngine, подписаться на события с ANSI-цветами
- [ ] Сохранить init_workspace, save_session, list_scenarios, list_roles в cli.py
- [ ] backends/custom/run.py → deprecation warning + legacy wrapper
- [ ] Написать integration test (CLI с mock API, тот же формат вывода)
- [ ] Запустить все тесты
## Notes
CLI должен работать идентично текущему. Это главное требование Фазы 1 — бесшовная совместимость.