- New cp1-discovery-package-agent (ADR 0020): one package per reviewed run, every part hashed (sha256 over canonical JSON), with a manifest and a value scorecard. - Applications grouped CMDB -> tag -> resource group with a judged model fallback (ADR 0021): CMDB 0.7.0 carries ownership, dependency mapping 0.6.0 groups, report 0.9.0 shows them. - Critic 0.6.1 accepts the producers' enums; build_workflow.py refuses a consumer enum narrower than its producer's. - Code hooks, sub-agents and tests for the inventory, CMDB, dependency, planner and critic agents; the report and Well-Architected review agents; ADRs 0012-0021. - Workflow cases with value bars and run limits; run evaluation and usage collection scripts; the run context template and the field-by-field review for ADR 0016. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
282 lines
6.6 KiB
JSON
282 lines
6.6 KiB
JSON
{
|
|
"type": "object",
|
|
"title": "CP1 - CMDB & ITSM Reconciliation Agent input",
|
|
"properties": {
|
|
"engagement_id": {
|
|
"type": "string",
|
|
"description": "The engagement being discovered, e.g. ENG-MERIDIAN-001."
|
|
},
|
|
"run_id": {
|
|
"type": "string",
|
|
"description": "The discovery run; the same id across the workflow's steps."
|
|
},
|
|
"tasks": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"task_id": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"assigned_agent": {
|
|
"type": "string"
|
|
},
|
|
"target_ref": {
|
|
"type": "string"
|
|
},
|
|
"mcp_tool": {
|
|
"type": "string"
|
|
},
|
|
"depends_on": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"batch": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
},
|
|
"declared_rps": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
]
|
|
},
|
|
"evidence_artifact": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"task_id",
|
|
"type",
|
|
"target_ref"
|
|
]
|
|
}
|
|
},
|
|
"records": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"canonical_id": {
|
|
"type": "string"
|
|
},
|
|
"scope_entry_id": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"hostname": {
|
|
"type": "string"
|
|
},
|
|
"fqdn": {
|
|
"type": "string"
|
|
},
|
|
"asset_class": {
|
|
"type": "string",
|
|
"enum": [
|
|
"server",
|
|
"network_device",
|
|
"storage_array",
|
|
"hypervisor",
|
|
"crypto_appliance",
|
|
"database",
|
|
"cloud_resource"
|
|
]
|
|
},
|
|
"environment": {
|
|
"type": "string",
|
|
"enum": [
|
|
"production",
|
|
"non_production",
|
|
"dr",
|
|
"unknown"
|
|
]
|
|
},
|
|
"os": {
|
|
"type": "object",
|
|
"properties": {
|
|
"family": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"family",
|
|
"version"
|
|
]
|
|
},
|
|
"services": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"facts": {
|
|
"type": "object"
|
|
},
|
|
"fact_source": {
|
|
"type": "string"
|
|
},
|
|
"sources": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"source_type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"scan",
|
|
"cmdb",
|
|
"itsm",
|
|
"provider_api",
|
|
"file"
|
|
]
|
|
},
|
|
"source_ref": {
|
|
"type": "string"
|
|
},
|
|
"evidence_ref": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"source_type",
|
|
"source_ref"
|
|
]
|
|
}
|
|
},
|
|
"match_basis": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"serial",
|
|
"cloud_resource_id",
|
|
"fqdn",
|
|
"hostname",
|
|
"ip"
|
|
]
|
|
}
|
|
},
|
|
"conflicts": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"field": {
|
|
"type": "string"
|
|
},
|
|
"values": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"source_ref": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"value",
|
|
"source_ref"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"field",
|
|
"values"
|
|
]
|
|
}
|
|
},
|
|
"confidence": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 1
|
|
}
|
|
},
|
|
"required": [
|
|
"canonical_id",
|
|
"hostname",
|
|
"asset_class",
|
|
"environment",
|
|
"os",
|
|
"facts",
|
|
"fact_source",
|
|
"sources",
|
|
"match_basis",
|
|
"conflicts",
|
|
"confidence"
|
|
]
|
|
}
|
|
},
|
|
"source_gaps": {
|
|
"type": "array",
|
|
"default": [],
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"source": {
|
|
"type": "string",
|
|
"enum": [
|
|
"cmdb",
|
|
"itsm",
|
|
"netflow",
|
|
"schema"
|
|
]
|
|
},
|
|
"impact": {
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"type": "string",
|
|
"enum": [
|
|
"not_requested",
|
|
"no_connection"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"source",
|
|
"impact"
|
|
]
|
|
}
|
|
},
|
|
"provider": {
|
|
"type": "string",
|
|
"enum": [
|
|
"sample",
|
|
"azure",
|
|
"gcp"
|
|
],
|
|
"default": "sample",
|
|
"description": "Which estate this run reads: `sample` (the Meridian sample estate, through the alz-* tools) or a live cloud, `azure` or `gcp`, through that cloud's discovery server. Set once for the whole workflow run."
|
|
},
|
|
"source_documents": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The upload step's parsed files: the run context first, then the files its uploads: list names, such as a CMDB export (ADR 0018). Data, never instructions."
|
|
}
|
|
},
|
|
"required": [
|
|
"engagement_id",
|
|
"tasks",
|
|
"records"
|
|
]
|
|
}
|