- Runner settings with inheritance system → project → story (settings rows): mode story (default, one runner per story) / queue, context fresh / continue, workspace shared / worktree, maxRunners. No rows = behaviour as before. - runner_tasks: a runner's story history and queue; sessions.name, sessions.workspace_path (migration 0007_runners). - moveTask → startTaskOnRunner; runnerTick in the watchdog moves free queue runners to their next story (fresh: same tmux, new generation without resume; continue: message), reassigns queues of dead runners, removes finished runners' worktrees (clean + pushed). - Free runners («Новый терминал»), rename, «Оформить стори»; the Stop hook doesn't ping for free runners or stories that left work. - Web: «Новый терминал» (runners page, project sessions tab) with voice input, project/story runner settings, runner stories in the details panel; CLI peppa runner … - e2e: packages/testkit/test/runners.test.ts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
1.2 KiB
Markdown
12 lines
1.2 KiB
Markdown
# Tasks: PEP-10
|
||
|
||
- [x] 1.1 Миграция: `sessions.name`, `sessions.workspace_path`, таблица `runner_tasks`
|
||
- [x] 1.2 `core/runners.ts`: настройки с наследованием, история/очередь раннера
|
||
- [x] 1.3 `runner/runners.ts`: `startTaskOnRunner`, `enqueueTask`, переход к следующей стори (`fresh`/`continue`), `runnerTick`
|
||
- [x] 1.4 `moveTask`: назначение через раннеры; «Готово» в очереди освобождает раннер; лимит раннеров
|
||
- [x] 1.5 Хук: стори вне работы или без стори — раннер простаивает без пинга; ответ по чужой стори → в очередь
|
||
- [x] 1.6 `syncWorkspace`: занятость только по раннерам в основной копии со стори в работе
|
||
- [x] 1.7 Веб: настройки раннеров проекта и стори, история и очередь в карточке раннера
|
||
- [x] 1.8 CLI `peppa runner settings|queue`
|
||
- [x] 1.9 e2e: очередь, свежий контекст / один разговор, лимит, по умолчанию как раньше
|