- 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>
33 lines
928 B
JSON
33 lines
928 B
JSON
{
|
|
"session_id": "a8a23fed-636e-4685-963c-56dd326f5821",
|
|
"transcript_path": "/Users/mock/.claude/projects/-Users-mock--peppa-dev-workspaces-live/a8a23fed-636e-4685-963c-56dd326f5821.jsonl",
|
|
"cwd": "/Users/mock/.peppa-dev/workspaces/live",
|
|
"scratchpad_dir": "/private/tmp/claude-501/-Users-mock--peppa-dev-workspaces-live/a8a23fed-636e-4685-963c-56dd326f5821/scratchpad",
|
|
"prompt_id": "f4a78a56-3378-45be-ac8a-75eebfc321bd",
|
|
"permission_mode": "default",
|
|
"effort": {
|
|
"level": "medium"
|
|
},
|
|
"hook_event_name": "PermissionRequest",
|
|
"tool_name": "mcp__peppa__get_task",
|
|
"tool_input": {
|
|
"task": "LIVE-1"
|
|
},
|
|
"permission_suggestions": [
|
|
{
|
|
"type": "addRules",
|
|
"rules": [
|
|
{
|
|
"toolName": "mcp__peppa__get_task"
|
|
}
|
|
],
|
|
"behavior": "allow",
|
|
"destination": "localSettings"
|
|
}
|
|
],
|
|
"mcp_server": {
|
|
"name": "peppa",
|
|
"source": "project"
|
|
}
|
|
}
|