auto-sync: 2026-05-21 20:05:59
This commit is contained in:
@@ -24,17 +24,17 @@ const STATUS_META: Record<string, { color: string; label: string }> = {
|
||||
};
|
||||
|
||||
const VALID_TRANSITIONS: Record<string, string[]> = {
|
||||
pending: ['claimed', 'cancelled'],
|
||||
pending: ['claimed', 'paused', 'cancelled'],
|
||||
claimed: ['working', 'pending', 'paused', 'cancelled'],
|
||||
working: ['review', 'blocked', 'failed', 'paused', 'escalated', 'waiting_human', 'cancelled'],
|
||||
paused: ['working', 'cancelled'],
|
||||
review: ['done', 'pending', 'failed', 'escalated', 'waiting_human', 'cancelled'],
|
||||
escalated: ['working', 'pending', 'cancelled'],
|
||||
waiting_human: ['working', 'done', 'cancelled'],
|
||||
paused: ['pending', 'cancelled'],
|
||||
review: ['done', 'pending', 'failed', 'paused', 'escalated', 'waiting_human', 'cancelled'],
|
||||
escalated: ['working', 'pending', 'paused', 'cancelled'],
|
||||
waiting_human: ['working', 'done', 'paused', 'cancelled'],
|
||||
blocked: ['pending', 'escalated', 'cancelled'],
|
||||
failed: ['pending', 'escalated', 'cancelled'],
|
||||
done: [],
|
||||
cancelled: [],
|
||||
done: ['cancelled'],
|
||||
cancelled: ['pending'],
|
||||
};
|
||||
|
||||
const PRIORITY_META: Record<number, { color: string; label: string }> = {
|
||||
|
||||
Reference in New Issue
Block a user