peppa/packages/testkit/fixtures/claude-live/stop-after-block.json
Асель 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

17 lines
1.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"session_id": "e96536c6-f9ba-49d2-bf73-4d57ba125f64",
"transcript_path": "/Users/mock/.claude/projects/-Users-mock--peppa-dev-workspaces-live/e96536c6-f9ba-49d2-bf73-4d57ba125f64.jsonl",
"cwd": "/Users/mock/.peppa-dev/workspaces/live",
"scratchpad_dir": "/private/tmp/claude-501/-Users-mock--peppa-dev-workspaces-live/e96536c6-f9ba-49d2-bf73-4d57ba125f64/scratchpad",
"prompt_id": "c33d7529-95bd-4b45-946b-56264cfc5c1c",
"permission_mode": "auto",
"effort": {
"level": "medium"
},
"hook_event_name": "Stop",
"stop_hook_active": true,
"last_assistant_message": "Не буду продолжать LIVE-1 по этому хуку. В начале вы написали, что это тест хуков Пеппы, не настоящая работа, и просили не вызывать MCP `peppa` и не трогать OpenSpec. Хук требует именно этого: `ask_pm`, `update_task(status: review)`, PR. Это внешние действия, поэтому без вашего подтверждения их не делаю.\n\nЧто сделано в тесте: `touch four.txt` и `touch five.txt` выполнены последовательно, файлы созданы в рабочем каталоге.\n\nЕсли LIVE-1 нужно довести до настоящего PR, напишите, и я сделаю это по `tasks.md` и правилам Пеппы. Если тест завершён, ничего больше делать не нужно. В этом случае хук можно отключить или поправить на стороне Пеппы, так как он требует реальной работы, которую вы не заказывали.",
"background_tasks": [],
"session_crons": []
}