docs: archie-core v2 end-state architecture diagram
This commit is contained in:
1 parent
276f96fec3
commit
1d995c587d
1 file changed
+358
@@ -0,0 +1,358 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>archie-core v2 Architecture</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body { font-family: 'JetBrains Mono', monospace; background: #020617; min-height: 100vh; padding: 2rem; color: white; }
|
||||
.container { max-width: 1200px; margin: 0 auto; }
|
||||
.header { margin-bottom: 2rem; }
|
||||
.header-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
|
||||
.pulse-dot { width: 12px; height: 12px; background: #22d3ee; border-radius: 50%; animation: pulse 2s infinite; }
|
||||
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
|
||||
h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; }
|
||||
.subtitle { color: #94a3b8; font-size: 0.875rem; margin-left: 1.75rem; }
|
||||
.diagram-container { background: rgba(15, 23, 42, 0.5); border-radius: 1rem; border: 1px solid #1e293b; padding: 1.5rem; overflow-x: auto; }
|
||||
svg { width: 100%; min-width: 1100px; display: block; }
|
||||
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; }
|
||||
.card { background: rgba(15, 23, 42, 0.5); border-radius: 0.75rem; border: 1px solid #1e293b; padding: 1.25rem; }
|
||||
.card-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
|
||||
.card-dot { width: 8px; height: 8px; border-radius: 50%; }
|
||||
.card-dot.cyan { background: #22d3ee; }
|
||||
.card-dot.emerald { background: #34d399; }
|
||||
.card-dot.violet { background: #a78bfa; }
|
||||
.card-dot.amber { background: #fbbf24; }
|
||||
.card-dot.rose { background: #fb7185; }
|
||||
.card h3 { font-size: 0.875rem; font-weight: 600; }
|
||||
.card ul { list-style: none; color: #94a3b8; font-size: 0.75rem; }
|
||||
.card li { margin-bottom: 0.375rem; }
|
||||
.footer { text-align: center; margin-top: 1.5rem; color: #475569; font-size: 0.75rem; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="header-row">
|
||||
<div class="pulse-dot"></div>
|
||||
<h1>archie-core v2 Architecture</h1>
|
||||
</div>
|
||||
<p class="subtitle">Daemon/agent split • NATS JetStream • Ephemeral Docker sandboxes • Yaegi core plugins • Skills-driven workflows</p>
|
||||
</div>
|
||||
|
||||
<div class="diagram-container">
|
||||
<svg viewBox="0 0 1100 780">
|
||||
<defs>
|
||||
<marker id="arrowhead" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
|
||||
<polygon points="0 0, 10 3.5, 0 7" fill="#64748b" />
|
||||
</marker>
|
||||
<marker id="arrow-cyan" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
|
||||
<polygon points="0 0, 10 3.5, 0 7" fill="#22d3ee" />
|
||||
</marker>
|
||||
<marker id="arrow-emerald" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
|
||||
<polygon points="0 0, 10 3.5, 0 7" fill="#34d399" />
|
||||
</marker>
|
||||
<marker id="arrow-violet" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
|
||||
<polygon points="0 0, 10 3.5, 0 7" fill="#a78bfa" />
|
||||
</marker>
|
||||
<marker id="arrow-amber" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
|
||||
<polygon points="0 0, 10 3.5, 0 7" fill="#fbbf24" />
|
||||
</marker>
|
||||
<marker id="arrow-orange" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
|
||||
<polygon points="0 0, 10 3.5, 0 7" fill="#fb923c" />
|
||||
</marker>
|
||||
<pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse">
|
||||
<path d="M 40 0 L 0 0 0 40" fill="none" stroke="#1e293b" stroke-width="0.5"/>
|
||||
</pattern>
|
||||
</defs>
|
||||
|
||||
<rect width="100%" height="100%" fill="url(#grid)" />
|
||||
|
||||
<!-- ============================================================
|
||||
FORGES & TICKETING (top row - external)
|
||||
============================================================ -->
|
||||
|
||||
<rect x="40" y="30" width="130" height="60" rx="6" fill="#0f172a" stroke="#94a3b8" stroke-width="1.5"/>
|
||||
<rect x="40" y="30" width="130" height="60" rx="6" fill="rgba(30, 41, 59, 0.5)" stroke="#94a3b8" stroke-width="1.5"/>
|
||||
<text x="105" y="54" fill="white" font-size="12" font-weight="600" text-anchor="middle">GitHub</text>
|
||||
<text x="105" y="72" fill="#94a3b8" font-size="9" text-anchor="middle">Issues • PRs • Labels</text>
|
||||
|
||||
<rect x="210" y="30" width="130" height="60" rx="6" fill="#0f172a" stroke="#94a3b8" stroke-width="1.5"/>
|
||||
<rect x="210" y="30" width="130" height="60" rx="6" fill="rgba(30, 41, 59, 0.5)" stroke="#94a3b8" stroke-width="1.5"/>
|
||||
<text x="275" y="54" fill="white" font-size="12" font-weight="600" text-anchor="middle">Gitea</text>
|
||||
<text x="275" y="72" fill="#94a3b8" font-size="9" text-anchor="middle">Core Plugin</text>
|
||||
|
||||
<rect x="380" y="30" width="130" height="60" rx="6" fill="#0f172a" stroke="#94a3b8" stroke-width="1.5"/>
|
||||
<rect x="380" y="30" width="130" height="60" rx="6" fill="rgba(30, 41, 59, 0.5)" stroke="#94a3b8" stroke-width="1.5"/>
|
||||
<text x="445" y="54" fill="white" font-size="12" font-weight="600" text-anchor="middle">Linear / Jira</text>
|
||||
<text x="445" y="72" fill="#94a3b8" font-size="9" text-anchor="middle">Core Plugin</text>
|
||||
|
||||
<!-- ============================================================
|
||||
FORGE PLUGIN GROUP (dashed boundary)
|
||||
============================================================ -->
|
||||
|
||||
<rect x="30" y="20" width="490" height="80" rx="8" fill="transparent" stroke="#fbbf24" stroke-width="1" stroke-dasharray="4,4"/>
|
||||
<text x="42" y="34" fill="#fbbf24" font-size="8">~/.config/archie/plugins/</text>
|
||||
|
||||
<!-- Arrows: forges → archied -->
|
||||
<line x1="105" y1="90" x2="105" y2="130" stroke="#64748b" stroke-width="1.5" marker-end="url(#arrowhead)"/>
|
||||
<line x1="275" y1="90" x2="275" y2="140" stroke="#64748b" stroke-width="1.5" marker-end="url(#arrowhead)"/>
|
||||
<line x1="445" y1="90" x2="445" y2="140" stroke="#64748b" stroke-width="1.5" marker-end="url(#arrowhead)"/>
|
||||
|
||||
<!-- ============================================================
|
||||
ARCHIED DAEMON (center)
|
||||
============================================================ -->
|
||||
|
||||
<rect x="140" y="140" width="500" height="80" rx="8" fill="#0f172a" stroke="#34d399" stroke-width="1.5"/>
|
||||
<rect x="140" y="140" width="500" height="80" rx="8" fill="rgba(6, 78, 59, 0.4)" stroke="#34d399" stroke-width="1.5"/>
|
||||
<text x="390" y="168" fill="white" font-size="13" font-weight="700" text-anchor="middle">archied (Daemon)</text>
|
||||
<text x="390" y="188" fill="#94a3b8" font-size="9" text-anchor="middle">Discover → Publish → Spawn → Review → Deliver</text>
|
||||
<text x="390" y="206" fill="#34d399" font-size="8" text-anchor="middle">Container lifecycle · Volume mgmt · Core plugin host · Message gatekeeper</text>
|
||||
|
||||
<!-- ============================================================
|
||||
NATS JETSTREAM (message bus, top-right of daemon)
|
||||
============================================================ -->
|
||||
|
||||
<rect x="680" y="145" width="160" height="70" rx="6" fill="#0f172a" stroke="#fb923c" stroke-width="1.5"/>
|
||||
<rect x="680" y="145" width="160" height="70" rx="6" fill="rgba(251, 146, 60, 0.3)" stroke="#fb923c" stroke-width="1.5"/>
|
||||
<text x="760" y="168" fill="white" font-size="12" font-weight="600" text-anchor="middle">NATS JetStream</text>
|
||||
<text x="760" y="186" fill="#fb923c" font-size="8" text-anchor="middle">archie.task.* subjects</text>
|
||||
<text x="760" y="200" fill="#fb923c" font-size="8" text-anchor="middle">archie.agent.* channels</text>
|
||||
|
||||
<!-- Arrow: archied ↔ NATS -->
|
||||
<line x1="640" y1="180" x2="678" y2="180" stroke="#fb923c" stroke-width="2" marker-end="url(#arrow-orange)"/>
|
||||
<text x="659" y="173" fill="#fb923c" font-size="7">pub</text>
|
||||
|
||||
<line x1="660" y1="200" x2="678" y2="195" stroke="#fb923c" stroke-width="1.5" marker-end="url(#arrow-orange)"/>
|
||||
<text x="670" y="213" fill="#fb923c" font-size="7">sub</text>
|
||||
|
||||
<!-- ============================================================
|
||||
SKILLS (left side, feeding into daemon)
|
||||
============================================================ -->
|
||||
|
||||
<rect x="30" y="240" width="180" height="90" rx="8" fill="transparent" stroke="#22d3ee" stroke-width="1" stroke-dasharray="4,4"/>
|
||||
<text x="42" y="254" fill="#22d3ee" font-size="8">.agents/skills/</text>
|
||||
|
||||
<rect x="40" y="260" width="160" height="28" rx="4" fill="#0f172a" stroke="#22d3ee" stroke-width="1"/>
|
||||
<rect x="40" y="260" width="160" height="28" rx="4" fill="rgba(8, 51, 68, 0.4)" stroke="#22d3ee" stroke-width="1"/>
|
||||
<text x="120" y="278" fill="white" font-size="10" font-weight="600" text-anchor="middle">archie-wf-implement</text>
|
||||
|
||||
<rect x="40" y="292" width="160" height="28" rx="4" fill="#0f172a" stroke="#22d3ee" stroke-width="1"/>
|
||||
<rect x="40" y="292" width="160" height="28" rx="4" fill="rgba(8, 51, 68, 0.4)" stroke="#22d3ee" stroke-width="1"/>
|
||||
<text x="120" y="310" fill="white" font-size="10" font-weight="600" text-anchor="middle">archie-wf-tdd</text>
|
||||
|
||||
<!-- Arrow: skills → daemon -->
|
||||
<line x1="220" y1="310" x2="138" y2="310" stroke="#22d3ee" stroke-width="1.5" marker-end="url(#arrow-cyan)"/>
|
||||
<text x="179" y="304" fill="#22d3ee" font-size="7">loaded by</text>
|
||||
<text x="179" y="319" fill="#22d3ee" font-size="7">agent</text>
|
||||
|
||||
<!-- ============================================================
|
||||
DOCKER SANDBOX REGION
|
||||
============================================================ -->
|
||||
|
||||
<rect x="30" y="360" width="800" height="260" rx="12" fill="rgba(34, 211, 238, 0.03)" stroke="#fbbf24" stroke-width="1" stroke-dasharray="8,4"/>
|
||||
<text x="42" y="378" fill="#fbbf24" font-size="10" font-weight="600">Docker Sandbox Pool (max_concurrency = 4)</text>
|
||||
|
||||
<!-- NATS → Agent connections -->
|
||||
<path d="M 760 215 L 760 380" stroke="#fb923c" stroke-width="1.5" stroke-dasharray="5,5" marker-end="url(#arrow-orange)"/>
|
||||
<text x="772" y="310" fill="#fb923c" font-size="7">JetStream</text>
|
||||
<text x="772" y="322" fill="#fb923c" font-size="7">pull</text>
|
||||
|
||||
<!-- Agent Container 1 -->
|
||||
<rect x="50" y="390" width="230" height="110" rx="8" fill="#0f172a" stroke="#22d3ee" stroke-width="1.5"/>
|
||||
<rect x="50" y="390" width="230" height="110" rx="8" fill="rgba(8, 51, 68, 0.3)" stroke="#22d3ee" stroke-width="1.5"/>
|
||||
<text x="165" y="414" fill="white" font-size="11" font-weight="600" text-anchor="middle">archie-agent (task-42)</text>
|
||||
<text x="165" y="430" fill="#94a3b8" font-size="8" text-anchor="middle">Workflow: implement</text>
|
||||
<text x="165" y="444" fill="#94a3b8" font-size="8" text-anchor="middle">Gate: gated agent loop</text>
|
||||
<text x="165" y="458" fill="#94a3b8" font-size="8" text-anchor="middle">Bundled plugins loaded</text>
|
||||
<text x="165" y="478" fill="#22d3ee" font-size="7" text-anchor="middle">Response → system → request channels</text>
|
||||
|
||||
<!-- Agent Container 2 -->
|
||||
<rect x="310" y="390" width="230" height="110" rx="8" fill="#0f172a" stroke="#22d3ee" stroke-width="1.5"/>
|
||||
<rect x="310" y="390" width="230" height="110" rx="8" fill="rgba(8, 51, 68, 0.3)" stroke="#22d3ee" stroke-width="1.5"/>
|
||||
<text x="425" y="414" fill="white" font-size="11" font-weight="600" text-anchor="middle">archie-agent (task-43)</text>
|
||||
<text x="425" y="430" fill="#94a3b8" font-size="8" text-anchor="middle">Workflow: tdd</text>
|
||||
<text x="425" y="444" fill="#94a3b8" font-size="8" text-anchor="middle">Gate: inverted (repro)</text>
|
||||
<text x="425" y="458" fill="#94a3b8" font-size="8" text-anchor="middle">Bundled plugins loaded</text>
|
||||
<text x="425" y="478" fill="#22d3ee" font-size="7" text-anchor="middle">Response → system → request channels</text>
|
||||
|
||||
<!-- Agent Container 3 -->
|
||||
<rect x="570" y="390" width="230" height="110" rx="8" fill="#0f172a" stroke="#22d3ee" stroke-width="1.5"/>
|
||||
<rect x="570" y="390" width="230" height="110" rx="8" fill="rgba(8, 51, 68, 0.3)" stroke="#22d3ee" stroke-width="1.5"/>
|
||||
<text x="685" y="414" fill="white" font-size="11" font-weight="600" text-anchor="middle">archie-agent (task-44)</text>
|
||||
<text x="685" y="430" fill="#94a3b8" font-size="8" text-anchor="middle">Workflow: feasibility</text>
|
||||
<text x="685" y="444" fill="#94a3b8" font-size="8" text-anchor="middle">Gate: read-only assess</text>
|
||||
<text x="685" y="458" fill="#94a3b8" font-size="8" text-anchor="middle">Bundled plugins loaded</text>
|
||||
<text x="685" y="478" fill="#22d3ee" font-size="7" text-anchor="middle">Response → system → request channels</text>
|
||||
|
||||
<!-- ============================================================
|
||||
PERSISTENT VOLUMES (below agents)
|
||||
============================================================ -->
|
||||
|
||||
<rect x="50" y="510" width="230" height="45" rx="6" fill="#0f172a" stroke="#a78bfa" stroke-width="1.5"/>
|
||||
<rect x="50" y="510" width="230" height="45" rx="6" fill="rgba(76, 29, 149, 0.35)" stroke="#a78bfa" stroke-width="1.5"/>
|
||||
<text x="165" y="530" fill="white" font-size="10" font-weight="600" text-anchor="middle">/data/ (docker volume)</text>
|
||||
<text x="165" y="544" fill="#a78bfa" font-size="8" text-anchor="middle">task.json · session.jsonl · plugins/ · worktree/</text>
|
||||
|
||||
<rect x="310" y="510" width="230" height="45" rx="6" fill="#0f172a" stroke="#a78bfa" stroke-width="1.5"/>
|
||||
<rect x="310" y="510" width="230" height="45" rx="6" fill="rgba(76, 29, 149, 0.35)" stroke="#a78bfa" stroke-width="1.5"/>
|
||||
<text x="425" y="530" fill="white" font-size="10" font-weight="600" text-anchor="middle">/data/ (bind mount)</text>
|
||||
<text x="425" y="544" fill="#a78bfa" font-size="8" text-anchor="middle">task.json · session.jsonl · MEMORY.md</text>
|
||||
|
||||
<rect x="570" y="510" width="230" height="45" rx="6" fill="#0f172a" stroke="#a78bfa" stroke-width="1.5"/>
|
||||
<rect x="570" y="510" width="230" height="45" rx="6" fill="rgba(76, 29, 149, 0.35)" stroke="#a78bfa" stroke-width="1.5"/>
|
||||
<text x="685" y="530" fill="white" font-size="10" font-weight="600" text-anchor="middle">/data/ (docker volume)</text>
|
||||
<text x="685" y="544" fill="#a78bfa" font-size="8" text-anchor="middle">task.json · session.jsonl · plugins/ · worktree/</text>
|
||||
|
||||
<!-- Agent → Volume arrows (vertical) -->
|
||||
<line x1="165" y1="500" x2="165" y2="508" stroke="#a78bfa" stroke-width="1.5" marker-end="url(#arrow-violet)"/>
|
||||
<line x1="425" y1="500" x2="425" y2="508" stroke="#a78bfa" stroke-width="1.5" marker-end="url(#arrow-violet)"/>
|
||||
<line x1="685" y1="500" x2="685" y2="508" stroke="#a78bfa" stroke-width="1.5" marker-end="url(#arrow-violet)"/>
|
||||
|
||||
<!-- ============================================================
|
||||
LLM PROVIDERS (right side, external)
|
||||
============================================================ -->
|
||||
|
||||
<rect x="870" y="390" width="140" height="50" rx="6" fill="#0f172a" stroke="#94a3b8" stroke-width="1.5"/>
|
||||
<rect x="870" y="390" width="140" height="50" rx="6" fill="rgba(30, 41, 59, 0.5)" stroke="#94a3b8" stroke-width="1.5"/>
|
||||
<text x="940" y="412" fill="white" font-size="11" font-weight="600" text-anchor="middle">LLM Providers</text>
|
||||
<text x="940" y="428" fill="#94a3b8" font-size="9" text-anchor="middle">OpenAI · Claude · Ollama</text>
|
||||
|
||||
<rect x="870" y="455" width="140" height="50" rx="6" fill="#0f172a" stroke="#94a3b8" stroke-width="1.5"/>
|
||||
<rect x="870" y="455" width="140" height="50" rx="6" fill="rgba(30, 41, 59, 0.5)" stroke="#94a3b8" stroke-width="1.5"/>
|
||||
<text x="940" y="477" fill="white" font-size="11" font-weight="600" text-anchor="middle">Human Channels</text>
|
||||
<text x="940" y="493" fill="#94a3b8" font-size="9" text-anchor="middle">Telegram · Email · Web</text>
|
||||
|
||||
<!-- Agent → LLM arrows -->
|
||||
<line x1="280" y1="435" x2="868" y2="415" stroke="#64748b" stroke-width="1.5" marker-end="url(#arrowhead)"/>
|
||||
<text x="580" y="408" fill="#94a3b8" font-size="7">ai-sdk/agentloop</text>
|
||||
|
||||
<line x1="425" y1="455" x2="868" y2="475" stroke="#64748b" stroke-width="1.5" marker-end="url(#arrowhead)"/>
|
||||
|
||||
<!-- ============================================================
|
||||
DAEMON → HUMAN (bottom, daemon to channels)
|
||||
============================================================ -->
|
||||
|
||||
<path d="M 390 220 L 390 560 Q 390 580 410 580 L 868 580 Q 888 580 888 560 L 888 505" fill="none" stroke="#64748b" stroke-width="1.5" marker-end="url(#arrowhead)"/>
|
||||
<text x="640" y="575" fill="#94a3b8" font-size="8">reviewed responses → human channels</text>
|
||||
|
||||
<!-- ============================================================
|
||||
RESPONSE GATEKEEPING (annotation)
|
||||
============================================================ -->
|
||||
|
||||
<rect x="50" y="565" width="280" height="45" rx="6" fill="transparent" stroke="#fb7185" stroke-width="1" stroke-dasharray="4,4"/>
|
||||
<text x="58" y="582" fill="#fb7185" font-size="8">agent response channel</text>
|
||||
<text x="58" y="598" fill="#fb7185" font-size="8">daemon reviews before human delivery</text>
|
||||
|
||||
<!-- ============================================================
|
||||
CORE PLUGINS (left, feeding into daemon)
|
||||
============================================================ -->
|
||||
|
||||
<rect x="30" y="565" width="10" height="10" rx="2" fill="transparent"/>
|
||||
|
||||
<rect x="30" y="640" width="380" height="65" rx="8" fill="transparent" stroke="#fbbf24" stroke-width="1" stroke-dasharray="4,4"/>
|
||||
<text x="42" y="654" fill="#fbbf24" font-size="8">~/.config/archie/plugins/ (Core Plugins — Yaegi .go)</text>
|
||||
|
||||
<rect x="40" y="662" width="100" height="32" rx="4" fill="#0f172a" stroke="#fbbf24" stroke-width="1"/>
|
||||
<rect x="40" y="662" width="100" height="32" rx="4" fill="rgba(120, 53, 15, 0.3)" stroke="#fbbf24" stroke-width="1"/>
|
||||
<text x="90" y="682" fill="white" font-size="9" font-weight="600" text-anchor="middle">forge-gitea.go</text>
|
||||
|
||||
<rect x="150" y="662" width="110" height="32" rx="4" fill="#0f172a" stroke="#fbbf24" stroke-width="1"/>
|
||||
<rect x="150" y="662" width="110" height="32" rx="4" fill="rgba(120, 53, 15, 0.3)" stroke="#fbbf24" stroke-width="1"/>
|
||||
<text x="205" y="682" fill="white" font-size="9" font-weight="600" text-anchor="middle">ticketing-jira.go</text>
|
||||
|
||||
<rect x="270" y="662" width="130" height="32" rx="4" fill="#0f172a" stroke="#fbbf24" stroke-width="1"/>
|
||||
<rect x="270" y="662" width="130" height="32" rx="4" fill="rgba(120, 53, 15, 0.3)" stroke="#fbbf24" stroke-width="1"/>
|
||||
<text x="335" y="682" fill="white" font-size="9" font-weight="600" text-anchor="middle">storage-s3.go</text>
|
||||
|
||||
<!-- ============================================================
|
||||
LEGEND
|
||||
============================================================ -->
|
||||
|
||||
<text x="30" y="740" fill="white" font-size="10" font-weight="600">Legend</text>
|
||||
|
||||
<rect x="30" y="748" width="14" height="10" rx="2" fill="rgba(6, 78, 59, 0.4)" stroke="#34d399" stroke-width="1"/>
|
||||
<text x="49" y="757" fill="#94a3b8" font-size="8">Daemon</text>
|
||||
|
||||
<rect x="120" y="748" width="14" height="10" rx="2" fill="rgba(8, 51, 68, 0.4)" stroke="#22d3ee" stroke-width="1"/>
|
||||
<text x="139" y="757" fill="#94a3b8" font-size="8">Agent / Skills</text>
|
||||
|
||||
<rect x="265" y="748" width="14" height="10" rx="2" fill="rgba(76, 29, 149, 0.4)" stroke="#a78bfa" stroke-width="1"/>
|
||||
<text x="284" y="757" fill="#94a3b8" font-size="8">Volumes / Storage</text>
|
||||
|
||||
<rect x="430" y="748" width="14" height="10" rx="2" fill="rgba(120, 53, 15, 0.3)" stroke="#fbbf24" stroke-width="1"/>
|
||||
<text x="449" y="757" fill="#94a3b8" font-size="8">Core Plugins</text>
|
||||
|
||||
<rect x="570" y="748" width="14" height="10" rx="2" fill="rgba(251, 146, 60, 0.3)" stroke="#fb923c" stroke-width="1"/>
|
||||
<text x="589" y="757" fill="#94a3b8" font-size="8">Message Bus</text>
|
||||
|
||||
<rect x="710" y="748" width="14" height="10" rx="2" fill="rgba(136, 19, 55, 0.4)" stroke="#fb7185" stroke-width="1"/>
|
||||
<text x="729" y="757" fill="#94a3b8" font-size="8">Security / Gatekeep</text>
|
||||
|
||||
<rect x="880" y="748" width="14" height="10" rx="2" fill="rgba(30, 41, 59, 0.5)" stroke="#94a3b8" stroke-width="1"/>
|
||||
<text x="899" y="757" fill="#94a3b8" font-size="8">External</text>
|
||||
|
||||
<line x1="30" y1="770" x2="50" y2="770" stroke="#fb7185" stroke-width="1" stroke-dasharray="3,3"/>
|
||||
<text x="56" y="773" fill="#94a3b8" font-size="8">Security Boundary</text>
|
||||
|
||||
<line x1="180" y1="770" x2="200" y2="770" stroke="#fb923c" stroke-width="1" stroke-dasharray="5,5"/>
|
||||
<text x="206" y="773" fill="#94a3b8" font-size="8">NATS Channel</text>
|
||||
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="cards">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="card-dot emerald"></div>
|
||||
<h3>Daemon (archied)</h3>
|
||||
</div>
|
||||
<ul>
|
||||
<li>• Poll forges for assigned/labelled issues</li>
|
||||
<li>• Publish tasks to NATS JetStream</li>
|
||||
<li>• Spawn ephemeral Docker containers per task</li>
|
||||
<li>• Review agent responses before human delivery</li>
|
||||
<li>• Manage persistent volumes with TTL</li>
|
||||
<li>• Load core plugins at startup via Yaegi</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="card-dot cyan"></div>
|
||||
<h3>Agent (archie-agent)</h3>
|
||||
</div>
|
||||
<ul>
|
||||
<li>• Ephemeral Docker container, spawned per task</li>
|
||||
<li>• Reads task.json from /data/ volume</li>
|
||||
<li>• Runs routed workflow (implement / tdd / feasibility)</li>
|
||||
<li>• Writes to response + system NATS channels</li>
|
||||
<li>• Stays alive for grace period after completion</li>
|
||||
<li>• Killed by daemon on terminal outcome or TTL</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="card-dot violet"></div>
|
||||
<h3>Extensibility Layers</h3>
|
||||
</div>
|
||||
<ul>
|
||||
<li>• Skills: archie-wf-* SKILL.md (agentskills.io spec)</li>
|
||||
<li>• Bundled plugins: Yaegi .go inside skill plugins/</li>
|
||||
<li>• Core plugins: Yaegi .go in ~/.config/archie/plugins/</li>
|
||||
<li>• Forges, ticketing, storage, vault, notify — all plugins</li>
|
||||
<li>• File extension determines interpreter (.go = Yaegi)</li>
|
||||
<li>• Volume plugins override worktree plugins on conflict</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="footer">
|
||||
archie-core v2 • Daemon/agent split • NATS JetStream • Ephemeral Docker sandboxes • July 2026
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user