II.
Workflow JSON
Structured · liveworkflow:krate-dispatch-agent
Krate Agent Dispatch json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "workflow:krate-dispatch-agent",
"_kind": "Workflow",
"_file": "domain/products/krate.yaml",
"_cluster": "domain",
"attributes": {
"displayName": "Krate Agent Dispatch",
"description": "End-to-end workflow for dispatching an AI coding agent within Krate.\nTriggered by a user command (UI button, kubectl create, PR comment\n/agent), a schedule (AgentSchedule), or a pipeline step.\n\nSteps:\n1. Dispatch request: An AgentDispatchRun resource is created with\n the target repository, branch, prompt, and AgentStack reference.\n2. Permission review: The platform evaluates the dispatch against\n org-level AgentPermissionSets and PolicyProfiles. If the requested\n tools or resource limits exceed policy, the run is rejected or\n escalated for org-admin approval.\n3. Context bundle assembly: Krate checks out the repository at the\n specified branch, injects CLAUDE.md and relevant memory snapshots\n from the company brain, and prepares the agent workspace container.\n4. Agent-mux launch: The dispatch controller creates a Kubernetes Job\n running the agent-mux container with the selected coding agent\n (Claude Code, Codex, etc.). The session streams output back via SSE.\n5. Completion: On agent completion, results are collected — files\n modified, PR created/updated, tests run. A memory snapshot is\n generated and stored. The AgentDispatchRun status is updated to\n Completed or Failed.\n",
"workflowKind": "development",
"triggerType": "event-driven",
"typicalCadence": "on-demand",
"complexity": "complex"
},
"outgoingEdges": [
{
"from": "workflow:krate-dispatch-agent",
"to": "role:platform-engineer",
"kind": "involves_role"
},
{
"from": "workflow:krate-dispatch-agent",
"to": "role:backend-engineer",
"kind": "involves_role"
},
{
"from": "workflow:krate-dispatch-agent",
"to": "role:devops-engineer",
"kind": "involves_role"
},
{
"from": "workflow:krate-dispatch-agent",
"to": "domain:platform-engineering",
"kind": "applies_to_domain"
},
{
"from": "workflow:krate-dispatch-agent",
"to": "domain:software-engineering",
"kind": "applies_to_domain"
}
],
"incomingEdges": []
}