Files
cp1-agents/sub-agents/ALZ-F01: Discovery Workflow Agent/workflows/cp1-alz-discovery.json
Jonathan Boniface 416c66ced4
All checks were successful
check agents / check (push) Successful in 10s
Add CP1 Discovery agents in both patterns
ALZ-F01 Discovery as a sub-agent orchestrator (sub-agents/) and as eight
individual declarative agents (individual-agents/), with their KAB workflow
exports. Shared check, render and import scripts, the alz-discovery-sample
MCP server, the crucible-kab-dev deploy profile, deployment docs, platform
issue reports and the source material. Agent steps time out at 20 minutes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 18:25:57 +00:00

1224 lines
42 KiB
JSON

{
"export_version": "2.0.0",
"export_timestamp": "2026-10-29T12:00:00",
"source_environment": "unknown",
"workflow": {
"name": "CP1 - Agentic Landing Zone - Discovery",
"description": "CP1 - Agentic Landing Zone - Discovery: CP1 - ALZ Discovery Orchestrator Agent runs plan; then collect; then analyse; then critique (Engagement Lead approval).",
"version": "0.2.0",
"category": "cross-industry-catalog",
"sub_category": "Public Cloud",
"tags": [
"cp1",
"public-cloud",
"agentic-landing-zone"
]
},
"dependencies": {
"activities": [],
"agents": [
{
"name": "cp1_alz_discovery_orchestrator_agent",
"display_name": "CP1 - ALZ Discovery Orchestrator Agent",
"source_url": "http://cp1-alz-discovery-orchestrator-agent.agents.svc.cluster.local:8080",
"category": "agent"
}
]
},
"template": {
"name": "CP1 - Agentic Landing Zone - Discovery",
"version": "0.2.0",
"description": "CP1 - Agentic Landing Zone - Discovery: CP1 - ALZ Discovery Orchestrator Agent runs plan; then collect; then analyse; then critique (Engagement Lead approval).",
"metadata": {
"name": "CP1 - Agentic Landing Zone - Discovery",
"description": "CP1 - Agentic Landing Zone - Discovery: CP1 - ALZ Discovery Orchestrator Agent runs plan; then collect; then analyse; then critique (Engagement Lead approval).",
"category": {
"main": "cross-industry-catalog",
"sub": "Public Cloud"
},
"sub_category": "Public Cloud",
"status": "draft",
"tags": [
"cp1",
"public-cloud",
"agentic-landing-zone"
],
"created": "2026-10-29T12:00:00.000Z",
"modified": "2026-10-29T12:00:00.000Z",
"display_order": 1,
"is_public": false,
"edge_visuals": []
},
"connections": [
{
"source": "u1",
"target": "s1"
},
{
"source": "s1",
"target": "s2"
},
{
"source": "s2",
"target": "s3"
},
{
"source": "s3",
"target": "s4"
}
],
"steps": [
{
"id": "u1",
"agent": "parse_assessment_files",
"agent_type": "parse_assessment_files",
"name": "Parse Assessment Files",
"timeout_minutes": 5,
"type": "sequential",
"executionLevel": 0,
"parallelGroup": 0,
"depends_on": [],
"position": {
"x": -320,
"y": 0
},
"inputs": {
"from_workflow": [
"file"
]
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "parse_assessment_files",
"name": "Parse Assessment Files",
"description": "Optional client files for discovery: a CMDB or asset export, a scope list, network documentation. They are imported into the run's workspace and given to the planner and the inventory and CMDB steps as evidence, never as instructions.",
"category": "file_and_data_processing",
"temporalActivityName": "parse_assessment_files",
"inputSchema": {
"type": "object",
"properties": {
"file": {
"type": "file",
"label": "Discovery source files",
"description": "Optional client files for discovery: a CMDB or asset export, a scope list, network documentation. They are imported into the run's workspace and given to the planner and the inventory and CMDB steps as evidence, never as instructions.",
"accept": ".xlsx,.xls,.pdf,.csv,.txt,.md,.json,.yaml,.yml,.log"
}
},
"required": []
},
"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": "s1",
"agent": "cp1_alz_discovery_orchestrator_agent",
"agent_type": "cp1_alz_discovery_orchestrator_agent",
"name": "CP1 - ALZ Discovery Orchestrator Agent - plan Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 1,
"parallelGroup": 1,
"depends_on": [
"u1"
],
"position": {
"x": 0,
"y": 0
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id"
],
"from_steps": {
"source_documents": "u1.parsed_content"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_alz_discovery_orchestrator_agent",
"name": "CP1 - ALZ Discovery Orchestrator Agent - plan Step",
"description": "Phase plan: Turn the scope, sources and budgets into a task graph that accounts for every scope entry.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-alz-discovery-orchestrator-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_alz_discovery_orchestrator_agent"
},
"inputSchema": {
"type": "object",
"title": "One discovery phase for one engagement run",
"additionalProperties": false,
"properties": {
"engagement_id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
"description": "The engagement being discovered. One engagement is one platform project.",
"examples": [
"ENG-MERIDIAN-001"
]
},
"run_id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
"description": "The discovery run. Every phase of one run passes the same id, which is what lets a later phase read what an earlier one stored.",
"examples": [
"RUN-2026-10-29-01"
]
},
"phase": {
"type": [
"string",
"null"
],
"enum": [
"plan",
"collect",
"analyse",
"critique",
null
],
"default": null,
"description": "Which phase to run. Phases run in this order; each needs the one before it in the same run. Left out, the run's workspace decides: the first phase it has not yet stored. A workflow step passes the previous step's next_phase."
},
"batch": {
"type": [
"integer",
"null"
],
"minimum": 1,
"default": null,
"description": "collect only: the scan batch from the plan to run. Null runs every batch, which suits a small estate."
},
"source_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "plan only: the text of files uploaded at run time, as a 'Parse Assessment Files' step hands it on (its parsed_content), e.g. a CMDB or asset export or a scope list. Imported into the run workspace as plan/source-documents."
},
"artifacts": {
"type": [
"array",
"null"
],
"default": null,
"items": {
"type": "object"
},
"description": "plan only: project artifacts an 'Artifacts' step selected (its artifacts output), e.g. an earlier run's outputs or a file added to the project. Each is imported into the run workspace as plan/artifact-NN, with its id, type and sha256 kept as provenance.",
"x-artifact-types": [
"file",
"structured_data",
"report",
"execution_output",
"assessment_result"
]
}
},
"required": [
"engagement_id",
"run_id"
]
},
"outputSchema": {
"type": "object",
"title": "The outcome of one discovery phase",
"additionalProperties": false,
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"phase": {
"type": "string",
"enum": [
"plan",
"collect",
"analyse",
"critique"
]
},
"status": {
"type": "string",
"enum": [
"completed",
"completed_with_gaps",
"halted",
"failed"
],
"description": "completed only when the phase's checks passed. A critique whose verdict is not pass is never completed."
},
"artifacts": {
"type": "array",
"description": "What this phase stored in the run workspace, as recorded by the workspace itself (post_process replaces the model's list with the manifest).",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"ref": {
"type": "string",
"description": "Workspace reference: <phase>/<name>."
},
"sha256": {
"type": "string"
},
"produced_by": {
"type": "string",
"description": "orchestrator, or the sub-agent whose reply this is."
}
},
"required": [
"name",
"ref",
"sha256",
"produced_by"
]
}
},
"summary": {
"type": "string",
"maxLength": 800,
"description": "Three sentences at most, for the engagement lead."
},
"issues": {
"type": "array",
"items": {
"type": "string"
},
"description": "Anything that stopped or weakened the phase: refused calls, failed sub-agents, failed checks, declared gaps."
},
"next_phase": {
"type": [
"string",
"null"
],
"enum": [
"collect",
"analyse",
"critique",
null
]
},
"verdict": {
"type": [
"object",
"null"
],
"description": "critique only: the verdict as enforced by post_process, not as the model wrote it.",
"additionalProperties": false,
"properties": {
"verdict": {
"type": "string",
"enum": [
"pass",
"fail"
]
},
"coverage_complete": {
"type": "boolean"
},
"coverage_gaps": {
"type": "array",
"items": {
"type": "string"
}
},
"declared_gaps": {
"type": "array",
"items": {
"type": "string"
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"verdict",
"coverage_complete",
"coverage_gaps",
"declared_gaps",
"reasons"
]
},
"manifest_head": {
"type": "string",
"description": "Hash at the head of the run's workspace manifest after this phase; each entry is chained to the one before it."
}
},
"required": [
"engagement_id",
"run_id",
"phase",
"status",
"artifacts",
"summary",
"issues",
"next_phase",
"verdict",
"manifest_head"
]
}
}
},
{
"id": "s2",
"agent": "cp1_alz_discovery_orchestrator_agent",
"agent_type": "cp1_alz_discovery_orchestrator_agent",
"name": "CP1 - ALZ Discovery Orchestrator Agent - collect Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 2,
"parallelGroup": 2,
"depends_on": [
"s1"
],
"position": {
"x": 320,
"y": 0
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id"
],
"from_steps": {
"phase": "s1.next_phase"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_alz_discovery_orchestrator_agent",
"name": "CP1 - ALZ Discovery Orchestrator Agent - collect Step",
"description": "Phase collect: Ingest CMDB / ITSM records and scan the planned targets into one finding per scope entry.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-alz-discovery-orchestrator-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_alz_discovery_orchestrator_agent"
},
"inputSchema": {
"type": "object",
"title": "One discovery phase for one engagement run",
"additionalProperties": false,
"properties": {
"engagement_id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
"description": "The engagement being discovered. One engagement is one platform project.",
"examples": [
"ENG-MERIDIAN-001"
]
},
"run_id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
"description": "The discovery run. Every phase of one run passes the same id, which is what lets a later phase read what an earlier one stored.",
"examples": [
"RUN-2026-10-29-01"
]
},
"phase": {
"type": [
"string",
"null"
],
"enum": [
"plan",
"collect",
"analyse",
"critique",
null
],
"default": null,
"description": "Which phase to run. Phases run in this order; each needs the one before it in the same run. Left out, the run's workspace decides: the first phase it has not yet stored. A workflow step passes the previous step's next_phase."
},
"batch": {
"type": [
"integer",
"null"
],
"minimum": 1,
"default": null,
"description": "collect only: the scan batch from the plan to run. Null runs every batch, which suits a small estate."
},
"source_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "plan only: the text of files uploaded at run time, as a 'Parse Assessment Files' step hands it on (its parsed_content), e.g. a CMDB or asset export or a scope list. Imported into the run workspace as plan/source-documents."
},
"artifacts": {
"type": [
"array",
"null"
],
"default": null,
"items": {
"type": "object"
},
"description": "plan only: project artifacts an 'Artifacts' step selected (its artifacts output), e.g. an earlier run's outputs or a file added to the project. Each is imported into the run workspace as plan/artifact-NN, with its id, type and sha256 kept as provenance.",
"x-artifact-types": [
"file",
"structured_data",
"report",
"execution_output",
"assessment_result"
]
}
},
"required": [
"engagement_id",
"run_id"
]
},
"outputSchema": {
"type": "object",
"title": "The outcome of one discovery phase",
"additionalProperties": false,
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"phase": {
"type": "string",
"enum": [
"plan",
"collect",
"analyse",
"critique"
]
},
"status": {
"type": "string",
"enum": [
"completed",
"completed_with_gaps",
"halted",
"failed"
],
"description": "completed only when the phase's checks passed. A critique whose verdict is not pass is never completed."
},
"artifacts": {
"type": "array",
"description": "What this phase stored in the run workspace, as recorded by the workspace itself (post_process replaces the model's list with the manifest).",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"ref": {
"type": "string",
"description": "Workspace reference: <phase>/<name>."
},
"sha256": {
"type": "string"
},
"produced_by": {
"type": "string",
"description": "orchestrator, or the sub-agent whose reply this is."
}
},
"required": [
"name",
"ref",
"sha256",
"produced_by"
]
}
},
"summary": {
"type": "string",
"maxLength": 800,
"description": "Three sentences at most, for the engagement lead."
},
"issues": {
"type": "array",
"items": {
"type": "string"
},
"description": "Anything that stopped or weakened the phase: refused calls, failed sub-agents, failed checks, declared gaps."
},
"next_phase": {
"type": [
"string",
"null"
],
"enum": [
"collect",
"analyse",
"critique",
null
]
},
"verdict": {
"type": [
"object",
"null"
],
"description": "critique only: the verdict as enforced by post_process, not as the model wrote it.",
"additionalProperties": false,
"properties": {
"verdict": {
"type": "string",
"enum": [
"pass",
"fail"
]
},
"coverage_complete": {
"type": "boolean"
},
"coverage_gaps": {
"type": "array",
"items": {
"type": "string"
}
},
"declared_gaps": {
"type": "array",
"items": {
"type": "string"
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"verdict",
"coverage_complete",
"coverage_gaps",
"declared_gaps",
"reasons"
]
},
"manifest_head": {
"type": "string",
"description": "Hash at the head of the run's workspace manifest after this phase; each entry is chained to the one before it."
}
},
"required": [
"engagement_id",
"run_id",
"phase",
"status",
"artifacts",
"summary",
"issues",
"next_phase",
"verdict",
"manifest_head"
]
}
}
},
{
"id": "s3",
"agent": "cp1_alz_discovery_orchestrator_agent",
"agent_type": "cp1_alz_discovery_orchestrator_agent",
"name": "CP1 - ALZ Discovery Orchestrator Agent - analyse Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 3,
"parallelGroup": 3,
"depends_on": [
"s2"
],
"position": {
"x": 640,
"y": 0
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id"
],
"from_steps": {
"phase": "s2.next_phase"
}
},
"hitl": {
"enabled": false
},
"data": {
"agentType": "cp1_alz_discovery_orchestrator_agent",
"name": "CP1 - ALZ Discovery Orchestrator Agent - analyse Step",
"description": "Phase analyse: Build the canonical inventory, CMDB drift, data classification, network map and dependency graph.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-alz-discovery-orchestrator-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_alz_discovery_orchestrator_agent"
},
"inputSchema": {
"type": "object",
"title": "One discovery phase for one engagement run",
"additionalProperties": false,
"properties": {
"engagement_id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
"description": "The engagement being discovered. One engagement is one platform project.",
"examples": [
"ENG-MERIDIAN-001"
]
},
"run_id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
"description": "The discovery run. Every phase of one run passes the same id, which is what lets a later phase read what an earlier one stored.",
"examples": [
"RUN-2026-10-29-01"
]
},
"phase": {
"type": [
"string",
"null"
],
"enum": [
"plan",
"collect",
"analyse",
"critique",
null
],
"default": null,
"description": "Which phase to run. Phases run in this order; each needs the one before it in the same run. Left out, the run's workspace decides: the first phase it has not yet stored. A workflow step passes the previous step's next_phase."
},
"batch": {
"type": [
"integer",
"null"
],
"minimum": 1,
"default": null,
"description": "collect only: the scan batch from the plan to run. Null runs every batch, which suits a small estate."
},
"source_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "plan only: the text of files uploaded at run time, as a 'Parse Assessment Files' step hands it on (its parsed_content), e.g. a CMDB or asset export or a scope list. Imported into the run workspace as plan/source-documents."
},
"artifacts": {
"type": [
"array",
"null"
],
"default": null,
"items": {
"type": "object"
},
"description": "plan only: project artifacts an 'Artifacts' step selected (its artifacts output), e.g. an earlier run's outputs or a file added to the project. Each is imported into the run workspace as plan/artifact-NN, with its id, type and sha256 kept as provenance.",
"x-artifact-types": [
"file",
"structured_data",
"report",
"execution_output",
"assessment_result"
]
}
},
"required": [
"engagement_id",
"run_id"
]
},
"outputSchema": {
"type": "object",
"title": "The outcome of one discovery phase",
"additionalProperties": false,
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"phase": {
"type": "string",
"enum": [
"plan",
"collect",
"analyse",
"critique"
]
},
"status": {
"type": "string",
"enum": [
"completed",
"completed_with_gaps",
"halted",
"failed"
],
"description": "completed only when the phase's checks passed. A critique whose verdict is not pass is never completed."
},
"artifacts": {
"type": "array",
"description": "What this phase stored in the run workspace, as recorded by the workspace itself (post_process replaces the model's list with the manifest).",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"ref": {
"type": "string",
"description": "Workspace reference: <phase>/<name>."
},
"sha256": {
"type": "string"
},
"produced_by": {
"type": "string",
"description": "orchestrator, or the sub-agent whose reply this is."
}
},
"required": [
"name",
"ref",
"sha256",
"produced_by"
]
}
},
"summary": {
"type": "string",
"maxLength": 800,
"description": "Three sentences at most, for the engagement lead."
},
"issues": {
"type": "array",
"items": {
"type": "string"
},
"description": "Anything that stopped or weakened the phase: refused calls, failed sub-agents, failed checks, declared gaps."
},
"next_phase": {
"type": [
"string",
"null"
],
"enum": [
"collect",
"analyse",
"critique",
null
]
},
"verdict": {
"type": [
"object",
"null"
],
"description": "critique only: the verdict as enforced by post_process, not as the model wrote it.",
"additionalProperties": false,
"properties": {
"verdict": {
"type": "string",
"enum": [
"pass",
"fail"
]
},
"coverage_complete": {
"type": "boolean"
},
"coverage_gaps": {
"type": "array",
"items": {
"type": "string"
}
},
"declared_gaps": {
"type": "array",
"items": {
"type": "string"
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"verdict",
"coverage_complete",
"coverage_gaps",
"declared_gaps",
"reasons"
]
},
"manifest_head": {
"type": "string",
"description": "Hash at the head of the run's workspace manifest after this phase; each entry is chained to the one before it."
}
},
"required": [
"engagement_id",
"run_id",
"phase",
"status",
"artifacts",
"summary",
"issues",
"next_phase",
"verdict",
"manifest_head"
]
}
}
},
{
"id": "s4",
"agent": "cp1_alz_discovery_orchestrator_agent",
"agent_type": "cp1_alz_discovery_orchestrator_agent",
"name": "CP1 - ALZ Discovery Orchestrator Agent - critique Step",
"timeout_minutes": 20,
"type": "sequential",
"executionLevel": 4,
"parallelGroup": 4,
"depends_on": [
"s3"
],
"position": {
"x": 960,
"y": 0
},
"inputs": {
"from_workflow": [
"engagement_id",
"run_id"
],
"from_steps": {
"phase": "s3.next_phase"
}
},
"hitl": {
"enabled": true,
"checkpoint_type": "approval",
"review_focus": "The Engagement Lead reviews the critic's verdict, declared gaps and SME queues before Assessment starts. A fail verdict is never auto-approved.",
"timeout_hours": 24,
"allowed_actions": [
"continue",
"rerun",
"abort"
],
"max_reruns": 2
},
"data": {
"agentType": "cp1_alz_discovery_orchestrator_agent",
"name": "CP1 - ALZ Discovery Orchestrator Agent - critique Step",
"description": "Phase critique: Validate coverage, injection handling, evidence and tool-call integrity; the verdict is enforced in code.",
"category": "agent",
"temporalActivityName": "generic_agent_call",
"endpoint": {
"url": "http://cp1-alz-discovery-orchestrator-agent.agents.svc.cluster.local:8080",
"method": "POST",
"timeout": 1200,
"protocol": "JSONRPC",
"protocol_version": "0.3.0"
},
"agent_metadata": {
"agent_name": "cp1_alz_discovery_orchestrator_agent"
},
"inputSchema": {
"type": "object",
"title": "One discovery phase for one engagement run",
"additionalProperties": false,
"properties": {
"engagement_id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
"description": "The engagement being discovered. One engagement is one platform project.",
"examples": [
"ENG-MERIDIAN-001"
]
},
"run_id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
"description": "The discovery run. Every phase of one run passes the same id, which is what lets a later phase read what an earlier one stored.",
"examples": [
"RUN-2026-10-29-01"
]
},
"phase": {
"type": [
"string",
"null"
],
"enum": [
"plan",
"collect",
"analyse",
"critique",
null
],
"default": null,
"description": "Which phase to run. Phases run in this order; each needs the one before it in the same run. Left out, the run's workspace decides: the first phase it has not yet stored. A workflow step passes the previous step's next_phase."
},
"batch": {
"type": [
"integer",
"null"
],
"minimum": 1,
"default": null,
"description": "collect only: the scan batch from the plan to run. Null runs every batch, which suits a small estate."
},
"source_documents": {
"type": [
"string",
"null"
],
"default": null,
"description": "plan only: the text of files uploaded at run time, as a 'Parse Assessment Files' step hands it on (its parsed_content), e.g. a CMDB or asset export or a scope list. Imported into the run workspace as plan/source-documents."
},
"artifacts": {
"type": [
"array",
"null"
],
"default": null,
"items": {
"type": "object"
},
"description": "plan only: project artifacts an 'Artifacts' step selected (its artifacts output), e.g. an earlier run's outputs or a file added to the project. Each is imported into the run workspace as plan/artifact-NN, with its id, type and sha256 kept as provenance.",
"x-artifact-types": [
"file",
"structured_data",
"report",
"execution_output",
"assessment_result"
]
}
},
"required": [
"engagement_id",
"run_id"
]
},
"outputSchema": {
"type": "object",
"title": "The outcome of one discovery phase",
"additionalProperties": false,
"properties": {
"engagement_id": {
"type": "string"
},
"run_id": {
"type": "string"
},
"phase": {
"type": "string",
"enum": [
"plan",
"collect",
"analyse",
"critique"
]
},
"status": {
"type": "string",
"enum": [
"completed",
"completed_with_gaps",
"halted",
"failed"
],
"description": "completed only when the phase's checks passed. A critique whose verdict is not pass is never completed."
},
"artifacts": {
"type": "array",
"description": "What this phase stored in the run workspace, as recorded by the workspace itself (post_process replaces the model's list with the manifest).",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"ref": {
"type": "string",
"description": "Workspace reference: <phase>/<name>."
},
"sha256": {
"type": "string"
},
"produced_by": {
"type": "string",
"description": "orchestrator, or the sub-agent whose reply this is."
}
},
"required": [
"name",
"ref",
"sha256",
"produced_by"
]
}
},
"summary": {
"type": "string",
"maxLength": 800,
"description": "Three sentences at most, for the engagement lead."
},
"issues": {
"type": "array",
"items": {
"type": "string"
},
"description": "Anything that stopped or weakened the phase: refused calls, failed sub-agents, failed checks, declared gaps."
},
"next_phase": {
"type": [
"string",
"null"
],
"enum": [
"collect",
"analyse",
"critique",
null
]
},
"verdict": {
"type": [
"object",
"null"
],
"description": "critique only: the verdict as enforced by post_process, not as the model wrote it.",
"additionalProperties": false,
"properties": {
"verdict": {
"type": "string",
"enum": [
"pass",
"fail"
]
},
"coverage_complete": {
"type": "boolean"
},
"coverage_gaps": {
"type": "array",
"items": {
"type": "string"
}
},
"declared_gaps": {
"type": "array",
"items": {
"type": "string"
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"verdict",
"coverage_complete",
"coverage_gaps",
"declared_gaps",
"reasons"
]
},
"manifest_head": {
"type": "string",
"description": "Hash at the head of the run's workspace manifest after this phase; each entry is chained to the one before it."
}
},
"required": [
"engagement_id",
"run_id",
"phase",
"status",
"artifacts",
"summary",
"issues",
"next_phase",
"verdict",
"manifest_head"
]
}
}
}
]
}
}