Skip to content

feat(github-app): deterministic slop gate (slopGateMode) #571

Description

@JSONbored

Parent roadmap: #525
Parent epic: #532

Goal

Deterministic slop gate: add slopGateMode (off/advisory/block, default advisory) + slopGateMaxRisk to RepositorySettings; buildSlopGateBlocker folded into evaluateGateCheck; compute from real PullRequestFileRecord[] in processors. (Depends on #530 core.)

Reuse

buildQualityGateBlocker pattern (advisory.ts:393) + migration mirroring quality_gate_*.

Acceptance

Gate off/advisory/block behaves; block fails only when slopRisk > max.

Testing

npm run test:ci, 97%+ coverage. Public/private output boundary preserved; deterministic where applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.gittensor:priorityMaintainer-selected Gittensor priority — scores a 1.5x multiplier.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions