"""A live run's plan is built in code from every resource in scope (ADR 0017); the sample estate keeps the agent loop.""" from typing import Any, Optional from kyndryl_agent_runtime.request_cycle import Reply from kyndryl_agent_runtime.tools import call_tool from app import plan def pre_process(payload: dict) -> Optional[Any]: if payload.get("provider", "sample") not in ("azure", "gcp"): return None # the Meridian sample estate: prompt.md and the alz-scope tools, unchanged return Reply(plan.reply(payload, call_tool))