[__('Ready for review', 'agentic-bridge'), 'abv2-badge-warning', __('Why it matters: a named administrator must approve the exact human-authored answer before it can be applied.', 'agentic-bridge'), ['approve' => __('Approve answer', 'agentic-bridge'), 'reject' => __('Decline answer', 'agentic-bridge')]],
'APPROVED' => [__('Approved', 'agentic-bridge'), 'abv2-badge-pass', __('Next: apply this approved answer to the local Agentic Bridge record for this page.', 'agentic-bridge'), ['apply' => __('Apply approved answer', 'agentic-bridge')]],
'APPLIED' => [__('Applied locally', 'agentic-bridge'), 'abv2-badge-pass', __('Next: verify that the exact local record is present. Restore is available if you need to undo.', 'agentic-bridge'), ['verify' => __('Verify local result', 'agentic-bridge'), 'restore' => __('Restore previous records', 'agentic-bridge')]],
'VERIFIED' => [__('Verified locally', 'agentic-bridge'), 'abv2-badge-pass', __('Evidence: the exact approved record is present locally. Restore remains available.', 'agentic-bridge'), ['restore' => __('Restore previous records', 'agentic-bridge')]],
'REJECTED' => [__('Not approved', 'agentic-bridge'), 'abv2-badge-muted', __('This answer was not applied. Create a new human-authored answer if the page still needs one.', 'agentic-bridge'), []],
'CONFLICT' => [__('Needs attention', 'agentic-bridge'), 'abv2-badge-warning', __('The page’s local records changed before this action could finish. Review the current records before creating another answer.', 'agentic-bridge'), []],
'RESTORED' => [__('Restored', 'agentic-bridge'), 'abv2-badge-muted', __('The previous local records were restored. This answer is no longer applied.', 'agentic-bridge'), []],
default => [__('Unknown state', 'agentic-bridge'), 'abv2-badge-muted', __('This record needs a local review before any further action.', 'agentic-bridge'), []],
};
$thedotdev_agentic_bridge_controlled_answer_type = (string) ($thedotdev_agentic_bridge_controlled_answer_record['type'] ?? '');
$thedotdev_agentic_bridge_controlled_answer_type_label = ['faq' => __('FAQ', 'agentic-bridge'), 'quick_answer' => __('Quick answer', 'agentic-bridge'), 'howto' => __('How-to', 'agentic-bridge')][$thedotdev_agentic_bridge_controlled_answer_type] ?? __('Answer', 'agentic-bridge');
?>