Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/dwarves

.nornir/assets/agent-pool.svg

<svg xmlns="http://www.w3.org/2000/svg" width="900" height="300" font-family="monospace" font-size="13">
  <style>
    .box{fill:#0f2233;stroke:#6fd3f5;stroke-width:1.5}
    .reuse{fill:#12331f;stroke:#7fe0a0;stroke-width:1.5}
    .t{fill:#dbeafe}.dim{fill:#9fb6c6}.acc{fill:#7fe0a0}.wire{fill:#f5d76f}
    .arr{stroke:#6fd3f5;stroke-width:1.5;fill:none;marker-end:url(#a)}
    .arr2{stroke:#7fe0a0;stroke-width:1.5;fill:none;marker-end:url(#b)}
  </style>
  <defs>
    <marker id="a" markerWidth="9" markerHeight="9" refX="7" refY="3" orient="auto"><path d="M0,0 L7,3 L0,6 Z" fill="#6fd3f5"/></marker>
    <marker id="b" markerWidth="9" markerHeight="9" refX="7" refY="3" orient="auto"><path d="M0,0 L7,3 L0,6 Z" fill="#7fe0a0"/></marker>
  </defs>

  <text x="12" y="20" class="acc">AgentPool — GREEN = REUSED jera Scheduler (one fleet source); YELLOW = the wire</text>

  <text x="12" y="48" class="acc">jera::agent::Scheduler (shared, edda)</text>
  <rect class="reuse" x="12" y="60" width="220" height="76"/>
  <text x="24" y="84" class="acc">Scheduler::state_json()</text>
  <text x="24" y="102" class="dim">agents[]: id·group·caps</text>
  <text x="24" y="120" class="dim">·cores·mem_mb·state</text>

  <path class="arr2" d="M232,98 L280,98"/>

  <rect class="box" x="280" y="60" width="210" height="76"/>
  <text x="292" y="84" class="t">DwarfSvc::agent_pool</text>
  <text x="292" y="102" class="dim">row_to_agent (map, no twin)</text>
  <text x="292" y="120" class="dim">→ AgentPoolReply</text>

  <path class="arr" d="M490,98 L538,98"/>
  <text x="492" y="91" class="wire">gRPC · Bearer</text>

  <rect class="box" x="538" y="60" width="210" height="76"/>
  <text x="550" y="84" class="t">dwarves agents --server</text>
  <text x="550" y="102" class="dim">thin_agents → print_agents</text>
  <text x="550" y="120" class="dim">worker fleet listing</text>

  <!-- fat path -->
  <text x="12" y="176" class="acc">FAT — dwarves agents</text>
  <rect class="box" x="12" y="188" width="300" height="60"/>
  <text x="24" y="212" class="t">agent_bridge::scheduler_with_local_default</text>
  <text x="24" y="230" class="dim">the local single-machine pool → print_agents</text>

  <path class="arr2" d="M312,218 L360,218"/>
  <rect class="box" x="360" y="188" width="180" height="60"/>
  <text x="372" y="212" class="t">same fleet shape</text>
  <text x="372" y="230" class="dim">{agents:[…]}</text>

  <text x="12" y="276" class="dim">Additive: new rpc AgentPool + `dwarves agents`; LocalAgent single-machine today, a GrpcAgent fleet flows the SAME surface unchanged.</text>
  <text x="12" y="296" class="dim">The enabling wire for the parity §4b "Agents view — the live fleet"; the pool was previously invisible over the wire.</text>
</svg>