Files
cp1-agents/individual-agents/ALZ-F02: Assessment & Disposition Workflow Agent/workflows/cp1-alz-assessment-individual.json
Jonathan Boniface 66c32745aa
Some checks failed
check agents / check (push) Failing after 14s
F02: Assessment report and package (ADR 0014, 0015); register agents in KAB
- Report (cp1-assessment-report-agent 0.2.0, step s7): a model writes the
  Assessment report from facts worked out in code (register, gaps, scorecard,
  rule traces, checks, and what each application is from the Discovery
  package); code sets the verdict and renders the pages. The
  disposition_signoff review point moves from the critic to the report.
- Package (cp1-assessment-package-agent 0.1.1, step s8): after sign-off, every
  step's output in one package, with a register, a gaps register, the
  sign-off record, lineage and a sha256 per part, in code. Page step s9.
- scripts/kab_register_agents.py: registers deployed agents in KAB's agent
  catalog (an in-place workflow update doesn't).
- Runs exec_1b1257380df7 (014) and exec_374d5d577077 (015) completed on
  crucible-kab-dev: critic pass, report figures all in its facts, package
  complete with every digest recomputing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 20:19:10 +00:00

4848 lines
164 KiB
JSON

{
"export_version": "2.0.0",
"export_timestamp": "2026-11-02T12:00:00",
"source_environment": "unknown",
"workflow": {
"name": "CP1 - Agentic Landing Zone - Assessment (individual agents)",
"description": "CP1 - Agentic Landing Zone - Assessment (individual agents): the Discovery run's outputs and the rate card in; then CP1 - Assessment Intake Agent; then CP1 - Assessment Planner Agent; then CP1 - Cloud Readiness Profiler Agent; then CP1 - Migration Risk Scorer Agent; then CP1 - Security Posture Assessment Agent; then CP1 - 7R Disposition & TCO Agent; then CP1 - Assessment Critic & Sign-off Router Agent; then CP1 - Assessment Report Agent; then CP1 - Assessment Package Agent.",
"version": "0.1.0",
"category": "cross-industry-catalog",
"sub_category": "Public Cloud",
"tags": [
"cp1",
"public-cloud",
"agentic-landing-zone"
]
},
"dependencies": {
"activities": [],
"agents": [
{
"name": "cp1_assessment_intake_agent",
"display_name": "CP1 - Assessment Intake Agent",
"source_url": "http://cp1-assessment-intake-agent.agents.svc.cluster.local:8080",
"category": "agent"
},
{
"name": "cp1_assessment_planner_agent",
"display_name": "CP1 - Assessment Planner Agent",
"source_url": "http://cp1-assessment-planner-agent.agents.svc.cluster.local:8080",
"category": "agent"
},
{
"name": "cp1_cloud_readiness_profiler_agent",
"display_name": "CP1 - Cloud Readiness Profiler Agent",
"source_url": "http://cp1-cloud-readiness-profiler-agent.agents.svc.cluster.local:8080",
"category": "agent"
},
{
"name": "cp1_migration_risk_scorer_agent",
"display_name": "CP1 - Migration Risk Scorer Agent",
"source_url": "http://cp1-migration-risk-scorer-agent.agents.svc.cluster.local:8080",
"category": "agent"
},
{
"name": "cp1_security_posture_assessment_agent",
"display_name": "CP1 - Security Posture Assessment Agent",
"source_url": "http://cp1-security-posture-assessment-agent.agents.svc.cluster.local:8080",
"category": "agent"
},
{
"name": "cp1_disposition_tco_agent",
"display_name": "CP1 - 7R Disposition & TCO Agent",
"source_url": "http://cp1-disposition-tco-agent.agents.svc.cluster.local:8080",
"category": "agent"
},
{
"name": "cp1_assessment_critic_agent",
"display_name": "CP1 - Assessment Critic & Sign-off Router Agent",
"source_url": "http://cp1-assessment-critic-agent.agents.svc.cluster.local:8080",
"category": "agent"
},
{
"name": "cp1_assessment_report_agent",
"display_name": "CP1 - Assessment Report Agent",
"source_url": "http://cp1-assessment-report-agent.agents.svc.cluster.local:8080",
"category": "agent"
},
{
"name": "cp1_assessment_package_agent",
"display_name": "CP1 - Assessment Package Agent",
"source_url": "http://cp1-assessment-package-agent.agents.svc.cluster.local:8080",
"category": "agent"
}
]
},
"template": {
"name": "CP1 - Agentic Landing Zone - Assessment (individual agents)",
"version": "0.1.0",
"description": "CP1 - Agentic Landing Zone - Assessment (individual agents): the Discovery run's outputs and the rate card in; then CP1 - Assessment Intake Agent; then CP1 - Assessment Planner Agent; then CP1 - Cloud Readiness Profiler Agent; then CP1 - Migration Risk Scorer Agent; then CP1 - Security Posture Assessment Agent; then CP1 - 7R Disposition & TCO Agent; then CP1 - Assessment Critic & Sign-off Router Agent; then CP1 - Assessment Report Agent; then CP1 - Assessment Package Agent.",
"metadata": {
"name": "CP1 - Agentic Landing Zone - Assessment (individual agents)",
"description": "CP1 - Agentic Landing Zone - Assessment (individual agents): the Discovery run's outputs and the rate card in; then CP1 - Assessment Intake Agent; then CP1 - Assessment Planner Agent; then CP1 - Cloud Readiness Profiler Agent; then CP1 - Migration Risk Scorer Agent; then CP1 - Security Posture Assessment Agent; then CP1 - 7R Disposition & TCO Agent; then CP1 - Assessment Critic & Sign-off Router Agent; then CP1 - Assessment Report Agent; then CP1 - Assessment Package Agent.",
"category": {
"main": "cross-industry-catalog",
"sub": "Public Cloud"
},
"sub_category": "Public Cloud",
"status": "draft",
"tags": [
"cp1",
"public-cloud",
"agentic-landing-zone"
],
"created": "2026-11-02T12:00:00.000Z",
"modified": "2026-11-02T12:00:00.000Z",
"display_order": 2,
"is_public": false,
"edge_visuals": []
},
"connections": [
{
"source": "a1",
"target": "p1"
},
{
"source": "p1",
"target": "s0"
},
{
"source": "p1",
"target": "s1"
},
{
"source": "s0",
"target": "s1"
},
{
"source": "p1",
"target": "s2"
},
{
"source": "s1",
"target": "s2"
},
{
"source": "p1",
"target": "s3"
},
{
"source": "s1",
"target": "s3"
},
{
"source": "p1",
"target": "s4"
},
{
"source": "s1",
"target": "s4"
},
{
"source": "p1",
"target": "s5"
},
{
"source": "s1",
"target": "s5"
},
{
"source": "s2",
"target": "s5"
},
{
"source": "s3",
"target": "s5"
},
{
"source": "s4",
"target": "s5"
},
{
"source": "p1",
"target": "s6"
},
{
"source": "s1",
"target": "s6"
},
{
"source": "s2",
"target": "s6"
},
{
"source": "s3",
"target": "s6"
},
{
"source": "s4",
"target": "s6"
},
{
"source": "s5",
"target": "s6"
},
{
"source": "p1",
"target": "s7"
},
{
"source": "s0",
"target": "s7"
},
{
"source": "s1",
"target": "s7"
},
{
"source": "s2",
"target": "s7"
},
{
"source": "s3",
"target": "s7"
},
{
"source": "s4",
"target": "s7"
},
{
"source": "s5",
"target": "s7"
},
{
"source": "s6",
"target": "s7"
},
{
"source": "s0",
"target": "s8"
},
{
"source": "s1",
"target": "s8"
},
{
"source": "s2",
"target": "s8"
},
{
"source": "s3",
"target": "s8"
},
{
"source": "s4",
"target": "s8"
},
{
"source": "s5",
"target": "s8"
},
{
"source": "s6",
"target": "s8"
},
{
"source": "s7",
"target": "s8"
},
{
"source": "s7",
"target": "s9"
}
],
"steps": [
{
"id": "a1",
"agent": "select_artifacts",
"agent_type": "select_artifacts",
"name": "Artifacts",
"timeout_minutes": 5,
"type": "sequential",
"executionLevel": 0,
"parallelGroup": 0,
"depends_on": [],
"position": {
"x": -320,
"y": 160
},
"inputs": {
"from_workflow": [
"artifact_ids"
]
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "select_artifacts",
"name": "Artifacts",
"description": "The Discovery run's step outputs, by exact artifact id (never a name or a workflow id). Only a Discovery run whose critic passed and which was approved should be selected.",
"category": "file_and_data_processing",
"temporalActivityName": "select_artifacts",
"inputSchema": {
"type": "object",
"properties": {
"artifact_ids": {
"type": "array",
"items": {
"type": "string"
},
"label": "Discovery artifacts",
"description": "The Discovery run's artifacts",
"uiFieldType": "artifact_picker"
}
},
"required": [
"artifact_ids"
]
},
"outputSchema": {
"type": "object",
"properties": {
"artifacts": {
"type": "array",
"description": "Per-file records with base64 content"
}
}
}
}
},
{
"id": "p1",
"agent": "parse_assessment_files",
"agent_type": "parse_assessment_files",
"name": "Parse Discovery outputs",
"timeout_minutes": 5,
"type": "sequential",
"executionLevel": 1,
"parallelGroup": 1,
"depends_on": [
"a1"
],
"position": {
"x": 0,
"y": 160
},
"inputs": {
"from_steps": {
"files": "a1.artifacts"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "parse_assessment_files",
"name": "Parse Discovery outputs",
"description": "Turns the selected Discovery artifacts into text for the agents.",
"category": "file_and_data_processing",
"temporalActivityName": "parse_assessment_files",
"inputSchema": {
"type": "object",
"properties": {
"files": {
"type": "array"
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"parsed_content": {
"type": "string",
"description": "Combined parsed text content"
},
"file_metadata": {
"type": "array",
"description": "Metadata about each parsed file"
},
"total_files": {
"type": "number"
},
"total_content_length": {
"type": "number"
}
}
}
}
},
{
"id": "s0",
"agent": "cp1_assessment_intake_agent",
"agent_type": "cp1_assessment_intake_agent",
"name": "CP1 - Assessment Intake Agent Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 2,
"parallelGroup": 2,
"depends_on": [
"p1"
],
"position": {
"x": 320,
"y": 0
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id",
"discovery_execution_id"
],
"from_steps": {
"discovery_documents": "p1.parsed_content"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_assessment_intake_agent",
"name": "CP1 - Assessment Intake Agent Step",
"description": "Checks the Discovery package in code before Assessment starts: one package, every part's sha256, complete, critic pass, and the run's Discovery execution id and engagement. A refused package stops the workflow.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-assessment-intake-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_assessment_intake_agent"
},
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": [
"engagement_id",
"run_id",
"discovery_execution_id"
],
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"discovery_execution_id": {
"type": "string",
"description": "The Discovery run's execution id; the package must be from it."
},
"discovery_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "p1.parsed_content: the selected artifacts as text. Exactly one must be the Discovery package."
}
}
},
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": [
"engagement_id",
"run_id",
"verified"
],
"properties": {
"engagement_id": {
"type": [
"string",
"null"
]
},
"run_id": {
"type": [
"string",
"null"
]
},
"verified": {
"type": "boolean"
},
"package_version": {
"type": "string"
},
"discovery_execution_id": {
"type": [
"string",
"null"
]
},
"discovery_run_id": {
"type": [
"string",
"null"
]
},
"critic_verdict": {
"type": "string"
},
"provider": {
"type": [
"string",
"null"
]
},
"parts_verified": {
"type": "array",
"items": {
"type": "string"
}
},
"absent_parts": {
"type": "array",
"items": {
"type": "string"
}
},
"source_gaps": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
}
},
"agent_versions": {
"type": "object"
},
"applications": {
"type": "array",
"description": "The Discovery package's applications (F01 ADR 0021), as Discovery grouped them."
},
"ungrouped_assets": {
"type": "array",
"items": {
"type": "string"
}
},
"scorecard": {
"type": "object"
},
"note": {
"type": "string"
}
}
}
}
},
{
"id": "s1",
"agent": "cp1_assessment_planner_agent",
"agent_type": "cp1_assessment_planner_agent",
"name": "CP1 - Assessment Planner Agent Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 3,
"parallelGroup": 3,
"depends_on": [
"p1",
"s0"
],
"position": {
"x": 640,
"y": 0
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id",
"discovery_execution_id",
"discovery_approval_ref",
"rate_card_document"
],
"from_steps": {
"discovery_documents": "p1.parsed_content",
"discovery_files": "p1.file_metadata"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_assessment_planner_agent",
"name": "CP1 - Assessment Planner Agent Step",
"description": "Checks that Assessment may start on an approved, passing Discovery run and a rate card, then plans profile, risk, security posture and disposition tasks for every application or declares it a gap.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-assessment-planner-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_assessment_planner_agent"
},
"inputSchema": {
"type": "object",
"title": "CP1 - Assessment Planner Agent input",
"properties": {
"engagement_id": {
"type": "string",
"description": "The engagement, e.g. ENG-MERIDIAN-001."
},
"run_id": {
"type": "string",
"description": "The Assessment run; the same id across the workflow's steps."
},
"discovery_execution_id": {
"type": "string",
"description": "The Discovery run's execution id, e.g. exec_0d5c0e2a7f01. Every reference to a Discovery record names it."
},
"discovery_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "The Discovery run's step outputs as text: the Artifacts step's records, parsed by the parse step (p1.parsed_content). One JSON document per selected artifact, separated by a line '---'."
},
"discovery_files": {
"type": [
"array",
"null"
],
"default": null,
"description": "The parse step's file_metadata (p1.file_metadata): the selected artifacts' names, in the order their text appears in discovery_documents."
},
"discovery_approval_ref": {
"type": [
"string",
"null"
],
"default": null,
"description": "The platform decision record approving the Discovery run, supplied when the run starts (ADR 0002)."
},
"rate_card_document": {
"type": [
"string",
"null"
],
"default": null,
"description": "The rate card's JSON, given as text in the run input rate_card_document (ADR 0009); see the Feature README."
}
},
"required": [
"engagement_id",
"discovery_execution_id"
]
},
"outputSchema": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"planned",
"refused"
]
},
"engagement_id": {
"type": "string"
},
"discovery_execution_id": {
"type": "string"
},
"rate_card_id": {
"type": [
"string",
"null"
]
},
"preconditions": {
"type": "object",
"properties": {
"discovery_completed": {
"type": "boolean"
},
"critic_verdict_pass": {
"type": "boolean"
},
"approval_recorded": {
"type": "boolean"
},
"inventory_present": {
"type": "boolean"
},
"dependency_map_present": {
"type": "boolean"
},
"rate_card_present": {
"type": "boolean"
},
"failed": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"discovery_completed",
"critic_verdict_pass",
"approval_recorded",
"inventory_present",
"dependency_map_present",
"rate_card_present",
"failed"
]
},
"in_cloud_estate": {
"type": "boolean"
},
"application_source": {
"type": "string",
"enum": [
"discovery_applications",
"business_service"
]
},
"applications": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"assets": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"application_id",
"assets"
]
}
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"profile_application",
"score_risk",
"assess_security_posture",
"score_disposition",
"validate"
]
},
"assigned_agent": {
"type": "string",
"enum": [
"ALZ-ASM-02",
"ALZ-ASM-03",
"ALZ-ASM-05",
"ALZ-ASM-04",
"ALZ-ASM-06"
]
},
"application_id": {
"type": [
"string",
"null"
]
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"task_id",
"type",
"assigned_agent",
"depends_on"
]
}
},
"coverage_gaps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"reason_code": {
"type": "string",
"enum": [
"no_assets",
"all_assets_discovery_gaps",
"no_inventory_record",
"conflicting_records",
"no_application_mapping"
]
},
"reason": {
"type": "string"
}
},
"required": [
"application_id",
"reason_code",
"reason"
]
}
},
"summary": {
"type": "object",
"properties": {
"applications": {
"type": "integer"
},
"planned": {
"type": "integer"
},
"gaps": {
"type": "integer"
}
}
},
"findings_note": {
"type": "string"
}
},
"required": [
"status",
"discovery_execution_id",
"preconditions",
"in_cloud_estate",
"applications",
"tasks",
"coverage_gaps",
"findings_note"
],
"title": "Assessment task graph"
}
}
},
{
"id": "s2",
"agent": "cp1_cloud_readiness_profiler_agent",
"agent_type": "cp1_cloud_readiness_profiler_agent",
"name": "CP1 - Cloud Readiness Profiler Agent Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 4,
"parallelGroup": 4,
"depends_on": [
"p1",
"s1"
],
"position": {
"x": 960,
"y": -160
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id",
"discovery_execution_id"
],
"from_steps": {
"discovery_documents": "p1.parsed_content",
"discovery_files": "p1.file_metadata",
"tasks": "s1.tasks",
"applications": "s1.applications"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_cloud_readiness_profiler_agent",
"name": "CP1 - Cloud Readiness Profiler Agent Step",
"description": "Builds one metadata-only runtime profile per planned application with seven readiness signals, states that no telemetry exists, and assigns no disposition.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-cloud-readiness-profiler-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_cloud_readiness_profiler_agent"
},
"inputSchema": {
"type": "object",
"title": "CP1 - Cloud Readiness Profiler Agent input",
"properties": {
"engagement_id": {
"type": "string",
"description": "The engagement, e.g. ENG-MERIDIAN-001."
},
"run_id": {
"type": "string",
"description": "The Assessment run; the same id across the workflow's steps."
},
"discovery_execution_id": {
"type": "string",
"description": "The Discovery run's execution id, e.g. exec_0d5c0e2a7f01. Every reference to a Discovery record names it."
},
"discovery_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "The Discovery run's step outputs as text: the Artifacts step's records, parsed by the parse step (p1.parsed_content). One JSON document per selected artifact, separated by a line '---'."
},
"discovery_files": {
"type": [
"array",
"null"
],
"default": null,
"description": "The parse step's file_metadata (p1.file_metadata): the selected artifacts' names, in the order their text appears in discovery_documents."
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"profile_application",
"score_risk",
"assess_security_posture",
"score_disposition",
"validate"
]
},
"assigned_agent": {
"type": "string",
"enum": [
"ALZ-ASM-02",
"ALZ-ASM-03",
"ALZ-ASM-05",
"ALZ-ASM-04",
"ALZ-ASM-06"
]
},
"application_id": {
"type": [
"string",
"null"
]
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"task_id",
"type",
"assigned_agent",
"depends_on"
]
}
},
"applications": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"assets": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"application_id",
"assets"
]
}
}
},
"required": [
"engagement_id",
"discovery_execution_id",
"tasks",
"applications"
]
},
"outputSchema": {
"type": "object",
"properties": {
"discovery_execution_id": {
"type": "string"
},
"profiles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"assets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"canonical_id": {
"type": "string"
},
"asset_class": {
"type": "string"
},
"os": {
"type": [
"object",
"null"
]
},
"support_status": {
"type": [
"string",
"null"
],
"enum": [
"supported",
"extended_support",
"out_of_support",
null
]
},
"end_of_support": {
"type": [
"string",
"null"
]
},
"services": {
"type": "array",
"items": {
"type": "string"
}
},
"hosting": {
"type": "string",
"enum": [
"cloud",
"virtual",
"physical",
"appliance",
"unknown"
]
},
"evidence_ref": {
"type": "string"
}
},
"required": [
"canonical_id",
"hosting",
"evidence_ref"
]
}
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
},
"dependents": {
"type": "array",
"items": {
"type": "string"
}
},
"telemetry": {
"type": "string",
"enum": [
"none"
]
},
"signals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"signal": {
"type": "string",
"enum": [
"platform_support",
"hardware_coupling",
"data_constraints",
"dependency_exposure",
"hosting_portability",
"sizing",
"performance_baseline"
]
},
"value": {
"type": "string"
},
"basis": {
"type": "string"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
},
"available": {
"type": "boolean"
}
},
"required": [
"signal",
"value",
"basis",
"evidence_refs",
"available"
]
}
}
},
"required": [
"application_id",
"assets",
"telemetry",
"signals"
]
}
},
"gaps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"reason": {
"type": "string"
}
}
}
},
"findings_note": {
"type": "string"
}
},
"required": [
"discovery_execution_id",
"profiles",
"gaps",
"findings_note"
],
"title": "Readiness profiles"
}
}
},
{
"id": "s3",
"agent": "cp1_migration_risk_scorer_agent",
"agent_type": "cp1_migration_risk_scorer_agent",
"name": "CP1 - Migration Risk Scorer Agent Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 4,
"parallelGroup": 4,
"depends_on": [
"p1",
"s1"
],
"position": {
"x": 960,
"y": 0
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id",
"discovery_execution_id"
],
"from_steps": {
"discovery_documents": "p1.parsed_content",
"discovery_files": "p1.file_metadata",
"tasks": "s1.tasks",
"applications": "s1.applications"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_migration_risk_scorer_agent",
"name": "CP1 - Migration Risk Scorer Agent Step",
"description": "Scores each planned application's migration risk from four weighted factors, names missing factors, and flags the high-risk tail by score or hard trigger.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-migration-risk-scorer-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_migration_risk_scorer_agent"
},
"inputSchema": {
"type": "object",
"title": "CP1 - Migration Risk Scorer Agent input",
"properties": {
"engagement_id": {
"type": "string",
"description": "The engagement, e.g. ENG-MERIDIAN-001."
},
"run_id": {
"type": "string",
"description": "The Assessment run; the same id across the workflow's steps."
},
"discovery_execution_id": {
"type": "string",
"description": "The Discovery run's execution id, e.g. exec_0d5c0e2a7f01. Every reference to a Discovery record names it."
},
"discovery_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "The Discovery run's step outputs as text: the Artifacts step's records, parsed by the parse step (p1.parsed_content). One JSON document per selected artifact, separated by a line '---'."
},
"discovery_files": {
"type": [
"array",
"null"
],
"default": null,
"description": "The parse step's file_metadata (p1.file_metadata): the selected artifacts' names, in the order their text appears in discovery_documents."
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"profile_application",
"score_risk",
"assess_security_posture",
"score_disposition",
"validate"
]
},
"assigned_agent": {
"type": "string",
"enum": [
"ALZ-ASM-02",
"ALZ-ASM-03",
"ALZ-ASM-05",
"ALZ-ASM-04",
"ALZ-ASM-06"
]
},
"application_id": {
"type": [
"string",
"null"
]
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"task_id",
"type",
"assigned_agent",
"depends_on"
]
}
},
"applications": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"assets": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"application_id",
"assets"
]
}
}
},
"required": [
"engagement_id",
"discovery_execution_id",
"tasks",
"applications"
]
},
"outputSchema": {
"type": "object",
"properties": {
"discovery_execution_id": {
"type": "string"
},
"scores": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"score": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"partial": {
"type": "boolean"
},
"missing_factors": {
"type": "array",
"items": {
"type": "string"
}
},
"factors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"factor": {
"type": "string",
"enum": [
"eol",
"fan_in",
"data",
"change"
]
},
"value": {
"type": [
"number",
"null"
]
},
"weight": {
"type": "number"
},
"contribution": {
"type": [
"number",
"null"
]
},
"basis": {
"type": "string"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"factor",
"value",
"weight",
"contribution",
"basis"
]
}
},
"high_risk": {
"type": "boolean"
},
"tail_rules": {
"type": "array",
"items": {
"type": "string"
}
},
"unevaluable_triggers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"trigger": {
"type": "string"
},
"missing_fact": {
"type": "string"
},
"canonical_id": {
"type": "string"
}
}
}
}
},
"required": [
"application_id",
"score",
"partial",
"missing_factors",
"factors",
"high_risk",
"tail_rules"
]
}
},
"high_risk_tail": {
"type": "array",
"items": {
"type": "string"
}
},
"findings_note": {
"type": "string"
}
},
"required": [
"discovery_execution_id",
"scores",
"high_risk_tail",
"findings_note"
],
"title": "Risk scores"
}
}
},
{
"id": "s4",
"agent": "cp1_security_posture_assessment_agent",
"agent_type": "cp1_security_posture_assessment_agent",
"name": "CP1 - Security Posture Assessment Agent Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 4,
"parallelGroup": 4,
"depends_on": [
"p1",
"s1"
],
"position": {
"x": 960,
"y": 160
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id",
"discovery_execution_id"
],
"from_steps": {
"discovery_documents": "p1.parsed_content",
"discovery_files": "p1.file_metadata",
"tasks": "s1.tasks",
"applications": "s1.applications",
"in_cloud_estate": "s1.in_cloud_estate"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_security_posture_assessment_agent",
"name": "CP1 - Security Posture Assessment Agent Step",
"description": "For in-cloud estates only, evaluates five fixed controls, ranks findings by exploitability and impact and reviews six Well-Architected pillars; its findings are advisory.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-security-posture-assessment-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_security_posture_assessment_agent"
},
"inputSchema": {
"type": "object",
"title": "CP1 - Security Posture Assessment Agent input",
"properties": {
"engagement_id": {
"type": "string",
"description": "The engagement, e.g. ENG-MERIDIAN-001."
},
"run_id": {
"type": "string",
"description": "The Assessment run; the same id across the workflow's steps."
},
"discovery_execution_id": {
"type": "string",
"description": "The Discovery run's execution id, e.g. exec_0d5c0e2a7f01. Every reference to a Discovery record names it."
},
"discovery_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "The Discovery run's step outputs as text: the Artifacts step's records, parsed by the parse step (p1.parsed_content). One JSON document per selected artifact, separated by a line '---'."
},
"discovery_files": {
"type": [
"array",
"null"
],
"default": null,
"description": "The parse step's file_metadata (p1.file_metadata): the selected artifacts' names, in the order their text appears in discovery_documents."
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"profile_application",
"score_risk",
"assess_security_posture",
"score_disposition",
"validate"
]
},
"assigned_agent": {
"type": "string",
"enum": [
"ALZ-ASM-02",
"ALZ-ASM-03",
"ALZ-ASM-05",
"ALZ-ASM-04",
"ALZ-ASM-06"
]
},
"application_id": {
"type": [
"string",
"null"
]
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"task_id",
"type",
"assigned_agent",
"depends_on"
]
}
},
"applications": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"assets": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"application_id",
"assets"
]
}
},
"in_cloud_estate": {
"type": "boolean"
}
},
"required": [
"engagement_id",
"discovery_execution_id",
"in_cloud_estate"
]
},
"outputSchema": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"assessed",
"not_applicable"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"discovery_execution_id": {
"type": "string"
},
"posture_score": {
"type": [
"number",
"null"
]
},
"controls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"control_id": {
"type": "string",
"enum": [
"C-01",
"C-02",
"C-03",
"C-04",
"C-05"
]
},
"result": {
"type": "string",
"enum": [
"pass",
"fail",
"no_evidence"
]
},
"basis": {
"type": "string"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"control_id",
"result",
"basis"
]
}
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"finding_id": {
"type": "string"
},
"control_id": {
"type": "string"
},
"application_id": {
"type": [
"string",
"null"
]
},
"resource_ref": {
"type": "string"
},
"exploitability": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"impact": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"rank_score": {
"type": "integer"
},
"description": {
"type": "string"
},
"evidence_ref": {
"type": "string"
},
"advisory": {
"type": "boolean",
"const": true
}
},
"required": [
"finding_id",
"control_id",
"rank_score",
"description",
"evidence_ref",
"advisory"
]
}
},
"pillars": {
"type": "array",
"items": {
"type": "object",
"properties": {
"pillar": {
"type": "string",
"enum": [
"reliability",
"security",
"cost",
"operations",
"performance",
"sustainability"
]
},
"status": {
"type": "string",
"enum": [
"reviewed",
"gap"
]
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
},
"guidance_ref": {
"type": [
"string",
"null"
]
}
},
"required": [
"pillar",
"status"
]
}
},
"injection_flags": {
"type": "array",
"items": {
"type": "string"
}
},
"findings_note": {
"type": "string"
}
},
"required": [
"status",
"discovery_execution_id",
"controls",
"findings",
"pillars",
"findings_note"
],
"title": "Security posture"
}
}
},
{
"id": "s5",
"agent": "cp1_disposition_tco_agent",
"agent_type": "cp1_disposition_tco_agent",
"name": "CP1 - 7R Disposition & TCO Agent Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 5,
"parallelGroup": 5,
"depends_on": [
"p1",
"s1",
"s2",
"s3",
"s4"
],
"position": {
"x": 1280,
"y": 0
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id",
"discovery_execution_id",
"rate_card_document"
],
"from_steps": {
"discovery_documents": "p1.parsed_content",
"discovery_files": "p1.file_metadata",
"tasks": "s1.tasks",
"applications": "s1.applications",
"rate_card_id": "s1.rate_card_id",
"profiles": "s2.profiles",
"scores": "s3.scores",
"high_risk_tail": "s3.high_risk_tail",
"security_findings": "s4.findings"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_disposition_tco_agent",
"name": "CP1 - 7R Disposition & TCO Agent Step",
"description": "Assigns each planned application one 7R disposition from a fixed rule set, with listed confidence workings, an indicative TCO from inventory cost and the rate card, and sign-off routing below 0.80.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-disposition-tco-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_disposition_tco_agent"
},
"inputSchema": {
"type": "object",
"title": "CP1 - 7R Disposition & TCO Agent input",
"properties": {
"engagement_id": {
"type": "string",
"description": "The engagement, e.g. ENG-MERIDIAN-001."
},
"run_id": {
"type": "string",
"description": "The Assessment run; the same id across the workflow's steps."
},
"discovery_execution_id": {
"type": "string",
"description": "The Discovery run's execution id, e.g. exec_0d5c0e2a7f01. Every reference to a Discovery record names it."
},
"discovery_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "The Discovery run's step outputs as text: the Artifacts step's records, parsed by the parse step (p1.parsed_content). One JSON document per selected artifact, separated by a line '---'."
},
"discovery_files": {
"type": [
"array",
"null"
],
"default": null,
"description": "The parse step's file_metadata (p1.file_metadata): the selected artifacts' names, in the order their text appears in discovery_documents."
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"profile_application",
"score_risk",
"assess_security_posture",
"score_disposition",
"validate"
]
},
"assigned_agent": {
"type": "string",
"enum": [
"ALZ-ASM-02",
"ALZ-ASM-03",
"ALZ-ASM-05",
"ALZ-ASM-04",
"ALZ-ASM-06"
]
},
"application_id": {
"type": [
"string",
"null"
]
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"task_id",
"type",
"assigned_agent",
"depends_on"
]
}
},
"applications": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"assets": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"application_id",
"assets"
]
}
},
"rate_card_id": {
"type": [
"string",
"null"
]
},
"rate_card_document": {
"type": [
"string",
"null"
],
"default": null,
"description": "The rate card's JSON, given as text in the run input rate_card_document (ADR 0009); see the Feature README."
},
"profiles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"assets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"canonical_id": {
"type": "string"
},
"asset_class": {
"type": "string"
},
"os": {
"type": [
"object",
"null"
]
},
"support_status": {
"type": [
"string",
"null"
],
"enum": [
"supported",
"extended_support",
"out_of_support",
null
]
},
"end_of_support": {
"type": [
"string",
"null"
]
},
"services": {
"type": "array",
"items": {
"type": "string"
}
},
"hosting": {
"type": "string",
"enum": [
"cloud",
"virtual",
"physical",
"appliance",
"unknown"
]
},
"evidence_ref": {
"type": "string"
}
},
"required": [
"canonical_id",
"hosting",
"evidence_ref"
]
}
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
},
"dependents": {
"type": "array",
"items": {
"type": "string"
}
},
"telemetry": {
"type": "string",
"enum": [
"none"
]
},
"signals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"signal": {
"type": "string",
"enum": [
"platform_support",
"hardware_coupling",
"data_constraints",
"dependency_exposure",
"hosting_portability",
"sizing",
"performance_baseline"
]
},
"value": {
"type": "string"
},
"basis": {
"type": "string"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
},
"available": {
"type": "boolean"
}
},
"required": [
"signal",
"value",
"basis",
"evidence_refs",
"available"
]
}
}
},
"required": [
"application_id",
"assets",
"telemetry",
"signals"
]
}
},
"scores": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"score": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"partial": {
"type": "boolean"
},
"missing_factors": {
"type": "array",
"items": {
"type": "string"
}
},
"factors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"factor": {
"type": "string",
"enum": [
"eol",
"fan_in",
"data",
"change"
]
},
"value": {
"type": [
"number",
"null"
]
},
"weight": {
"type": "number"
},
"contribution": {
"type": [
"number",
"null"
]
},
"basis": {
"type": "string"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"factor",
"value",
"weight",
"contribution",
"basis"
]
}
},
"high_risk": {
"type": "boolean"
},
"tail_rules": {
"type": "array",
"items": {
"type": "string"
}
},
"unevaluable_triggers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"trigger": {
"type": "string"
},
"missing_fact": {
"type": "string"
},
"canonical_id": {
"type": "string"
}
}
}
}
},
"required": [
"application_id",
"score",
"partial",
"missing_factors",
"factors",
"high_risk",
"tail_rules"
]
}
},
"high_risk_tail": {
"type": "array",
"items": {
"type": "string"
}
},
"security_findings": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"finding_id": {
"type": "string"
},
"control_id": {
"type": "string"
},
"application_id": {
"type": [
"string",
"null"
]
},
"resource_ref": {
"type": "string"
},
"exploitability": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"impact": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"rank_score": {
"type": "integer"
},
"description": {
"type": "string"
},
"evidence_ref": {
"type": "string"
},
"advisory": {
"type": "boolean",
"const": true
}
},
"required": [
"finding_id",
"control_id",
"rank_score",
"description",
"evidence_ref",
"advisory"
]
},
"default": null
}
},
"required": [
"engagement_id",
"discovery_execution_id",
"tasks",
"applications",
"profiles",
"scores"
]
},
"outputSchema": {
"type": "object",
"properties": {
"discovery_execution_id": {
"type": "string"
},
"rate_card_id": {
"type": [
"string",
"null"
]
},
"dispositions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"disposition": {
"type": "string",
"enum": [
"retire",
"repurchase",
"replatform",
"refactor",
"retain",
"relocate",
"rehost"
]
},
"interim_rule": {
"type": "boolean"
},
"rule_trace": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"retire",
"repurchase",
"replatform",
"refactor",
"retain",
"relocate",
"rehost"
]
},
"matched": {
"type": "boolean"
},
"basis": {
"type": "string"
}
},
"required": [
"category",
"matched",
"basis"
]
}
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"confidence_workings": {
"type": "object",
"properties": {
"base": {
"type": "number"
},
"adjustments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rule": {
"type": "string"
},
"delta": {
"type": "number"
},
"basis": {
"type": "string"
}
}
}
},
"cap": {
"type": [
"number",
"null"
]
},
"result": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"base",
"adjustments",
"result"
]
},
"signoff_required": {
"type": "boolean"
},
"evidence_ref": {
"type": "string",
"pattern": "^discovery:[^/]+/ALZ-DSC-0[1-8]/.+"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
},
"tco_model": {
"type": "object",
"properties": {
"currency": {
"type": [
"string",
"null"
]
},
"current_annual": {
"type": [
"number",
"null"
]
},
"target_annual": {
"type": [
"number",
"null"
]
},
"annual_delta": {
"type": [
"number",
"null"
]
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"canonical_id": {
"type": "string"
},
"current": {
"type": [
"number",
"null"
]
},
"rate_id": {
"type": [
"string",
"null"
]
},
"target": {
"type": [
"number",
"null"
]
}
}
}
},
"missing_inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"indicative": {
"type": "boolean",
"const": true
}
},
"required": [
"current_annual",
"target_annual",
"annual_delta",
"line_items",
"missing_inputs",
"indicative"
]
},
"licensing_note": {
"type": [
"string",
"null"
]
},
"scoring_note": {
"type": "string"
}
},
"required": [
"application_id",
"disposition",
"interim_rule",
"rule_trace",
"confidence",
"confidence_workings",
"signoff_required",
"evidence_ref",
"tco_model",
"scoring_note"
]
}
},
"signoff_queue": {
"type": "array",
"items": {
"type": "string"
}
},
"scoring_note": {
"type": "string"
}
},
"required": [
"discovery_execution_id",
"dispositions",
"signoff_queue",
"scoring_note"
],
"title": "Disposition records"
}
}
},
{
"id": "s6",
"agent": "cp1_assessment_critic_agent",
"agent_type": "cp1_assessment_critic_agent",
"name": "CP1 - Assessment Critic & Sign-off Router Agent Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 6,
"parallelGroup": 6,
"depends_on": [
"p1",
"s1",
"s2",
"s3",
"s4",
"s5"
],
"position": {
"x": 1600,
"y": 0
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id",
"discovery_execution_id",
"rate_card_document"
],
"from_steps": {
"discovery_documents": "p1.parsed_content",
"discovery_files": "p1.file_metadata",
"tasks": "s1.tasks",
"applications": "s1.applications",
"coverage_gaps": "s1.coverage_gaps",
"preconditions": "s1.preconditions",
"in_cloud_estate": "s1.in_cloud_estate",
"profiles": "s2.profiles",
"profile_gaps": "s2.gaps",
"scores": "s3.scores",
"high_risk_tail": "s3.high_risk_tail",
"posture_status": "s4.status",
"security_findings": "s4.findings",
"dispositions": "s5.dispositions",
"signoff_queue": "s5.signoff_queue"
},
"static": {
"critic_model": "gpt-5.4",
"executor_models": [
"gpt-5.6-sol"
]
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_assessment_critic_agent",
"name": "CP1 - Assessment Critic & Sign-off Router Agent Step",
"description": "Independently validates the Assessment: coverage, evidence, dependents, recalculated scores, confidence and TCO, the interim and advisory rules, and routes confidence below 0.80 to disposition sign-off.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-assessment-critic-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_assessment_critic_agent"
},
"inputSchema": {
"type": "object",
"title": "CP1 - Assessment Critic & Sign-off Router Agent input",
"properties": {
"engagement_id": {
"type": "string",
"description": "The engagement, e.g. ENG-MERIDIAN-001."
},
"run_id": {
"type": "string",
"description": "The Assessment run; the same id across the workflow's steps."
},
"discovery_execution_id": {
"type": "string",
"description": "The Discovery run's execution id, e.g. exec_0d5c0e2a7f01. Every reference to a Discovery record names it."
},
"discovery_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "The Discovery run's step outputs as text: the Artifacts step's records, parsed by the parse step (p1.parsed_content). One JSON document per selected artifact, separated by a line '---'."
},
"discovery_files": {
"type": [
"array",
"null"
],
"default": null,
"description": "The parse step's file_metadata (p1.file_metadata): the selected artifacts' names, in the order their text appears in discovery_documents."
},
"rate_card_document": {
"type": [
"string",
"null"
],
"default": null,
"description": "The rate card's JSON, given as text in the run input rate_card_document (ADR 0009); see the Feature README."
},
"applications": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"assets": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"application_id",
"assets"
]
}
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"profile_application",
"score_risk",
"assess_security_posture",
"score_disposition",
"validate"
]
},
"assigned_agent": {
"type": "string",
"enum": [
"ALZ-ASM-02",
"ALZ-ASM-03",
"ALZ-ASM-05",
"ALZ-ASM-04",
"ALZ-ASM-06"
]
},
"application_id": {
"type": [
"string",
"null"
]
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"task_id",
"type",
"assigned_agent",
"depends_on"
]
}
},
"coverage_gaps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"reason_code": {
"type": "string",
"enum": [
"no_assets",
"all_assets_discovery_gaps",
"no_inventory_record",
"conflicting_records",
"no_application_mapping"
]
},
"reason": {
"type": "string"
}
},
"required": [
"application_id",
"reason_code",
"reason"
]
}
},
"preconditions": {
"type": "object",
"properties": {
"discovery_completed": {
"type": "boolean"
},
"critic_verdict_pass": {
"type": "boolean"
},
"approval_recorded": {
"type": "boolean"
},
"inventory_present": {
"type": "boolean"
},
"dependency_map_present": {
"type": "boolean"
},
"rate_card_present": {
"type": "boolean"
},
"failed": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"discovery_completed",
"critic_verdict_pass",
"approval_recorded",
"inventory_present",
"dependency_map_present",
"rate_card_present",
"failed"
]
},
"profiles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"assets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"canonical_id": {
"type": "string"
},
"asset_class": {
"type": "string"
},
"os": {
"type": [
"object",
"null"
]
},
"support_status": {
"type": [
"string",
"null"
],
"enum": [
"supported",
"extended_support",
"out_of_support",
null
]
},
"end_of_support": {
"type": [
"string",
"null"
]
},
"services": {
"type": "array",
"items": {
"type": "string"
}
},
"hosting": {
"type": "string",
"enum": [
"cloud",
"virtual",
"physical",
"appliance",
"unknown"
]
},
"evidence_ref": {
"type": "string"
}
},
"required": [
"canonical_id",
"hosting",
"evidence_ref"
]
}
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
},
"dependents": {
"type": "array",
"items": {
"type": "string"
}
},
"telemetry": {
"type": "string",
"enum": [
"none"
]
},
"signals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"signal": {
"type": "string",
"enum": [
"platform_support",
"hardware_coupling",
"data_constraints",
"dependency_exposure",
"hosting_portability",
"sizing",
"performance_baseline"
]
},
"value": {
"type": "string"
},
"basis": {
"type": "string"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
},
"available": {
"type": "boolean"
}
},
"required": [
"signal",
"value",
"basis",
"evidence_refs",
"available"
]
}
}
},
"required": [
"application_id",
"assets",
"telemetry",
"signals"
]
}
},
"profile_gaps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"reason": {
"type": "string"
}
}
}
},
"scores": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"score": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"partial": {
"type": "boolean"
},
"missing_factors": {
"type": "array",
"items": {
"type": "string"
}
},
"factors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"factor": {
"type": "string",
"enum": [
"eol",
"fan_in",
"data",
"change"
]
},
"value": {
"type": [
"number",
"null"
]
},
"weight": {
"type": "number"
},
"contribution": {
"type": [
"number",
"null"
]
},
"basis": {
"type": "string"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"factor",
"value",
"weight",
"contribution",
"basis"
]
}
},
"high_risk": {
"type": "boolean"
},
"tail_rules": {
"type": "array",
"items": {
"type": "string"
}
},
"unevaluable_triggers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"trigger": {
"type": "string"
},
"missing_fact": {
"type": "string"
},
"canonical_id": {
"type": "string"
}
}
}
}
},
"required": [
"application_id",
"score",
"partial",
"missing_factors",
"factors",
"high_risk",
"tail_rules"
]
}
},
"high_risk_tail": {
"type": "array",
"items": {
"type": "string"
}
},
"in_cloud_estate": {
"type": "boolean"
},
"posture_status": {
"type": [
"string",
"null"
]
},
"security_findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"finding_id": {
"type": "string"
},
"control_id": {
"type": "string"
},
"application_id": {
"type": [
"string",
"null"
]
},
"resource_ref": {
"type": "string"
},
"exploitability": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"impact": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"rank_score": {
"type": "integer"
},
"description": {
"type": "string"
},
"evidence_ref": {
"type": "string"
},
"advisory": {
"type": "boolean",
"const": true
}
},
"required": [
"finding_id",
"control_id",
"rank_score",
"description",
"evidence_ref",
"advisory"
]
}
},
"dispositions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"disposition": {
"type": "string",
"enum": [
"retire",
"repurchase",
"replatform",
"refactor",
"retain",
"relocate",
"rehost"
]
},
"interim_rule": {
"type": "boolean"
},
"rule_trace": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"retire",
"repurchase",
"replatform",
"refactor",
"retain",
"relocate",
"rehost"
]
},
"matched": {
"type": "boolean"
},
"basis": {
"type": "string"
}
},
"required": [
"category",
"matched",
"basis"
]
}
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"confidence_workings": {
"type": "object",
"properties": {
"base": {
"type": "number"
},
"adjustments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rule": {
"type": "string"
},
"delta": {
"type": "number"
},
"basis": {
"type": "string"
}
}
}
},
"cap": {
"type": [
"number",
"null"
]
},
"result": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"base",
"adjustments",
"result"
]
},
"signoff_required": {
"type": "boolean"
},
"evidence_ref": {
"type": "string",
"pattern": "^discovery:[^/]+/ALZ-DSC-0[1-8]/.+"
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
},
"tco_model": {
"type": "object",
"properties": {
"currency": {
"type": [
"string",
"null"
]
},
"current_annual": {
"type": [
"number",
"null"
]
},
"target_annual": {
"type": [
"number",
"null"
]
},
"annual_delta": {
"type": [
"number",
"null"
]
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"canonical_id": {
"type": "string"
},
"current": {
"type": [
"number",
"null"
]
},
"rate_id": {
"type": [
"string",
"null"
]
},
"target": {
"type": [
"number",
"null"
]
}
}
}
},
"missing_inputs": {
"type": "array",
"items": {
"type": "string"
}
},
"indicative": {
"type": "boolean",
"const": true
}
},
"required": [
"current_annual",
"target_annual",
"annual_delta",
"line_items",
"missing_inputs",
"indicative"
]
},
"licensing_note": {
"type": [
"string",
"null"
]
},
"scoring_note": {
"type": "string"
}
},
"required": [
"application_id",
"disposition",
"interim_rule",
"rule_trace",
"confidence",
"confidence_workings",
"signoff_required",
"evidence_ref",
"tco_model",
"scoring_note"
]
}
},
"signoff_queue": {
"type": "array",
"items": {
"type": "string"
}
},
"critic_model": {
"type": "string"
},
"executor_models": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"engagement_id",
"discovery_execution_id",
"applications",
"tasks",
"dispositions",
"signoff_queue"
]
},
"outputSchema": {
"type": "object",
"properties": {
"verdict": {
"type": "string",
"enum": [
"pass",
"fail"
]
},
"discovery_execution_id": {
"type": "string"
},
"checks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"check_id": {
"type": "string",
"enum": [
"K-01",
"K-02",
"K-03",
"K-04",
"K-05",
"K-06",
"K-07",
"K-08",
"K-09",
"K-10",
"K-11",
"K-12"
]
},
"result": {
"type": "string",
"enum": [
"pass",
"fail",
"unverified"
]
},
"details": {
"type": "array",
"items": {
"type": "object",
"properties": {
"record": {
"type": "string"
},
"expected": {
"type": "string"
},
"recorded": {
"type": "string"
},
"reason": {
"type": "string"
}
}
}
}
},
"required": [
"check_id",
"result"
]
}
},
"rejected_dispositions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"application_id": {
"type": "string"
},
"check_id": {
"type": "string"
},
"reason": {
"type": "string"
},
"named_dependent": {
"type": [
"string",
"null"
]
}
},
"required": [
"application_id",
"check_id",
"reason"
]
}
},
"signoff_queue": {
"type": "array",
"items": {
"type": "string"
}
},
"unverified_claims": {
"type": "array",
"items": {
"type": "string"
}
},
"critic_model": {
"type": "string"
},
"executor_models": {
"type": "array",
"items": {
"type": "string"
}
},
"summary": {
"type": "string"
}
},
"required": [
"verdict",
"discovery_execution_id",
"checks",
"rejected_dispositions",
"signoff_queue",
"unverified_claims",
"summary"
],
"title": "Assessment verdict"
}
}
},
{
"id": "s7",
"agent": "cp1_assessment_report_agent",
"agent_type": "cp1_assessment_report_agent",
"name": "CP1 - Assessment Report Agent Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 7,
"parallelGroup": 7,
"depends_on": [
"p1",
"s0",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"position": {
"x": 1920,
"y": 0
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id",
"discovery_execution_id",
"discovery_approval_ref"
],
"from_steps": {
"intake_verified": "s0.verified",
"discovery_run_id": "s0.discovery_run_id",
"discovery_package_version": "s0.package_version",
"discovery_critic_verdict": "s0.critic_verdict",
"discovery_provider": "s0.provider",
"discovery_parts_verified": "s0.parts_verified",
"discovery_absent_parts": "s0.absent_parts",
"discovery_source_gaps": "s0.source_gaps",
"discovery_agent_versions": "s0.agent_versions",
"plan_status": "s1.status",
"preconditions": "s1.preconditions",
"rate_card_id": "s1.rate_card_id",
"in_cloud_estate": "s1.in_cloud_estate",
"application_source": "s1.application_source",
"applications": "s1.applications",
"tasks": "s1.tasks",
"coverage_gaps": "s1.coverage_gaps",
"plan_summary": "s1.summary",
"plan_note": "s1.findings_note",
"profiles": "s2.profiles",
"profile_gaps": "s2.gaps",
"profile_note": "s2.findings_note",
"scores": "s3.scores",
"high_risk_tail": "s3.high_risk_tail",
"risk_note": "s3.findings_note",
"posture_status": "s4.status",
"security_provider": "s4.provider",
"posture_score": "s4.posture_score",
"controls": "s4.controls",
"security_findings": "s4.findings",
"pillars": "s4.pillars",
"injection_flags": "s4.injection_flags",
"security_note": "s4.findings_note",
"dispositions": "s5.dispositions",
"producer_signoff_queue": "s5.signoff_queue",
"scoring_note": "s5.scoring_note",
"verdict": "s6.verdict",
"checks": "s6.checks",
"rejected_dispositions": "s6.rejected_dispositions",
"signoff_queue": "s6.signoff_queue",
"unverified_claims": "s6.unverified_claims",
"critic_model": "s6.critic_model",
"executor_models": "s6.executor_models",
"critic_summary": "s6.summary",
"discovery_documents": "p1.parsed_content"
},
"static": {
"agent_versions": {
"cp1-assessment-intake-agent": "0.1.0",
"cp1-assessment-planner-agent": "0.1.1",
"cp1-cloud-readiness-profiler-agent": "0.1.1",
"cp1-migration-risk-scorer-agent": "0.1.1",
"cp1-security-posture-assessment-agent": "0.1.0",
"cp1-disposition-tco-agent": "0.1.2",
"cp1-assessment-critic-agent": "0.3.1",
"cp1-assessment-package-agent": "0.1.1"
}
}
},
"hitl": {
"enabled": true,
"checkpoint_type": "approval",
"review_focus": "disposition_signoff: the Engagement Lead reads the Assessment report: the critic's verdict and every disposition in the sign-off queue (confidence below 0.80, and every repurchase or relocate). Continuing signs off that queue (ADR 0014) before Strategy starts. A fail verdict is never approved.",
"timeout_hours": 72,
"allowed_actions": [
"continue",
"rerun",
"abort"
],
"max_reruns": 2
},
"data": {
"agentType": "cp1_assessment_report_agent",
"name": "CP1 - Assessment Report Agent Step",
"description": "Writes the Assessment report the Engagement Lead signs off from: a model writes it from facts worked out in code (register, gaps, scorecard, rule traces, checks), and code renders its pages.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-assessment-report-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_assessment_report_agent"
},
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Assessment report inputs",
"type": "object",
"required": [
"engagement_id",
"run_id"
],
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"discovery_execution_id": {
"type": [
"string",
"null"
],
"description": "Run input: the Discovery run's execution id."
},
"discovery_approval_ref": {
"type": [
"string",
"null"
],
"description": "Run input: the Discovery approval (ADR 0002)."
},
"artifact_ids": {
"type": [
"array",
"string",
"null"
],
"description": "Run input: the Discovery package's artifact id(s)."
},
"rate_card_document": {
"type": [
"string",
"null"
],
"description": "Run input: the rate card's JSON as text (ADR 0009); only its id and sha256 are used."
},
"agent_versions": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Each Assessment agent's version when the workflow was built, set as a static input by scripts/build_workflow.py."
},
"intake_verified": {
"type": [
"boolean",
"null"
],
"description": "cp1-assessment-intake-agent: verified. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_run_id": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: discovery_run_id. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_package_version": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: package_version. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_critic_verdict": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: critic_verdict. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_provider": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: provider. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_parts_verified": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-intake-agent: parts_verified. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_absent_parts": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-intake-agent: absent_parts. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_source_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-intake-agent: source_gaps. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_agent_versions": {
"type": [
"null",
"object"
],
"description": "cp1-assessment-intake-agent: agent_versions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"plan_status": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: status. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"preconditions": {
"type": [
"null",
"object"
],
"description": "cp1-assessment-planner-agent: preconditions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"rate_card_id": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: rate_card_id. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"in_cloud_estate": {
"type": [
"boolean",
"null"
],
"description": "cp1-assessment-planner-agent: in_cloud_estate. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"application_source": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: application_source. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"applications": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-planner-agent: applications. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"tasks": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-planner-agent: tasks. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"coverage_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-planner-agent: coverage_gaps. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"plan_summary": {
"type": [
"null",
"object"
],
"description": "cp1-assessment-planner-agent: summary. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"plan_note": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"profiles": {
"type": [
"array",
"null"
],
"description": "cp1-cloud-readiness-profiler-agent: profiles. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"profile_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-cloud-readiness-profiler-agent: gaps. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"profile_note": {
"type": [
"null",
"string"
],
"description": "cp1-cloud-readiness-profiler-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"scores": {
"type": [
"array",
"null"
],
"description": "cp1-migration-risk-scorer-agent: scores. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"high_risk_tail": {
"type": [
"array",
"null"
],
"description": "cp1-migration-risk-scorer-agent: high_risk_tail. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"risk_note": {
"type": [
"null",
"string"
],
"description": "cp1-migration-risk-scorer-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"posture_status": {
"type": [
"null",
"string"
],
"description": "cp1-security-posture-assessment-agent: status. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"security_provider": {
"type": [
"null",
"string"
],
"description": "cp1-security-posture-assessment-agent: provider. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"posture_score": {
"type": [
"null",
"number"
],
"description": "cp1-security-posture-assessment-agent: posture_score. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"controls": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: controls. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"security_findings": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: findings. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"pillars": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: pillars. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"injection_flags": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: injection_flags. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"security_note": {
"type": [
"null",
"string"
],
"description": "cp1-security-posture-assessment-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"dispositions": {
"type": [
"array",
"null"
],
"description": "cp1-disposition-tco-agent: dispositions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"producer_signoff_queue": {
"type": [
"array",
"null"
],
"description": "cp1-disposition-tco-agent: signoff_queue. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"scoring_note": {
"type": [
"null",
"string"
],
"description": "cp1-disposition-tco-agent: scoring_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"verdict": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-critic-agent: verdict. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"checks": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: checks. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"rejected_dispositions": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: rejected_dispositions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"signoff_queue": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: signoff_queue. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"unverified_claims": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: unverified_claims. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"critic_model": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-critic-agent: critic_model. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"executor_models": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: executor_models. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"critic_summary": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-critic-agent: summary. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_documents": {
"type": [
"string",
"null"
],
"description": "The parse step's text (p1.parsed_content): the Discovery package, read in code to say what each application is. The model never receives it."
}
}
},
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Assessment report",
"type": "object",
"required": [
"engagement_id",
"run_id",
"verdict",
"report_markdown"
],
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"verdict": {
"type": "string",
"description": "The critic's verdict, set from the facts in code."
},
"report_markdown": {
"type": "string",
"description": "The report, in Markdown, written by the model from the facts."
},
"report_html": {
"type": "string",
"description": "Set in code after the model answers: the report as a page, marked as a draft for sign-off. Leave it out."
},
"final_html": {
"type": "string",
"description": "Set in code after the model answers: the report as a page, for the page step after approval. Leave it out."
},
"signoff_queue": {
"type": "array",
"items": {
"type": "string"
},
"description": "Set in code: the applications continuing signs off. Leave it out."
}
}
}
}
},
{
"id": "s8",
"agent": "cp1_assessment_package_agent",
"agent_type": "cp1_assessment_package_agent",
"name": "CP1 - Assessment Package Agent Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 8,
"parallelGroup": 8,
"depends_on": [
"s0",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6",
"s7"
],
"position": {
"x": 2240,
"y": 160
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id",
"discovery_execution_id",
"discovery_approval_ref",
"artifact_ids",
"rate_card_document"
],
"from_steps": {
"intake_verified": "s0.verified",
"discovery_run_id": "s0.discovery_run_id",
"discovery_package_version": "s0.package_version",
"discovery_critic_verdict": "s0.critic_verdict",
"discovery_provider": "s0.provider",
"discovery_parts_verified": "s0.parts_verified",
"discovery_absent_parts": "s0.absent_parts",
"discovery_source_gaps": "s0.source_gaps",
"discovery_agent_versions": "s0.agent_versions",
"plan_status": "s1.status",
"preconditions": "s1.preconditions",
"rate_card_id": "s1.rate_card_id",
"in_cloud_estate": "s1.in_cloud_estate",
"application_source": "s1.application_source",
"applications": "s1.applications",
"tasks": "s1.tasks",
"coverage_gaps": "s1.coverage_gaps",
"plan_summary": "s1.summary",
"plan_note": "s1.findings_note",
"profiles": "s2.profiles",
"profile_gaps": "s2.gaps",
"profile_note": "s2.findings_note",
"scores": "s3.scores",
"high_risk_tail": "s3.high_risk_tail",
"risk_note": "s3.findings_note",
"posture_status": "s4.status",
"security_provider": "s4.provider",
"posture_score": "s4.posture_score",
"controls": "s4.controls",
"security_findings": "s4.findings",
"pillars": "s4.pillars",
"injection_flags": "s4.injection_flags",
"security_note": "s4.findings_note",
"dispositions": "s5.dispositions",
"producer_signoff_queue": "s5.signoff_queue",
"scoring_note": "s5.scoring_note",
"verdict": "s6.verdict",
"checks": "s6.checks",
"rejected_dispositions": "s6.rejected_dispositions",
"signoff_queue": "s6.signoff_queue",
"unverified_claims": "s6.unverified_claims",
"critic_model": "s6.critic_model",
"executor_models": "s6.executor_models",
"critic_summary": "s6.summary",
"report_markdown": "s7.report_markdown"
},
"static": {
"agent_versions": {
"cp1-assessment-intake-agent": "0.1.0",
"cp1-assessment-planner-agent": "0.1.1",
"cp1-cloud-readiness-profiler-agent": "0.1.1",
"cp1-migration-risk-scorer-agent": "0.1.1",
"cp1-security-posture-assessment-agent": "0.1.0",
"cp1-disposition-tco-agent": "0.1.2",
"cp1-assessment-critic-agent": "0.3.1",
"cp1-assessment-report-agent": "0.1.0"
}
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_assessment_package_agent",
"name": "CP1 - Assessment Package Agent Step",
"description": "Assembles every Assessment step's output into one package for Strategy and the later Features: a register (one row per application), a gaps register, the sign-off record and a manifest with a sha256 per part, in code.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-assessment-package-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_assessment_package_agent"
},
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Assessment package inputs",
"type": "object",
"required": [
"engagement_id",
"run_id"
],
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"discovery_execution_id": {
"type": [
"string",
"null"
],
"description": "Run input: the Discovery run's execution id."
},
"discovery_approval_ref": {
"type": [
"string",
"null"
],
"description": "Run input: the Discovery approval (ADR 0002)."
},
"artifact_ids": {
"type": [
"array",
"string",
"null"
],
"description": "Run input: the Discovery package's artifact id(s)."
},
"rate_card_document": {
"type": [
"string",
"null"
],
"description": "Run input: the rate card's JSON as text (ADR 0009); only its id and sha256 are used."
},
"agent_versions": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Each Assessment agent's version when the workflow was built, set as a static input by scripts/build_workflow.py."
},
"intake_verified": {
"type": [
"boolean",
"null"
],
"description": "cp1-assessment-intake-agent: verified. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_run_id": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: discovery_run_id. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_package_version": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: package_version. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_critic_verdict": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: critic_verdict. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_provider": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-intake-agent: provider. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_parts_verified": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-intake-agent: parts_verified. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_absent_parts": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-intake-agent: absent_parts. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_source_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-intake-agent: source_gaps. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"discovery_agent_versions": {
"type": [
"null",
"object"
],
"description": "cp1-assessment-intake-agent: agent_versions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"plan_status": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: status. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"preconditions": {
"type": [
"null",
"object"
],
"description": "cp1-assessment-planner-agent: preconditions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"rate_card_id": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: rate_card_id. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"in_cloud_estate": {
"type": [
"boolean",
"null"
],
"description": "cp1-assessment-planner-agent: in_cloud_estate. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"application_source": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: application_source. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"applications": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-planner-agent: applications. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"tasks": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-planner-agent: tasks. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"coverage_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-planner-agent: coverage_gaps. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"plan_summary": {
"type": [
"null",
"object"
],
"description": "cp1-assessment-planner-agent: summary. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"plan_note": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-planner-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"profiles": {
"type": [
"array",
"null"
],
"description": "cp1-cloud-readiness-profiler-agent: profiles. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"profile_gaps": {
"type": [
"array",
"null"
],
"description": "cp1-cloud-readiness-profiler-agent: gaps. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"profile_note": {
"type": [
"null",
"string"
],
"description": "cp1-cloud-readiness-profiler-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"scores": {
"type": [
"array",
"null"
],
"description": "cp1-migration-risk-scorer-agent: scores. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"high_risk_tail": {
"type": [
"array",
"null"
],
"description": "cp1-migration-risk-scorer-agent: high_risk_tail. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"risk_note": {
"type": [
"null",
"string"
],
"description": "cp1-migration-risk-scorer-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"posture_status": {
"type": [
"null",
"string"
],
"description": "cp1-security-posture-assessment-agent: status. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"security_provider": {
"type": [
"null",
"string"
],
"description": "cp1-security-posture-assessment-agent: provider. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"posture_score": {
"type": [
"null",
"number"
],
"description": "cp1-security-posture-assessment-agent: posture_score. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"controls": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: controls. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"security_findings": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: findings. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"pillars": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: pillars. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"injection_flags": {
"type": [
"array",
"null"
],
"description": "cp1-security-posture-assessment-agent: injection_flags. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"security_note": {
"type": [
"null",
"string"
],
"description": "cp1-security-posture-assessment-agent: findings_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"dispositions": {
"type": [
"array",
"null"
],
"description": "cp1-disposition-tco-agent: dispositions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"producer_signoff_queue": {
"type": [
"array",
"null"
],
"description": "cp1-disposition-tco-agent: signoff_queue. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"scoring_note": {
"type": [
"null",
"string"
],
"description": "cp1-disposition-tco-agent: scoring_note. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"verdict": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-critic-agent: verdict. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"checks": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: checks. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"rejected_dispositions": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: rejected_dispositions. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"signoff_queue": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: signoff_queue. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"unverified_claims": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: unverified_claims. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"critic_model": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-critic-agent: critic_model. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"executor_models": {
"type": [
"array",
"null"
],
"description": "cp1-assessment-critic-agent: executor_models. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"critic_summary": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-critic-agent: summary. Copied unchanged; no enum, so no value the producer can hold is refused."
},
"report_markdown": {
"type": [
"null",
"string"
],
"description": "cp1-assessment-report-agent: report_markdown. Copied unchanged; no enum, so no value the producer can hold is refused."
}
}
},
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Assessment package",
"type": "object",
"required": [
"engagement_id",
"run_id",
"package_version",
"manifest"
],
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"package_version": {
"type": "string",
"const": "1.0"
},
"manifest": {
"type": "object",
"required": [
"package_version",
"created_at",
"critic_verdict",
"discovery",
"rate_card",
"signoff",
"parts",
"absent_parts",
"complete",
"problems",
"scorecard"
],
"properties": {
"package_version": {
"type": "string"
},
"engagement_id": {
"type": [
"string",
"null"
]
},
"run_id": {
"type": [
"string",
"null"
]
},
"execution_id": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
},
"critic_verdict": {
"type": [
"string",
"null"
]
},
"discovery": {
"type": "object"
},
"rate_card": {
"type": "object"
},
"models": {
"type": "object"
},
"agent_versions": {
"type": "object"
},
"signoff": {
"type": "object",
"required": [
"gate",
"decision",
"signed_off",
"basis"
],
"properties": {
"gate": {
"type": "string"
},
"decision": {
"type": "string"
},
"signed_off": {
"type": "array",
"items": {
"type": "string"
}
},
"basis": {
"type": "string"
}
}
},
"parts": {
"type": "object",
"additionalProperties": {
"type": "object",
"required": [
"sha256"
],
"properties": {
"sha256": {
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$"
},
"items": {
"type": "integer"
}
}
}
},
"absent_parts": {
"type": "array",
"items": {
"type": "string"
}
},
"complete": {
"type": "boolean"
},
"problems": {
"type": "array",
"items": {
"type": "string"
}
},
"scorecard": {
"type": "object"
}
}
},
"discovery": {
"type": "object",
"description": "cp1-assessment-intake-agent's output fields, copied unchanged."
},
"plan": {
"type": "object",
"description": "cp1-assessment-planner-agent's output fields, copied unchanged."
},
"profiles": {
"type": "object",
"description": "cp1-cloud-readiness-profiler-agent's output fields, copied unchanged."
},
"risk": {
"type": "object",
"description": "cp1-migration-risk-scorer-agent's output fields, copied unchanged."
},
"security": {
"type": "object",
"description": "cp1-security-posture-assessment-agent's output fields, copied unchanged."
},
"dispositions": {
"type": "object",
"description": "cp1-disposition-tco-agent's output fields, copied unchanged."
},
"critic": {
"type": "object",
"description": "cp1-assessment-critic-agent's output fields, copied unchanged."
},
"register": {
"type": "object",
"required": [
"applications"
],
"description": "One row per application, joined in code.",
"properties": {
"applications": {
"type": "array",
"items": {
"type": "object",
"required": [
"application_id",
"disposition",
"confidence",
"signoff",
"risk_score",
"evidence_ref"
],
"properties": {
"signoff": {
"enum": [
"signed_off",
"not_required",
"rejected",
"not_disposed",
"not_signed_off"
]
}
}
}
}
}
},
"gaps": {
"type": "object",
"required": [
"items"
],
"description": "What Assessment had to do without, per application, worked out in code.",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"application_id",
"kind",
"item",
"effect",
"reason",
"fill_from"
],
"properties": {
"kind": {
"enum": [
"coverage",
"risk_factor",
"readiness_signal",
"profile",
"confidence",
"tco_input"
]
}
}
}
}
}
}
}
}
}
},
{
"id": "s9",
"agent": "format_for_ui",
"agent_type": "format_for_ui",
"name": "Format Assessment report for UI",
"timeout_minutes": 5,
"type": "sequential",
"executionLevel": 8,
"parallelGroup": 8,
"depends_on": [
"s7"
],
"position": {
"x": 2240,
"y": -160
},
"inputs": {
"from_steps": {
"input_data": "s7.final_html"
},
"static": {
"format_type": "html"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "format_for_ui",
"name": "Format Assessment report for UI",
"description": "The approved Assessment report, for display as a page.",
"category": "file_and_data_processing",
"temporalActivityName": "format_for_ui",
"inputSchema": {
"type": "object",
"properties": {
"input_data": {
"type": "string"
},
"format_type": {
"type": "string"
}
}
},
"outputSchema": {
"type": "object",
"properties": {
"data": {
"type": "object"
}
}
}
}
}
]
}
}