Add no-filler tags, media CLI, and ask-before-edit iron law.
selftest / selftest (push) Canceled after 0s
selftest / selftest (push) Canceled after 0s
Default solo-lead tags and report-only filler_ratio; slim Agent docs with media CLI; require consent, git backup or plugin path, and explicit commit/push before code changes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
---
|
||||
description: songforge Agent 默认规则(省 token、无乱改铁律)
|
||||
globs:
|
||||
- "**/*"
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# songforge
|
||||
|
||||
1. **先读** `AGENTS_MIN.md`;不要默认加载整份 `AGENTS.md` / `ironlaw.py` / `qc_worker.py`。
|
||||
2. 做歌流水线:`doctor_all` → `target` → 写词 → `check` → `gen` → `qc --baseline`。
|
||||
3. 音频探测 / 转码 / 截取:只用 `songforge media info|convert|clip`(经 qc_python)。
|
||||
4. 缺 `local.toml`、Comfy 不通、风格/歌名不清、想改模型或 QC 阈值 → **先问用户**。
|
||||
5. **改代码铁律**:发现需改仓库代码时,先说明缺口与范围并**征求同意**;建议用户用 git 分支/commit/stash 备份,或新写插件/旁路少动核心;再问是否 commit、是否 push、推哪个 remote。未获许可不得改核心、不得提交/推送。用户同意收尾时再 commit+push。
|
||||
6. 默认无衬音/无和声叠唱已由 tags 强制;不要手写 tags 覆盖铁律。
|
||||
7. 勿提交 `.secrets/`、`config/local.toml`、`.venv/`;勿 `--force` push。
|
||||
Reference in New Issue
Block a user