feat: complete Epic 1 production foundation

This commit is contained in:
2026-08-25 01:24:11 +03:00
parent 767428436d
commit 182bde8ac0
298 changed files with 35719 additions and 5299 deletions
+9
View File
@@ -209,6 +209,14 @@ def validate_runtime_reference(
raise ContractError(f"divergent Compose inline default: {name}")
def compose_optional(specification: dict[str, object]) -> bool:
compatibility = specification.get("compatibility")
return (
isinstance(compatibility, str)
and "deprecated startup-bootstrap password" in compatibility
)
def validate(root: Path) -> None:
effective, specifications, deployment = load_contract(root)
declared_values: dict[str, set[str]] = {name: set() for name in effective}
@@ -235,6 +243,7 @@ def validate(root: Path) -> None:
name
for name in effective
if specifications[name]["process"] in {"shared", "admin_api"}
and not compose_optional(specifications[name])
}
required_mcp = {
name