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:
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"engagement_id",
|
||||
"run_id",
|
||||
"package_version",
|
||||
"manifest"
|
||||
],
|
||||
"properties": {
|
||||
"engagement_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_version": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"1.0"
|
||||
]
|
||||
},
|
||||
"manifest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"package_version",
|
||||
"engagement_id",
|
||||
"run_id",
|
||||
"created_at",
|
||||
"critic_verdict",
|
||||
"parts",
|
||||
"absent_parts",
|
||||
"complete",
|
||||
"problems",
|
||||
"scorecard"
|
||||
],
|
||||
"properties": {
|
||||
"package_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"engagement_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"execution_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"provider": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"critic_verdict": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"reviewed": {
|
||||
"type": "string"
|
||||
},
|
||||
"agent_versions": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"source_gaps": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"parts": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"sha256"
|
||||
],
|
||||
"properties": {
|
||||
"sha256": {
|
||||
"type": "string",
|
||||
"pattern": "^sha256:[0-9a-f]{64}$"
|
||||
},
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"absent_parts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"plan",
|
||||
"scan",
|
||||
"inventory",
|
||||
"cmdb",
|
||||
"classification",
|
||||
"network",
|
||||
"dependencies",
|
||||
"applications",
|
||||
"critic",
|
||||
"well_architected",
|
||||
"report"
|
||||
]
|
||||
}
|
||||
},
|
||||
"complete": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"problems": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"scorecard": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"version",
|
||||
"f02_fields",
|
||||
"f02_run",
|
||||
"decisions",
|
||||
"findings"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"plan": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
},
|
||||
"scan": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
},
|
||||
"inventory": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
},
|
||||
"cmdb": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
},
|
||||
"classification": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
},
|
||||
"network": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
},
|
||||
"dependencies": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
},
|
||||
"critic": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
},
|
||||
"well_architected": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
},
|
||||
"report": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
},
|
||||
"applications": {
|
||||
"type": "object",
|
||||
"description": "One step's output fields, unchanged."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user