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>
This commit is contained in:
26
.tasks/v2-p1-config-cli.md
Normal file
26
.tasks/v2-p1-config-cli.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# 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 — бесшовная совместимость.
|
||||
Reference in New Issue
Block a user