Stop naming filler syllables in tags (they conditioned the model); default prefer_lean_tags; hard-fail intro_filler in QC; add plugins/ hook bus as thin microkernel extension point. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# plugins — 扩展目录(微内核外挂)
|
||||
|
||||
| 路径 | 用途 |
|
||||
|------|------|
|
||||
| `plugins/hooks.py` | 钩子总线(内核只 `emit`,不 import 业务插件) |
|
||||
| `plugins/builtin/` | 内置插件(随仓发布) |
|
||||
| `plugins/<name>.py` | 单文件插件 |
|
||||
| `plugins/<name>/plugin.py` | 包式插件入口 |
|
||||
|
||||
## 钩子
|
||||
|
||||
- `before_build_tags`
|
||||
- `after_assemble`(可返回 `{"tags","lyrics"}`)
|
||||
- `before_qc_judge` / `after_qc_judge`(QC 子进程侧另见 qc_worker)
|
||||
|
||||
内核层:`core/`(引擎/路径/workflow)、`rules/`(铁律)、`cli/`(命令)。
|
||||
业务扩展优先写插件,少改内核。
|
||||
Reference in New Issue
Block a user