peppa/packages/testkit/src
Асель 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
..
mock-agent.ts PEP-3: hooks, statusLine and the permission dialog checked against live Claude Code 2.1.323 2026-11-14 12:34:40 +05:00
mock-bugsink.ts PEP-58: Bugsink — production errors become Peppa incidents and tasks 2026-11-13 14:31:32 +05:00
mock-gitea.ts PEP-44, PEP-46: review preview with screenshots; Gitea issues, PR comments, manual merge 2026-11-14 06:06:57 +05:00
mock-kazeds-relay.ts PEP-65: eGov QR login through the KazEDS relay (sign.aitu.uz) 2026-11-14 01:14:10 +05:00
mock-planner.ts PEP-34/42: board order, archive, epic progress, story dependencies, epic planner (core, runner, MCP) 2026-11-14 06:28:53 +05:00
mock-push.ts PEP-29/35/55: notification prefs and routing, Web Push outbox, daily digest; mock-push, tests 2026-11-14 05:10:20 +05:00
mock-reviewer.ts 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 2026-11-14 04:59:32 +05:00
mock-telegram-server.ts PEP-6: dev stand with mock Telegram so agents can play the PM 2026-11-12 21:10:37 +05:00
mock-telegram.ts PEP-45: stories from a Telegram message (text or voice); docs; archive PEP-44/45/46 changes 2026-11-14 06:07:18 +05:00
mock-transcribe.ts PEP-45: stories from a Telegram message (text or voice); docs; archive PEP-44/45/46 changes 2026-11-14 06:07:18 +05:00
mock-triage.ts PEP-58: Bugsink — production errors become Peppa incidents and tasks 2026-11-13 14:31:32 +05:00
peppa-dev-tg.ts PEP-6: dev stand with mock Telegram so agents can play the PM 2026-11-12 21:10:37 +05:00
scenario.ts PEP-19/54: project secrets for agents, secrets audit and two-key PEPPA_SECRET rotation 2026-11-14 07:19:57 +05:00
storage-worker.ts PEP-36 stage 2: SQLite (node:sqlite, WAL) instead of Postgres 2026-11-13 17:23:24 +05:00