singularity-forge/docs/dev/extending-pi/21-error-handling.md
Jeremy 872b0adb48 docs: reorganize into user-docs/ and dev/ subdirectories
Split flat docs/ into user-docs/ (guides, config, troubleshooting) and
dev/ (ADRs, architecture, extension guides, proposals). Updated
docs/README.md index to reflect new paths.
2026-04-10 09:25:31 -05:00

267 B

Error Handling

  • Extension errors are logged but don't crash pi. The agent continues.
  • tool_call handler errors block the tool (fail-safe behavior).
  • Tool execute errors are reported to the LLM with isError: true, allowing it to recover.