singularity-forge/docs-internal/extending-pi/21-error-handling.md
Lex Christopherson d20d5e8fb5 docs: add Mintlify documentation site and move internal docs
Add a proper public-facing documentation site using Mintlify with 19 MDX
pages covering getting started, auto mode, commands, configuration, and
all user-facing features. Move internal/SDK documentation (Pi SDK, TUI,
context & hooks, research notes, ADRs) to docs-internal/ since they
should not be part of the public documentation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 09:54:41 -06: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.