- 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>
188 lines
4.5 KiB
JSON
188 lines
4.5 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"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
|
|
},
|
|
"provider_attributes": {
|
|
"type": "object",
|
|
"default": {},
|
|
"description": "Live runs: the resource's own provider metadata, copied verbatim (type, region, zone, size, state, OS image, disks, networks, public address, labels, protection, encryption, backups). Empty for the sample estate."
|
|
}
|
|
},
|
|
"required": [
|
|
"canonical_id",
|
|
"hostname",
|
|
"asset_class",
|
|
"environment",
|
|
"os",
|
|
"facts",
|
|
"fact_source",
|
|
"sources",
|
|
"match_basis",
|
|
"conflicts",
|
|
"confidence"
|
|
]
|
|
}
|
|
},
|
|
"sme_review_queue": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"records",
|
|
"sme_review_queue"
|
|
],
|
|
"title": "Canonical inventory"
|
|
}
|