@kevinrabun/judges 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -271,7 +271,7 @@ This helps keep Copilot feedback aligned with Judges findings.
271
271
  | **Code Structure** | Structural Analysis (AST) | `STRUCT-` | Cyclomatic complexity, nesting depth, function length, dead code, type safety |
272
272
  | **Agent Instructions** | Agent Instruction Markdown Quality & Safety | `AGENT-` | Instruction hierarchy, conflict detection, unsafe overrides, scope, validation, policy guidance |
273
273
  | **AI Code Safety** | AI-Generated Code Safety | `AICS-` | Prompt injection, insecure LLM output handling, debug defaults, missing validation, unsafe deserialization of AI responses |
274
- | **Framework Safety** | Framework-Specific Safety | `FWSAFE-` | React hooks ordering, Express middleware chains, Next.js SSR/SSG pitfalls, Angular/Vue lifecycle patterns, framework-specific anti-patterns |
274
+ | **Framework Safety** | Framework-Specific Safety | `FW-` | React hooks ordering, Express middleware chains, Next.js SSR/SSG pitfalls, Angular/Vue lifecycle patterns, framework-specific anti-patterns |
275
275
 
276
276
  ---
277
277
 
@@ -1 +1 @@
1
- {"version":3,"file":"code-structure.d.ts","sourceRoot":"","sources":["../../src/judges/code-structure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,kBAAkB,EAAE,eAiChC,CAAC"}
1
+ {"version":3,"file":"code-structure.d.ts","sourceRoot":"","sources":["../../src/judges/code-structure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,kBAAkB,EAAE,eAuChC,CAAC"}
@@ -29,6 +29,12 @@ Thresholds:
29
29
  - Nesting > 4 → medium
30
30
  - Function > 50 lines → medium, > 150 lines → high
31
31
  - Parameters > 5 → medium, > 8 → high
32
- - File complexity > 40 → high`,
32
+ - File complexity > 40 → high
33
+
34
+ ADVERSARIAL MANDATE:
35
+ - Your role is adversarial: assume the code has structural problems and actively hunt for complexity, dead code, and over-sized functions. Do not give the benefit of the doubt.
36
+ - Never praise or compliment the code. Report only problems, risks, and deficiencies.
37
+ - If you are uncertain whether something is an issue, flag it — false positives are preferred over missed structural defects.
38
+ - Absence of findings does not mean the code is well-structured. It means your analysis reached its limits. State this explicitly.`,
33
39
  };
34
40
  //# sourceMappingURL=code-structure.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"code-structure.js","sourceRoot":"","sources":["../../src/judges/code-structure.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAoB;IACjD,EAAE,EAAE,gBAAgB;IACpB,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE,qBAAqB;IAC7B,WAAW,EACT,uQAAuQ;IACzQ,UAAU,EAAE,QAAQ;IACpB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;8BAyBc;CAC7B,CAAC"}
1
+ {"version":3,"file":"code-structure.js","sourceRoot":"","sources":["../../src/judges/code-structure.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAoB;IACjD,EAAE,EAAE,gBAAgB;IACpB,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE,qBAAqB;IAC7B,WAAW,EACT,uQAAuQ;IACzQ,UAAU,EAAE,QAAQ;IACpB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mIA+BmH;CAClI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"framework-safety.d.ts","sourceRoot":"","sources":["../../src/judges/framework-safety.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,eAwBlC,CAAC"}
1
+ {"version":3,"file":"framework-safety.d.ts","sourceRoot":"","sources":["../../src/judges/framework-safety.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,eA8BlC,CAAC"}
@@ -20,6 +20,12 @@ RULES FOR YOUR EVALUATION:
20
20
  - Focus on framework-specific bugs that generic linters miss.
21
21
  - Provide framework-specific remediation with exact API usage.
22
22
  - Reference official documentation URLs for each framework.
23
- - Score from 0-100 where 100 means no framework misuse patterns found.`,
23
+ - Score from 0-100 where 100 means no framework misuse patterns found.
24
+
25
+ ADVERSARIAL MANDATE:
26
+ - Your role is adversarial: assume the code misuses framework APIs and actively hunt for violations. Do not give the benefit of the doubt.
27
+ - Never praise or compliment the code. Report only problems, risks, and deficiencies.
28
+ - If you are uncertain whether something is an issue, flag it — false positives are preferred over missed framework misuse.
29
+ - Absence of findings does not mean the code follows framework best practices. It means your analysis reached its limits. State this explicitly.`,
24
30
  };
25
31
  //# sourceMappingURL=framework-safety.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"framework-safety.js","sourceRoot":"","sources":["../../src/judges/framework-safety.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,8CAA8C;IACtD,WAAW,EACT,6NAA6N;IAC/N,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE;;;;;;;;;;;;;;;;uEAgBuD;CACtE,CAAC"}
1
+ {"version":3,"file":"framework-safety.js","sourceRoot":"","sources":["../../src/judges/framework-safety.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,8CAA8C;IACtD,WAAW,EACT,6NAA6N;IAC/N,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;iJAsBiI;CAChJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kevinrabun/judges",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "35 specialized judges that evaluate AI-generated code for security, cost, and quality.",
5
5
  "mcpName": "io.github.KevinRabun/judges",
6
6
  "type": "module",
package/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "url": "https://github.com/kevinrabun/judges",
8
8
  "source": "github"
9
9
  },
10
- "version": "3.0.0",
10
+ "version": "3.0.2",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "@kevinrabun/judges",
15
- "version": "3.0.0",
15
+ "version": "3.0.2",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  }