-
Notifications
You must be signed in to change notification settings - Fork 16
Enhancement: Two-phase duplicate detection with cooldown period #54
Copy link
Copy link
Closed
Labels
coreRelated to core engineRelated to core engineenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededv0.2.0Target for v0.2.0Target for v0.2.0
Milestone
Description
Problem
Currently, when Simili Bot detects a duplicate issue, it immediately closes or transfers the issue. This can lead to false positives frustrating users who don't have time to contest the decision.
Proposed Solution
Implement a two-phase duplicate detection system:
Phase 1: Detection & Labeling
When a duplicate is detected:
- Add
potential-duplicatelabel to the issue - Post a comment listing the similar issues found
- Do NOT close or transfer immediately
Phase 2: Delayed Action (after cooldown)
After a configurable cooldown period (e.g., 3 days):
- Check if there's been any human activity (see #ISSUE_NUMBER)
- If no activity: proceed with close/transfer action
- If activity detected: remove
potential-duplicatelabel and skip action
Benefits
- Gives users time to review and contest false positives
- Reduces frustration from immediate incorrect closures
- Maintains automation while adding human oversight
- Improves user trust in the bot
Configuration
Add to .simili.yaml:
duplicate_detection:
cooldown_days: 3
labels:
potential: "potential-duplicate"
confirmed: "duplicate"Implementation Notes
- Requires new
auto-closecommand for scheduled workflow - Should track timestamp when
potential-duplicatelabel is added - See related issue for human activity detection logic
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreRelated to core engineRelated to core engineenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededv0.2.0Target for v0.2.0Target for v0.2.0
Type
Projects
Status
In Progress