export function evaluateNarutoFinalizer(input = {}) {
    const localParticipated = input.localParticipated === true;
    const gptFinalRequired = localParticipated;
    const gptFinalAccepted = input.gptFinalStatus === 'approved' || input.gptFinalStatus === 'modified';
    const blockers = [
        ...(gptFinalRequired && !gptFinalAccepted ? ['naruto_local_worker_output_needs_gpt_final_arbiter'] : [])
    ];
    return {
        schema: 'sks.naruto-finalizer.v1',
        local_participated: localParticipated,
        gpt_final_required: gptFinalRequired,
        final_status: blockers.length ? 'blocked' : input.applyPatches === true ? 'accepted' : 'draft',
        final_patch_source: gptFinalRequired ? 'gpt_final_arbiter' : 'deterministic_no_local',
        blockers,
        ok: blockers.length === 0
    };
}
//# sourceMappingURL=naruto-finalizer.js.map