@kevinrabun/judges 3.16.0 → 3.18.0

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.
Files changed (103) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/dedup.d.ts.map +1 -1
  3. package/dist/dedup.js +9 -0
  4. package/dist/dedup.js.map +1 -1
  5. package/dist/evaluators/accessibility.d.ts.map +1 -1
  6. package/dist/evaluators/accessibility.js +1 -0
  7. package/dist/evaluators/accessibility.js.map +1 -1
  8. package/dist/evaluators/agent-instructions.d.ts.map +1 -1
  9. package/dist/evaluators/agent-instructions.js +5 -0
  10. package/dist/evaluators/agent-instructions.js.map +1 -1
  11. package/dist/evaluators/api-design.d.ts.map +1 -1
  12. package/dist/evaluators/api-design.js +3 -0
  13. package/dist/evaluators/api-design.js.map +1 -1
  14. package/dist/evaluators/authentication.d.ts.map +1 -1
  15. package/dist/evaluators/authentication.js +8 -0
  16. package/dist/evaluators/authentication.js.map +1 -1
  17. package/dist/evaluators/caching.d.ts.map +1 -1
  18. package/dist/evaluators/caching.js +2 -0
  19. package/dist/evaluators/caching.js.map +1 -1
  20. package/dist/evaluators/cloud-readiness.d.ts.map +1 -1
  21. package/dist/evaluators/cloud-readiness.js +4 -0
  22. package/dist/evaluators/cloud-readiness.js.map +1 -1
  23. package/dist/evaluators/configuration-management.d.ts.map +1 -1
  24. package/dist/evaluators/configuration-management.js +4 -0
  25. package/dist/evaluators/configuration-management.js.map +1 -1
  26. package/dist/evaluators/cybersecurity.d.ts.map +1 -1
  27. package/dist/evaluators/cybersecurity.js +1 -0
  28. package/dist/evaluators/cybersecurity.js.map +1 -1
  29. package/dist/evaluators/data-sovereignty.d.ts.map +1 -1
  30. package/dist/evaluators/data-sovereignty.js +1 -0
  31. package/dist/evaluators/data-sovereignty.js.map +1 -1
  32. package/dist/evaluators/dependency-health.d.ts.map +1 -1
  33. package/dist/evaluators/dependency-health.js +1 -0
  34. package/dist/evaluators/dependency-health.js.map +1 -1
  35. package/dist/evaluators/false-positive-review.js +58 -4
  36. package/dist/evaluators/false-positive-review.js.map +1 -1
  37. package/dist/evaluators/index.d.ts +6 -0
  38. package/dist/evaluators/index.d.ts.map +1 -1
  39. package/dist/evaluators/index.js +42 -2
  40. package/dist/evaluators/index.js.map +1 -1
  41. package/dist/evaluators/internationalization.d.ts.map +1 -1
  42. package/dist/evaluators/internationalization.js +1 -0
  43. package/dist/evaluators/internationalization.js.map +1 -1
  44. package/dist/evaluators/observability.d.ts.map +1 -1
  45. package/dist/evaluators/observability.js +4 -0
  46. package/dist/evaluators/observability.js.map +1 -1
  47. package/dist/evaluators/project.d.ts.map +1 -1
  48. package/dist/evaluators/project.js +21 -2
  49. package/dist/evaluators/project.js.map +1 -1
  50. package/dist/evaluators/rate-limiting.d.ts.map +1 -1
  51. package/dist/evaluators/rate-limiting.js +1 -0
  52. package/dist/evaluators/rate-limiting.js.map +1 -1
  53. package/dist/evaluators/reliability.d.ts.map +1 -1
  54. package/dist/evaluators/reliability.js +1 -0
  55. package/dist/evaluators/reliability.js.map +1 -1
  56. package/dist/evaluators/scalability.d.ts.map +1 -1
  57. package/dist/evaluators/scalability.js +2 -0
  58. package/dist/evaluators/scalability.js.map +1 -1
  59. package/dist/judges/accessibility.js +2 -2
  60. package/dist/judges/agent-instructions.js +1 -1
  61. package/dist/judges/ai-code-safety.js +1 -1
  62. package/dist/judges/api-design.js +2 -2
  63. package/dist/judges/authentication.js +2 -2
  64. package/dist/judges/backwards-compatibility.js +2 -2
  65. package/dist/judges/caching.js +2 -2
  66. package/dist/judges/ci-cd.js +2 -2
  67. package/dist/judges/cloud-readiness.js +2 -2
  68. package/dist/judges/code-structure.js +2 -2
  69. package/dist/judges/compliance.js +2 -2
  70. package/dist/judges/concurrency.js +2 -2
  71. package/dist/judges/configuration-management.js +2 -2
  72. package/dist/judges/cost-effectiveness.js +2 -2
  73. package/dist/judges/cybersecurity.js +2 -2
  74. package/dist/judges/data-security.js +2 -2
  75. package/dist/judges/data-sovereignty.js +1 -1
  76. package/dist/judges/database.js +2 -2
  77. package/dist/judges/dependency-health.js +2 -2
  78. package/dist/judges/documentation.js +2 -2
  79. package/dist/judges/error-handling.js +2 -2
  80. package/dist/judges/ethics-bias.js +2 -2
  81. package/dist/judges/framework-safety.js +2 -2
  82. package/dist/judges/iac-security.js +2 -2
  83. package/dist/judges/internationalization.js +2 -2
  84. package/dist/judges/logging-privacy.js +2 -2
  85. package/dist/judges/maintainability.js +2 -2
  86. package/dist/judges/observability.js +2 -2
  87. package/dist/judges/performance.js +2 -2
  88. package/dist/judges/portability.js +2 -2
  89. package/dist/judges/rate-limiting.js +2 -2
  90. package/dist/judges/reliability.js +2 -2
  91. package/dist/judges/scalability.js +2 -2
  92. package/dist/judges/software-practices.js +2 -2
  93. package/dist/judges/testing.js +2 -2
  94. package/dist/judges/ux.js +2 -2
  95. package/dist/tools/deep-review.d.ts.map +1 -1
  96. package/dist/tools/deep-review.js +5 -0
  97. package/dist/tools/deep-review.js.map +1 -1
  98. package/dist/tools/prompts.d.ts.map +1 -1
  99. package/dist/tools/prompts.js +12 -1
  100. package/dist/tools/prompts.js.map +1 -1
  101. package/dist/types.d.ts +7 -0
  102. package/dist/types.d.ts.map +1 -1
  103. package/package.json +1 -1
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means excellent CI/CD practices.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume the CI/CD posture is weak and actively hunt for problems. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume the CI/CD posture is weak and actively hunt for problems. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed CI/CD risks.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean CI/CD is solid. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=ci-cd.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means fully cloud-native.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume the code is not cloud-ready and actively hunt for problems. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume the code is not cloud-ready and actively hunt for problems. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed cloud-readiness gaps.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean the code is cloud-native. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=cloud-readiness.js.map
@@ -32,9 +32,9 @@ Thresholds:
32
32
  - File complexity > 40 → high
