peppa/packages/db/migrations
Асель 6b75324971 PEP-10/27/53: runners with a story queue, a git worktree per runner, free runners
- 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>
2026-11-14 06:38:02 +05:00
..
meta PEP-10/27/53: runners with a story queue, a git worktree per runner, free runners 2026-11-14 06:38:02 +05:00
0000_baseline.sql PEP-36 stage 2: SQLite (node:sqlite, WAL) instead of Postgres 2026-11-13 17:23:24 +05:00
0001_egov_iin.sql PEP-65: eGov QR login through the KazEDS relay (sign.aitu.uz) 2026-11-14 01:14:10 +05:00
0002_local_users.sql PEP-68: local users without Gitea — password login, superadmin management 2026-11-14 03:20:21 +05:00
0003_subscriptions.sql PEP-67: subscriptions and pools in core/db, sign-in and checks in runner, OpenCode provider, mocks, tests 2026-11-14 03:48:25 +05:00
0004_code_reviewer.sql PEP-26: reviewer agent before the PM's review — queue, claude -p on the PR diff, findings back to the agent, project settings, card; lint example in the template 2026-11-14 04:59:32 +05:00
0005_push_notifications.sql PEP-29/35/55: notification prefs and routing, Web Push outbox, daily digest; mock-push, tests 2026-11-14 05:10:20 +05:00
0006_rotation.sql PEP-39: rotate a limited session to a free subscription of the pool at the turn boundary 2026-11-14 05:31:22 +05:00
0007_calm_anthem.sql PEP-44, PEP-46: review preview with screenshots; Gitea issues, PR comments, manual merge 2026-11-14 06:06:57 +05:00
0008_board_order_deps.sql PEP-34/42: board order, archive, epic progress, story dependencies, epic planner (core, runner, MCP) 2026-11-14 06:28:53 +05:00
0009_runners.sql PEP-10/27/53: runners with a story queue, a git worktree per runner, free runners 2026-11-14 06:38:02 +05:00