selftest / selftest (push) Canceled after 0s
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>
24 lines
698 B
Python
24 lines
698 B
Python
# -*- coding: utf-8 -*-
|
|
"""songforge 微内核包。
|
|
|
|
层:cli → rules/lyrics → core → config;扩展在 plugins/(钩子总线)。
|
|
"""
|
|
import os
|
|
import sys
|
|
|
|
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
|
|
from .core.workflow import build_workflow, convert, find_node, ROOT, WIDGET_MAP
|
|
from .core.errors import RuleViolation, LexiconError
|
|
from .rules.ironlaw import build_tags, build_lyrics, validate, TRIGGER
|
|
from .config.loader import load
|
|
|
|
__version__ = "1.1.0"
|
|
|
|
__all__ = [
|
|
"build_workflow", "convert", "find_node", "ROOT", "WIDGET_MAP",
|
|
"RuleViolation", "LexiconError",
|
|
"build_tags", "build_lyrics", "validate", "TRIGGER",
|
|
"load",
|
|
]
|