error-logging
// Log all errors with full context, detect patterns, and suggest approach mutations to avoid repeated failures.
$ git log --oneline --stat
stars:384
forks:73
updated:March 4, 2026
SKILL.mdreadonly
Error Logging
Log all errors with full context, detect patterns, and suggest approach mutations to avoid repeated failures.
Agent
Error Analyst - pwf-error-analyst
Workflow
- Log ALL errors immediately to progress.md (Rule 3)
- Include error context, stack traces, and reproduction steps
- Tag errors with severity: critical, warning, informational
- Analyze error patterns across phases and iterations
- Suggest approach mutations for known failure patterns (Rule 4)
- Track error resolution status for verification
Inputs
projectPath- Root path for planning filesphaseName- Phase where error occurrederrors- Array of error objectserrorHistory- Previous errors for pattern detection
Outputs
- Updated progress.md error section
- Approach mutations with alternative strategies
- Error resolution report for verification
Process Files
planning-orchestrator.js- Error logging during phasesplanning-execution.js- Immediate error logging, pattern analysisplanning-verification.js- Error resolution checking