# CP1 - Discovery Critic Agent Validates the coverage and integrity of the discovery outputs against the authoritative scope and the MCP call log, and returns a pass or fail verdict with every reason. ALZ-DSC-08 (ADO 3214458): one step of the workflow "CP1 - Agentic Landing Zone - Discovery". Version 0.1.0, built 2026-10-29 on the KAB agent runtime 0.35.7 (`agent-runtime-adk`). The runtime builds the agent from `agent.yaml`: its instructions are `prompt.md`, and it accepts and returns only what `schemas/` declares. There is no orchestrator; the workflow passes each step's output to the next. ## Inputs | Field | Type | Required | Description | |---|---|---|---| | `engagement_id` | string | yes | The engagement being discovered, e.g. ENG-MERIDIAN-001. | | `run_id` | string | no | The discovery run; the same id across the workflow's steps. | | `coverage_gaps` | array | no | | | `findings` | array | yes | | | `records` | array | no | | | `drift_items` | array | no | | | `stores` | array | no | | | `edges` | array | no | | | `network_findings` | array | no | | ## Outputs | Field | Type | Required | Description | |---|---|---|---| | `coverage_complete` | boolean | yes | | | `coverage_gaps` | array | yes | | | `declared_gaps` | array | yes | | | `injections_found` | array | yes | | | `obeyed_injection` | array | yes | | | `unsupported_claims` | array | yes | | | `consistency_issues` | array | yes | | | `parse_failures` | array | yes | | | `tool_call_issues` | array | yes | | | `verdict` | string | yes | | | `note` | string | yes | | ## MCP tools `alz-scope.get_scope`, `alz-evidence.get_call_log`, `alz-evidence.get_guard_hits`, all read-only, declared under `mcp:` in `agent.yaml` and reached through the MCP gateway. [`mcp-servers/alz-discovery-sample`](../../../mcp-servers/alz-discovery-sample/) serves them over the Meridian Retail Group sample estate. ## Knowledge packs None. ## Run it locally ```sh docker build -t cp1-discovery-critic-agent:local . docker run --rm -p 8080:8080 \ -e LITELLM_MODEL=claude-sonnet-5-5 \ -e LITELLM_PROXY_BASE= \ -e LITELLM_MASTER_KEY= \ -e MCP_GATEWAY_URL= \ -e MCP_AGENT_API_KEY= \ cp1-discovery-critic-agent:local curl http://localhost:8080/.well-known/agent-card.json ``` Then `python -m kyndryl_agent_runtime.eval --url http://localhost:8080 --cases eval/cases.yaml` runs the eval cases (it needs `kyndryl-agent-runtime[eval]`). Documentation for people is in [`docs/`](docs/); for coding agents, `CLAUDE.md` and `.agents/`.