Skip to content

list_source_duplicates

List groups of keys that SHARE an identical source-language value (Source Health duplicates, #1116). Each group = {source_value, key_count, key_names[], key_uuids[], status, note}. Duplicates inflate translation cost and drift (the same string translated N ways), so this is the worklist the sonenta-source-health agent repairs. Status is tracked PROJECT-WIDE per source_value: to_fix (needs attention; the default), allowed (intentional duplicate - listed+flagged but excluded from total_issues), resolved (already fixed - re-scan confirms). Filter by status to focus. When status=to_fix, a group may also carry a human-prepared merge_plan ({clusters: [{canonical_key_uuid, redundant_key_uuids[]}], survivor_outcome: allowed|differentiate}) authored in the dashboard - the consolidation an agent applies (merge each cluster onto its canonical key, then allow or differentiate whatever still shares the text). READ-ONLY.

NameTypeDescription
project_uuidstringoptionalProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
statusstringoptionalFilter to duplicate groups in this triage status. Omit for all. (to_fix, allowed, resolved)
version_idstringoptionalOptional version UUID; defaults to the production version.
{
"tool": "list_source_duplicates",
"arguments": {}
}