chore: 최상위 룰 매니페스트 파일을 spec/ 폴더로 정리하고 도구 경로 참조 수정
This commit is contained in:
@@ -17,9 +17,10 @@ KNOWN_EXTS = {
|
||||
|
||||
|
||||
def _classify(path: Path) -> str:
|
||||
if path.name in {"AGENTS.md", "README.md", "package.json", "GatherTradingData.json",
|
||||
"RetirementAssetPortfolio.yaml", "RetirementAssetPortfolioReportTemplate.yaml"}:
|
||||
if path.name in {"AGENTS.md", "README.md", "package.json", "GatherTradingData.json"}:
|
||||
return "authority" if path.suffix in {".md", ".yaml", ".json"} else "support"
|
||||
if path.name in {"RetirementAssetPortfolio.yaml", "RetirementAssetPortfolioReportTemplate.yaml"}:
|
||||
return "authority"
|
||||
parts = path.relative_to(ROOT).parts
|
||||
if parts and parts[0] in KNOWN_DIRS:
|
||||
return "authority" if parts[0] in {"spec", "governance", "src", "tools", "runtime"} else "support"
|
||||
|
||||
Reference in New Issue
Block a user