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

349 lines
12 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": [
"engagement_id",
"run_id"
],
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"provider": {
"type": "string"
},
"agent_versions": {
"type": "object",
"description": "Each agent's version when the workflow was built, set as a static input by scripts/build_workflow.py.",
"additionalProperties": {
"type": "string"
}
},
"plan_id": {
"type": [
"string",
"null"
],
"description": "cp1-discovery-planner-agent: plan_id. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"plan_summary": {
"type": [
"object",
"null"
],
"description": "cp1-discovery-planner-agent: summary. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"coverage_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-discovery-planner-agent: coverage_gaps. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"source_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-discovery-planner-agent: source_gaps. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"scope_accounting": {
"type": [
"object",
"null"
],
"description": "cp1-discovery-planner-agent: scope_accounting. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"scan_findings": {
"type": [
"array",
"null"
],
"description": "cp1-estate-scan-executor-agent: findings. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"records": {
"type": [
"array",
"null"
],
"description": "cp1-asset-inventory-normalisation-agent: records. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"sme_review_queue": {
"type": [
"array",
"null"
],
"description": "cp1-asset-inventory-normalisation-agent: sme_review_queue. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"drift_items": {
"type": [
"array",
"null"
],
"description": "cp1-cmdb-itsm-reconciliation-agent: drift_items. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"itsm_signals": {
"type": [
"array",
"null"
],
"description": "cp1-cmdb-itsm-reconciliation-agent: itsm_signals. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"cmdb_summary": {
"type": [
"object",
"null"
],
"description": "cp1-cmdb-itsm-reconciliation-agent: summary. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"cmdb_cis": {
"type": [
"array",
"null"
],
"description": "cp1-cmdb-itsm-reconciliation-agent: cis. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"cmdb_relationships": {
"type": [
"array",
"null"
],
"description": "cp1-cmdb-itsm-reconciliation-agent: relationships. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"cmdb_dangling": {
"type": [
"array",
"null"
],
"description": "cp1-cmdb-itsm-reconciliation-agent: dangling_relationships. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"cmdb_sources": {
"type": [
"array",
"null"
],
"description": "cp1-cmdb-itsm-reconciliation-agent: cmdb_sources. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"cmdb_injections": {
"type": [
"array",
"null"
],
"description": "cp1-cmdb-itsm-reconciliation-agent: injections_found. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"stores": {
"type": [
"array",
"null"
],
"description": "cp1-data-classification-agent: stores. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"ranges": {
"type": [
"array",
"null"
],
"description": "cp1-network-discovery-assessment-agent: ranges. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"flows": {
"type": [
"array",
"null"
],
"description": "cp1-network-discovery-assessment-agent: flows. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"network_findings": {
"type": [
"array",
"null"
],
"description": "cp1-network-discovery-assessment-agent: findings. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"topology_summary": {
"type": [
"object",
"null"
],
"description": "cp1-network-discovery-assessment-agent: topology_summary. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"nodes": {
"type": [
"array",
"null"
],
"description": "cp1-dependency-mapping-agent: nodes. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"edges": {
"type": [
"array",
"null"
],
"description": "cp1-dependency-mapping-agent: edges. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"orphans": {
"type": [
"array",
"null"
],
"description": "cp1-dependency-mapping-agent: orphans. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"validation_queue": {
"type": [
"array",
"null"
],
"description": "cp1-dependency-mapping-agent: validation_queue. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"folded_dependencies": {
"type": [
"array",
"null"
],
"description": "cp1-dependency-mapping-agent: folded_dependencies. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"dangling": {
"type": [
"array",
"null"
],
"description": "cp1-dependency-mapping-agent: dangling. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"graph_comparison": {
"type": [
"array",
"null"
],
"description": "cp1-dependency-mapping-agent: graph_comparison. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"verdict": {
"type": [
"string",
"null"
],
"description": "cp1-discovery-critic-agent: verdict. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"critic_note": {
"type": [
"string",
"null"
],
"description": "cp1-discovery-critic-agent: note. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"coverage_complete": {
"type": [
"boolean",
"null"
],
"description": "cp1-discovery-critic-agent: coverage_complete. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"unsupported_claims": {
"type": [
"array",
"null"
],
"description": "cp1-discovery-critic-agent: unsupported_claims. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"consistency_issues": {
"type": [
"array",
"null"
],
"description": "cp1-discovery-critic-agent: consistency_issues. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"obeyed_injection": {
"type": [
"array",
"null"
],
"description": "cp1-discovery-critic-agent: obeyed_injection. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"not_checked": {
"type": [
"array",
"null"
],
"description": "cp1-discovery-critic-agent: not_checked. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"waf_status": {
"type": [
"string",
"null"
],
"description": "cp1-well-architected-review-agent: status. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"waf_pillars": {
"type": [
"array",
"null"
],
"description": "cp1-well-architected-review-agent: pillars. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"waf_checks": {
"type": [
"array",
"null"
],
"description": "cp1-well-architected-review-agent: checks. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"waf_recommendations": {
"type": [
"object",
"null"
],
"description": "cp1-well-architected-review-agent: recommendations. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"waf_note": {
"type": [
"string",
"null"
],
"description": "cp1-well-architected-review-agent: note. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"report_counts": {
"type": [
"object",
"null"
],
"description": "cp1-discovery-report-agent: counts. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"report_markdown": {
"type": [
"string",
"null"
],
"description": "cp1-discovery-report-agent: report_markdown. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"applications": {
"type": [
"array",
"null"
],
"description": "cp1-dependency-mapping-agent: applications. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"asset_owners": {
"type": [
"array",
"null"
],
"description": "cp1-dependency-mapping-agent: asset_owners. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"ungrouped_assets": {
"type": [
"array",
"null"
],
"description": "cp1-dependency-mapping-agent: ungrouped_assets. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
},
"applications_note": {
"type": [
"string",
"null"
],
"description": "cp1-dependency-mapping-agent: applications_note. Copied into the package unchanged; no enum, so no value the producer can hold is refused."
}
}
}