Skip to main content

Module fault

Module fault 

Source
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§

ErrorContext
Factual observables agents use to locate and inspect a failure.
Report
The serialized error shape agents consume in --json mode.

Constants§

FAILURE_LOG_TAIL_LINES
Lines of captured output included in failure context (hooks, health, prepare). Aligns with stackless logs --tail defaults for operators.

Traits§

Fault
Implemented by every error enum in every stackless crate.