str.splitlines() also splits on Unicode line separators (U+2028, U+2029)
which are valid inside JSON string values without escaping. When an open
GitHub issue title or body contained one of these characters, the
duplicate-issue check script broke the gh output mid-string and crashed
with 'Unterminated string ...' before the auto-close path could run.
gh api --paginate for an array endpoint already concatenates pages into
a single JSON array, so just parse the whole stdout once. Add a
regression test covering U+2028/U+2029 and the existing PR-filter path.
Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
Add a Python script that detects duplicate issues using title similarity
(difflib.SequenceMatcher) and closes them via the gh CLI. Two-tier system:
- 0.6 threshold: informational comment via existing wow-actions step
- 0.85 threshold: auto-close with comment, label, and not_planned reason
Includes a workflow_dispatch workflow for one-time batch scans and
integrates auto-close into the existing check_duplicate_issues workflow
for newly opened issues.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add auto issue labelling for llm_translation
* Add logging
* make the formatting better
* make the formatting better
* make the formatting better
* make the formatting better