Files
kis_trader/scratch/check_accidents.py

17 lines
737 B
Python

import json
with open('/home/hoon/.gemini/antigravity-ide/brain/e07d5342-58aa-4443-a5b3-73bde0f593dd/.system_generated/logs/transcript.jsonl', 'r') as f:
for line in f:
try:
data = json.loads(line)
except:
continue
if data.get('step_index') in [5795, 5804, 5805, 5806, 5807, 5808, 5809]:
if data.get('type') == 'PLANNER_RESPONSE':
for call in data.get('tool_calls', []):
print(f"Step {data.get('step_index')}: {call.get('name')}")
if 'args' in call:
for k, v in call['args'].items():
if k == 'TargetFile':
print(f" Modified: {v}")