peppa/openspec/changes/archive/2026-11-23-pep-246-foreign-workspace/tasks.md
peppa-bot 2747deffe5
All checks were successful
peppa/lint lint: success за 2с
peppa/typecheck typecheck: success за 47с
peppa/build build: success за 31с
peppa/test test: success за 1354с
peppa-ci / ci (pull_request) Successful in 24m45s
PEP-246: change в архиве, спеки обновлены
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 15:10:20 +00:00

14 lines
1.1 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.

## 1. Рабочая копия
- [x] 1.1 `runnerCwd`: пропавший путь → новый worktree в стандартном месте, путь сессии обновлён, событие с прежним путём
## 2. Сторож застрявших задач
- [x] 2.1 Назревшая попытка при `wait`: карточка `waiting` + следующая проверка, причина в журнал
- [x] 2.2 Ожидание очереди проверок для назревшей попытки ≤ 120 мин, потом попытка
## 3. Живая база
- [x] 3.1 `findForeignPaths` / `fixForeignPaths` (runner/workspace-paths.ts) и CLI `peppa session paths [--fix]`
## 4. Тесты и завершение
- [x] 4.1 Тесты: путь с другой машины → перезапуск в новой копии; сбой перезапуска считается до исчерпания; очередь проверок держит ≤ 2 ч; CLI находит и чинит пути
- [x] 4.2 Проверки (lint, typecheck, тесты), память, archive, PR