-
-
Notifications
You must be signed in to change notification settings - Fork 74
feat(github-app): first-time-contributor-aware gating #552
Copy link
Copy link
Closed
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.roadmapOn the Wave-2 agent-layer roadmap board (project 9)On the Wave-2 agent-layer roadmap board (project 9)
Milestone
Description
Metadata
Metadata
Assignees
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.roadmapOn the Wave-2 agent-layer roadmap board (project 9)On the Wave-2 agent-layer roadmap board (project 9)
Parent roadmap: #525
Parent phase: #528
Background
Hard gates that false-positive on a newcomer's first PR scare off real contributors. Repeat low-quality contributors should still face the full gate.
Goal
First-time-contributor-aware gating: soften gates to advisory for newcomers, keep them hard for repeat offenders.
Current Behavior
GateCheckPolicy(advisory.ts:15) andgateCheckPolicy()(processors.ts:760) don't consider the PR author's history.Desired Behavior
RoleContext+ outcome history into the gate; a per-repofirstTimeContributorGracesetting downgrades block→advisory for first-time/low-history authors while keeping block for repeat closed-unmerged authors.buildRoleContext(engine.ts:1404) +buildContributorOutcomeHistory(:1505).Implementation Requirements
evaluateGateCheck.Public/Private Output Boundaries
Acceptance Criteria
Testing Requirements
npm run test:ci, 97%+ coverage. Newcomer vs repeat-offender fixtures.