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

203 lines
4.1 KiB
JSON

{
"type": "object",
"properties": {
"plan_id": {
"type": "string"
},
"engagement_id": {
"type": "string"
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"type": {
"type": "string"
},
"assigned_agent": {
"type": "string"
},
"target_ref": {
"type": "string"
},
"mcp_tool": {
"type": "string"
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
},
"batch": {
"type": [
"integer",
"null"
]
},
"declared_rps": {
"type": [
"number",
"null"
]
},
"evidence_artifact": {
"type": "string"
}
},
"required": [
"task_id",
"type",
"target_ref"
]
}
},
"coverage_gaps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"scope_entry_id": {
"type": "string"
},
"reason_code": {
"type": "string",
"enum": [
"no_connector",
"no_read_only_credential",
"unsupported_asset_class",
"out_of_region",
"insufficient_metadata",
"no_mcp_source"
]
},
"reason": {
"type": "string"
}
},
"required": [
"scope_entry_id",
"reason_code",
"reason"
]
}
},
"summary": {
"type": "object",
"properties": {
"scope_entries": {
"type": "integer"
},
"planned": {
"type": "integer"
},
"gaps": {
"type": "integer"
},
"scan_batches": {
"type": "integer"
}
},
"required": [
"scope_entries",
"planned",
"gaps",
"scan_batches"
]
},
"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": [
"plan_id",
"engagement_id",
"tasks",
"coverage_gaps",
"summary",
"findings_note",
"source_gaps"
],
"title": "Discovery task graph"
}