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
Problem:#1969 (plagiarism/copycat detection, effort: XL) has shipped only its first slice — PR #4140 added the gate.copycat.mode config scaffold, explicitly deferring "the actual detection engine (which carries real false-accusation risk and needs careful design)" to a documented follow-up. That design has not been scoped as its own issue yet, and #1969 itself has no design artifact to implement against.
Area: ORB / anti-slop
Proposal: Produce a concrete design for the similarity/containment scoring algorithm #1969 needs: what "containment" is measured against (repo history window, cross-PR corpus, or both), the actual scoring method (n-gram/AST-fingerprint/embedding-similarity — with a stated false-positive-rate target), the direction-by-timestamp attribution logic (earlier submission = victim) for edge cases (near-simultaneous submissions, forked lineage), and how the tiered response (warn → label → block → strikes) maps to concrete score thresholds. This is a maintainer-only design pass precisely because a wrong call here produces a false plagiarism accusation against a real contributor — the same reasoning gate.copycat.mode's own scaffold PR used to defer this exact piece.
Deliverables:
A written design spec: algorithm choice + justification, false-positive-rate target and how it's measured pre-launch, attribution-direction edge case handling, and threshold-to-tier mapping.
src/signals/duplicate-winner.ts (existing overlapping-scope duplicate clustering, a different signal this is a sibling to, not a replacement for).
Boundaries:
Design only — no detection-engine implementation in this issue. Implementation should be filed as a fresh, decomposed issue (or issues) once this design is approved.
Problem: #1969 (plagiarism/copycat detection, effort: XL) has shipped only its first slice — PR #4140 added the
gate.copycat.modeconfig scaffold, explicitly deferring "the actual detection engine (which carries real false-accusation risk and needs careful design)" to a documented follow-up. That design has not been scoped as its own issue yet, and #1969 itself has no design artifact to implement against.Area: ORB / anti-slop
Proposal: Produce a concrete design for the similarity/containment scoring algorithm #1969 needs: what "containment" is measured against (repo history window, cross-PR corpus, or both), the actual scoring method (n-gram/AST-fingerprint/embedding-similarity — with a stated false-positive-rate target), the direction-by-timestamp attribution logic (earlier submission = victim) for edge cases (near-simultaneous submissions, forked lineage), and how the tiered response (warn → label → block → strikes) maps to concrete score thresholds. This is a maintainer-only design pass precisely because a wrong call here produces a false plagiarism accusation against a real contributor — the same reasoning
gate.copycat.mode's own scaffold PR used to defer this exact piece.Deliverables:
Acceptance criteria:
Resources:
gate.copycat.modescaffold — the deferred-scope decision this design spec resolves).src/signals/duplicate-winner.ts(existing overlapping-scope duplicate clustering, a different signal this is a sibling to, not a replacement for).Boundaries:
Part of #1969.