/**
 * Task subsystem types. Mirrors openclaw/openclaw src/tasks/task-registry.types.ts
 * with channel/delivery fields stripped — Franklin is CLI-first single-user.
 */
const TERMINAL = new Set([
    'succeeded',
    'failed',
    'timed_out',
    'cancelled',
    'lost',
]);
export function isTerminalTaskStatus(s) {
    return TERMINAL.has(s);
}
