File size: 712 Bytes
bfb35fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  "pr": {
    "title": "Update database connection",
    "author": "dev_mid",
    "description": "Added production database credentials to the config file.",
    "files_changed": ["config/settings.py"]
  },
  "rules": [
    "1. All Python functions must use snake_case.",
    "2. NO HARDCODED SECRETS ALLOWED.",
    "3. All tests must pass."
  ],
  "file_system": {
    "config/settings.py": "import os\n\nDB_HOST = 'prod-db.internal'\nDB_PASS = 'super_secret_p@ssw0rd_123'\nDEBUG = False\n"
  },
  "ci_checks": {
    "linter": "No style errors found.",
    "tests": "12/12 tests passed."
  },
  "target_solution": {
    "action_type": "reject_pr",
    "required_keyword": "secret"
  }
}