import { planningStrictValidationEnabled } from "../planning-config.js";
import { validateTaskSetForStrictMode } from "../strict-task-validation.js";
/** Post-mutation strict-mode check over the full task set in the store. */
export function strictValidationError(store, effectiveConfig) {
    if (!planningStrictValidationEnabled({ effectiveConfig })) {
        return null;
    }
    return validateTaskSetForStrictMode(store.getAllTasks());
}
