Debugging
- Capture the full error (
se_diagnoseon the log). - Reproduce with the smallest command.
- Classify: missing toolchain, dependency, logic, permissions, network, Android SDK, SQL policy.
- Fix the cause, not the symptom (don't
except: pass). - Re-run the same command.
Android crashes → android_analyze_crash / logcat.
Gradle SDK errors → android_analyze_build_failure.
SQL refused → Database MCP policy, not "the query is wrong" if it was DROP DATABASE.
Windows printers → win_diagnose_printer.