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

407 lines
8.7 KiB
JSON

{
"type": "object",
"properties": {
"report_id": {
"type": "string"
},
"engagement_id": {
"type": "string"
},
"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"
]
}
},
"itsm_signals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"canonical_id": {
"type": "string"
},
"window_months": {
"type": "integer"
},
"incidents_total": {
"type": "integer"
},
"incidents_p1_p2": {
"type": "integer"
},
"changes_total": {
"type": "integer"
},
"changes_failed": {
"type": "integer"
},
"active_freeze": {
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"until": {
"type": [
"string",
"null"
]
},
"change_ref": {
"type": [
"string",
"null"
]
}
},
"required": [
"active",
"until",
"change_ref"
]
}
},
"required": [
"canonical_id",
"window_months",
"incidents_total",
"incidents_p1_p2",
"changes_total",
"changes_failed",
"active_freeze"
]
}
},
"summary": {
"type": "object",
"properties": {
"matched": {
"type": "integer"
},
"orphans": {
"type": "integer"
},
"ghosts": {
"type": "integer"
},
"stale_attributes": {
"type": "integer"
},
"retired": {
"type": "integer"
},
"out_of_scope": {
"type": "integer"
},
"unplaced": {
"type": "integer"
}
},
"required": [
"matched",
"orphans",
"ghosts",
"stale_attributes"
]
},
"injections_found": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Rows of an uploaded CMDB export carrying text that reads as an instruction, quoted and not acted on (ADR 0018)."
},
"cmdb_sources": {
"type": "array",
"default": [],
"items": {
"type": "object",
"properties": {
"file": {
"type": "string"
},
"sheet": {
"type": [
"string",
"null"
]
},
"rows": {
"type": "integer"
},
"cis": {
"type": "integer"
},
"skipped": {
"type": "integer"
},
"kind": {
"type": "string",
"enum": [
"cis",
"relationships"
]
}
},
"required": [
"file",
"rows",
"cis",
"skipped"
]
}
},
"note": {
"type": "string"
},
"cis": {
"type": "array",
"default": [],
"description": "Each judged CI and its reconciliation result: the CMDB nodes of the dependency graph (ADR 0019).",
"items": {
"type": "object",
"properties": {
"ci_ref": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"ci_class": {
"type": [
"string",
"null"
]
},
"lifecycle": {
"type": "string"
},
"result": {
"type": "string",
"enum": [
"matched",
"ghost",
"retired",
"out_of_scope",
"unplaced"
]
},
"matched_canonical_id": {
"type": [
"string",
"null"
]
},
"matched_resource_id": {
"type": [
"string",
"null"
]
},
"match_basis": {
"type": [
"string",
"null"
],
"enum": [
"cloud_resource_id",
"name",
null
]
},
"evidence_ref": {
"type": "string"
},
"owner": {
"type": [
"string",
"null"
],
"description": "The CI's owner as the CMDB records it, verbatim."
},
"business_service": {
"type": [
"string",
"null"
],
"description": "The business service the CMDB places the CI in, verbatim."
},
"support_group": {
"type": [
"string",
"null"
],
"description": "The CI's support group, verbatim."
}
},
"required": [
"ci_ref",
"result",
"evidence_ref"
]
}
},
"relationships": {
"type": "array",
"default": [],
"description": "Relationships between judged CIs, parent to child: the CMDB edges of the dependency graph (ADR 0019).",
"items": {
"type": "object",
"properties": {
"parent_ref": {
"type": "string"
},
"child_ref": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"hosted_on",
"app_to_db",
"app_to_app",
"app_to_shared_service",
"middleware",
"network_attachment",
"unclassified"
]
},
"type_raw": {
"type": [
"string",
"null"
]
},
"evidence_ref": {
"type": "string"
}
},
"required": [
"parent_ref",
"child_ref",
"type",
"evidence_ref"
]
}
},
"dangling_relationships": {
"type": "array",
"default": [],
"description": "Relationships with an end that matches no judged CI: reported, never invented as a node.",
"items": {
"type": "object",
"properties": {
"parent": {
"type": [
"string",
"null"
]
},
"child": {
"type": [
"string",
"null"
]
},
"type_raw": {
"type": [
"string",
"null"
]
},
"unresolved": {
"type": "array",
"items": {
"type": "string"
}
},
"evidence_ref": {
"type": "string"
}
},
"required": [
"unresolved",
"evidence_ref"
]
}
}
},
"required": [
"report_id",
"engagement_id",
"drift_items",
"itsm_signals",
"summary"
],
"title": "Drift report"
}