Errors and Recovery
Lexer/parser/runtime and module failures provide diagnostics appropriate to their source. Some carry file/line context; do not assume every legacy native-module failure has the same shape. Catch supported language/module errors with try/catch.
| Failure | Behavior |
|---|---|
raise / ArityError | Catchable language errors; user-function arity is checked before argument/body effects. |
HttpError / SqlError / ProviderError | Explicit transport/database/provider errors; do not confuse a failure with an empty successful result. |
| Python errors | Catchable with type/message/traceback; __result__ cleared to null. |
| Legacy native readers/OCR | May return null or diagnostic strings. Inspect the module contract. |
Timeouts and Cancellation
Timeout is a total elapsed budget in seconds, including post-delays. Inner timeouts cannot extend an outer deadline. Zero inherits the parent budget. Task/agent timeouts may be caught outside that scope while the parent remains active; flow expiration or host cancellation ends the run.
Ollama Setup
The dedicated adapter uses the running local Ollama service and installed models. Native language, SQLite and HTTP programs can run without Ollama. Missing providers and request failures raise explicit errors when a model task needs them.
Validation and Tests
The accepted beta candidate passed 55/55 CTest entries. Counts refer to CTest entries, not individual assertions inside the native test binaries. Model quality and optional external integrations have separate acceptance.
| Layer | Coverage |
|---|---|
| Runtime/interpreter self-tests | Core runtime and language assertions; axon test invokes the bundled two executables. |
| Full CTest suite | Transport, native SQL, Python/process isolation, CLI, documentation and release metadata checks. |
| Beta integration | Actual overlapping HTTP, typed SQL aggregation, Python selection, failure recovery and shell result/cleanup. |
| Optional live model acceptance | Run the beta harness with --ollama and review factual accuracy; external Ollama/llama3.2 required. |
For Linux configure/build commands see Build from Source. For recorded evidence and limitations see VALIDATION.md. Passing fixture tests is not a guarantee for arbitrary models or documents.
Roadmap and Compatibility
The roadmap groups available capabilities, quality work, next priorities, planned capabilities and research. Dedicated new drivers, scraping, MCP/gRPC and automated context/RAG remain separate tracks.