Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review (claude): fix same-column edge rendering and correct socket event names in flows doc
[._.]/ Adam Eivyee6f5ebeae11
diff --git a/client/public/flows.html b/client/public/flows.htmlindex 66c1e68999..8303f8316b 100644--- a/client/public/flows.html+++ b/client/public/flows.html@@ -307,13 +307,21 @@const idx = pairCount.get(pairKey) || 0;pairCount.set(pairKey, idx + 1);const a = pos.get(s.from), b = pos.get(s.to);- const forward = a.x < b.x;- const x1 = forward ? a.x + a.w : a.x;- const x2 = forward ? b.x : b.x + b.w;const y1 = a.y + a.h / 2, y2 = b.y + b.h / 2;- const bend = Math.max(36, Math.abs(x2 - x1) * 0.35) * (forward ? 1 : -1);- const lift = idx * 14 * (idx % 2 ? 1 : -1); // spread parallel edges- const d = `M ${x1} ${y1} C ${x1 + bend} ${y1 + lift}, ${x2 - bend} ${y2 + lift}, ${x2} ${y2}`;+ let d;+ if (a.x === b.x) {+ // same-column hop: loop out the right side instead of sweeping across the column+ const x1 = a.x + a.w, x2 = b.x + b.w;+ const bend = 48 + idx * 14;+ d = `M ${x1} ${y1} C ${x1 + bend} ${y1}, ${x2 + bend} ${y2}, ${x2} ${y2}`;+ } else {+ const forward = a.x < b.x;+ const x1 = forward ? a.x + a.w : a.x;+ const x2 = forward ? b.x : b.x + b.w;+ const bend = Math.max(36, Math.abs(x2 - x1) * 0.35) * (forward ? 1 : -1);+ const lift = idx * 14 * (idx % 2 ? 1 : -1); // spread parallel edges+ d = `M ${x1} ${y1} C ${x1 + bend} ${y1 + lift}, ${x2 - bend} ${y2 + lift}, ${x2} ${y2}`;+ }const t = transportsById.get(s.transport);const path = document.createElementNS('http://www.w3.org/2000/svg', 'path');path.setAttribute('d', d);diff --git a/client/public/flows.json b/client/public/flows.jsonindex 65e3b13950..ebdadc5e8d 100644--- a/client/public/flows.json+++ b/client/public/flows.json@@ -174,7 +174,7 @@{ "from": "svc.taskSchedule", "to": "store.jsonFiles", "transport": "storage", "label": "write data/task-schedule.json", "payload": "schedule state on disk — takes effect without restart" },{ "from": "svc.taskSchedule", "to": "svc.cosJobScheduler", "transport": "call", "label": "cron fire", "payload": "due job evaluated with spawn guard" },{ "from": "svc.cosJobScheduler", "to": "svc.subAgentSpawner", "transport": "emitter", "label": "cosEvents 'task:ready'", "payload": "AI jobs become tasks — continues as the CoS Agent Run flow" },- { "from": "svc.cosJobScheduler", "to": "page.chiefOfStaff", "transport": "socket", "label": "jobs:executed / tasks:changed", "payload": "execution results surface in the schedule UI" }+ { "from": "svc.cosJobScheduler", "to": "page.chiefOfStaff", "transport": "socket", "label": "cos:tasks:cos:changed / cos:tasks:user:changed", "payload": "scheduled-job completion is reflected via task and agent state events forwarded by the Socket.IO hub" }]},{@@ -234,7 +234,7 @@{ "from": "lib.peerHttpClient", "to": "ext.peers", "transport": "http", "label": "POST peer /api/peer-sync/push", "payload": "push payload: record + sidecar + asset manifest (peerSyncPushSchema)" },{ "from": "ext.peers", "to": "route.peerSync", "transport": "http", "label": "inbound push (receiving side)", "payload": "the same endpoint on the receiving install accepts pushes from peers" },{ "from": "svc.peerSync", "to": "store.postgres", "transport": "storage", "label": "applyIncomingPush", "payload": "LWW-timestamp merge + integrity check; missing assets pulled back from the sender" },- { "from": "svc.peerSync", "to": "page.sharing", "transport": "socket", "label": "sync:applied / peers:updated", "payload": "sync results and peer presence updates" }+ { "from": "svc.peerSync", "to": "page.sharing", "transport": "socket", "label": "sharing:manifest-processed / sharing:inbox-updated", "payload": "sync results and inbox updates surface on the Sharing page (peer presence separately via instances:peers:updated)" }]},{