33
33
 
34
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.
35
+ - Your role is adversarial: assume the code has structural problems and actively hunt for complexity, dead code, and over-sized functions. Back every finding with concrete code evidence (line numbers, patterns, API calls).
36
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.
37
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
38
38
  - Absence of findings does not mean the code is well-structured. It means your analysis reached its limits. State this explicitly.`,
39
39
  };
40
40
  //# sourceMappingURL=code-structure.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means fully compliant.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume the code has compliance gaps and actively hunt for them. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume the code has compliance gaps and actively hunt for them. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed compliance violations.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean the code is compliant. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=compliance.js.map
@@ -28,9 +28,9 @@ RULES FOR YOUR EVALUATION:
28
28
  - Score from 0-100 where 100 means thread-safe and correctly concurrent.
29
29
 
30
30
  ADVERSARIAL MANDATE:
31
- - Your role is adversarial: assume the code has concurrency bugs and actively hunt for them. Do not give the benefit of the doubt.
31
+ - Your role is adversarial: assume the code has concurrency bugs and actively hunt for them. Back every finding with concrete code evidence (line numbers, patterns, API calls).
32
32
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
33
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed race conditions.
33
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
34
34
  - Absence of findings does not mean the code is thread-safe. It means your analysis reached its limits. State this explicitly.`,
