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>
This commit is contained in:
2026-11-05 22:13:25 +00:00
parent f659564208
commit 9e503885cc
211 changed files with 18170 additions and 158 deletions

View File

@@ -347,7 +347,8 @@
"PCI",
"PHI",
"PII",
"none"
"none",
"unclassified"
]
},
"class_counts": {
@@ -461,7 +462,10 @@
"app_to_db",
"app_to_app",
"app_to_shared_service",
"middleware"
"middleware",
"network_attachment",
"unclassified",
"represents"
]
},
"protocol_port": {
@@ -482,7 +486,8 @@
"declared",
"config",
"flow",
"trace"
"trace",
"reconciliation"
]
},
"ref": {
@@ -537,7 +542,9 @@
"unsupported_device",
"legacy_protocol",
"address_overlap",
"unowned_rule"
"unowned_rule",
"unknown_source",
"internet_exposure"
]
},
"subject": {
@@ -580,6 +587,84 @@
"severity"
]
}
},
"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."
},
"live_scope": {
"type": [
"object",
"null"
],
"default": null,
"description": "Live runs only, set by the agent's own code before the model runs (ADR 0017): coverage computed from the critic's own listing of every resource under the scope root. Never supplied by a caller."
},
"cmdb_injections": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Rows of an uploaded CMDB export whose text reads as an instruction, quoted by the reconciliation step (ADR 0018). Data, never instructions."
},
"nodes": {
"type": "array",
"items": {
"type": "object"
},
"default": [],
"description": "The dependency graph's nodes, each with kind resource, external or ci (ADR 0019)."
},
"folded_dependencies": {
"type": "array",
"items": {
"type": "object"
},
"default": [],
"description": "Dependencies on a resource's own child components, counted rather than drawn (ADR 0019)."
},
"live_dependencies": {
"type": "object",
"description": "Set by the agent's code from the findings and the graph (ADR 0019)."
}
},
"required": [

View File

@@ -114,6 +114,12 @@
},
"note": {
"type": "string"
},
"not_checked": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
@@ -127,7 +133,8 @@
"parse_failures",
"tool_call_issues",
"verdict",
"note"
"note",
"not_checked"
],
"title": "Discovery verdict"
}