Commit Graph

204 Commits

Author SHA1 Message Date
Асель
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
781936478e Merge pull request 'PEP-75: команда агентов — казахские имена и характер' (#66) from task/pep-75 into main 2026-11-14 18:58:09 +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
b48791dbde Merge pull request 'PEP-74: суперадмин видит все проекты' (#65) from task/pep-74 into main 2026-11-14 18:45:49 +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
e7a58a6d36 Merge pull request 'PEP-73: вкладка AGENTS.md в проекте' (#64) from task/pep-73 into main 2026-11-14 18:37:50 +05:00
Асель
2939bad87f PEP-73: type the commit author in mock-gitea contents API
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:27:18 +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
7bef0d3401 Merge pull request 'PEP-72: вход eGov с телефона по диплинку' (#63) from task/pep-72 into main 2026-11-14 18:21:46 +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
62f2817a28 Merge pull request 'PEP-71: вход только через eGov с авторегистрацией' (#62) from task/pep-71 into main 2026-11-14 18:09:39 +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
b6355a7ab5 Merge pull request 'PEP-70: маскот-мопс у вопросов агентов' (#61) from task/pep-70 into main 2026-11-14 16:40:27 +05:00
Асель
7a4988ec89 PEP-70: pug face back, the terminal prompt glows on the belly
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 16:30:46 +05:00
Асель
06b3501427 PEP-70: clay-style chibi pug with a terminal-screen face
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 16:29:34 +05:00
Асель
5f1b1b4212 PEP-70: pug mascot next to the agents' questions
Cartoon pug (inline SVG) on Home: sleeps when nothing waits, perks up with
a speech bubble and question count when agents ask. Motion only without
prefers-reduced-motion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 16:27:14 +05:00
90c47b12fe Merge pull request 'PEP-3: хуки, statusLine и диалог разрешений сверены с живым Claude Code' (#60) from task/pep-3 into main 2026-11-14 12:41:07 +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
18eadc4c3a Merge pull request 'PEP-17/40: песочница агента (контейнер на раннер, релей) и хосты раннеров по SSH' (#58) from task/pep-17 into main 2026-11-14 08:10:21 +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
4094e846c6 Merge pull request 'PEP-30/41/31: память проекта, модель агента на стори с эскалацией, чек-лист первого запуска' (#55) from task/pep-30 into main 2026-11-14 07:51:57 +05:00
Асель
621aa0b5b3 PEP-41: escalation goes through the runner service in client processes (PEP-21)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:46:10 +05:00
Асель
12d8fea4c2 PEP-30/41/31: typecheck the e2e test's mock log access
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:44:24 +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
caf102bcb7 Merge pull request 'PEP-21/28: раннер-сервис (очередь команд в вачдоге), вачдог 2.0 — авто-восстановление и эскалация' (#57) from task/pep-21 into main 2026-11-14 07:40:36 +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
134c00ff18 Merge pull request 'PEP-19/54: секреты проекта для агентов, ревизия секретов и ротация PEPPA_SECRET' (#56) from task/pep-19 into main 2026-11-14 07:28:29 +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
a6a385e3d1 Merge pull request 'PEP-50/63: спецификации этапов до PEP-1; Bugsink на SQLite' (#54) from task/pep-50-63 into main 2026-11-14 07:17:58 +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
9195c57505 Merge pull request 'PEP-5/43/47/48: расход и лимиты, бюджеты стори, метрики фабрики, журнал действий' (#52) from task/pep-5 into main 2026-11-14 06:57:34 +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
68ccef697c Merge pull request 'PEP-10/27/53: раннер с очередью стори, git worktree на раннер, свободный «Новый терминал»' (#50) from task/pep-10 into main 2026-11-14 06:46:37 +05:00
Асель
3c84608125 PEP-10: hook stays silent only for done stories (a manual run on a backlog story still pings)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:38:02 +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
385e2607ff Merge pull request 'PEP-34/42/52: порядок и архив на доске, прогресс эпика; зависимости и планировщик эпика; палитра ⌘K' (#51) from task/pep-34-42-52 into main 2026-11-14 06:36:51 +05:00
Асель
8b8a1abd5d PEP-34: oauth test expects epic progress in list_epics
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:29:00 +05:00
Асель
96c54856dd PEP-34/42/52: AGENTS.md notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:29:00 +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
Асель
5a8948d01e PEP-52: command palette ⌘K, keyboard shortcuts, /help/shortcuts; help for board order, dependencies, planner
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:29:00 +05:00
Асель
3b86c00768 PEP-34/42: web — board drag order, collapsed Done, epic progress, archive, dependencies, plan page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:29:00 +05:00
Асель
4fdd3afd92 PEP-34/42: e2e tests for board order, archive, dependencies, planner
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:28:53 +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
cecabfaf75 Merge pull request 'PEP-44/45/46: превью на ревью со скриншотами, стори из сообщения боту, интеграция с Gitea' (#53) from task/pep-44-46-integrations into main 2026-11-14 06:24:02 +05:00
Асель
53dd8a1f19 PEP-46: ci test expects the extended webhook events
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 06:07:18 +05:00