chore: add .pr-review.json for pragent
This commit is contained in:
@@ -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."
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user