Commit Graph

33 Commits

Author SHA1 Message Date
3d35bbf2b6 PEP-308: проверка, которая не отчиталась, не держит задачу — «проверки ещё идут» только пока статусы меняются
All checks were successful
peppa/lint lint: success за 4с
peppa/typecheck typecheck: success за 54с
peppa/build build: success за 40с
peppa/test test: success за 1720с
peppa-ci / ci (pull_request) Successful in 31m31s
PEP-217 стояла шесть дней: ветка в конфликте с main, три проверки из четырёх зелёные, статуса
peppa/test нет — задание пропало. Гейт отвечал «проверки ещё идут (3 из 4)»: просьба обновить
ветку была придержана «до конца проверок» навсегда, агент на update_task(status: review) получал
«подожди проверок».

- core/ci.ts: `lostChecks` — нужные проверки без результата на голове, чьи статусы peppa/* молчат
  дольше PEPPA_CHECKS_LOST_HOURS (3 ч); `prGate` для такой головы не говорит «ещё идут», а идёт
  дальше: конфликт, отставание (обновление ветки запустит проверки), иначе «проверки не завершились».
- runner/flow.ts: `requestRebase` потерянных проверок не ждёт.
- mcp/agent.ts: отказ агенту называет конфликт и молчащую проверку и что сделать; такую передачу
  на ревью не запоминаем (`review.wanted`).
- runner/review-wanted.ts, stuck-tasks.ts: отметка снимается; сторож застрявших задач просит агента
  запустить проверки новым коммитом.
- Мок Gitea: у статуса время (`updated_at`). Спека platform-delays, переводы en/kk.
- Тесты lost-checks.test.ts: 5 из 6 падали до исправления.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 00:55:50 +05:00
dcec76f3d4 PEP-299: агент задачи в ревью уступает место очереди и продолжает тот же разговор
All checks were successful
peppa/lint lint: success за 2с
peppa/typecheck typecheck: success за 56с
peppa/build build: success за 38с
peppa/test test: success за 1444с
peppa-ci / ci (pull_request) Successful in 26m17s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 07:26:27 +00:00
1bf8164b9e PEP-255: мерж main — шаг конфликта (PEP-269) вместо прямых просьб, очередь своей линии в requestRebase
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:24:00 +00:00
f035f94460 PEP-269: конфликт с main — отдельный шаг: одна просьба агенту, потом человек со списком файлов
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:57:59 +00:00
99f9cb9f0e PEP-255: очередь проверок по линиям исполнителя, попытка обновления — только ушедшая просьба
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:37:39 +00:00
f3d10a4c25 PEP-243: платформа называется FORGE — название во всех текстах для людей и подсказках агентам, адрес forge.telecom.quest
«Peppa FACTORY» → «FORGE» в экранах, сообщениях, словарях en/kk, шаблоне и тестах; «Пеппа» → «FORGE» в подсказках
агентам и правилах; логотип, значок, версия кэша service worker; в словаре старые названия — в «Нельзя».
Внутренние имена (CLI peppa, PEPPA_*, MCP-сервер peppa, ключи PEP-N) не меняются. Второй адрес — в mac-route.sh.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:18:49 +05:00
071aac4bef PEP-212: «Принять» при идущих проверках — один повтор запроса состояния PR (нестабильный тест accept-pending)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 15:56:15 +05:00
b554f66d9c PEP-209: страница «Приёмка», «Принять всё», объединение предложений, сводка в Telegram, Главная и задержки в Дашборде
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 16:50:03 +05:00
204c8e3388 PEP-205: очередь проверок не встаёт молча, лимит и вход Codex не роняют агентов
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 23:50:03 +05:00
218f35af86 PEP-197: фабрика не ставит себе задачи по кругу — «Предложено», пределы, дубли, версия с финишем
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 17:55:09 +05:00
0097cb07f7 PEP-182: не больше 9 агентов на подписку — ёмкость, очередь задач, «Делается · В очереди»
Ёмкость подписки (core/capacity.ts, по умолчанию 9, суперадмин меняет на набор 1–20);
pickSubscription, ротация и ручной перевод агентов уважают ёмкость; без места задача
ждёт в очереди и запускается сама по порядку доски (capacityQueueTick); команда растёт
только в пределах ёмкости; экраны «Подписки», Главная, доска, страница задачи; ru/kk/en;
тест subscription-capacity.test.ts; OpenSpec change archived.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 02:55:40 +05:00
Асель
9afe6d4d5d PEP-174: пауза проекта — агенты, роли ИИ и уведомления стоят до «Продолжить»
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 21:25:21 +05:00
Асель
fe751fb008 Merge main into task/pep-98: PEP-108 voice input and PEP-127 carried-through accept through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:49:13 +05:00
Асель
756fc7acc8 Merge main into task/pep-98: PEP-120 story page for «Продакт» through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:27:09 +05:00
Асель
a903dd2cf3 PEP-127: merge main (PEP-120, PEP-130)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 22:17:14 +05:00
Асель
9052f3245f Merge main into task/pep-98: PEP-112…124 texts through the dictionary
Main's new wording (PEP-123 «Продакт» words) kept and wrapped in t()/m();
wording(mode, locale) gives English words for {task}/{runner} placeholders;
glossary check (pnpm lint) passes; English for all new keys (en/merge-*.ts).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:04:39 +05:00
Асель
f246813e35 PEP-127: мерж только со свежим main внутри — Peppa сама обновляет отставшую ветку и ждёт проверок; «Принять» запоминается и при идущих проверках
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:54:50 +05:00
Асель
50b63cbafa PEP-120: story page in «Продакт» mode — plain card, «Подробнее», «Поправить»
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:43:37 +05:00
Асель
6de7c72752 PEP-127: «готова к ревью» уходит PM только когда задачу можно принять; гейт закрыт при ошибке Gitea
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:40:21 +05:00
Асель
a3d784b812 PEP-127: «Принять» при конфликте запоминается, вачдог доводит до мержа
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:40:14 +05:00
Асель
b478390eb5 PEP-123: messages to the user in the words of «Продакт» — chats, questions, Telegram, push
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 18:08:26 +05:00
Асель
1f16286dca PEP-98: English for web, bot, notifications and runner messages; product name «Peppa FACTORY» everywhere
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:47:50 +05:00
Асель
ee4a313074 PEP-84: «продакт» and «аналитик» refine a story before any developer agent takes it
Also: a subscription the owner connected once is assigned to their new projects; claudePrint never
falls back to the machine login for a self-registered owner.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 22:39:07 +05:00
Асель
acf2bb9623 PEP-21/28: runner service (command queue in the watchdog), watchdog 2.0 auto-recovery and escalation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:34:09 +05:00
Асель
14916079bc PEP-5/43/47/48: usage and limits, story budgets, factory metrics, audit journal
- PEP-5: statusLine hook (cost, context, 5h/7d limit windows), transcript tokens,
  sessions.usage, usage strip over every page, runner usage, bot /status, MCP get_usage
- PEP-43: project/story budgets in settings, watchdog pause (Escape, question to the PM:
  extend x2 / remove limit / stop), start/resume guard, budget on the story card
- PEP-47: project metrics tab (cycle time, first pass, review returns, questions, runner
  hours, PM wait, limits, spend by week/agent/epic), MCP get_metrics
- PEP-48: event authors (actor columns, AsyncLocalStorage context), question_answered,
  /journal for superadmins, project journal tab, authors in the story feed
- Migration 0007_usage_audit; OpenSpec changes archived

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:52:13 +05:00
Асель
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
Асель
f6e3725e5f PEP-34/42: board order, archive, epic progress, story dependencies, epic planner (core, runner, MCP)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:28:53 +05:00
Асель
6ab17456af PEP-44, PEP-46: review preview with screenshots; Gitea issues, PR comments, manual merge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:06:57 +05:00
Асель
4a80d9dc6b PEP-32/33/37: story page tabs, live agent step feed, SSE live updates instead of 5 s polling
- PEP-37: change hub (runner/live.ts) woken by notify() (new 'web' subscriber) and
  PRAGMA data_version; per-scope fingerprints; GET /api/live SSE (no-transform, ping 15 s);
  LiveRefresh replaces AutoRefresh with a connection indicator and polling fallback
- PEP-33: async PostToolUse/PostToolUseFailure hook -> 'step' events (last 200 per
  session), AgentSteps live feed on the story page and runner panel, tasks.md progress
  on board cards and the story header
- PEP-32: story page header + tabs Proposal/Design/Specs/Tasks/Comments/Tests/Merge
  request/Activity, safe Markdown renderer, PM comments visible in get_task, edit
  title/description/epic, accept-and-merge (acceptStory)
- OpenSpec changes archived; specs live-updates, agent-steps, story-page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:59:15 +05:00
Асель
f284c40933 PEP-23/24/25: project autonomy levels, backlog dispatcher with idle pushes, auto-merge and closing, working copy sync
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:20:47 +05:00
Асель
358fb5c0e9 PEP-66: «стори» and «эпики» in web, bot, notifications, MCP texts, help; tab tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:28:42 +05:00
Асель
cae49d5b54 PEP-57: CI feedback — check runs, red checks back to the agent, review/merge gates
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:37:10 +05:00
Асель
00c8f79a36 PEP-7: autonomous mode — board moves start agents, PM only for stoppers
- web board (Backlog / In progress / Review / Done) with drag-and-drop and
  buttons; moveTask starts an agent on In progress, stops on Backlog/Done
- routine proposals go straight to apply; request_approval/ask_pm only for
  architectural stoppers (RULES.md, MCP hints, template pushed to Gitea)
- Stop hook keeps the agent going (decision: block, max 2 in a row,
  sessions.auto_nudges reset by a human answer) instead of pinging the PM
- review: ready-for-review message with Accept (acceptTask → done, session
  stopped) in Telegram and web; a text reply goes back to the agent
- mock-claude honours Stop-hook block; 6 new e2e tests (48 total, green)
- OpenSpec: pep-7 archived (task-autonomy, web-workspace board)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:21:11 +05:00