M3 implementada e backlog atualizado

This commit is contained in:
Marcos Lohmann
2026-09-14 10:11:29 -03:00
parent f3efcc3414
commit c894c1604b
65 changed files with 4261 additions and 74 deletions

View File

@@ -11,7 +11,8 @@ from pathlib import Path
from pydantic import BaseModel
from emcp_bus.common.config import ConfigError, load_yaml_models
from emcp_bus.agent_runtime.identity_resolver import IdentityResolverConfig
from emcp_bus.common.config import ConfigError, load_yaml_model, load_yaml_models
from emcp_bus.downstream.models import BackendConfig
from emcp_bus.entitlement.models import ClientProfile
from emcp_bus.identity.models import ClientRegistration
@@ -45,6 +46,16 @@ def main() -> int:
if model is ClientRegistration:
client_registrations = items # type: ignore[assignment]
# EP-12-T04: a single named file, not a directory of many.
identity_yaml = CONFIG_DIR / "orchestrator" / "identity.yaml"
try:
load_yaml_model(identity_yaml, IdentityResolverConfig)
except ConfigError as exc:
print(f"FAIL orchestrator/identity.yaml: {exc}")
had_errors = True
else:
print("OK orchestrator/identity.yaml: validated against IdentityResolverConfig")
# EP-01-T05: two agents sharing an MCP Client identity must resolve to
# the same profile (README.md §18/§35) -- a config-shape check schema
# validation alone cannot express, since it spans multiple files.