import { getPlanningGenerationPolicy, mergePlanningGenerationPolicyWarnings } from "./planning-config.js";
/** Standard `data.planningGeneration` + policy fields on task-engine run responses. */
export function attachPolicyMeta(data, ctx, planningGen, warnings) {
    data.planningGeneration = planningGen;
    data.planningGenerationPolicy = getPlanningGenerationPolicy({
        effectiveConfig: ctx.effectiveConfig
    });
    mergePlanningGenerationPolicyWarnings(data, warnings);
}
