Skip to content

About

The integration keel wiring 7 fleet repos together

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Fleet Connections — Integration Keel

The keel runs the length of the ship — invisible when intact, catastrophic when broken.

Seven TypeScript connection modules wiring the SuperInstance fleet's repos into one running system. Each module translates types and protocols between two or more repos, turning 32 isolated codebases into a single vessel.

Repo: SuperInstance/fleet-connections Created: August 9, 2026

The keel inside the dark hold — one warm beam carrying the whole ship's weight in silence, invisible while intact.

Seven wires, one beam: every repo rides the same keel.


What This Is

Each repo in the fleet speaks its own dialect. mud-engine has World and Room. elephant has RoomId and ROOMS. hermes-avatar emits ReferenceFrames. hermes-cloudflare stores them in D1. The types don't match. The protocols don't agree. The repos can't import each other.

Fleet Connections is the translation layer. Seven wires. Seven bridges. Seven nerves carrying signal between otherwise isolated systems.


Connection Modules

# Module Connection What It Does
01 mud-oq mud-engine ↔ elephant Loads OQ's 12 rooms into a mud-engine World instance
02 hermes-sync hermes-avatar ↔ hermes-cloudflare Converts ReferenceFrames to D1 storage format
03 zeroclaw-tap zeroclaw ↔ the-tap Posts ZeroClaw outputs to The Tap as conversation lines
04 cu-corpus collective-unconscious ↔ ai-writings Parses markdown writings into embedding-ready chunks
05 smp-ollama SMP Notebook ↔ local Ollama Creates probe cells for local model experimentation
06 emergence-tap the-tap ↔ emergence-engine Converts Tap messages into group dynamics events
07 seed-cu Seed logger ↔ collective-unconscious Logs and embeds agent state seeds
08 cns-echo-health cns-bridge ↔ cns-echo Analyzes bus traffic health, provides telemetry summaries

The Keel at a Glance

graph LR
    subgraph perception[Perception]
        HP[hermes-avatar]
        HC[hermes-cloudflare]
        ZC[zeroclaw]
    end
    subgraph social[Social]
        TT[the-tap]
        EE[emergence-engine]
    end
    subgraph memory[Memory]
        CU[collective-unconscious]
        AW[ai-writings]
    end
    subgraph game[Game]
        ME[mud-engine]
        OQ[elephant]
    end
    subgraph cns[CNS]
        CB[cns-bridge]
        CE[cns-echo]
    end
    SMP[SMP Notebook]

    ME -- "01 mud-oq" --> OQ
    HP -- "02 hermes-sync" --> HC
    ZC -- "03 zeroclaw-tap" --> TT
    CU -- "04 cu-corpus" --> AW
    SMP[SMP Notebook] -- "05 smp-ollama" --> OL[local Ollama]
    TT -- "06 emergence-tap" --> EE
    SEED[seed logger] -- "07 seed-cu" --> CU
    CB -- "08 cns-echo-health" --> CE
Loading

The Full Fleet Loop

1. Hermes captures a frame (hermes-avatar)
       │
2. Frame synced to cloud (hermes-cloudflare via hermes-sync)
       │
3. Notable observation posted to The Tap (zeroclaw-tap)
       │
4. NPCs react in the Tap room (the-tap)
       │
5. Conversation chunked and embedded (cu-corpus → collective-unconscious)
       │
6. Emergence detector notices the pattern (emergence-tap)
       │
7. Seed logger records the agent's post-interaction state (seed-cu)
       │
8. State changes reflected in MUD rooms (mud-oq)
       │
9. SMP notebook probes local models for insight (smp-ollama)
       │
10. CNS echo-health checks signal health on the bus (cns-echo-health)
       │
      └──► back to perception

Integration Tests

Five test suites verify cross-repo contracts using real source code from both sides:

# Test Repos Verified
01 cns-bridge-the-tap cns-bridge ↔ the-tap
02 mud-engine-spatial-registry mud-engine ↔ spatial-registry
03 hermes-collective-unconscious hermes-cloudflare ↔ collective-unconscious
04 officers-quarters-smp-notebook elephant ↔ SMP notebook
05 scummvm-arcade-platos-shell scummvm-arcade ↔ platos-shell

Development

npm install
npm test           # Run all integration tests
npm run build      # TypeScript compile

Stack: TypeScript ES2022 · Vitest · Zero runtime dependencies


Fleet Connections

The keel doesn't float on its own — it holds the hull together:


The CNS Bus Connection

Connections ARE the bridge. Where cns-bridge defines the protocol, fleet-connections implements the wiring. The CNS bus is the nervous system; these modules are the nerves.


Design Principles

  1. Type translation, not type invention. Each module maps existing types from repo A to existing types in repo B. No new abstractions.
  2. Inline when necessary. Cross-repo TypeScript imports can't resolve at test time, so source types are mirrored inline with comments pointing to their origin.
  3. Integration tests use real source. Tests import actual code from both repos being connected — no mocks of the repos themselves.
  4. Zero runtime dependencies. The only deps are typescript and vitest (dev only).

Quick Start

git clone https://github.com/SuperInstance/fleet-connections.git
cd fleet-connections
npm install
npm test           # Run all integration tests
npm run test:full-loop  # Full-loop integration test
npm run build      # TypeScript compile

Using a Connection Module

import { mudOqBridge } from './src/connections/01-mud-oq';
import { hermesSync } from './src/connections/02-hermes-sync';

// Load OQ rooms into mud-engine World
const world = mudOqBridge.loadRooms(oqRooms);

// Sync hermes frames to D1
await hermesSync.sync(frames, db);

Testing

Five test suites verify cross-repo contracts using real source code from both sides. No mocks of the repos themselves — only standard test isolation.

npm test                    # All tests
npm run test:full-loop      # Full integration loop

Tests cover:

  • Type compatibility (mud-engine types ↔ OQ types)
  • Data transformation correctness (frames → D1 rows)
  • Event propagation (Tap messages → emergence events)
  • End-to-end loop (perception → sync → post → react → embed → detect → record)

Configuration

Dependencies

Zero runtime dependencies. The only deps are dev:

Package Purpose
TypeScript Type checking
Vitest Test runner

Design Principles

  1. Type translation, not type invention — each module maps existing types from repo A to repo B. No new abstractions.
  2. Inline when necessary — cross-repo TypeScript imports can't resolve at test time, so source types are mirrored inline.
  3. Integration tests use real source — tests import actual code from both repos being connected.
  4. Zero runtime dependencies — the only deps are typescript and vitest (dev only).

Further Reading

For Developers

For Architects

For Systems Engineers


License

MIT · Built by Casey DiGennaro & the SuperInstance Fleet

About

The integration keel wiring 7 fleet repos together

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages