export const TASK_POLICY_OVERRIDE_PRECEDENCE = [
    "task",
    "module",
    "workspace",
    "built-in"
];
export const DEFAULT_MAINTAINER_DELIVERY_POLICY = {
    defaultProfile: "github-pr",
    enforcementMode: "advisory",
    profiles: {
        "github-pr": {
            requiresPhaseBranch: true,
            branchPattern: "release/phase-{phaseKey}",
            taskBranchPattern: "feature/{taskId}-{slug}",
            releaseTagPattern: "v{version}",
            review: "github-pr",
            evidenceKind: "github-pr",
            prProvider: "github",
            mergeStrategy: "merge",
            phaseToMainMode: "phase-closeout"
        }
    },
    moduleOverrides: {}
};
export const DEFAULT_TASK_INTAKE_POLICY = {
    defaultProfile: "advisory",
    enforcementMode: "advisory",
    profiles: {
        advisory: {
            requiredFields: [],
            recommendedFields: ["title", "summary", "technicalScope", "acceptanceCriteria"],
            forbiddenFields: [],
            fieldRules: {},
            enforcementMode: "advisory"
        },
        improvement: {
            requiredFields: ["technicalScope", "acceptanceCriteria", "metadata.issue", "metadata.supportingReasoning"],
            recommendedFields: ["title", "summary", "metadata.proposedSolutions"],
            forbiddenFields: [],
            fieldRules: {
                technicalScope: { minItems: 1, itemMinLength: 1 },
                acceptanceCriteria: { minItems: 1, itemMinLength: 1 },
                "metadata.issue": { minLength: 1 },
                "metadata.supportingReasoning": { minLength: 1 }
            },
            enforcementMode: "advisory"
        }
    },
    moduleOverrides: {}
};
export const TASK_POLICY_COMPATIBILITY_NOTES = [
    "metadata.maintainerDeliveryProfile remains a task-level override source for delivery policy resolvers.",
    "metadata.requiresPhaseBranch remains compatible with the built-in github-pr delivery profile.",
    "Task intake enforcement supports enforce-on-accept (proposed→ready only) in addition to advisory and full enforce."
];
