Skip to content

Define agent failure taxonomy with structured error codes #229

@snipcodeit

Description

@snipcodeit

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

  • Define agent failure taxonomy with structured error codes

Milestone Context

Milestone v8 — Agent Reliability & Failure Recovery
Phase Phase 44: Agent Failure Taxonomy & Diagnostic Logging
GSD Route plan-phase
Phase Position Phase 1 of 3 in milestone

Milestone 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

  • Estimated route: plan-phase
  • Labels: reliability,architecture

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions