Add CP1 Discovery agents in both patterns
All checks were successful
check agents / check (push) Successful in 10s

ALZ-F01 Discovery as a sub-agent orchestrator (sub-agents/) and as eight
individual declarative agents (individual-agents/), with their KAB workflow
exports. Shared check, render and import scripts, the alz-discovery-sample
MCP server, the crucible-kab-dev deploy profile, deployment docs, platform
issue reports and the source material. Agent steps time out at 20 minutes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 18:25:57 +00:00
commit 416c66ced4
331 changed files with 33561 additions and 0 deletions

View File

@@ -0,0 +1,288 @@
{
"type": "object",
"title": "CP1 - Dependency Mapping 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."
},
"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"
]
}
},
"drift_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"drift_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"orphan",
"ghost",
"stale_attribute"
]
},
"canonical_id": {
"type": [
"string",
"null"
]
},
"ci_ref": {
"type": [
"string",
"null"
]
},
"field": {
"type": [
"string",
"null"
]
},
"discovered_value": {
"type": [
"string",
"null"
]
},
"cmdb_value": {
"type": [
"string",
"null"
]
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
},
"suggested_action": {
"type": "string",
"enum": [
"add_ci",
"retire_ci",
"update_attribute",
"investigate"
]
}
},
"required": [
"drift_id",
"type",
"evidence_refs",
"suggested_action"
]
}
},
"flows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"destination": {
"type": "string"
},
"port": {
"type": "string"
},
"bytes_total": {
"type": "integer"
},
"days_observed": {
"type": "integer"
},
"source_ref": {
"type": "string"
}
},
"required": [
"source",
"destination",
"port",
"bytes_total",
"days_observed",
"source_ref"
]
}
}
},
"required": [
"engagement_id",
"records"
]
}

View File

@@ -0,0 +1,147 @@
{
"type": "object",
"properties": {
"graph_id": {
"type": "string"
},
"engagement_id": {
"type": "string"
},
"edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"edge_id": {
"type": "string"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"hosted_on",
"app_to_db",
"app_to_app",
"app_to_shared_service",
"middleware"
]
},
"protocol_port": {
"type": [
"string",
"null"
]
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"cmdb_relationship",
"declared",
"config",
"flow",
"trace"
]
},
"ref": {
"type": "string"
}
},
"required": [
"kind",
"ref"
]
}
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"validation": {
"type": "string",
"enum": [
"auto_approved",
"sme_review_recommended",
"sme_validation_required"
]
}
},
"required": [
"edge_id",
"source",
"target",
"type",
"protocol_port",
"evidence",
"confidence",
"validation"
]
}
},
"nodes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"canonical_id": {
"type": "string"
},
"fan_in": {
"type": "integer"
},
"fan_out": {
"type": "integer"
},
"depended_on": {
"type": "boolean"
},
"retire_constraint": {
"type": "string",
"enum": [
"none",
"cannot_retire_without_mitigation"
]
}
},
"required": [
"canonical_id",
"fan_in",
"fan_out",
"depended_on",
"retire_constraint"
]
}
},
"orphans": {
"type": "array",
"items": {
"type": "string"
}
},
"validation_queue": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"graph_id",
"engagement_id",
"edges",
"nodes",
"orphans",
"validation_queue"
],
"title": "Dependency graph"
}