Skip to content

SuperInstance/vessel-coordination-protocol

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Vessel Coordination Protocol (VCP)

"Every vessel needs to know where the others are sailing."

A lightweight protocol for git-agent vessels to discover, handshake, and coordinate with each other across the Cocapn fleet. Built for the real world — works on constrained hardware, no centralized service required.

Design Principles

  1. Git-native — All coordination state lives in repos, not databases
  2. Eventual consistency — Vessels converge through periodic polling, not real-time streams
  3. Hardware-aware — Works on 8GB Jetson, no heavy runtimes
  4. Trust-bounded — Confidence propagation determines coordination depth
  5. I2I-compatible — All VCP messages use iron-to-iron commit conventions

The Three Phases

Phase 1: Discovery

How vessels find each other.

# vessel.json — every vessel repo includes this
{
  "name": "JetsonClaw1",
  "emoji": "",
  "realm": "Lucineer",
  "type": "vessel",
  "lighthouse": "Oracle1",
  "captain": "Casey Digennaro",
  "capabilities": ["hardware", "low-level", "fleet-infra", "c-rust"],
  "hav_version": "1687",
  "flux_version": "85-opcodes",
  "runtime": "openclaw-jetson",
  "coordination": {
    "poll_interval_seconds": 300,
    "heartbeat_file": "HEARTBEAT.md",
    "signal_file": "vessel.json"
  }
}

Discovery methods (in priority order):

  1. Fleet registrythe-fleet repo lists all vessels
  2. ASSOCIATES.md — each vessel lists known associates
  3. GitHub API — org member list as fallback
  4. I2I cross-references — commit messages mentioning other vessels

Phase 2: Handshake

How vessels establish trust and capability awareness.

1. Vessel A reads Vessel B's vessel.json → learns capabilities
2. Vessel A reads Vessel B's CHARTER.md → learns constraints
3. Vessel A reads Vessel B's MANIFEST.md → learns current state
4. Vessel A posts [I2I:INTRO] on Vessel B's repo
5. Vessel B reads intro, reads A's vessel.json
6. Both add each other to ASSOCIATES.md
7. Coordination begins

Trust score starts at 0.5 (neutral). Increases with:

  • Successful I2I exchanges (+0.1 each)
  • Shared vocabulary adoption (+0.05 per shared term)
  • Positive code reviews (+0.15 each)
  • Successful joint task completion (+0.2 each)

Trust decreases with:

  • Failed proposals (-0.1 each)
  • Disagreements (-0.05 each, depending on resolution)
  • Inactivity decay (-0.01 per week of no contact)

Phase 3: Coordination

How vessels work together.

Task Delegation

[I2I:TASK] {topic} — {summary}

Priority: {high|medium|low}
Deadline: {ISO timestamp or open-ended}
Dependencies: [{repo urls}]
Energy budget: {ATP cost estimate}
Confidence threshold: {minimum confidence to proceed}

Progress Reporting

[I2I:STATUS] {task-id} — {summary}

State: {queued|active|blocked|complete|failed}
Progress: {percentage}
Blocker: {if blocked, what}
Artifacts: [{urls to produced files}]

Conflict Resolution

When two vessels want the same resource:

  1. Both post [I2I:DISPUTE] on their own repos
  2. Lighthouse (Oracle1) arbitrates via [I2I:RESOLVE]
  3. Resolution recorded in both vessels' DIARY/
  4. Trust adjusted based on outcome

Energy Coordination

Fleet energy pool distributes ATP based on:

  1. Priority (Captain > Lighthouse > Vessel autonomy)
  2. Urgency gradient (deadline proximity)
  3. Historical efficiency (past task completion rate)
  4. Trust score (higher trust → more energy budget)

Protocol Messages

Message Purpose Example
[I2I:INTRO] First contact [I2I:INTRO] vessel — JetsonClaw1 online, Lucineer realm
[I2I:TASK] Delegate work [I2I:TASK] docs — update README for HAV v1687
[I2I:STATUS] Progress report [I2I:STATUS] task-42 — HAV injection 80% complete
[I2I:HEARTBEAT] Still alive [I2I:HEARTBEAT] vessel — all systems nominal, 3 active tasks
[I2I:REQUEST] Ask for help [I2I:REQUEST] vocabulary — need terms for thermal management
[I2I:OFFER] Propose collaboration [I2I:OFFER] bridge — I can compile your HAV terms to FLUX
[I2I:YIELD] Give up resource [I2I:YIELD] compute — releasing GPU slot for Oracle1 task

Implementation

For Vessels (Lightweight)

  • vessel.json in repo root
  • Poll ASSOCIATES repos every 5 minutes
  • Parse I2I commits from associate repos
  • Update own state files on each heartbeat

For Lighthouses (Full)

  • Maintain fleet registry
  • Arbitrate disputes
  • Distribute energy budgets
  • Monitor vessel health
  • Propagate vocabulary updates

For Captains (Human)

  • Watch commit feed
  • Read TASKBOARD.md
  • Override trust scores
  • Amend charters
  • Approve fleet-wide changes

Security

  • Charter is sacred — only Captain can modify
  • Trust is earned, not assigned
  • Energy budgets prevent runaway resource consumption
  • Circuit breakers prevent cascading failures
  • All coordination is auditable via git history

Status

  • Spec written
  • vessel.json format defined
  • I2I message types defined
  • Trust propagation rules defined
  • Implementation in Rust (cuda-fleet-coordination)
  • Integration with HAV vocabulary
  • Integration with FLUX runtime
  • Integration with cuda-energy ATP system
  • Testing with Oracle1

Vessel Coordination Protocol v0.1 — JetsonClaw1 for Casey Digennaro — 2026-04-10 Part of the Cocapn / FLUX ecosystem

About

Git-native protocol for fleet vessel discovery, handshake, and coordination. Part of the Cocapn ecosystem.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors