list_source_duplicates
List groups of keys that SHARE an identical source-language value (Source Health duplicates, #1116). PAGINATED: returns an envelope {items, total, offset, limit, has_more} - read .items (each group = {source_value, key_count, key_names[], key_uuids[], status, note}) and page with offset/limit (default 50, max 200) until has_more is false. 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: neutral (UNTRIAGED - the default for a freshly-detected duplicate; this is the batch auto-diagnostic backlog), to_fix (triaged for fixing - carries a merge_plan to apply), allowed (intentional duplicate - listed+flagged but excluded from total_issues), resolved (already fixed - re-scan confirms). Filter by status to focus (e.g. status=neutral for the untriaged backlog). A to_fix group carries a human- or agent-prepared merge_plan ({clusters: [{canonical_key_uuid, redundant_key_uuids[]}], survivor_outcome: allowed|differentiate}) - the consolidation an agent applies (merge each cluster onto its canonical key, then allow or differentiate whatever still shares the text). READ-ONLY.
Paramètres
Section intitulée « Paramètres »| Nom | Type | Description | |
|---|---|---|---|
project_uuid | string | optionnel | Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise. |
status | string | optionnel | Filter to duplicate groups in this triage status: neutral (untriaged - the default), to_fix (triaged, carries a merge_plan), allowed (intentional), resolved (fixed). Omit for all. (neutral, allowed, to_fix, resolved) |
version_id | string | optionnel | Optional version UUID; defaults to the production version. |
offset | integer | optionnel | Pagination offset (0-based). Default 0. |
limit | integer | optionnel | Max groups per page (1..200). Default 50. |
{ "tool": "list_source_duplicates", "arguments": {}}