DEMO
Back to Blocked Items

Add user authentication flow with OAuth2

#847 · opened by dependabot[bot] · in acme-engineering/api-gateway · GitHub
Blocked
Slop Score
92
/100
Evaluation Results
5 checks · 2 failed
Policy Check Passed
Linked issue found: JIRA-4521
Required sections present in description
Size Check Passed
Files changed: 7 / max 8
Lines added: 245 / max 300
Lines deleted: 32 / max 150
Test Coverage Failed
6 source files modified, 0 test files changed
Policy requires test changes when code is modified
AI Detection Failed
Slop Score: 92 (threshold: 30 for Strict mode)
Detected Signals
Repetitive boilerplate structure
High
Generic variable naming patterns
High
Over-explained inline comments
Medium
No behavioral tests added
Medium
Scattershot diff across 4 unrelated directories
Low
Security Scan Passed
No known vulnerability patterns detected
Dependencies validated against CVE database
PR Diff Summary
7 files · +245 -32
src/auth/oauth.ts +89 -0
src/auth/tokens.ts +45 -12
src/middleware/auth.ts +34 -8
src/config/oauth.ts +28 -0
src/types/auth.ts +22 -0
src/routes/login.ts +18 -5
src/utils/crypto.ts +9 -7
Action Taken
Status
Auto-blocked
Action
PR converted to draft
Notification
Comment posted to GitHub
Feb 8, 2026 2:15 PM
GitHub Comment Preview
S
prkitchen[bot] just now
PRKitchen Policy Gate — FAILED

Your PR was automatically converted to draft because it did not pass the following checks:

  • Test Coverage: No test files were modified. Please add tests for your code changes.
  • AI Detection: High slop score (92/100). This submission shows strong indicators of AI-generated code.

To resolve:

  1. 1. Add unit tests covering the new authentication flow
  2. 2. Review and revise AI-generated sections for accuracy
  3. 3. Push updates and the checks will re-run automatically
Author History
dependabot[bot]
PR Status Score
#832 Passed 12
#819 Blocked 78
#801 Passed 25
#785 Blocked 85
#770 Blocked 91
3 of last 5 PRs blocked (60%)
Quick Actions