Jason Woltje
a86d304f07
ci/woodpecker/push/woodpecker Pipeline was successful
feat(#139): build Gate Rejection Response Handler
Implement rejection handling for tasks that fail quality gates after
all continuation attempts are exhausted.
Schema:
- Add TaskRejection model for tracking rejections
- Store failures, attempts, escalation state
Service:
- handleRejection: Main entry point for rejection handling
- logRejection: Database logging
- determineEscalation: Rule-based escalation determination
- executeEscalation: Execute escalation actions
- sendNotification: Notification dispatch
- markForManualReview: Flag tasks for human review
- getRejectionHistory: Query rejection history
- generateRejectionReport: Markdown report generation
Escalation rules:
- max-attempts: Trigger after 3+ attempts
- time-exceeded: Trigger after 2+ hours
- critical-failure: Trigger on security/critical issues
Actions: notify, block, reassign, cancel
Tests: 16 passing with 80% statement coverage
Fixes #139
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 14:01:42 -06:00
..
2026-01-30 20:39:03 -06:00
2026-01-30 18:26:41 -06:00
2026-01-30 20:39:03 -06:00
2026-01-30 18:26:41 -06:00
2026-01-31 10:37:14 -06:00
2026-01-31 13:44:23 -06:00
2026-01-31 13:51:46 -06:00
2026-01-31 10:37:14 -06:00
2026-01-30 18:26:41 -06:00
2026-01-31 01:01:21 -06:00
2026-01-31 01:01:21 -06:00
2026-01-28 15:07:04 -06:00
2026-01-30 20:39:03 -06:00
2026-01-31 01:01:21 -06:00
2026-01-30 20:39:03 -06:00
2026-01-30 18:26:41 -06:00
2026-01-31 12:55:11 -06:00
2026-01-31 13:07:58 -06:00
2026-01-30 18:26:41 -06:00
2026-01-31 12:44:50 -06:00
2026-01-30 20:39:03 -06:00
2026-01-31 01:01:21 -06:00
2026-01-31 13:33:04 -06:00
2026-01-31 13:24:46 -06:00
2026-01-31 14:01:42 -06:00
2026-01-31 01:01:21 -06:00
2026-01-31 12:55:11 -06:00
2026-01-30 18:26:41 -06:00
2026-01-30 20:39:03 -06:00
2026-01-30 20:39:03 -06:00
2026-01-30 20:39:03 -06:00
2026-01-31 13:15:36 -06:00
2026-01-28 16:24:25 -06:00
2026-01-30 18:26:41 -06:00
2026-01-31 12:55:11 -06:00
2026-01-28 13:31:33 -06:00
2026-01-29 12:29:21 -06:00