feat(deploy): register Engine MCP materialization transition

This commit is contained in:
Codex
2026-07-23 20:37:31 +03:00
parent 4cf3a83ef1
commit 25b12d77e4
4 changed files with 1134 additions and 3 deletions
@@ -147,15 +147,15 @@ class EngineNodeIntelligenceTest(unittest.TestCase):
)
self.assertEqual(actual, descriptor)
def test_gateway_accepts_registered_0_8_and_rejects_unknown_successors(self):
def test_gateway_accepts_registered_0_9_and_rejects_unknown_successors(self):
with tempfile.TemporaryDirectory() as directory:
payload, descriptor = self.make_activation_payload(Path(directory))
gateway = payload / RUNNER.ENGINE_NODE_INTELLIGENCE_GATEWAY_REL
gateway_text = gateway.read_text(encoding="utf-8")
self.assertIn("const ENGINE_AGENT_MCP_VERSION = '0.8.0'", gateway_text)
self.assertIn("const ENGINE_AGENT_MCP_VERSION = '0.9.0'", gateway_text)
gateway.write_text(
gateway_text.replace(
"const ENGINE_AGENT_MCP_VERSION = '0.8.0'",
"const ENGINE_AGENT_MCP_VERSION = '0.9.0'",
"const ENGINE_AGENT_MCP_VERSION = '9.9.9'",
),
encoding="utf-8",