Add align/recheck/compare, plugins, and refresh Agent docs.
selftest / selftest (push) Canceled after 0s

Wire deliver_report/listen_pack/retry hooks; gen --auto-retry and intro light check; make AGENTS_MIN the up-to-date agent entry with full command map.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
swl
2026-10-10 13:03:44 +08:00
co-authored by Cursor
parent b1afe68f3c
commit 6d79ab93a2
20 changed files with 780 additions and 91 deletions
+13
View File
@@ -404,6 +404,19 @@ def _render(rep, args, rundir=None, cfg=None):
except Exception as e:
print("[WARN] catalog 更新失败: %s" % e)
if rundir and cfg:
try:
from ..plugins.hooks import bus
bus.emit("after_qc", run_dir=rundir, report=rep, verd=verd,
rows=rows, cfg=cfg, args=args)
except Exception as e:
print("[WARN] after_qc 插件: %s" % e)
if os.path.isfile(os.path.join(rundir, "report.md")):
print("交付报告: %s" % os.path.join(rundir, "report.md"))
listen = os.path.join(rundir, "listen")
if os.path.isdir(listen):
print("听感包: %s" % listen)
if not verd:
print("本次只有基线校准,没有待验收新歌 -> 退出码 0")
return 0