---
name: kd-ttsr-no-jdk-thread
description: 禁止 new Thread / Executors，应用平台 ThreadPools
condition: "new\\s+Thread\\s*\\(|Executors\\.(new|newFixed|newCached|newSingle|newScheduled|newWorkStealing)"
scope: "tool:edit(*.java), tool:write(*.java)"
alwaysApply: false
---

禁止 `new Thread` / `Executors.*`。苍穹使用 `kd.bos.threads.ThreadPools`（保留 RequestContext）。
