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

@@ -25,6 +25,34 @@
],
"default": null,
"description": "Text of project artifacts the workflow selected (an Artifacts step's parsed_content), e.g. an earlier run's outputs."
},
"include_cmdb": {
"type": "string",
"enum": [
"yes",
"no"
],
"default": "yes",
"description": "Use the engagement's CMDB connection in this run: yes or no."
},
"include_itsm": {
"type": "string",
"enum": [
"yes",
"no"
],
"default": "yes",
"description": "Use the engagement's ITSM connection in this run: yes or no."
},
"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."
}
},
"required": [

View File

@@ -111,6 +111,82 @@
},
"findings_note": {
"type": "string"
},
"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"
]
}
},
"scope_accounting": {
"type": "object",
"default": {},
"description": "Live runs (ADR 0017): how every resource under the scope root was accounted for. listed = scope_entries + folded + structure.",
"properties": {
"listed": {
"type": "integer"
},
"scope_entries": {
"type": "integer"
},
"folded": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"id",
"type",
"reason"
]
}
},
"structure": {
"type": "integer"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"required": [
@@ -119,7 +195,8 @@
"tasks",
"coverage_gaps",
"summary",
"findings_note"
"findings_note",
"source_gaps"
],
"title": "Discovery task graph"
}