Files
songforge/plugins/README.md
T
swlandCursor b1afe68f3c
selftest / selftest (push) Canceled after 0s
Fix opening filler via lean tags and intro QC gate.
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>
2026-10-10 12:49:25 +08:00

629 B
Raw Blame History

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/(命令)。
业务扩展优先写插件,少改内核。