Problem
To support the two-phase duplicate detection system (#54), the bot needs a way to detect if a human has contested or reviewed a "potential-duplicate" marking.
Proposed Solution
Implement a HumanActivityChecker that can identify activity on an issue after the bot's triage report.
Key Detection Signals:
- Negative Reactions: Detect 👎 or 😕 reactions on the bot's triage comment.
- Human Comments: Detect any comment from a non-bot user posted after the triage report.
- Reopening: Detect if the issue was previously closed by the bot and then reopened by a human.
Implementation Details:
- Extend the GitHub client to fetch reactions for specific comments.
- Logic to compare comment timestamps against the triage report timestamp.
- Provide a summary of found activity to the triage engine.
Related Issues