Files
OCR/.claude/settings.local.json
egg 4325d024a7 chore: cleanup test files and archive pdf-layout-restoration proposal
Remove obsolete test and utility scripts:
- backend/create_test_user.py
- backend/mark_migration_done.py
- backend/fix_alembic_version.py
- backend/RUN_TESTS.md (outdated test documentation)

Archive completed pdf-layout-restoration proposal:
- Moved from openspec/changes/pdf-layout-restoration/
- To openspec/changes/archive/2025-11-24-pdf-layout-restoration/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 19:43:05 +08:00

66 lines
2.9 KiB
JSON

{
"permissions": {
"allow": [
"Bash(git commit:*)",
"Bash(xargs ls:*)",
"Bash(jq:*)",
"Bash(python:*)",
"Bash(python3:*)",
"Bash(source venv/bin/activate)",
"Bash(find:*)",
"Bash(ls:*)",
"Bash(openspec list:*)",
"Bash(curl:*)",
"Bash(source:*)",
"Bash(pytest:*)",
"Bash(git -C /home/egg/project/Tool_OCR add backend/app/routers/tasks.py backend/app/schemas/task.py backend/app/services/ocr_service.py openspec/changes/dual-track-document-processing/design.md openspec/changes/dual-track-document-processing/tasks.md backend/tests/e2e/)",
"Bash(git -C /home/egg/project/Tool_OCR commit -m \"$(cat <<''EOF''\nfix: resolve E2E test failures and add Office direct extraction design\n\n- Fix MySQL connection timeout by creating fresh DB session after OCR\n- Fix /analyze endpoint attribute errors (detect vs analyze, metadata)\n- Add processing_track field extraction to TaskDetailResponse\n- Update E2E tests to use POST for /analyze endpoint\n- Increase Office document timeout to 300s\n- Add Section 2.4 tasks for Office document direct extraction\n- Document Office → PDF → Direct track strategy in design.md\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude <noreply@anthropic.com>\nEOF\n)\")",
"Bash(pkill:*)",
"Bash(tee:*)",
"Bash(cat:*)",
"Bash(pdfinfo:*)",
"Bash(journalctl:*)",
"Bash(openspec validate:*)",
"Bash(git add:*)",
"Bash(git rm:*)",
"Bash(openspec create:*)",
"Bash(openspec --help:*)",
"Bash(openspec change --help:*)",
"Bash(xargs cat:*)",
"Bash(analyze_table_cells.py )",
"Bash(cache_cleared_test.pdf )",
"Bash(calculate_optimal_buffer.py )",
"Bash(check_font_size.py )",
"Bash(check_table_surroundings.py )",
"Bash(check_table_text_overlap.py )",
"Bash(debug_pdf_rendering.py )",
"Bash(final_fix_test.pdf )",
"Bash(inspect_generated_pdf.py:*)",
"Bash(inspect_table_columns.py )",
"Bash(log_test.pdf )",
"Bash(no_buffer_test.pdf )",
"Bash(rendering_fix_test.pdf )",
"Bash(rowheights_final_test.pdf )",
"Bash(rowheights_test.pdf )",
"Bash(scaling_test.pdf )",
"Bash(test_final_fix.py )",
"Bash(test_rendering_fix.py )",
"Bash(test_rowheights.pdf )",
"Bash(test_rowheights.py )",
"Bash(test_table_overlap_fix.py )",
"Bash(verify_chart_recognition.py )",
"Bash(verify_overlap_fix.py )",
"Bash(test_rowheights_final.sh )",
"Bash(FINAL_SCALING_FIX.pdf )",
"Bash(table_overlap_fix_output.pdf )",
"Bash(overlap_verification_output.pdf )",
"Bash(PDF_LAYOUT_RESTORATION_COMPLETE.md )",
"Bash(RENDERING_OVERLAP_FIX.md )",
"Bash(FINAL_FIX_SUMMARY.md )",
"Bash(TABLE_SCALING_FIX_SUMMARY.md )"
],
"deny": [],
"ask": []
}
}