fix(import): allow issue-only duplicate closes - #309
Conversation
|
Codex review: needs changes before merge. Reviewed August 5, 2026, 5:19 PM ET / 21:19 UTC. ClawSweeper reviewWhat this changesThe PR changes Gitcrawl cluster-job generation so issue-only clusters can close duplicates without first requiring a fix or merge, with tests for mixed and security-signaled clusters. Merge readiness⛔ Blocked by patch quality or review findings - 3 items remain Keep open: the branch disables the fix-first guard for all issue-only close classifications, including superseded closures; current main already exempts duplicates at the downstream action gate without weakening superseded protection. Priority: P1 Review scores
Verification
How this fits togetherGitcrawl cluster import converts related GitHub reports into guarded ProjectClownfish jobs. The worker plans close actions from those jobs and the applicator enforces the final duplicate, superseded, and fix-first safety rules. flowchart LR
A[Gitcrawl cluster data] --> B[Cluster importer]
B --> C[Generated guarded job]
C --> D[Worker action plan]
D --> E[Applicator safety gate]
E --> F[Duplicate or superseded close]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Keep the shared fix-first setting for clusters that allow fixes or merges, and rely on current main’s duplicate-only applicator exception; add regression coverage for both duplicate and superseded classifications. Do we have a high-confidence way to reproduce the issue? Yes. Current source shows the importer disables a shared prerequisite, while the applicator’s existing exception is limited to duplicate classifications. Is this the best way to solve the issue? No. Current main already supplies the narrow duplicate exception; changing the job-wide prerequisite also admits superseded closures before their required fix path. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b96e7e5700a9. LabelsLabel justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (52 earlier review cycles; latest 8 shown)
|
Summary
Validation
node --test test/import-gitcrawl-clusters.test.mjs(8/8)npm run validate(6,699 jobs)