-
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
blocked-by:#229Blocked by issue #229Blocked by issue #229observabilityPipeline observability and tracingPipeline observability and tracingphase: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
Description
Create lib/agent-diagnostics.cjs that captures: agent type, prompt hash, start/end timestamps, turn count, exit reason, output size, and failure classification. Write diagnostic entries to .mgw/diagnostics/-.json. Include a prune function that removes entries older than 30 days. Logger must be non-blocking — failures in logging never halt the pipeline.
Acceptance Criteria
- Build structured diagnostic logger for agent executions
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 |
Phase Goal
Define the classification system for agent failure modes and build structured diagnostic logging
Dependencies
define-agent-failure-taxonomy-with-structur
Scope Hints
- Estimated route:
plan-phase - Labels: reliability,observability
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
blocked-by:#229Blocked by issue #229Blocked by issue #229observabilityPipeline observability and tracingPipeline observability and tracingphase: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