chore: add .pr-review.json for pragent

This commit is contained in:
2026-08-20 16:14:05 +00:00
parent e059ca6563
commit da4a1777a7
+27
View File
@@ -0,0 +1,27 @@
{
"focus": [
"correctness",
"security",
"performance"
],
"exclude_paths": [
"target/**",
"*.class"
],
"languages": [
"java"
],
"style": "balanced",
"require_tests": true,
"exclude_tests": false,
"max_findings": 12,
"severity_threshold": "low",
"patterns": {
"deny": [
"**/README.md",
"**/*.md"
]
},
"cost_target": "claude-sonnet-5",
"instructions": "Minecraft plugin (Paper 26.2, Java 25 build). Watch thread-safety on event handlers (PlayerDeathEvent, PlayerInteractEvent) \u2014 the Bukkit main thread is single-threaded but async chunks/events cross it. Avoid main-thread I/O; defer expensive scans (chunk loading, spiral search) to scheduled tasks or async paths. Flag mutable shared state across listener invocations. Keep public API in /canalhandia modulo ... commands discoverable."
}