"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createTaskCommand = createTaskCommand;
const task_new_1 = require("../task-new");
const task_baseline_1 = require("../task-baseline");
const task_validation_record_1 = require("../task-validation-record");
const task_validation_set_1 = require("../task-validation-set");
const task_waiver_1 = require("../task-waiver");
const task_attempt_open_1 = require("../task-attempt-open");
const task_attempt_abort_1 = require("../task-attempt-abort");
const task_attempt_supersede_1 = require("../task-attempt-supersede");
const task_attempt_contract_revise_1 = require("../task-attempt-contract-revise");
const task_attempt_chronology_recover_1 = require("../task-attempt-chronology-recover");
const task_scope_recover_1 = require("../task-scope-recover");
const task_implementation_complete_1 = require("../task-implementation-complete");
const task_promote_1 = require("../task-promote");
const task_readiness_review_1 = require("../task-readiness-review");
const task_readiness_authorize_1 = require("../task-readiness-authorize");
const task_disposition_1 = require("../task-disposition");
const task_block_1 = require("../task-block");
const task_cancel_1 = require("../task-cancel");
const task_close_1 = require("../task-close");
const task_review_1 = require("../task-review");
const task_review_repair_1 = require("../task-review-repair");
const task_update_1 = require("../task-update");
const registration_1 = require("../registration");
async function createTaskCommand() {
    const { Command } = await import("commander");
    const command = new Command("task");
    command.description("Create, promote, or update task artifacts, with readiness/review helpers kept read-only and separate from writes.");
    (0, registration_1.registerCommand)(command, await (0, task_attempt_open_1.createTaskAttemptOpenCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_attempt_abort_1.createTaskAttemptAbortCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_attempt_supersede_1.createTaskAttemptSupersedeCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_attempt_contract_revise_1.createTaskAttemptContractReviseCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_attempt_chronology_recover_1.createTaskAttemptChronologyRecoverCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_scope_recover_1.createTaskScopeRecoverCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_implementation_complete_1.createTaskImplementationCompleteCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_baseline_1.createTaskBaselineCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_validation_record_1.createTaskValidationRecordCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_validation_set_1.createTaskValidationSetCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_waiver_1.createTaskWaiverCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_waiver_1.createTaskRetryAuthorizeCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_new_1.createTaskNewCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_promote_1.createTaskPromoteCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_readiness_review_1.createTaskReadinessReviewCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_readiness_authorize_1.createTaskReadinessAuthorizeCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_disposition_1.createTaskDispositionCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_block_1.createTaskBlockCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_cancel_1.createTaskCancelCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_close_1.createTaskCloseCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_review_1.createTaskReviewCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_review_repair_1.createTaskReviewRepairCommand)());
    (0, registration_1.registerCommand)(command, await (0, task_update_1.createTaskUpdateCommand)());
    return command;
}