35
35
  };
36
36
  //# sourceMappingURL=concurrency.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means excellent configuration management.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume configuration management is inadequate and actively hunt for problems. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume configuration management is inadequate and actively hunt for problems. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed configuration risks.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean configuration is properly managed. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=configuration-management.js.map
@@ -25,9 +25,9 @@ RULES FOR YOUR EVALUATION:
25
25
  - Score from 0-100 where 100 means optimally cost-effective.
26
26
 
27
27
  ADVERSARIAL MANDATE:
28
- - Your role is adversarial: assume the code wastes resources and actively hunt for inefficiencies. Do not give the benefit of the doubt.
28
+ - Your role is adversarial: assume the code wastes resources and actively hunt for inefficiencies. Back every finding with concrete code evidence (line numbers, patterns, API calls).
29
29
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
30
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed cost waste.
30
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
31
31
  - Absence of findings does not mean the code is cost-effective. It means your analysis reached its limits. State this explicitly.`,
32
32
  };
33
33
  //# sourceMappingURL=cost-effectiveness.js.map
@@ -25,9 +25,9 @@ RULES FOR YOUR EVALUATION:
25
25
  - Score from 0-100 where 100 means no exploitable vulnerabilities found.
26
26
 
27
27
  ADVERSARIAL MANDATE:
28
- - Your role is adversarial: assume the code is vulnerable and actively hunt for exploits. Do not give the benefit of the doubt.
28
+ - Your role is adversarial: assume the code is vulnerable and actively hunt for exploits. Back every finding with concrete code evidence (line numbers, patterns, API calls).
29
29
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
30
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed vulnerabilities.
30
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
31
31
  - Absence of findings does not mean the code is secure. It means your analysis reached its limits. State this explicitly.`,
32
32
  };
33
33
  //# sourceMappingURL=cybersecurity.js.map
@@ -23,9 +23,9 @@ RULES FOR YOUR EVALUATION:
23
23
  - Score from 0-100 where 100 means fully compliant with no findings.
24
24
 
25
25
  ADVERSARIAL MANDATE:
26
- - Your role is adversarial: assume the code leaks or mishandles data and actively hunt for exposures. Do not give the benefit of the doubt.
26
+ - Your role is adversarial: assume the code leaks or mishandles data and actively hunt for exposures. Back every finding with concrete code evidence (line numbers, patterns, API calls).
27
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 data breaches.
28
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
29
29
  - Absence of findings does not mean data is secure. It means your analysis reached its limits. State this explicitly.`,
30
30
  };
31
31
  //# sourceMappingURL=data-security.js.map
@@ -44,7 +44,7 @@ RULES FOR YOUR EVALUATION:
44
44
  ADVERSARIAL MANDATE:
45
45
  - Your role is adversarial: assume sovereignty controls are missing unless explicitly shown.
46
46
  - Never praise or compliment the code. Report only gaps, risks, and deficiencies.
47
- - If uncertain, flag potential sovereignty exposure and explain the assumption.
47
+ - If uncertain, flag potential sovereignty exposure only when you can cite specific code evidence. Speculative findings without concrete evidence erode trust.
48
48
  - Absence of findings does not prove sovereignty compliance. State this explicitly.`,
49
49
  };
50
50
  //# sourceMappingURL=data-sovereignty.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means excellent database practices.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume database usage is unsafe and inefficient and actively hunt for problems. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume database usage is unsafe and inefficient and actively hunt for problems. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed database problems.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean database usage is optimal. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=database.js.map
@@ -28,9 +28,9 @@ RULES FOR YOUR EVALUATION:
28
28
  - Score from 0-100 where 100 means healthy, secure dependency tree.
29
29
 
30
30
  ADVERSARIAL MANDATE:
31
- - Your role is adversarial: assume the dependency tree has risks and actively hunt for them. Do not give the benefit of the doubt.
31
+ - Your role is adversarial: assume the dependency tree has risks and actively hunt for them. Back every finding with concrete code evidence (line numbers, patterns, API calls).
32
32
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
33
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed supply chain risks.
33
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
34
34
  - Absence of findings does not mean dependencies are healthy. It means your analysis reached its limits. State this explicitly.`,
35
35
  };
36
36
  //# sourceMappingURL=dependency-health.js.map
@@ -28,9 +28,9 @@ RULES FOR YOUR EVALUATION:
28
28
  - Score from 0-100 where 100 means exemplary documentation.
29
29
 
30
30
  ADVERSARIAL MANDATE:
31
- - Your role is adversarial: assume the documentation is inadequate and actively hunt for gaps. Do not give the benefit of the doubt.
31
+ - Your role is adversarial: assume the documentation is inadequate and actively hunt for gaps. Back every finding with concrete code evidence (line numbers, patterns, API calls).
32
32
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
33
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed documentation gaps.
33
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
34
34
  - Absence of findings does not mean the documentation is good. It means your analysis reached its limits. State this explicitly.`,
35
35
  };
36
36
  //# sourceMappingURL=documentation.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means robust error handling.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume error handling is insufficient and actively hunt for problems. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume error handling is insufficient and actively hunt for problems. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed error handling gaps.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean error handling is complete. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=error-handling.js.map
@@ -28,9 +28,9 @@ RULES FOR YOUR EVALUATION:
28
28
  - Score from 0-100 where 100 means fully ethical and bias-aware.
29
29
 
30
30
  ADVERSARIAL MANDATE:
31
- - Your role is adversarial: assume the code has ethical risks or bias and actively hunt for them. Do not give the benefit of the doubt.
31
+ - Your role is adversarial: assume the code has ethical risks or bias and actively hunt for them. Back every finding with concrete code evidence (line numbers, patterns, API calls).
32
32
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
33
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed ethical violations.
33
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
34
34
  - Absence of findings does not mean the code is ethical. It means your analysis reached its limits. State this explicitly.`,
35
35
  };
36
36
  //# sourceMappingURL=ethics-bias.js.map
@@ -23,9 +23,9 @@ RULES FOR YOUR EVALUATION:
23
23
  - Score from 0-100 where 100 means no framework misuse patterns found.
24
24
 
25
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.
26
+ - Your role is adversarial: assume the code misuses framework APIs and actively hunt for violations. Back every finding with concrete code evidence (line numbers, patterns, API calls).
27
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.
28
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
29
29
  - Absence of findings does not mean the code follows framework best practices. It means your analysis reached its limits. State this explicitly.`,
30
30
  };
31
31
  //# sourceMappingURL=framework-safety.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means fully secure and production-ready infrastructure code.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume the infrastructure code is insecure and actively hunt for misconfigurations. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume the infrastructure code is insecure and actively hunt for misconfigurations. Back every finding with concrete code evidence (line numbers, resource definitions, configuration blocks).
30
30
  - Never praise or compliment the code. Report only problems, risks, and security gaps.
31
- - If you are uncertain whether something is a misconfiguration, flag it false positives are preferred over missed security gaps.
31
+ - If you are uncertain whether something is a misconfiguration, flag it only when you can cite specific code evidence (line numbers, patterns, resource definitions). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean the code is secure. It means your analysis reached its limits. State this explicitly.
33
33
  - Pay special attention to defaults that are insecure when not explicitly configured (e.g., public access defaults, missing encryption defaults).`,
34
34
  };
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means fully internationalization-ready.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume the code will break in non-English locales and actively hunt for i18n defects. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume the code will break in non-English locales and actively hunt for i18n defects. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed i18n problems.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean the code is internationalization-ready. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=internationalization.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means privacy-safe logging.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume logs contain sensitive data and actively hunt for problems. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume logs contain sensitive data and actively hunt for problems. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed logging privacy violations.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean logging is privacy-safe. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=logging-privacy.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means highly maintainable.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume the code is unmaintainable and actively hunt for problems. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume the code is unmaintainable and actively hunt for problems. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed maintainability gaps.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean the code is maintainable. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=maintainability.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means fully observable and debuggable in production.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume the code is unobservable and will be impossible to debug in production. Actively hunt for monitoring gaps. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume the code is unobservable and will be impossible to debug in production. Actively hunt for monitoring gaps. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed observability gaps.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean the code is observable. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=observability.js.map
@@ -28,9 +28,9 @@ RULES FOR YOUR EVALUATION:
28
28
  - Score from 0-100 where 100 means optimally performant.
29
29
 
30
30
  ADVERSARIAL MANDATE:
31
- - Your role is adversarial: assume the code has performance problems and actively hunt for bottlenecks. Do not give the benefit of the doubt.
31
+ - Your role is adversarial: assume the code has performance problems and actively hunt for bottlenecks. Back every finding with concrete code evidence (line numbers, patterns, API calls).
32
32
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
33
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed performance regressions.
33
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
34
34
  - Absence of findings does not mean the code is performant. It means your analysis reached its limits. State this explicitly.`,
35
35
  };
36
36
  //# sourceMappingURL=performance.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means highly portable.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume the code is not portable and actively hunt for platform dependencies. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume the code is not portable and actively hunt for platform dependencies. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed portability issues.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean the code is portable. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=portability.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means comprehensive rate limiting.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume rate limiting is absent or insufficient and actively hunt for problems. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume rate limiting is absent or insufficient and actively hunt for problems. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed rate limiting gaps.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean rate limiting is adequate. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=rate-limiting.js.map
@@ -28,9 +28,9 @@ RULES FOR YOUR EVALUATION:
28
28
  - Score from 0-100 where 100 means highly resilient and fault-tolerant.
29
29
 
30
30
  ADVERSARIAL MANDATE:
31
- - Your role is adversarial: assume the code will fail in production and actively hunt for reliability gaps. Do not give the benefit of the doubt.
31
+ - Your role is adversarial: assume the code will fail in production and actively hunt for reliability gaps. Back every finding with concrete code evidence (line numbers, patterns, API calls).
32
32
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
33
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed reliability risks.
33
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
34
34
  - Absence of findings does not mean the code is reliable. It means your analysis reached its limits. State this explicitly.`,
35
35
  };
36
36
  //# sourceMappingURL=reliability.js.map
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means fully scalable with no bottlenecks.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume the code will not scale and actively hunt for bottlenecks. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume the code will not scale and actively hunt for bottlenecks. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed scalability limits.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean the code will scale. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=scalability.js.map
@@ -28,9 +28,9 @@ RULES FOR YOUR EVALUATION:
28
28
  - Score from 0-100 where 100 means exemplary software engineering.
29
29
 
30
30
  ADVERSARIAL MANDATE:
31
- - Your role is adversarial: assume the code has engineering quality problems and actively hunt for them. Do not give the benefit of the doubt.
31
+ - Your role is adversarial: assume the code has engineering quality problems and actively hunt for them. Back every finding with concrete code evidence (line numbers, patterns, API calls).
32
32
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
33
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed code quality issues.
33
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
34
34
  - Absence of findings does not mean the code follows best practices. It means your analysis reached its limits. State this explicitly.`,
35
35
  };
36
36
  //# sourceMappingURL=software-practices.js.map
@@ -28,9 +28,9 @@ RULES FOR YOUR EVALUATION:
28
28
  - Score from 0-100 where 100 means comprehensive, well-structured test suite.
29
29
 
30
30
  ADVERSARIAL MANDATE:
31
- - Your role is adversarial: assume the test coverage is insufficient and actively hunt for gaps. Do not give the benefit of the doubt.
31
+ - Your role is adversarial: assume the test coverage is insufficient and actively hunt for gaps. Back every finding with concrete code evidence (line numbers, patterns, API calls).
32
32
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
33
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed testing gaps.
33
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
34
34
  - Absence of findings does not mean the code is well-tested. It means your analysis reached its limits. State this explicitly.`,
35
35
  };
36
36
  //# sourceMappingURL=testing.js.map
package/dist/judges/ux.js CHANGED
@@ -26,9 +26,9 @@ RULES FOR YOUR EVALUATION:
26
26
  - Score from 0-100 where 100 means excellent user experience.
27
27
 
28
28
  ADVERSARIAL MANDATE:
29
- - Your role is adversarial: assume the user experience is poor and actively hunt for problems. Do not give the benefit of the doubt.
29
+ - Your role is adversarial: assume the user experience is poor and actively hunt for problems. Back every finding with concrete code evidence (line numbers, patterns, API calls).
30
30
  - Never praise or compliment the code. Report only problems, risks, and deficiencies.
31
- - If you are uncertain whether something is an issue, flag it false positives are preferred over missed UX issues.
31
+ - If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
32
32
  - Absence of findings does not mean the UX is good. It means your analysis reached its limits. State this explicitly.`,
33
33
  };
34
34
  //# sourceMappingURL=ux.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deep-review.d.ts","sourceRoot":"","sources":["../../src/tools/deep-review.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAqCpH;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,eAAe,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CA0CpH"}
1
+ {"version":3,"file":"deep-review.d.ts","sourceRoot":"","sources":["../../src/tools/deep-review.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAyCpH;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,eAAe,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CA2CpH"}
@@ -17,6 +17,10 @@ export function buildSingleJudgeDeepReviewSection(judge, language, context) {
17
17
  }
18
18
  md += `### ${judge.name} — ${judge.domain}\n\n`;
19
19
  md += `${judge.systemPrompt}\n\n`;
20
+ md += `### Precision Mandate\n\n`;
21
+ md += `Every finding MUST cite specific code evidence (exact line numbers, API calls, variable names, or patterns). `;
22
+ md += `Do NOT flag the absence of a feature unless you can identify where it SHOULD have been implemented and why it is required for THIS code. `;
23
+ md += `Speculative findings erode developer trust — prefer fewer, high-confidence findings over many uncertain ones.\n\n`;
20
24
  md += `### False Positive Review\n\n`;
21
25
  md += `Before adding new findings, **review each pattern-based finding above for false positives.** `;
22
26
  md += `Static pattern matching can flag code that is actually correct — for example:\n`;
@@ -51,6 +55,7 @@ export function buildTribunalDeepReviewSection(judges, language, context) {
51
55
  for (const judge of judges) {
52
56
  md += `### ${judge.name} — ${judge.domain}\n\n`;
53
57
  md += `${judge.systemPrompt}\n\n`;
58
+ md += `**Precision Mandate:** Every finding MUST cite specific code evidence. Do NOT flag absent features speculatively. Prefer fewer, high-confidence findings over many uncertain ones.\n\n`;
54
59
  md += `---\n\n`;
55
60
  }
56
61
  md += `### False Positive Review\n\n`;
@@ -1 +1 @@
1
- {"version":3,"file":"deep-review.js","sourceRoot":"","sources":["../../src/tools/deep-review.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,sEAAsE;AACtE,wEAAw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AkF,CAAC;IACzF,EAAE,IAAI,yEAAyE,CAAC;IAChF,EAAE,IAAI,oHAAoH,CAAC;IAC3H,EAAE,IAAI,0BAA0B,CAAC;IACjC,EAAE,IAAI,yDAAyD,CAAC;IAEhE,EAAE,IAAI,yBAAyB,CAAC;IAChC,EAAE,IAAI,4FAA4F,CAAC;IACnG,EAAE,IAAI,gCAAgC,CAAC;IACvC,EAAE,IAAI,4DAA4D,CAAC;IACnE,EAAE,IAAI,kFAAkF,CAAC;IACzF,EAAE,IAAI,sIAAsI,CAAC;IAC7I,EAAE,IAAI,uKAAuK,CAAC;IAC9K,EAAE,IAAI,2CAA2C,CAAC;IAClD,EAAE,IAAI,mDAAmD,CAAC;IAC1D,EAAE,IAAI,mDAAmD,CAAC;IAE1D,OAAO,EAAE,CAAC;AACZ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/tools/prompts.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAIzE;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAqEvD"}
1
+ {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/tools/prompts.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAgBzE;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAuEvD"}
@@ -4,6 +4,17 @@
4
4
  // ──────────────────────────────────────────────────────────────────────────────
5
5
  import { z } from "zod";
6
6
  import { JUDGES } from "../judges/index.js";
7
+ // ─── Precision Mandate ───────────────────────────────────────────────────────
8
+ // Appended after each judge's systemPrompt to counterbalance the adversarial
9
+ // "false positives preferred" stance and improve finding precision.
10
+ // ──────────────────────────────────────────────────────────────────────────────
11
+ const PRECISION_MANDATE = `
12
+
13
+ PRECISION MANDATE (overrides adversarial stance when in conflict):
14
+ - Every finding MUST cite specific code evidence: exact line numbers, API calls, variable names, or patterns. Findings without concrete evidence must be discarded.
15
+ - Do NOT flag the absence of a feature or pattern unless you can identify the specific code location where it SHOULD have been implemented and explain WHY it is required for THIS code.
16
+ - Speculative, hypothetical, or "just in case" findings erode developer trust. Only flag issues you are confident exist in the actual code.
17
+ - Prefer fewer, high-confidence findings over many uncertain ones. Quality of findings matters more than quantity.`;
7
18
  /**
8
19
  * Register all MCP prompts on the given server:
9
20
  * - One per-judge prompt (`judge-{id}`) for single-persona deep reviews
@@ -39,7 +50,7 @@ export function registerPrompts(server) {
39
50
  language: z.string().describe("The programming language"),
40
51
  context: z.string().optional().describe("Additional context about the code"),
41
52
  }, async ({ code, language, context }) => {
42
- const judgeInstructions = JUDGES.map((j) => `### ${j.name} — ${j.domain}\n${j.systemPrompt}`).join("\n\n---\n\n");
53
+ const judgeInstructions = JUDGES.map((j) => `### ${j.name} — ${j.domain}\n${j.systemPrompt}${PRECISION_MANDATE}`).join("\n\n---\n\n");
43
54
  const userMessage = `You are the Judges Panel — a panel of ${JUDGES.length} expert judges who independently evaluate code for quality, security, and operational readiness.\n\n` +
44
55
  `Evaluate the following ${language} code from the perspective of ALL ${JUDGES.length} judges below. For each judge, provide:\n` +
45
56
  `1. Judge name and domain\n` +
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../src/tools/prompts.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,0EAA0E;AAC1E,gEAAgE;AAChE,iFAAiF;AAGjF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,MAAiB;IAC/C,oBAAoB;IACpB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,MAAM,CAAC,MAAM,CACX,SAAS,KAAK,CAAC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,EAAE,OAAO,EAAE,EAAE,EAAE;QACpC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAClC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,YAAY,GAAG,iBAAiB,EAAE,CAC5E,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAEtB,MAAM,WAAW,GACf,yCAAyC,MAAM,CAAC,MAAM,sGAAsG;YAC5J,0BAA0B,QAAQ,qCAAqC,MAAM,CAAC,MAAM,2CAA2C;YAC/H,4BAA4B;YAC5B,sCAAsC;YACtC,oBAAoB;YACpB,uEAAuE;YACvE,kFAAkF;YAClF,oBAAoB,iBAAiB,MAAM;YAC3C,gCAAgC,QAAQ,KAAK,IAAI,UAAU;YAC3D,CAAC,OAAO,CAAC,CAAC,CAAC,8BAA8B,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAE3D,OAAO;YACL,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,MAAe;oBACrB,OAAO,EAAE;wBACP,IAAI,EAAE,MAAe;wBACrB,IAAI,EAAE,WAAW;qBAClB;iBACF;aACF;SACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
package/dist/types.d.ts CHANGED
@@ -46,6 +46,13 @@ export interface Finding {
46
46
  * change automatically without human interpretation of `suggestedFix`.
47
47
  */
48
48
  patch?: Patch;
49
+ /**
50
+ * Confidence-based disclosure tier, set by the tribunal pipeline:
51
+ * - "essential" — confidence ≥ 0.8: always shown
52
+ * - "important" — confidence ≥ 0.6: shown by default
53
+ * - "supplementary" — confidence < 0.6: shown on demand
54
+ */
55
+ confidenceTier?: "essential" | "important" | "supplementary";
49
56
  }
50
57
  /**
51
58
  * A structured, machine-applicable patch describing an exact text replacement
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAE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U,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,EAAE,CAAC;CACzD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kevinrabun/judges",
3
- "version": "3.16.0",
3
+ "version": "3.18.0",
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",