You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A triage step, similar to issue-triage but that doesnt make a plan, it just looks to see if the issue is a duplicate of a currently open or previously resolved isuse.
TL;DR: add a new lightweight duplicate-issue-detector workflow by cloning the issue-triage structure, narrowing the prompt to duplicate detection only, and wiring it into trigger/docs/smoke-test lists.
Recommendation
Create a dedicated GH Agent workflow that only checks whether a newly opened issue is a duplicate of open/closed prior issues, then posts one concise comment with links and confidence.
Findings
Current triage already does duplicate-checking as part of a broader flow (.github/workflows/gh-aw-issue-triage.md:93-96) but also asks for full investigation/planning (.github/workflows/gh-aw-issue-triage.md:94-123).
Installable workflow shape is standardized: workflow shim in .github/workflows/gh-aw-(name).md, trigger example in gh-agent-workflows/(name)/example.yml, and docs in gh-agent-workflows/(name)/README.md (gh-agent-workflows/DEVELOPING.md:134-140).
Trigger files are copied via scripts/dogfood.sh (scripts/dogfood.sh:27-44), and install smoke tests use an explicit workflow allowlist (.github/workflows/smoke-test-install.yml:41-51).
Verification
No runtime commands/tests were needed for this planning-only response.
Detailed Action Plan
Add new shim .github/workflows/gh-aw-duplicate-issue-detector.md by copying .github/workflows/gh-aw-issue-triage.md and reducing scope:
Keep safeoutputs-add-comment only.
Keep GitHub issue/search tools.
Replace triage instructions with: gather issue context, search similar open/closed issues, score top matches, and conclude duplicate vs not duplicate vs uncertain.
Add installable trigger gh-agent-workflows/duplicate-issue-detector/example.yml (based on gh-agent-workflows/issue-triage/example.yml) targeting gh-aw-duplicate-issue-detector.lock.yml@v0.
Add gh-agent-workflows/duplicate-issue-detector/README.md with trigger, inputs, and safe-output docs (same format as gh-agent-workflows/issue-triage/README.md).
Decide dogfooding behavior:
If enabled in this repo, ensure scripts/dogfood.sh does not exclude it.
If intentionally disabled, add it to EXCLUDED_WORKFLOWS with rationale.
Update smoke install coverage in .github/workflows/smoke-test-install.yml by adding duplicate-issue-detector to WORKFLOWS if it should be validated by install/compile smoke tests.
Run make compile and make lint-workflows to regenerate/check lockfiles and validate workflow syntax.
Open PR with shim + lockfile + trigger + README + any list updates.
Related Items
Type
File
Relevance
Existing workflow
.github/workflows/gh-aw-issue-triage.md:71-123
Closest baseline; already contains duplicate-check step but with broader triage scope
Trigger template
gh-agent-workflows/issue-triage/example.yml:1-16
Canonical event/permissions/uses pattern
Workflow authoring guide
gh-agent-workflows/DEVELOPING.md:134-140
Required files for adding a new installable workflow
Activity
strawgate commentedon Feb 20, 2026
/ai make a plan
github-actions commentedon Feb 20, 2026
TL;DR: add a new lightweight
duplicate-issue-detectorworkflow by cloning theissue-triagestructure, narrowing the prompt to duplicate detection only, and wiring it into trigger/docs/smoke-test lists.Recommendation
Create a dedicated GH Agent workflow that only checks whether a newly opened issue is a duplicate of open/closed prior issues, then posts one concise comment with links and confidence.
Findings
.github/workflows/gh-aw-issue-triage.md:93-96) but also asks for full investigation/planning (.github/workflows/gh-aw-issue-triage.md:94-123)..github/workflows/gh-aw-(name).md, trigger example ingh-agent-workflows/(name)/example.yml, and docs ingh-agent-workflows/(name)/README.md(gh-agent-workflows/DEVELOPING.md:134-140).scripts/dogfood.sh(scripts/dogfood.sh:27-44), and install smoke tests use an explicit workflow allowlist (.github/workflows/smoke-test-install.yml:41-51).Verification
No runtime commands/tests were needed for this planning-only response.
Detailed Action Plan
.github/workflows/gh-aw-duplicate-issue-detector.mdby copying.github/workflows/gh-aw-issue-triage.mdand reducing scope:safeoutputs-add-commentonly.duplicatevsnot duplicatevsuncertain.gh-agent-workflows/duplicate-issue-detector/example.yml(based ongh-agent-workflows/issue-triage/example.yml) targetinggh-aw-duplicate-issue-detector.lock.yml@v0.gh-agent-workflows/duplicate-issue-detector/README.mdwith trigger, inputs, and safe-output docs (same format asgh-agent-workflows/issue-triage/README.md).scripts/dogfood.shdoes not exclude it.EXCLUDED_WORKFLOWSwith rationale..github/workflows/smoke-test-install.ymlby addingduplicate-issue-detectortoWORKFLOWSif it should be validated by install/compile smoke tests.make compileandmake lint-workflowsto regenerate/check lockfiles and validate workflow syntax.Related Items
.github/workflows/gh-aw-issue-triage.md:71-123gh-agent-workflows/issue-triage/example.yml:1-16gh-agent-workflows/DEVELOPING.md:134-140scripts/dogfood.sh:27-44.github/workflows/smoke-test-install.yml:41-51What is this? | From workflow: Issue Assistant
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #197