chore: 최상위 룰 매니페스트 파일을 spec/ 폴더로 정리하고 도구 경로 참조 수정
This commit is contained in:
@@ -38,7 +38,7 @@ def compute_content_signature(contents: dict[str, str]) -> str:
|
||||
|
||||
|
||||
def flatten_manifest_files(manifest: dict) -> list[str]:
|
||||
ordered: list[str] = ["RetirementAssetPortfolio.yaml", "AGENTS.md"]
|
||||
ordered: list[str] = ["spec/RetirementAssetPortfolio.yaml", "AGENTS.md"]
|
||||
for step in (manifest.get("load_sequence") or {}).values():
|
||||
for file_name in step.get("files", []):
|
||||
if "*" not in file_name and file_name not in ordered:
|
||||
@@ -136,7 +136,7 @@ def save_cache(payload: dict[str, str]) -> None:
|
||||
def main() -> int:
|
||||
DIST.mkdir(exist_ok=True)
|
||||
# 1) 공통 입력 로드는 순차로 고정한다.
|
||||
manifest = yaml.safe_load((ROOT / "RetirementAssetPortfolio.yaml").read_text(encoding="utf-8"))
|
||||
manifest = yaml.safe_load((ROOT / "spec" / "RetirementAssetPortfolio.yaml").read_text(encoding="utf-8"))
|
||||
profiles = {mode: bundle_profile(manifest, mode) for mode in ("full", "compact", "ultra_compact")}
|
||||
all_profile_paths = [path for profile in profiles.values() for path in profile.get("files", [])]
|
||||
all_unique_paths = sorted({path for path in all_profile_paths if "*" not in path})
|
||||
|
||||
Reference in New Issue
Block a user