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:
+4
-3
@@ -15,7 +15,8 @@ from ..core.errors import ConfigError, ServerError
|
||||
from ..lyrics import meter
|
||||
from ..log.logger import Logger, Run
|
||||
from ..rules import ironlaw
|
||||
from .assemble import (_extra_hint, assemble, do_validate, duration_allowed)
|
||||
from .assemble import (_extra_hint, assemble, do_validate, duration_allowed,
|
||||
resolve_lean)
|
||||
from .common import (ROOT, build_cfg, chill_intro_bars, gen_day_root, now_id,
|
||||
read_lyrics, resolve_profile, runs_root, safe_name,
|
||||
session_logger, style_of)
|
||||
@@ -208,7 +209,7 @@ def cmd_check(args):
|
||||
prof = resolve_profile(args)
|
||||
errs, stats = do_validate(lyrics, tags, cfg, st, lexicon, strict=False,
|
||||
instrumental=inst, profile=prof,
|
||||
lean=bool(getattr(args, "lean_tags", False)))
|
||||
lean=resolve_lean(args, cfg))
|
||||
run.save_text("lyrics.txt", lyrics)
|
||||
run.save_text("tags.txt", tags)
|
||||
print("== 密度 ==")
|
||||
@@ -260,7 +261,7 @@ def cmd_gen(args):
|
||||
cfg, bool(getattr(args, "chill_vocal", False)))
|
||||
errs, stats = do_validate(lyrics, tags, cfg, st, lexicon, strict=True,
|
||||
instrumental=inst, profile=prof,
|
||||
lean=bool(getattr(args, "lean_tags", False)))
|
||||
lean=resolve_lean(args, cfg))
|
||||
|
||||
day_root = gen_day_root(cfg)
|
||||
pmod.ensure_dir(day_root)
|
||||
|
||||
Reference in New Issue
Block a user