Expand description
The agent-facing error contract (ARCHITECTURE.md §2).
Every error stackless emits carries three parts: what failed (the step and instance), why (the observed cause), and how to proceed (a concrete command, flag, or fix). Agents branch on stable codes, never on prose.
Modules§
- codes
- Stable machine-readable error codes.
Structs§
- Error
Context - Factual observables agents use to locate and inspect a failure.
- Report
- The serialized error shape agents consume in
--jsonmode.
Constants§
- FAILURE_
LOG_ TAIL_ LINES - Lines of captured output included in failure context (hooks, health,
prepare). Aligns with
stackless logs --taildefaults for operators.
Traits§
- Fault
- Implemented by every error enum in every stackless crate.