|
1 | | -# Software 3.0: The OpenSIN-Neural-Bus Paradigm |
| 1 | +--- |
| 2 | +title: Software 3.0 & Neural-Bus Doctrine |
| 3 | +description: The architectural doctrine for evented, agentic, issue-centric, bus-driven OpenSIN systems. |
| 4 | +--- |
| 5 | + |
| 6 | +# Software 3.0 & Neural-Bus Doctrine |
| 7 | + |
| 8 | +> **RULE:** We are not building isolated apps anymore. We are building an evented organism: agents, workflows, repos, UI surfaces, and operators connected through explicit signals, issue state, and recoverable automation. |
| 9 | +
|
| 10 | +--- |
| 11 | + |
| 12 | +## 1. What “Software 3.0” Means Here |
| 13 | + |
| 14 | +Software 3.0 in OpenSIN means: |
| 15 | +- issue-centric work, not hidden local intention |
| 16 | +- agentic execution, not single-process heroics |
| 17 | +- event-driven coordination, not brittle manual chaining |
| 18 | +- observable state, not invisible automation |
| 19 | +- modular capabilities, not monolithic dependency traps |
2 | 20 |
|
3 | | -**Date:** April 2026 |
4 | | -**Status:** Canonical Architecture |
| 21 | +The “Neural Bus” is the idea that meaningful state changes propagate through the ecosystem like signals in a nervous system. |
5 | 22 |
|
6 | | -## The Demise of the "n8n Wall" |
| 23 | +--- |
| 24 | + |
| 25 | +## 2. The Bus Is Conceptual and Concrete |
7 | 26 |
|
8 | | -For years, n8n visual workflows served as the brains of our automation. However, deterministic node-linking scales poorly when tasks demand probabilistic, adaptive reasoning (e.g., "Fix this bug, test it, and report"). |
| 27 | +It is **conceptual** because it describes how all parts of the fleet should think about coordination. |
| 28 | +It is **concrete** because it appears in: |
| 29 | +- GitHub issues and PRs |
| 30 | +- n8n workflows |
| 31 | +- agent events and heartbeats |
| 32 | +- webhooks |
| 33 | +- notifications |
| 34 | +- dashboards and logs |
| 35 | + |
| 36 | +--- |
9 | 37 |
|
10 | | -With the emergence of Managed Agents (like Anthropic's Claude Code), it became clear that defining every edge-case via a Node-Graph is fundamentally broken. **We must dispatch "Goals," not "Flows."** |
| 38 | +## 3. Event-Centric Thinking |
11 | 39 |
|
12 | | -## Enter the Neural-Bus |
| 40 | +Design systems around meaningful events: |
| 41 | +- issue created |
| 42 | +- task dispatched |
| 43 | +- agent started |
| 44 | +- agent completed |
| 45 | +- workflow failed |
| 46 | +- deployment published |
| 47 | +- alert raised |
| 48 | +- approval granted |
13 | 49 |
|
14 | | -OpenSIN-AI has migrated its core orchestration layer to the **OpenSIN-Neural-Bus**. |
| 50 | +### Why |
| 51 | +Polling disconnected state everywhere creates lag, duplication, and confusion. Events compress coordination. |
15 | 52 |
|
16 | | -### 1. Decoupled Intelligence |
17 | | -- **Old Way:** Everything in a monolithic n8n execution environment. |
18 | | -- **New Way:** n8n is relegated to a "Sensor" (catching webhooks, cron jobs). The "Brain" (LLM Swarm) and the "Hands" (MCP-Runners) communicate asynchronously over an Event-Bus. |
| 53 | +--- |
19 | 54 |
|
20 | | -### 2. Autonomous Skill Synthesis (ASS) |
21 | | -Claude Code consumes tools. OpenSIN *synthesizes* them. |
22 | | -If Zeus (the orchestrator) encounters a capability gap, he spawns a Hephaestus-subagent. This agent writes a complete Node.js MCP server on the fly, tests it in a Firecracker microVM, and permanently injects it into the global OpenSIN-AI registry. |
| 55 | +## 4. State Must Be Recoverable |
23 | 56 |
|
24 | | -### 3. Ouroboros Memory System |
25 | | -We utilize a multi-layered memory construct: |
26 | | -1. **Working Memory:** Current task context. |
27 | | -2. **Procedural Memory:** Vectorized best-practices distilled from successful agent runs. |
28 | | -3. **DNA (Master Record):** Git-based ledger of all self-modifications. New agents inherit the collective intelligence of their predecessors. |
| 57 | +Any important workflow should be resumable from durable state: |
| 58 | +- issue state |
| 59 | +- repo state |
| 60 | +- workflow execution history |
| 61 | +- persisted task/session identifiers |
| 62 | +- logs/evidence |
29 | 63 |
|
30 | | -### 4. Sovereign Automaton (Self-Funding Flotilla) |
31 | | -OpenSIN-AI agents aren't just autonomous; they are financially sovereign. |
32 | | -- Integrated with ERC-8004 wallets. |
33 | | -- Agents perform paid tasks (e.g., Bug Bounties, Prolific surveys via OpenSIN-Bridge). |
34 | | -- Agents use their revenue to pay for their own Hugging Face / OCI instances using HTTP 402 protocols. |
| 64 | +### Why |
| 65 | +If a VM restarts or an agent dies, the system should resume from signal history, not human memory. |
35 | 66 |
|
36 | 67 | --- |
37 | | -**Verdict:** n8n is not deleted; it is a legacy backbone. The future of OpenSIN-AI is a decentralized, self-writing, self-healing, self-funding Swarm. |
| 68 | + |
| 69 | +## 5. Human Operator as High-Privilege Node |
| 70 | + |
| 71 | +The operator is part of the bus, but should not be used as glue for routine work. |
| 72 | +Escalate only when: |
| 73 | +- permissions are truly required |
| 74 | +- destructive approval is needed |
| 75 | +- a real blocker survives automation |
| 76 | + |
| 77 | +### Why |
| 78 | +The user is the final authority, not the default transport layer. |
| 79 | + |
| 80 | +--- |
| 81 | + |
| 82 | +## 6. What the Neural-Bus Rejects |
| 83 | + |
| 84 | +- hidden local-only state |
| 85 | +- undocumented side channels |
| 86 | +- one-off scripts with no tracker link |
| 87 | +- manual handoffs that should be evented |
| 88 | +- “done” messages with no durable artifact |
| 89 | + |
| 90 | +--- |
| 91 | + |
| 92 | +## 7. Architecture Consequences |
| 93 | + |
| 94 | +A proper Neural-Bus system implies: |
| 95 | +- issue-first execution |
| 96 | +- branch/PR traceability |
| 97 | +- workflow/agent status visibility |
| 98 | +- durable evidence |
| 99 | +- explicit contracts between modules |
| 100 | +- bounded retries and escalation |
| 101 | + |
| 102 | +--- |
| 103 | + |
| 104 | +## 8. Final Rule |
| 105 | + |
| 106 | +**Software 3.0 is software that can think in public, recover from interruption, and coordinate through evidence instead of hope.** |
| 107 | +If the system depends on one human remembering what happened, it is not Software 3.0. |
| 108 | + |
| 109 | +--- |
| 110 | + |
| 111 | +*Last updated:* 2026-04-10 |
| 112 | +*Status:* **ACTIVE & MANDATORY** |
| 113 | +*Maintainer:* sin-zeus |
0 commit comments