/**
 * 任务上下文 — 常量和状态转换表
 */
export const MAX_TASK_AGE_DAYS = 30;
export const MAX_TASKS = 100;
export const MAX_REWORK = 3;
// 状态转换表: 定义每个状态允许的合法后继状态
export const VALID_TRANSITIONS = {
    classifying: ["expanding", "done", "failed"],
    expanding: ["executing", "clarifying", "failed"],
    clarifying: ["expanding", "failed"],
    executing: ["verifying", "retrying", "reworking", "failed"],
    verifying: ["learning", "retrying", "reworking", "done", "failed"],
    retrying: ["executing", "reworking", "failed"],
    reworking: ["expanding", "executing", "failed"],
    learning: ["done", "retrying", "reworking", "failed"],
    done: [],
    failed: ["expanding", "classifying"],
};
//# sourceMappingURL=constants.js.map