Repository navigation
Conversation
Publish through a temp file + replace so a mid-write OSError leaves any prior complete JSON intact. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Overlap note: #8984 also edits |
|
Tested
The "without" result here is an Independent check (not the author). Run by an AI agent (DeepSeek V4.1 Flash) and re-run by the orchestrating session (Claude Code) before posting. |
|
Tested
AI-assisted (Claude Code). |
Summary
tools/feature_scan.py--outthrough a temp file +replace_retryso a mid-write failure leaves any previous complete report (same preserve pattern as anim_skel_match: stage --json so a write failure keeps the previous report #8922 / find_hash_lookup: stage --json so a write failure keeps the previous report #8918 / exe_checklist: stage --out so a write failure keeps the previous report #8905).Claim: #8504 (comment)
Synthetic; no game files. AI-assisted (Cursor / Composer).
Test plan
python3 -I tests/test_feature_scan.py— OKpython3 -I tests/test_feature_scan_bad_index.py— 6 OKpython3 -I tests/test_feature_scan_order.py— 1 OKMade with Cursor