fix(import): allow issue-only duplicate closes - #309
Conversation
|
Codex review: needs changes before merge. Reviewed August 9, 2026, 2:01 PM ET / 18:01 UTC. ClawSweeper reviewWhat this changesThe PR changes Gitcrawl job generation so issue-only clusters can close duplicate issues without first requiring a code-fix action. Merge readiness⛔ Blocked by patch quality or review findings - 5 items remain Keep open: the PR still disables the fix-first safeguard for issue-only superseded closes, and the duplicate-close behavior it seeks is already exempted by the current applicator. Priority: P1 Review scores
Verification
How this fits togetherGitcrawl cluster import turns related GitHub items into guarded Clownfish jobs, which the result applicator later uses to close eligible items. The generated fix-first setting protects non-duplicate close actions before they reach GitHub. flowchart LR
A[Gitcrawl cluster data] --> B[Job generator]
B --> C[Fix-first safeguard]
C --> D[Result applicator]
D --> E[Duplicate close]
D --> F[Superseded close]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Retain the generated fix-first guard and rely on the existing duplicate-only exemption in the applicator; add regression coverage that distinguishes duplicate closes from superseded closes. Do we have a high-confidence way to reproduce the issue? Yes—source inspection provides a high-confidence path: generate an issue-only autonomous cluster with merge enabled, then submit a superseded close; the new false flag bypasses the applicator's fix-first checks. Is this the best way to solve the issue? No. Current main already exempts duplicate classifications in the applicator, so lowering the generated guard is broader than the requested behavior. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 947a2a10469d. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (94 earlier review cycles; latest 8 shown)
|
Summary
Validation
node --test test/import-gitcrawl-clusters.test.mjs(8/8)npm run validate(6,699 jobs)