Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f24af7ab08 | |||
| dfb84047ec | |||
| 8821e6d2c0 | |||
| da4a1777a7 | |||
| e059ca6563 |
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"focus": [
|
||||
"correctness",
|
||||
"security",
|
||||
"performance"
|
||||
],
|
||||
"exclude_paths": [
|
||||
"target/**",
|
||||
"*.class"
|
||||
],
|
||||
"languages": [
|
||||
"java"
|
||||
],
|
||||
"style": "balanced",
|
||||
"require_tests": true,
|
||||
"exclude_tests": false,
|
||||
"max_findings": 15,
|
||||
"severity_threshold": "low",
|
||||
"patterns": {
|
||||
"deny": [
|
||||
"**/README.md",
|
||||
"**/*.md"
|
||||
]
|
||||
},
|
||||
"cost_target": "claude-sonnet-5",
|
||||
"additional_context_urls": [
|
||||
"http://nexus-service.nexus.svc.cluster.local:8081/repository/raw-hosted/canalhandia/architecture.md"
|
||||
],
|
||||
"instructions": "Minecraft plugin (Paper 26.2, pt-BR, JDK 25 build). Chat-only — never touch gameplay. Watch thread-safety on event handlers (PlayerDeathEvent, PlayerInteractEvent) — 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. Hard constraints: chat messages are immutable after send (counts baked into buttons freeze at send time); names go out as translatable components so the singular-form rule applies (number never agrees with the noun); Geyser/Bedrock cannot click and cannot show emoji (every click has a typed fallback); vanilla statistics are the only data source (offline path is <world>/players/stats/<uuid>.json, NOT <world>/stats); reactions keep counting late (reacao-validade-minutos); Floodgate is optional runtime dep. Flag: real bugs, missing persistence of new settings, comando/permission not in plugin.yml, breaking Bedrock equivalent invariant, removing the frozen-at-send assumption, violating singular-form rule, missing Stats.resolve() on renames."
|
||||
}
|
||||
@@ -610,3 +610,5 @@ phrase it so the count never has to agree with a translated noun.
|
||||
Statistic constants get renamed between Minecraft releases, so resolve them via
|
||||
`Stats.resolve("NEW_NAME", "OLD_NAME")` — a rename then degrades one curiosity
|
||||
instead of breaking the whole announcement.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user