-
-
Notifications
You must be signed in to change notification settings - Fork 0
Define agent failure taxonomy with structured error codes #229
Copy link
Copy link
Closed
Labels
architectureArchitecture and design patternsArchitecture and design patternsphase:44-agent-failure-taxonomy-diagnostic-loggingPhase 44: Agent Failure Taxonomy & Diagnostic LoggingPhase 44: Agent Failure Taxonomy & Diagnostic LoggingreliabilityError handling and retry logicError handling and retry logic
Metadata
Metadata
Assignees
Labels
architectureArchitecture and design patternsArchitecture and design patternsphase:44-agent-failure-taxonomy-diagnostic-loggingPhase 44: Agent Failure Taxonomy & Diagnostic LoggingPhase 44: Agent Failure Taxonomy & Diagnostic LoggingreliabilityError handling and retry logicError handling and retry logic
Description
Create a formal taxonomy of GSD agent failure modes: timeout (agent exceeded turn limit), malformed-output (agent returned unparseable result), partial-completion (agent completed some but not all tasks), hallucination (agent claimed success but artifacts missing), permission-denied (agent blocked by hook or sandbox). Each failure type gets a structured error code, severity level, and recommended recovery action. Store taxonomy in lib/agent-errors.cjs.
Acceptance Criteria
Milestone Context
plan-phaseMilestone Goal
Build automated fallback strategies, retry policies, structured diagnostic logging, and checkpoint/resume capabilities for GSD agent failures
Phase Goal
Define the classification system for agent failure modes and build structured diagnostic logging
Dependencies
none
Scope Hints
plan-phase