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>
- 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>
- 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>
- 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>
- 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>
- 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>