Files
Jonathan Boniface 9e503885cc ALZ-F01 Discovery: package step, value scorecard, application grouping, cases
- 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>
2026-11-05 22:13:25 +00:00

153 lines
3.3 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "One CMDB row, normalised to our CI schema (ADR 0018, ADR 0019)",
"description": "What the normalise_cmdb_batch sub-agent returns for one row of an uploaded CMDB export. Every string is copied verbatim from the row; environment and lifecycle are the only judgments. Code adds source, evidence_ref and location.",
"type": "object",
"properties": {
"row": {
"type": "integer",
"description": "The row number shown at the start of the row's line."
},
"skip": {
"type": "string",
"minLength": 1,
"description": "Only for a row that is not a CI (a total, a blank, a repeated header): why."
},
"ci_ref": {
"type": "string",
"minLength": 1,
"description": "The CMDB's own identifier for the CI, verbatim."
},
"name": {
"type": [
"string",
"null"
]
},
"cloud_resource_id": {
"type": [
"string",
"null"
],
"description": "An Azure resource id or GCP asset name, verbatim, if the row has one."
},
"ci_class": {
"type": [
"string",
"null"
]
},
"environment_raw": {
"type": [
"string",
"null"
]
},
"environment": {
"type": "string",
"enum": [
"production",
"non_production",
"dr",
"unknown"
]
},
"location_raw": {
"type": [
"string",
"null"
]
},
"status_raw": {
"type": [
"string",
"null"
]
},
"lifecycle": {
"type": "string",
"enum": [
"active",
"retired",
"unknown"
]
},
"owner": {
"type": [
"string",
"null"
]
},
"business_service": {
"type": [
"string",
"null"
]
},
"support_group": {
"type": [
"string",
"null"
]
},
"other_attributes": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Header -> value, both verbatim, for any other column worth keeping."
},
"injection_detected": {
"type": "boolean"
},
"related": {
"type": "array",
"description": "Other CIs this row names as its parent or child, as written in the row (ADR 0019).",
"items": {
"type": "object",
"properties": {
"ref": {
"type": "string",
"minLength": 1
},
"role": {
"type": "string",
"enum": [
"parent",
"child"
]
},
"type_raw": {
"type": [
"string",
"null"
]
},
"type": {
"type": "string",
"enum": [
"hosted_on",
"app_to_db",
"app_to_app",
"app_to_shared_service",
"middleware",
"network_attachment",
"unclassified"
]
}
},
"required": [
"ref",
"role",
"type"
],
"additionalProperties": false
}
}
},
"required": [
"row"
],
"additionalProperties": false
}