Commit Graph

73 Commits

Author SHA1 Message Date
Асель
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
Асель
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
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
Асель
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
1df43629e3 Merge pull request 'PEP-69: агенты не наследуют окружение чужого tmux-сервера' (#80) from task/pep-69 into main 2026-11-15 00:10:52 +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
Асель
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
Асель
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
Асель
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
Асель
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
Асель
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
Асель
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
Асель
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
Асель
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
Асель
ce3e33dc5f PEP-29/35/55: user-notifications spec purpose
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:10:20 +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
Асель
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
Асель
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
Асель
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
Асель
6cceac62b2 PEP-66: archive OpenSpec change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:28:42 +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