227 lines
4.6 KiB
JSON
227 lines
4.6 KiB
JSON
{
|
||
"version": "1.1",
|
||
"id": "orchestrator-workers",
|
||
"title": "orchestrator-workers runtime fixture",
|
||
"question": "Does the orchestrator-workers logical composition render correctly?",
|
||
"type": "architecture",
|
||
"direction": "TB",
|
||
"audience": [
|
||
"renderer maintainer"
|
||
],
|
||
"summary": "Executable orchestrator-workers fixture.",
|
||
"alt": "Executable technical diagram fixture for the orchestrator-workers composition profile.",
|
||
"long_description": "This fixture validates the node roles, edges, and layout rules of the orchestrator-workers profile.",
|
||
"source_context": {
|
||
"document": "examples/runtime-profiles/fixture.md",
|
||
"document_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
||
"anchor": {
|
||
"kind": "line",
|
||
"value": 1,
|
||
"line": 1
|
||
}
|
||
},
|
||
"composition": {
|
||
"profile": "orchestrator-workers",
|
||
"diagram_only": true,
|
||
"reference_ids": [
|
||
"mission-workers"
|
||
],
|
||
"rationale": "Runtime regression fixture for orchestrator-workers.",
|
||
"focus_node": "main"
|
||
},
|
||
"groups": [],
|
||
"nodes": [
|
||
{
|
||
"id": "main",
|
||
"label": "MAIN SESSION",
|
||
"kind": "service",
|
||
"role": "orchestrator",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false,
|
||
"shape": "controller",
|
||
"emphasis": "primary",
|
||
"details": [
|
||
"context + logic"
|
||
]
|
||
},
|
||
{
|
||
"id": "agents",
|
||
"label": "SUBAGENTS × N",
|
||
"kind": "service",
|
||
"role": "worker",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false,
|
||
"details": [
|
||
"client RPS · latency",
|
||
"server RPS · latency",
|
||
"JVM heap · GC"
|
||
]
|
||
},
|
||
{
|
||
"id": "stream",
|
||
"label": "BACKGROUND BASH",
|
||
"kind": "process",
|
||
"role": "subprocess",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false,
|
||
"details": [
|
||
"tail -f ..."
|
||
]
|
||
},
|
||
{
|
||
"id": "poll",
|
||
"label": "POLLING BASH",
|
||
"kind": "process",
|
||
"role": "subprocess",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false,
|
||
"details": [
|
||
"until <cond>; sleep N"
|
||
]
|
||
},
|
||
{
|
||
"id": "monitor",
|
||
"label": "MONITOR",
|
||
"kind": "service",
|
||
"role": "monitor",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false,
|
||
"shape": "controller",
|
||
"details": [
|
||
"stdout 수신",
|
||
"이벤트 알림"
|
||
]
|
||
}
|
||
],
|
||
"edges": [
|
||
{
|
||
"id": "dispatch",
|
||
"from": "main",
|
||
"to": "agents",
|
||
"label": "dispatch",
|
||
"kind": "request",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false
|
||
},
|
||
{
|
||
"id": "spawn-stream",
|
||
"from": "main",
|
||
"to": "stream",
|
||
"label": "spawn ×2",
|
||
"kind": "request",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false
|
||
},
|
||
{
|
||
"id": "spawn-poll",
|
||
"from": "main",
|
||
"to": "poll",
|
||
"label": "spawn",
|
||
"kind": "request",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false
|
||
},
|
||
{
|
||
"id": "subscribe",
|
||
"from": "main",
|
||
"to": "monitor",
|
||
"label": "subscribe",
|
||
"kind": "request",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false
|
||
},
|
||
{
|
||
"id": "stdout-stream",
|
||
"from": "stream",
|
||
"to": "monitor",
|
||
"label": "stdout",
|
||
"kind": "request",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false
|
||
},
|
||
{
|
||
"id": "stdout-poll",
|
||
"from": "poll",
|
||
"to": "monitor",
|
||
"label": "stdout",
|
||
"kind": "request",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false
|
||
},
|
||
{
|
||
"id": "notify",
|
||
"from": "monitor",
|
||
"to": "main",
|
||
"label": "notification",
|
||
"kind": "notification",
|
||
"evidence": [
|
||
{
|
||
"start_line": 1,
|
||
"end_line": 1
|
||
}
|
||
],
|
||
"assumption": false,
|
||
"style": "dashed"
|
||
}
|
||
],
|
||
"legend": [],
|
||
"metadata": {
|
||
"fixture": true
|
||
}
|
||
}
|