Allow report consistency without dist

This commit is contained in:
yaojingang
2026-06-16 00:51:19 +08:00
parent bf1499d9b8
commit 0979c8753e
28 changed files with 266 additions and 233 deletions
+7 -2
View File
@@ -437,12 +437,17 @@ def build_report(skill_dir: Path, generated_at: str) -> dict[str, Any]:
"SKILL.md",
"manifest.json",
"agents/interface.yaml",
"dist/manifest.json",
"dist/targets/openai/adapter.json",
"evidence/world_class/README.md",
"security/permission_policy.json",
"reports/world_class_evidence_ledger.json",
]
optional_claim_surfaces = [
"dist/manifest.json",
"dist/targets/openai/adapter.json",
]
required_claim_surfaces.extend(
path for path in optional_claim_surfaces if (skill_dir / path).exists()
)
prohibited_claim_surface_prefixes = [
"dist/install-simulation/",
"evidence/world_class/submissions/",