/**
 * Type definitions for sw:plan command
 *
 * Based on ADR-0046: Plan Command Architecture
 * Part of increment 0039: Ultra-Smart Next Command
 */
/**
 * Error codes for plan command
 */
export var PlanErrorCode;
(function (PlanErrorCode) {
    // Detection errors
    PlanErrorCode["NO_ACTIVE_INCREMENT"] = "NO_ACTIVE_INCREMENT";
    PlanErrorCode["MULTIPLE_ACTIVE_INCREMENTS"] = "MULTIPLE_ACTIVE_INCREMENTS";
    PlanErrorCode["INCREMENT_NOT_FOUND"] = "INCREMENT_NOT_FOUND";
    // Validation errors
    PlanErrorCode["SPEC_NOT_FOUND"] = "SPEC_NOT_FOUND";
    PlanErrorCode["SPEC_EMPTY"] = "SPEC_EMPTY";
    PlanErrorCode["INVALID_INCREMENT_STATUS"] = "INVALID_INCREMENT_STATUS";
    PlanErrorCode["PLAN_ALREADY_EXISTS"] = "PLAN_ALREADY_EXISTS";
    PlanErrorCode["TASKS_ALREADY_EXIST"] = "TASKS_ALREADY_EXIST";
    // Agent errors
    PlanErrorCode["ARCHITECT_AGENT_FAILED"] = "ARCHITECT_AGENT_FAILED";
    PlanErrorCode["TASK_GENERATOR_FAILED"] = "TASK_GENERATOR_FAILED";
    // File system errors
    PlanErrorCode["FILE_WRITE_FAILED"] = "FILE_WRITE_FAILED";
    PlanErrorCode["METADATA_UPDATE_FAILED"] = "METADATA_UPDATE_FAILED";
    // General errors
    PlanErrorCode["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
})(PlanErrorCode || (PlanErrorCode = {}));
/**
 * Warning codes for plan command
 */
export var PlanWarningCode;
(function (PlanWarningCode) {
    PlanWarningCode["SPEC_TOO_SHORT"] = "SPEC_TOO_SHORT";
    PlanWarningCode["SPEC_TOO_LONG"] = "SPEC_TOO_LONG";
    PlanWarningCode["NO_ACCEPTANCE_CRITERIA"] = "NO_ACCEPTANCE_CRITERIA";
    PlanWarningCode["OVERWRITING_EXISTING_PLAN"] = "OVERWRITING_EXISTING_PLAN";
    PlanWarningCode["OVERWRITING_EXISTING_TASKS"] = "OVERWRITING_EXISTING_TASKS";
})(PlanWarningCode || (PlanWarningCode = {}));
//# sourceMappingURL=types.js.map