Commit Graph

589 Commits

Author SHA1 Message Date
Асель
c0a970caf2 PEP-99: interface-language delta spec for Kazakh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 23:07:30 +05:00
Асель
24bef72857 PEP-99: name «Peppa FACTORY» in Kazakh too; translations for the next 1016 keys of PEP-98
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 23:07:30 +05:00
Асель
d674f63567 PEP-99: WIP Kazakh dictionary skeleton on top of PEP-98 i18n (kk sections, coverage test)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 23:07:30 +05:00
Асель
83488a16ec PEP-99: proposal and design for the Kazakh UI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 23:07:30 +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
Асель
a99e6abe6d Merge remote-tracking branch 'origin/task/pep-108' into task/pep-127 2026-11-15 22:17:14 +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
Асель
e9769af04d Merge remote-tracking branch 'origin/main' into task/pep-108 2026-11-15 22:16:11 +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
Асель
ac3ef41d3d PEP-108: archive notes after rebase onto PEP-106
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:43:54 +05:00
Асель
f5037acb43 PEP-108: archive change, project memory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:43:54 +05:00
Асель
b8c5817bf8 PEP-108: infra/whisper copy + README, OpenSpec artifacts for the PM's requirements
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:43:49 +05:00
Асель
3798f350c0 PEP-120: plain permission question, no status badge in «Продакт»; AGENTS.md, memory, archive the change
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:43:37 +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
Асель
a726553c7d PEP-120: proposal — story page in «Продакт» mode
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:43:29 +05:00
Асель
e1abca0be9 PEP-108: proposal — local speech recognition for voice stories
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:43:27 +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
Асель
4347477a69 PEP-127: archive the change
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:40:14 +05:00
Асель
fc97c41629 PEP-127: «принято, закроется само» в боте, MCP, на странице задачи и доске; AGENTS.md, память
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:40:14 +05:00
Асель
a3d784b812 PEP-127: «Принять» при конфликте запоминается, вачдог доводит до мержа
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:40:14 +05:00
Асель
a5ba080fee PEP-127: proposal — «Принять» при конфликте доводится до конца
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:40:14 +05:00
a1fb29f0da Merge pull request 'PEP-123: слова режима «Продакт» — «вы», «задача», «агент», «Peppa FACTORY»' (#120) from task/pep-123 into main 2026-11-15 21:39:02 +05:00
Асель
253068e39c PEP-124: archive the change, project memory
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:18:44 +05:00
Асель
c47a26745d PEP-124: glossary check in CI — pnpm lint, checks.lint, the lint step of the workflow and ci.sh
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:18:44 +05:00
Асель
e2d711c1fc PEP-124: glossary check — forbidden words of docs/glossary.md on the screens, list of old debts, test
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:18:44 +05:00
Асель
1b12ece0b1 Merge main into task/pep-123 (PEP-122): both requirements kept in web-workspace spec
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 21:13:44 +05:00
Асель
d729995d24 Merge main into task/pep-123 (PEP-121, PEP-112): both sides kept, new texts in the words of «Продакт»
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 20:54:48 +05:00
Асель
59c34256a4 PEP-122: archive the change, AGENTS.md, project memory
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 20:50:03 +05:00
Асель
39b8b58258 PEP-122: «Помощь» for the «Продакт» view — one screen, three answers; texts in ru/kk/en
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 20:50:03 +05:00
99e2a95b75 Merge pull request 'PEP-112: продакт-агент принимает работу — продукт работает для человека, а не в демо-режиме' (#108) from task/pep-112 into main 2026-11-15 20:48:25 +05:00
Асель
77fd188775 PEP-112: archive change
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 19:57:05 +05:00
Асель
a4474206b0 PEP-112: agent rules, docs, deploy script tests, card wording, project memory
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 19:57:05 +05:00
Асель
05dfb08b67 Merge main into task/pep-98: PEP-119 texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 19:56:56 +05:00
Асель
81f83fc37e PEP-112: proposal — product acceptance, go-live needs, project secrets in deploys
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 19:56:37 +05:00
Асель
284f1757ff Merge main into task/pep-123 (PEP-115, PEP-128): conflicts resolved, new messages in the words of «Продакт»
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 19:19:23 +05:00
Асель
c4f4d3cb6d PEP-121: archive the change, project memory
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 19:11:04 +05:00
Асель
b977e7b5b9 PEP-121: one-line agents strip for «Продакт»; subscription names only for a superadmin and the one who connected it
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 19:11:04 +05:00
Асель
6f5aa007ac PEP-121: proposal — one-line limits strip for «Продакт», subscription names hidden
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 19:11:04 +05:00
Асель
43baa7ca4c Merge main into task/pep-98: PEP-128 texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:53:49 +05:00
Асель
2dcd16da3a PEP-119: «Продакт» mode by default and «Инженер» by choice — project tabs, menu, no dev badges, 720 px; union merge for shared docs
One clean commit on top of main (the branch history had an intermediate commit with conflict markers).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 18:50:34 +05:00
e35763aeec Merge pull request 'PEP-128: повтор после неудачного входа в подписку' (#113) from task/pep-128 into main 2026-11-15 18:49:58 +05:00
Асель
8e9ee4d813 Merge main into task/pep-98: PEP-115 texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:35:08 +05:00
8e44102fdc Merge pull request 'PEP-115: комментарий к стори без агента уточняет постановку' (#107) from task/pep-115 into main 2026-11-15 18:28:47 +05:00
Асель
4888b37d9b PEP-123: archive the change
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 18:15:56 +05:00
Асель
323cd0f422 Merge main into task/pep-123 2026-11-15 18:15:16 +05:00
Асель
e3abf5b43d PEP-123: release threads and notification names in plain words; tests follow the new wording; AGENTS.md
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 18:11:28 +05:00
Асель
40e5f6fdd3 PEP-128: after a failed subscription sign-in the wizard comes back with the reason; dead attempts are dropped on retry
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 18:04:52 +05:00
Асель
5bc11bc320 Merge main into task/pep-98: PEP-126 texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:02:24 +05:00
8ef60fc521 Merge pull request 'PEP-126: подключение ChatGPT — подсказка про вход по коду устройства' (#112) from task/pep-126 into main 2026-11-15 17:59:14 +05:00
Асель
554eeef7c1 PEP-123: proposal — words of the «Продакт» mode
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 17:59:01 +05:00
Асель
258a605c16 PEP-119: archive the change
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 17:53:40 +05:00
Асель
23d6b6bee1 Merge main into task/pep-98: PEP-113 texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 17:43:05 +05:00
Асель
7f8798d863 PEP-115: archive change, project memory
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 17:39:11 +05:00
Асель
7ec9fe9bc5 PEP-115: comment on a backlog story goes to the analyst — description reworked, answer in the discussion
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 17:38:49 +05:00
Асель
805dd6020a PEP-119: «Продакт» mode by default and «Инженер» by choice — project tabs, menu, no dev badges, 720 px
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 17:34:59 +05:00
d3ae0642c6 Merge pull request 'PEP-113: сообщение суперадминам о новом пользователе' (#105) from task/pep-113 into main 2026-11-15 17:32:15 +05:00
Асель
bf22e9e0b1 Merge remote-tracking branch 'origin/main' into task/pep-98 2026-11-15 17:25:19 +05:00
Асель
ed62cdcd06 Merge main into task/pep-98: PEP-116/117 texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 17:25:06 +05:00
9d9d21f715 Merge pull request 'PEP-118: словарь и правила текстов для пользователя' (#110) from task/pep-118 into main 2026-11-15 17:17:33 +05:00
Асель
1676e69b26 PEP-126: ChatGPT steps — the code first with a copy button; what «код из терминала» and the security warning mean
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 17:11:01 +05:00
abf35a4ca9 Merge pull request 'PEP-116: выбор подписки — своя или Peppa FACTORY' (#106) from task/pep-116 into main 2026-11-15 17:10:58 +05:00
Асель
bdae019820 PEP-126: ChatGPT connection — what to do when ChatGPT asks to enable device code login
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 17:05:22 +05:00
Асель
2df225d33f PEP-113: archive the change, project memory
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:49:49 +05:00
Асель
cd2b4d4342 PEP-113: superadmins get a message about every new account (eGov, Google, created by an admin)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:49:43 +05:00
Асель
a2c1f7354f Merge PEP-105 (#97) into task/pep-98
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:47:44 +05:00
Асель
222d9e1f74 Merge main into task/pep-98: PEP-109 texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:47:00 +05:00
Асель
af8298ac2a PEP-118: glossary of user-facing words and the rules block «Тексты и экраны для пользователя»
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:40:59 +05:00
Асель
3a0d5c464d PEP-116: the factory's subscription is granted by the superadmin — a request with buttons on Home and in Telegram
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:38:46 +05:00
Асель
8947fe4967 PEP-116: the owner chooses — own subscription or the one built into Peppa FACTORY
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:38:31 +05:00
Асель
81eab53459 PEP-117: chats a product manager understands — an overview of what waits and where to write, events in plain words
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:34:39 +05:00
Асель
8ff54d6363 Merge main into task/pep-98: PEP-111/114 texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:32:40 +05:00
70eeaf2af5 Merge pull request 'PEP-109: Telegram-группы чатов — через свой бот пользователя' (#102) from task/pep-109 into main 2026-11-15 16:29:53 +05:00
83ad46cefc Merge pull request 'PEP-111: «Ваш продукт» — где результат и что дальше' (#101) from task/pep-111 into main 2026-11-15 16:22:22 +05:00
Асель
34a4024224 Merge main into task/pep-98: PEP-107 subscription texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:16:16 +05:00
24f6fa5e18 Merge pull request 'PEP-114: открытая страница просит обновиться после обновления сайта' (#104) from task/pep-114 into main 2026-11-15 16:15:12 +05:00
Асель
6d18a39acb PEP-111: «Ваш продукт» — where the result runs and what to do next; releases in plain words
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:03:05 +05:00
Асель
312c1365c8 PEP-109: archive change, project memory
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:01:21 +05:00
Асель
f9a4b3c56e PEP-109: a chat's Telegram group is linked through the user's own bot
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:01:10 +05:00
Асель
424ab65a95 PEP-109: proposal — chat Telegram groups through the user's own bot
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:01:00 +05:00
Асель
c739e877f5 PEP-114: a page opened before the site was updated asks to be reloaded
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 15:58:52 +05:00
17f7b4e416 Merge pull request 'PEP-107: ротация подписок — разработка не останавливается на лимите' (#99) from task/pep-107 into main 2026-11-15 15:57:01 +05:00
Асель
96b5422a56 PEP-105: «Peppa FACTORY» instead of «Пеппа» in Russian UI texts; i18n-check guards Russian keys; archive change, memory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:56:55 +05:00
Асель
f53e1a4164 Merge main into task/pep-98: PEP-110 analyst chat texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:48:18 +05:00
Асель
b3f3547241 PEP-107: archive change, memory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:40:06 +05:00
Асель
2ef05fac12 PEP-107: failover across providers, pool view, last-subscription warning, superadmin loans
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:40:06 +05:00
Асель
37d47ff49e PEP-107: proposal — subscription failover across providers, pool view, warnings, loans
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:39:56 +05:00
Асель
905aeb912d Merge main into task/pep-98: PEP-106 discussion texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:36:29 +05:00
Асель
e163086b01 PEP-110: the analyst answers in the project chat on the project's subscription and files stories on request
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 15:30:54 +05:00
Асель
860f908f82 Merge remote-tracking branch 'origin/main' into task/pep-98 2026-11-15 15:23:22 +05:00
Асель
fca28b8fec PEP-106: the platform's Telegram bot is never shown to users — group linking is superadmin-only
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 15:16:05 +05:00
Асель
6f1cec5bc1 PEP-106: project discussion — a plain chat of the project's people, with unread counts and notifications
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 15:12:02 +05:00
Асель
1b0f6063cb Merge main into task/pep-98: PEP-94/97/100/101/102 texts through the dictionary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:11:59 +05:00
0d269114f2 Merge pull request 'PEP-103: исправление ошибок в приоритете у агентов' (#94) from task/pep-103 into main 2026-11-15 14:59:57 +05:00
Асель
7674fa2e71 PEP-98: archive change, memory, docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:57:01 +05:00
045afa58ee Merge pull request 'PEP-97/100/102: «Пеппа ЗАВОД», свой бот по шагам, новый проект одним полем' (#93) from task/pep-97 into main 2026-11-15 14:51:52 +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
Асель
242c5b59e9 PEP-103: bug stories first — the dispatcher takes fixes before features
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:40:34 +05:00
6c012bb43d Merge pull request 'PEP-101: «Принять» — сравнение по имени ветки (срочно)' (#92) from task/pep-101 into main 2026-11-15 14:37:30 +05:00
Асель
80a3bb79ad PEP-97: the name users see is «Peppa FACTORY» everywhere
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:34:03 +05:00
Асель
6d91a5473d PEP-102: a new project from the product's name only; PEP-100: own bot only, no shared-bot shortcut
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:25:12 +05:00
Асель
bb7b1b4158 PEP-100: opening the bot keeps Peppa open — new tab, the page refreshes until Start is pressed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:25:12 +05:00
Асель
7f9b697c62 PEP-100: own Telegram bot — the BotFather dialogue step by step
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:25:12 +05:00
Асель
664f96a92e PEP-97: users see «Пеппа ЗАВОД» everywhere — logo, titles, app name, texts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:25:12 +05:00
Асель
355c5b19b2 PEP-98: i18n core — dictionaries, localizeText, user locale, web provider, bot and push localization, i18n-check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:25:03 +05:00
99a043d99c Merge pull request 'PEP-96: клички агентов и пометка «ИИ-агент»' (#90) from task/pep-96 into main 2026-11-15 14:24:15 +05:00
2a977bcc46 Merge pull request 'PEP-95: выкинуть всех пользователей из веба' (#89) from task/pep-95 into main 2026-11-15 14:24:09 +05:00
Асель
2fe9b34344 PEP-101: tests for compare by branch name and the failed-compare fallback; archive change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:23:08 +05:00
Асель
9611ab53ed PEP-101: Accept compares by branch name (Gitea 1.22 404s on a SHA) and never blocks on a failed compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:21:29 +05:00
Асель
ec79b0bfab PEP-98: proposal pep-98-english-ui
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:20:02 +05:00
Асель
03cc2191fd PEP-96: agents get nicknames and are always shown as «ИИ-агент»
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:03:45 +05:00
Асель
feeeb908e5 PEP-95: peppa web logout-all — every web session issued before the cut-off ends
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:00:05 +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
Асель
20031adc08 PEP-93: Accept closes a PR whose commits are already in main instead of failing with 405
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:33:41 +05:00
Асель
02b045700d PEP-92: welcome page /welcome, opens once for new users
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 13:01:41 +05:00
073f6716f3 Merge pull request 'PEP-90: Вход и регистрация через Google-почту' (#84) from task/pep-90 into main 2026-11-15 12:47:40 +05:00
Асель
3159e888d2 PEP-90: sign in and register with Google (OAuth code + PKCE), link with eGov in Settings
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 12:40:26 +05:00
Асель
6e54fc69a6 PEP-91: Peppa reports its own errors to Bugsink — backend to PEP-api, browser to PEP-web
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 12:39:46 +05:00
b86874e409 Merge pull request 'PEP-4: перенос репозиториев в организацию peppa в Gitea' (#82) from task/pep-4 into main 2026-11-15 00:41:26 +05:00
Асель
36f67bc2f8 PEP-4: archive the OpenSpec change (project-provisioning: repo transfer; peppa-ci: peppa/peppa)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 00:33:03 +05:00
Асель
bc9f53fddc PEP-4: project memory and tasks after the live transfer to the peppa organization
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 00:26:03 +05:00
Асель
044d6b9bf6 PEP-89: «Агенты за работой» — the agent's name and story up front, run details folded
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 00:13:03 +05:00
Асель
5af93d7438 PEP-4: platform repo address from GITEA_PLATFORM_REPO, template defaults to peppa/template
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 00:11:31 +05:00
1df43629e3 Merge pull request 'PEP-69: агенты не наследуют окружение чужого tmux-сервера' (#80) from task/pep-69 into main 2026-11-15 00:10:52 +05:00
Асель
748216eef2 PEP-4: peppa project transfer — move a project's repo to another Gitea namespace (origin, CI runner, secret, webhook)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 00:10:47 +05:00
6a0cb9c7c3 Merge pull request 'PEP-88: суперадмин управляет любым проектом как владелец' (#81) from task/pep-88 into main 2026-11-15 00:03:36 +05:00
Асель
03d358f9f2 PEP-69: scrub foreign env from the tmux server before starting runners; warn in peppa status
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 23:57:10 +05:00
Асель
19f9577349 PEP-87: OpenSpec change — the watchdog skips the analyst's questions (archived into watchdog-recovery)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 23:50:13 +05:00
Асель
14177684d4 PEP-88: a superadmin manages any project like its owner
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 23:48:34 +05:00
Асель
01d58973ab PEP-85: every user's own Telegram bot — token from BotFather, polled and answered through it
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 22:57:07 +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
Асель
27e43b1ea6 PEP-83: the login page says why the factory; first steps for a product manager
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 22:21:54 +05:00
Асель
efe411f94e PEP-81: archive the change; epics tab verified in the browser
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 21:17:07 +05:00
Асель
1afc95117d PEP-82: connect your own Claude or ChatGPT on the project page — a link and a code, no terminal
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 21:09:42 +05:00
42d34dc584 Merge pull request 'PEP-79, PEP-80: стори берутся сами; своя подписка Claude или ChatGPT' (#72) from task/pep-79 into main 2026-11-14 20:27:45 +05:00
3d190e60fd Merge pull request 'PEP-60: канал платформы и дайджест Пеппы в Telegram' (#67) from task/pep-60 into main 2026-11-14 20:24:10 +05:00
Асель
e9526c9329 PEP-79, PEP-80: new projects pick stories themselves; own subscription — Claude or ChatGPT
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 20:15:22 +05:00
Асель
7c721db744 Merge main into task/pep-60: keep both sides (chats, shared pool, platform channel)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 19:52:53 +05:00
Асель
4729300a10 PEP-77: progress of all stories and projects on the Home page
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 19:50:59 +05:00
Асель
01cd72c121 Merge main into task/pep-76
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 19:42:50 +05:00
Асель
f00076c575 PEP-76: the project owner picks the subscription — the shared pool or their own Claude token
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 19:35:52 +05:00
Асель
b13b87d38d PEP-60: archive change — platform-notifications spec
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:21:04 +05:00
Асель
82c003e209 PEP-60: platform Telegram channel — check, releases, outages/restarts, platform digest
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:21:04 +05:00
Асель
5cfc2cb269 PEP-62: archive change pep-62-chats, project memory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:12:57 +05:00
Асель
c751291bb9 PEP-62: help and AGENTS.md for chats
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:11:16 +05:00
Асель
46840ffef5 PEP-62: bot — link groups by code, mirror chat messages with reply threads, replies and buttons from groups
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:10:49 +05:00
Асель
b3766d200d PEP-62: chats model, projection of events into project chats, master feed, post to chat
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:10:49 +05:00
Асель
5b41e7d779 PEP-75: a team of agents — Kazakh names on the board, a character in the prompt
Also: «Открыть терминал» on live session cards.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 18:49:34 +05:00
Асель
d039a8ac79 PEP-74: a superadmin opens any project; «Проекты других» on the projects page
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 18:39:36 +05:00
Асель
cdc7e62bfc PEP-73: project tab AGENTS.md — read and edit the agents' prompt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:25:40 +05:00
Асель
a1b3760afd PEP-72: eGov sign-in on the phone itself through the deep link
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:15:34 +05:00
Асель
bd931c1c02 PEP-71: archive openspec change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:03:27 +05:00
Асель
57d7857d94 PEP-71: login only through eGov, unknown IIN registers an account
Gitea and password login are gone from the web; the first eGov login creates a
Peppa account (login from the certificate name). Projects of self-registered
owners run agents only on a subscription pool, never on the machine login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 17:57:02 +05:00
Асель
1e8d9e0327 PEP-3: hooks, statusLine and the permission dialog checked against live Claude Code 2.1.323
- permission dialog menus vary (3-4 items, "2" may be "switch to auto mode"): the late PM answer
  reads the key off the screen (permissionKey); after "No" Claude interrupts the turn without a
  Stop hook, so Peppa types PERMISSION_DENIED_NOTE
- statusLine total_*_tokens are the last request, not session totals: tokens only from transcript
- mcp__peppa allowed in run settings (connected repos have no template .claude/settings.json)
- peppa-hook: PEPPA_HOOK_CAPTURE_DIR saves raw payloads; live fixtures in testkit/fixtures/claude-live
- mock-claude follows the live contract (menu, interrupt on No, statusLine, transcript blocks, suggestions)
- peppa-dev: watchdog (runner service) on the stand, mock PEPPA_SECRET without .env
- e2e claude-live.test.ts: fixtures parsing, real peppa-hook on live payloads, terminal fallback keys

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 12:34:40 +05:00
Асель
ca57f9543b PEP-17/40: agent sandbox per runner (docker + agent relay) and runner hosts over SSH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:57:28 +05:00
Асель
53ac7efdcc PEP-30/41/31: project memory, agent model per story with escalation, first-run checklist
- PEP-30: .peppa/memory.md in the project repo (core/memory.ts), agent MCP get_memory/remember
  (dedupe, 12k size limit, replace to compact), runner appends memory + last finished stories
  to the launch rules, RULES.md rule, memory on the project «Спеки» tab.
- PEP-41: agent settings platform → project → story (provider, model, effort, escalation model
  after N failures, fallback provider); Claude --effort / Codex model_reasoning_effort;
  sticky escalation relaunches a live runner on the stronger model (sendWithEscalation from
  CI feedback and the reviewer); fallback provider when the main one has no working
  subscription; web panels, MCP PM `agent`, CLI `peppa project agent`.
- PEP-31: first-run checklist on the home page (core/onboarding.ts), hide button,
  «Агенты не запустятся» warning on the project page when its pool has no working subscription.

No migrations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:44:24 +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
Асель
9149c75840 PEP-19/54: project secrets for agents, secrets audit and two-key PEPPA_SECRET rotation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:19:57 +05:00
Асель
005d884038 PEP-50/63: archive changes, fill the Purpose of new and placeholder specs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:11:57 +05:00
Асель
0941a9f4b7 PEP-63: Bugsink on SQLite (volume peppa-bugsink-data), migration script, postgres under the legacy profile
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:11:13 +05:00
Асель
195a39ad41 PEP-50: baseline specs for story model, runner sessions, hooks, watchdog, bot, agent MCP, CLI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:11:12 +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
Асель
ce426621e3 PEP-34/42/52: archive OpenSpec changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:29:00 +05:00
Асель
621f0137e5 PEP-34/42/52: tasks done
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:29:00 +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
Асель
0b448a8b8a PEP-34/42/52: OpenSpec changes (board order, epic planner, command palette)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:28:29 +05:00
Асель
db822a570c PEP-45: stories from a Telegram message (text or voice); docs; archive PEP-44/45/46 changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:07:18 +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
Асель
634e40a02c PEP-39: migration 0006 after PEP-29; switch message goes through notification preferences (failures event)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:31:22 +05:00
Асель
5ff738c977 PEP-39: migration renumbered to 0005 after PEP-26
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:31:22 +05:00
Асель
b3533c73bb PEP-39: archive OpenSpec change pep-39-rotation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:31:22 +05:00
Асель
c7283063c9 PEP-39: rotate a limited session to a free subscription of the pool at the turn boundary
Limit marks the subscription «лимит до …»; the watchdog relaunches the session on another
usable subscription of the same provider (Claude/OpenCode resume the conversation, Codex
starts afresh), threshold banner switches after the turn, max 3 switches/hour, simple
fairness between projects, subscription_switched events + Telegram message, web shows
subscription and switch history. Migration 0004 (sessions.rotate_reason).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:31:22 +05:00
Асель
7d1e354096 PEP-23: archive OpenSpec change pep-23-autonomy (spec project-autonomy)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:20:47 +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
Асель
9d8851b0b4 PEP-29/35/55: archive OpenSpec change pep-29-35-55-notifications
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:10:20 +05:00
Асель
9f9358de2c PEP-29/35/55: web — Settings → Notifications, Web Push in the browser (sw.js, PWA manifest), tab counter and sound; help, AGENTS.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:10:20 +05:00
Асель
06337e18dc PEP-29/35/55: OpenSpec change pep-29-35-55-notifications
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:09:37 +05:00
Асель
b6bcbeb695 PEP-26: archive OpenSpec change pep-26-code-reviewer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:59:32 +05:00
Асель
07ff13111d 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
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:59:32 +05:00
Асель
09d2750d75 PEP-9: live runner terminal in the web — xterm.js over SSE, input via POST
- runner/terminal.ts: TerminalFeed polls the pane (capture-pane -e, one loop per runner
  shared by viewers), sends changed lines, scrolled-off lines and the cursor; terminalInput
  (send-keys -H / paste-buffer -p) with access, liveness, size and rate checks, resets
  auto_nudges, logs terminal_input; terminalSse with 15 s pings for Cloudflare
- web: GET/POST /api/runners/[id]/terminal, RunnerTerminal (xterm.js) in the runner panel
  and on the story page; help
- testkit: terminal.test.ts — real tmux into a headless xterm, history, input, access, limits, SSE
- OpenSpec change archived; new spec runner-terminal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:45:32 +05:00
Асель
e2beb70dc4 PEP-67: archive OpenSpec change pep-67-subscriptions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:48:34 +05:00
Асель
6116b47403 PEP-67: web — superadmin «Подписки» section, project pool, subscription choice at launch, subscription in Runners; Settings → Claude removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:48:34 +05:00
Асель
9054774f96 PEP-67: subscriptions and pools in core/db, sign-in and checks in runner, OpenCode provider, mocks, tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:48:25 +05:00
Асель
11778d98bd PEP-67: OpenSpec change pep-67-subscriptions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:48:25 +05:00
Асель
90bb5daabe PEP-64: archive OpenSpec change pep-64-visibility
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:39:17 +05:00
Асель
efeac4500b PEP-64: public by default, change visibility (runner, web, MCP, CLI), tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:39:17 +05:00
Асель
818bfe33a9 PEP-64: OpenSpec change pep-64-visibility
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:39:05 +05:00
Асель
6cceac62b2 PEP-66: archive OpenSpec change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:28:42 +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
Асель
f9bc156321 PEP-66: OpenSpec change pep-66-github-tabs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:28:19 +05:00
Асель
5009975a5a PEP-68: archive OpenSpec change pep-68-local-users
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:22:04 +05:00
Асель
414e4500e4 PEP-68: local users without Gitea — password login, superadmin management
- users.password_hash/password_set_at/disabled_at (migration 0002_local_users)
- core/local-users.ts: scrypt, passwordLogin with attempt limits, create/reset/disable
- isSuperadmin(db, user) = platform.admins; isUserAllowed honours disabled_at
- web: /auth/password + login form, /users for superadmins, Settings → password
- Gitea login with a local user's login is refused (giteaLoginRefusal)
- local users: projects in peppa-bot namespace, members without Gitea collaboration
- CLI: peppa user add|passwd|disable|enable; tests in testkit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:20:21 +05:00
Асель
f958777e11 PEP-65: archive OpenSpec change pep-65-egov-login
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 01:14:11 +05:00
Асель
ed49767c31 PEP-65: eGov QR login through the KazEDS relay (sign.aitu.uz)
Login page and Settings → eGov: relay session with a server-side challenge/nonce, QR + eGov Mobile
deep link, polling, one-shot completion; IIN from the signer's certificate (own DER reader),
users.egov_iin. The relay is trusted (PM decision): no own XMLDSig check. CLI peppa user egov,
mock-kazeds-relay, tests. Dev mode: /_next/static is no-store (Cloudflare cached stale chunks).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 01:14:10 +05:00
Асель
969ad886a8 PEP-18: archive OpenSpec change pep-18-peppa-prod
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 18:02:16 +05:00
Асель
03aee432fb PEP-18: separate Peppa prod — release dir, PM button, DB backup, auto-rollback
- scripts/peppa-release.sh: ~/peppa/{repo.git,releases/<sha>,current,shared/.env};
  install → next build → checked DB backup → migrate → switch current → kickstart →
  health (/api/health commit + fresh heartbeats) → rollback; --queue, --check, --no-restart
- runner/platform-release.ts: deployProd for the platform project (PEPPA_PLATFORM_KEY=PEP)
  queues a request for launchd quest.telecom.peppa.release; offer after green main
- CLI: peppa db backup [file], peppa release report; backupDb verifies the copy
- install-launchd.sh: wait for unload after bootout (no "Bootstrap failed: 5"),
  release agent (QueueDirectories), PEPPA_ROOT in agents
- bin wrappers: logical root so hooks/credential.helper point at ~/peppa/current
- mock-launchctl, mock-pnpm; e2e platform-release.test.ts; OpenSpec pep-18-peppa-prod

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 17:58:34 +05:00
Асель
3a282b8054 PEP-36 stage 2: SQLite (node:sqlite, WAL) instead of Postgres
- packages/db: schema on sqlite-core (timestamps as epoch ms → Date, JSON as text,
  booleans 0/1), one baseline migration; node:sqlite client under drizzle's
  better-sqlite3 session (busy_timeout first, WAL, BEGIN IMMEDIATE, retries on
  SQLITE_BUSY, lazy open, async transaction callbacks refused); PEPPA_DB
  (default ~/.peppa/peppa.db)
- live updates: notify() pokes the bot over a unix socket; the bot also watches
  PRAGMA data_version every second (writes by other processes)
- Postgres specifics ported: createTask transaction is synchronous, no
  `for update skip locked`, `count(*)`, json_extract instead of ->>, json_each
  instead of @>
- `peppa db migrate` and `peppa db migrate-to-sqlite <file>` (read-only
  snapshot of Postgres, FK order from the schema, row count + foreign key
  checks, file appears only when they pass); old Postgres schema kept in
  packages/cli/legacy-pg-migrations for the migration and its test
- daily VACUUM INTO backup from the watchdog (7 copies, admin alert on failure)
- tests: a temp SQLite file per test file; storage.test.ts (20 processes,
  per-project numbering across processes, socket/data_version, migration from
  Postgres incl. a dangling foreign key, backups); two test races fixed
- CI: no per-run Postgres database; PEPPA_TEST_PG only for the migration test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 17:23:24 +05:00
Асель
ae37ba90d5 PEP-57: archive OpenSpec change pep-57-ci-cd (spec delivery-pipeline)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:59:04 +05:00
Асель
5120b97a0b PEP-57: Peppa on its own pipeline — CI via project checks and peppa-check.sh; 4.2 moved to PEP-18
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:59:04 +05:00
Асель
8dc82859c7 PEP-36 stage 1: run Peppa with Node 26 type stripping instead of tsx
- tsconfig: erasableSyntaxOnly + verbatimModuleSyntax; parameter properties
  rewritten (BugsinkError, GiteaError, GiteaClient, OAuthError, TelegramError,
  TelegramApi, MockGitea)
- bin wrappers (peppa, peppa-mcp, peppa-hook, peppa-bot, testkit mocks,
  peppa-dev): `node --import scripts/lib/require-node.mjs` (clear error on
  Node < 26, PEPPA_NODE overrides the binary); package scripts and tests on
  `node` / `node --test`; tsx removed
- install-launchd.sh pins PEPPA_NODE (checked absolute path) in the plists
- fix a race the faster hooks exposed: the prompt hook answered every pending
  question, including a PM question raised after Peppa itself pasted text
  into the terminal; sendToSession now logs `input_sent` and the hook only
  answers questions older than that input
- change pep-36-lightweight-stack: stage 1 done, hook start numbers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:51:22 +05:00
Асель
4c4b3a482f PEP-38: archive OpenSpec change pep-38-factory-console
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:44:58 +05:00
Асель
d3a54fc845 PEP-38: runners console — filter counters, search, limit resume time, details panel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:40:27 +05:00
cb6832f967 Merge pull request 'PEP-36 (этап 1): замер и change — Node 26 + node:sqlite' (#23) from task/PEP-36-bench into main 2026-11-13 16:36:13 +05:00
Асель
eeb326cc4f PEP-36: PM decision — Node 26 + node:sqlite; drizzle shim and check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:28:59 +05:00
Асель
50b1d1afec PEP-36: benchmark SQLite vs Postgres and propose Bun + SQLite stack
bench/sqlite (outside the workspace): Peppa-like load with 10/20 runners,
a hook process per event, MCP, bot, web and watchdog; bun:sqlite,
node:sqlite, better-sqlite3, a single-writer service and Postgres; notify
replacements (cursor polling, fs.watch on WAL, unix-socket push); a
ceiling test; a schema port to sqlite with a data copy from Postgres and
a check of drizzle transactions.

openspec/changes/pep-36-lightweight-stack: proposal, design with the
numbers, specs (platform-storage, service-monitoring), phased tasks.
No product code changes; the move waits for the PM's decision.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:28:59 +05:00
Асель
c03b679a1d PEP-38: all pages on the console components, globals.css removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:21:44 +05:00
Асель
28fbde4add PEP-38: console foundation — Tailwind v4, shadcn/ui components, dark theme, three-panel layout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:21:43 +05:00
Асель
d1c555a038 PEP-22: read a zombie agent's exit code from /proc when tmux never reaps it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:00:29 +05:00
Асель
83b222b9e2 PEP-22: docs and spec reflect the real Actions workflow
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:00:29 +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
Асель
56a7756e71 PEP-22: scripts/ci.sh, PR status peppa/ci, mock-act-runner
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:00:28 +05:00
Асель
59c3b583de PEP-57: CD — deploy workflow, preview/staging/prod, health check and rollback, releases
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:49:24 +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
Асель
498013472f PEP-58: Bugsink — production errors become Peppa incidents and tasks
- infra: Bugsink 2.6.3 in docker (infra/bugsink, scripts/bugsink-up.sh), database
  bugsink in Peppa's Postgres, Traefik route bugsink.telecom.quest
- packages/bugsink: REST API client + custom-webhook payload parsing
- incidents (migration 0011): incident_settings, error_sources, incidents; ingest from
  webhook POST /api/hooks/bugsink/<secret> and a 2-minute poll in the watchdog
- incident policy per project: notify / backlog (default) / start / ask (Telegram
  buttons) / triage (claude -p with the owner's token, falls back to ask)
- daily task cap, environments, ignore pattern; manual "fixed" until PEP-57;
  REGRESSED returns the task to the backlog
- web «Ошибки» section, bot buttons, MCP tools for agents and the PM, help, RULES.md
- testkit: mock-bugsink, mock-triage, incidents.test.ts (one test per scenario,
  plus a live run against the real Bugsink with PEPPA_LIVE_BUGSINK=1)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:31:32 +05:00
Асель
3ab408eb70 PEP-57: CI for factory projects — act_runner, template workflow, connect CI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:19:11 +05:00
Асель
c24b9b83be PEP-15: where the project's repo is in Gitea — link, visibility, namespace
- New project form: namespace (personal/org) and visibility (private/public) with hints
- provisionProject creates the repo with the chosen visibility (existing repo keeps its own)
- After creation: notice with "Открыть в Gitea"; project page "Репозиторий" block:
  path, namespace kind, visibility, who can see it (read live from Gitea, cached 60 s)
- Members without repo access are marked; owner can grant access to all members
- MCP create_project takes visibility and returns repo URL + who sees it; list_projects shows URLs
- CLI --public, /help, mock-gitea (visibility, /orgs, collaborators), e2e repo-visibility

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:12:07 +05:00
4215160d3a Merge pull request 'PEP-20: мониторинг сервисов — health, heartbeat, алерты админу' (#17) from task/PEP-20 into main 2026-11-13 14:10:05 +05:00
Асель
1085474c78 PEP-20: service monitoring — health, heartbeats, alerts to platform admins
- web/bot/watchdog heartbeats in settings (heartbeat:<service>)
- watchdog checks bot+web, bot checks watchdog+web; quiet > 5 min → Telegram alert
  to platform admins via outbox (platform.admins, default allowlist), recovery message,
  hourly reminder, 15 min cooldown, deterministic dedupe; watchdog sends directly
  when the bot is down
- GET /api/health (DB, version, services; 503 without DB)
- peppa status, peppa platform admins
- OpenSpec change pep-20-monitoring (archived), e2e monitor.test.ts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:06:54 +05:00
Асель
412f5f05ce PEP-61: top menu — Home instead of Inbox, Runners and Projects pages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:02:37 +05:00
Асель
3916ac9bc9 PEP-57, PEP-58: PM decisions recorded
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:01:34 +05:00
Асель
685810eb80 PEP-56: runner continues on its own after the usage limit resets
- parseResetTime: 'resets 5pm', 'resets at 3:10 AM', 'resets in 2h 15m',
  'try again at 23:30'; nearest future time, local clock
- recordLimit (hook StopFailure and the watchdog's banner path): status
  rate_limited, resume_at = reset + 60 s, or probes 30 → 60 → 120 min when
  unknown or the limit came back right after a resume; cap 6/day;
  PEPPA_LIMIT_AUTORESUME=off; PM is told 'continues at HH:MM'
- watchdog: at resume_at nudges the live agent or relaunches it with
  resume (vanished/dead rate-limited runners wait instead of failing); the
  limit message is closed as resolved; tick(db, { now }) for tests
- mocks: limit with resetInSec / unknown reset (claude and codex)
- tests: one per spec scenario + Codex (82 e2e total, green)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 03:50:58 +05:00
Асель
824ba56b74 PEP-2: Telegram per user — pairing from Settings, delivery by project access
- users.telegram_* replace the single global binding; one-time /start code
  per user (web Settings → Telegram, or peppa telegram pair <login>);
  a chat belongs to one user
- agent questions go to the project's owner and members who paired; an
  answer (button or reply) is accepted only from someone with access to
  the project; messages are closed for every recipient; /status is scoped
- CLI: telegram pair|status|unpair <login>, user ensure mock-<name>;
  dev stand pairs its test PM per user
- tests: several-users journey (bob without access, then as a member);
  70 e2e total, green
- BREAKING: the old global binding is removed; users pair again in Settings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 03:44:30 +05:00
Асель
73966e7e99 PEP-16: only allowlisted people can log into Peppa
- platform.allowed_logins (default asel, 7601978, dana): allowlisted logins,
  project invitees and members, and local CLI accounts may log in
- enforced in the Gitea OAuth callback, on every web request (removal takes
  effect at once) and on every remote MCP request (401)
- CLI: peppa platform allowlist | allow <login> | deny <login>
- tests: one per spec scenario (69 e2e total, green)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 03:38:08 +05:00
Асель
ead62e2c5f PEP-59: version and commit in the web footer; plans for PEP-60, PEP-61
- root package.json carries the Peppa version (0.15.0); next.config.ts
  stamps version, short/full commit, commit date and a dirty flag at build
- Footer on every app page and on the login page, commit linked to Gitea
- OpenSpec: pep-59 archived (web-workspace); new planned changes
  pep-60-platform-channel-digest (Telegram channel of the platform,
  releases/restarts/digests, superadmin settings) and pep-61-top-menu
  (Home instead of Inbox, Runners and Projects pages)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 03:24:08 +05:00
Асель
67f13848d3 Plans for PEP-56 (limit auto-resume), PEP-57 (CI/CD), PEP-58 (Bugsink) and handoff notes
OpenSpec changes with proposals, designs, Gherkin specs and task lists,
ready for apply; docs/HANDOFF.md with the current state and agreed order.
Planning only — no code changes.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-12 23:05:45 +05:00
Асель
1fefaa2e83 PEP-51: Gherkin scenarios in specs — shared rules and OpenSpec config
- template/RULES.md: scenarios as GIVEN / WHEN / THEN / AND steps with an
  example, Scenario Outline, one WHEN, concrete values; loaded into every
  agent session of every project
- rules.specs in the template's and Peppa's openspec/config.yaml (quoted:
  an unquoted ': ' made OpenSpec ignore the rules)
- verified: openspec validate accepts GIVEN/AND and Scenario Outline, and
  the rules reach 'openspec instructions specs'

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-12 22:54:27 +05:00
Асель
56b6224587 PEP-12: share projects with other users
- project_members / project_invites; owner adds people by Gitea login,
  invitations are applied at first login; members get the owner's access
  except member management; a member can leave
- access everywhere via projectForUser / userProjectIds (owner or member):
  web inbox, sessions, project pages, MCP
- shareProject / unshareProject: login checked in Gitea, repo collaborator
  (write) added by the owner's client or peppa-bot; missing admin rights
  don't block membership (repoAccess flag)
- web: Members block on the project page, 'shared' badge; MCP:
  list_members, add_member, remove_member; Help updated
- tests: 5 sharing journeys on mock-gitea (64 e2e total, green); test DB
  now also clears users and OAuth clients between files
- OpenSpec: pep-12 archived (project-sharing, web-auth)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-12 22:35:56 +05:00
Асель
cf43669ce8 PEP-14: full PM toolkit over MCP and a Help page
- MCP: create_goal, update_goal (title, description, open/done/archived),
  create_project (same provisioning as the web, as the user), update_task
  goal_id (move between goals / detach); server instructions explain the
  project → goals → tasks → board model and good habits
- web: /help — concepts, connecting ChatGPT/Codex/other MCP clients,
  scenarios with example phrases, tool reference; links in menu/settings
- PEPPA_TEMPLATE_URL override for provisioning (tests)
- 3 new tests (59 e2e total, green); prod tools/list and /help verified
- OpenSpec: pep-14 archived (remote-mcp, web-workspace)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:24:05 +05:00
Асель
3f55248150 PEP-13: connect Claude from the web for remote users
- Settings → Claude: Peppa runs 'claude setup-token' in tmux, shows the
  claude.com sign-in link, the user pastes the code into the form; the
  1-year token is stored encrypted on the user (users.claude_token_enc)
- Claude sessions of the owner's projects get CLAUDE_CODE_OAUTH_TOKEN;
  projects without an owner token keep using the machine login
- disconnect / reconnect; setup times out after 10 min and its tmux
  session (and scrollback with the token) is killed right after saving
- mock-claude setup-token; 2 new tests (56 e2e total, green)
- verified on prod: the button yields the real claude.com authorize URL
- OpenSpec: pep-13 archived into spec agent-credentials

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:06:37 +05:00
Асель
4e20f76767 PEP-11: update_task in the remote MCP
- edit a task's title and/or description by key through the owner-scoped
  manager tools; goal, status and other fields kept, no agent started;
  uses core updateTask (event log, NOTIFY) and returns the updated card
- test: title only, description only, both; goal/status/sessions intact;
  empty call and another user's task refused (54 e2e total, green)
- verified on prod: tools/list over HTTPS includes update_task
- OpenSpec: pep-11 archived into spec remote-mcp

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:52:46 +05:00
Асель
39367b1d82 PEP-8: remote MCP for ChatGPT with Peppa as OAuth 2.1 server
- OAuth: RFC 8414/9728 metadata, RFC 7591 dynamic registration,
  authorization code + PKCE S256 with a consent screen after Gitea login,
  refresh token rotation; tokens and codes stored hashed; revoke in web
- /mcp: stateless Streamable HTTP, Bearer → user; PM tools from
  @peppa/mcp/manager: projects, goals, tasks, create, move (board
  semantics, starts agents), inbox, answer/accept — owner-scoped
- login keeps ?next= through Gitea OAuth; Settings page with MCP URL and
  connected apps
- 5 new tests (53 e2e total, green); verified on prod as a client:
  DCR → consent → token → MCP over HTTPS → revoke → 401
- OpenSpec: pep-8 archived into spec remote-mcp

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:38:09 +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
Асель
112c08b063 PEP-6: dev stand with mock Telegram so agents can play the PM
- mock-telegram as a standalone server with /_mock/* inspection and PM
  actions (messages, send, click, callbacks)
- peppa-dev up|down|status|peppa|tg: isolated DB peppa_dev, tmux -L
  peppa-dev, ~/.peppa-dev, the real bot against mock-telegram, mock agents;
  test PM paired automatically via /start
- verified: question from a mock session answered with a button on the
  stand, delivered to the session; prod sessions/tmux/Telegram untouched
- OpenSpec: pep-6 archived into spec dev-sandbox

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:10:37 +05:00
Асель
2b0f2fd984 PEP-1: web platform with Gitea login, projects, goals, tasks, sessions
- web: Gitea OAuth2 login, signed session cookie, everything behind login;
  inbox with answers, project board (goals → tasks), task page with
  OpenSpec artifacts, questions and session controls; new project form;
  auto-refresh, light/dark, mobile
- users + projects.owner_id; tokens AES-256-GCM encrypted; owner-only access
- provisionProject (runner): new or existing Gitea repo, peppa-bot
  collaborator, template + openspec init, push, rollback; used by web and
  peppa project create (replaces scripts/bootstrap-project.sh)
- peppa web login-link, peppa project owner; Gitea OAuth app script
- bins/template resolved via PEPPA_ROOT (works inside the Next build)
- testkit: mock-gitea + 10 tests (42 e2e total, all green)
- OpenSpec: pep-1-web-platform archived into specs web-auth,
  project-provisioning, web-workspace

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:55:02 +05:00
Асель
f53b3447cf PEP: manage Peppa through Peppa; OpenSpec change for PEP-1
- Peppa registered as project PEP (.peppa/project.json, .mcp.json)
- goals #2/#3 and tasks PEP-1..PEP-5 created in Peppa
- openspec/changes/pep-1-web-platform: proposal, specs (web-auth,
  project-provisioning, web-workspace), design, tasks — awaiting PM approval
- packages/mcp/scripts/call.ts: call a peppa MCP tool from the shell

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:40:09 +05:00
Асель
4168e8c867 Bootstrap Peppa monorepo, DB schema, OpenSpec and project template
- pnpm workspace: apps/web (Next.js), apps/bot, packages/{db,shared,mcp,runner}
- Drizzle schema: projects, goals, tasks, sessions, questions, events
- Postgres via infra/docker-compose.yml
- template/: AGENTS.md workflow on OpenSpec, Claude hooks, peppa MCP config
- scripts to push template and bootstrap projects in Gitea

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