Commit Graph

13 Commits

Author SHA1 Message Date
Асель
1b2d784a64 PEP-150: merge main (PEP-163 project trash, PEP-171)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 20:31:30 +05:00
Асель
3cb3c46a6c PEP-150: merge main (PEP-149/151/154/166) — failures go to the superadmin as platform delays; «all tasks done» is not sent while a story is still in work; delay errors are awaited into Bugsink
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 18:24:57 +05:00
Асель
094ab632cc PEP-152: формат сообщения агента — суть, что нужно от вас, где посмотреть, подробности под «Подробнее»
Сообщение агента пользователю собирается из полей summary / need / link / details
(core/agent-message.ts); основной текст проверяется при приёме (длина, словарь, файлы,
ветки, команды, номера PR, статусы из кода) — нарушение возвращается агенту, после трёх
отказов подряд сообщение уходит с нейтральной первой строкой. Разбор словаря — общий
модуль @peppa/shared/glossary. Сайт и Telegram показывают основной текст, details — под
«Подробнее». Карточка «готово» и реплика конца хода — в том же формате. Правила агентам,
переводы en/kk, тесты по сценариям, change pep-152-agent-message-format в архиве.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 17:38:04 +05:00
Асель
b5c0e704a5 PEP-150: сбои не идут пользователю — задержка на стороне платформы, одно сообщение суперадмину
platformDelay/sessionDelay вместо attention владельцу: падения и зависания агентов, лимиты,
красные и зависшие проверки, запуск агента, обновление версии, приёмка; guard конвейера —
вопрос суперадмину в платформенном проекте; строка задержки в задаче и на карточке;
список задержек на Главной суперадмина.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 14:09:30 +05:00
Асель
3accfe155d Merge remote-tracking branch 'origin/main' into task/pep-154 2026-11-16 13:36:44 +05:00
Асель
2eebcb7f6c PEP-154: сообщение человека, которое Peppa донесла до терминала, остаётся его ответом
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 13:28:53 +05:00
Асель
5f738942e0 PEP-149: remaining old tests follow the new end-of-turn behaviour
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 13:06:17 +05:00
Асель
0a5eff6485 PEP-149: old tests follow the new contract (no «agent ended its turn» message, ask_pm with options)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 13:06:17 +05:00
Асель
2677f1ad84 PEP-129: tests follow the reworded messages
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 09:52:35 +05:00
Асель
e231f46944 PEP-129: the glossary check reads messages marked for a person in core, runner and mcp; product-facing messages reworded
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 09:52:35 +05:00
Асель
664054c217 PEP-94: the PM is a product person — no technical questions, no waiting for approval; Proposal is «План» in the UI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:56:25 +05:00
Асель
93f38bbcba PEP-22: harden timing-sensitive e2e steps, archive change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:00:28 +05:00
Асель
1df550bb86 Add Codex provider, mock agents and end-to-end CJM suite
- runner: provider abstraction (claude | codex); per-run launch.sh keeps
  long argv out of tmux; Codex via notify callback + -c config for rules
  and the peppa MCP server; session env carries DATABASE_URL/PEPPA_HOME
- testkit: mock-claude / mock-codex driven by scenarios — real hooks,
  notify, MCP calls, raw-mode TUI input with bracketed paste, permission
  dialog, usage limits, hangs, crashes, /clear
- 21 CJM tests on an isolated DB, tmux server and state dir (all green)
- fix: watchdog crash/stall alerts showed blank lines instead of the tail
- bins load .env without overriding the caller's env; tmux socket option
- AGENTS.md (was CLAUDE.md) and shared RULES.md: mock-first rule with a
  mock prefix for anything blocked on external dependencies

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