II.
InteractionPrimitive JSON
Structured · liveinteraction-primitive:krate-pr-create
Krate PR Create json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "interaction-primitive:krate-pr-create",
"_kind": "InteractionPrimitive",
"_file": "domain/products/krate-agent-layer.yaml",
"_cluster": "domain",
"attributes": {
"displayName": "Krate PR Create",
"description": "Create a pull request with an attached CI pipeline within Krate's\nGit forge. Agents invoke this primitive to submit their code changes\nfor review. The PR creation controller validates branch protection\nrules, attaches CI pipeline definitions, generates PR descriptions\nfrom agent session context, and optionally requests reviewers based\non code ownership rules.\n",
"kind": "cli",
"surface": "cli",
"category": "interaction-primitive-category:lifecycle",
"availableInModes": [
"headless"
],
"requiresPermission": true
},
"outgoingEdges": [
{
"from": "interaction-primitive:krate-pr-create",
"to": "layer:10-interaction",
"kind": "realizes",
"attributes": {}
},
{
"from": "interaction-primitive:krate-pr-create",
"to": "interaction-primitive-category:lifecycle",
"kind": "in_category",
"attributes": {}
},
{
"from": "interaction-primitive:krate-pr-create",
"to": "definition:krate-forge-model",
"kind": "integrates_with",
"attributes": {}
},
{
"from": "interaction-primitive:krate-pr-create",
"to": "topic:krate-agent-artifact",
"kind": "integrates_with",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "platform:krate",
"to": "interaction-primitive:krate-pr-create",
"kind": "supports_interaction_primitive",
"attributes": {
"attributes": {
"mechanism": "api-endpoint"
}
}
}
]
}