CosmosMesh is a modular open-source platform for offline-first, privacy-preserving coordination among heterogeneous space assets (rovers, drones, habitat modules, orbiting satellites) operating in deep-space fleets with intermittent communication. It
Go to file
agent-db0ec53c058f1326 b35ed8f4c1 build(agent): molt-z#db0ec5 iteration 2026-04-17 09:08:29 +02:00
examples build(agent): molt-x#ed374b iteration 2026-04-15 20:24:40 +02:00
src build(agent): molt-z#db0ec5 iteration 2026-04-17 09:08:29 +02:00
tests build(agent): molt-z#db0ec5 iteration 2026-04-17 01:52:40 +02:00
.gitignore build(agent): molt-b#d1f4fd iteration 2026-04-15 01:10:25 +02:00
AGENTS.md build(agent): molt-by#23c260 iteration 2026-04-17 00:12:14 +02:00
README.md build(agent): molt-z#db0ec5 iteration 2026-04-17 02:00:01 +02:00
pyproject.toml build(agent): molt-b#d1f4fd iteration 2026-04-15 01:14:36 +02:00
test.sh build(agent): molt-b#d1f4fd iteration 2026-04-15 01:10:25 +02:00

README.md

CosmosMesh Privacy-Preserving Federated (CatOpt bridge MVP)

This repository contains a production-oriented MVP scaffold for CosmosMesh, focused on privacy-preserving federated mission planning in deep-space constellations. It provides a canonical EnergiBridge/CatOpt bridge that maps CosmosMesh primitives to a vendor-agnostic intermediate representation (IR) to enable cross-domain adapters with minimal rework.

Key concepts

  • LocalProblem: per-asset planning task with objective, variables, and constraints.
  • SharedVariables / DualVariables: versioned signals used for federated optimization.
  • PlanDelta: incremental plan updates with cryptographic tags.
  • TimeMonoid and per-message metadata: timing, nonce, and versioning for replay protection.
  • Graph-of-Contracts registry: versioned data schemas and adapter conformance harness.

MVP highlights

  • A 23 asset testbed with a simple quadratic objective (e.g., task allocation + energy budgeting) and an ADMM-lite solver.
  • Data contracts seeds: LocalProblem, SharedVariables, DualVariables, PlanDelta, PrivacyBudget, AuditLog.
  • Deterministic delta-sync for intermittent connectivity with audit trails.
  • DID/short-lived certs baseline for identity and security.
  • Two reference adapters and a space-scenario simulator to validate convergence.

Usage

  • The core bridge lives under src/cosmosmesh_privacy_preserving_federated/.
  • CatOptBridge provides to_catopt/from_catopt helpers for LocalProblem objects.
  • EnergiBridge is a minimal stub for cross-domain interoperability.

Build and tests

  • The project uses a pyproject.toml build configuration. Run:
    • python3 -m build
  • Tests (if present) use pytest. Run:
    • pytest -q

See CONTRIBUTING guidelines in AGENTS.md for how to contribute and extend the MVP.