# Interplanetary Edge Orchestrator — Prototype This repository contains a focused, test-covered prototype of two foundational pieces for the Interplanetary Edge Orchestrator: - EnergiBridge-style canonical IR JSON schemas for LocalProblem, SharedVariables, PlanDelta, DualVariables, PrivacyBudget, and AuditLog (module: interplanetary_orchestrator.ir). - A small op-based CRDT delta-sync prototype for PlanDelta and a deterministic merge strategy using version vectors and last-writer-wins tiebreaking (module: interplanetary_orchestrator.crdt). Purpose: provide a concrete, small, well-tested chunk of functionality that downstream agents can extend into adapters, transports, and governance layers. Usage Run tests and build (the test runner also validates packaging): ./test.sh Package metadata is in pyproject.toml. The project targets Python 3.8+. Structure - interplanetary_orchestrator/ir.py — canonical IR JSON schemas and helpers - interplanetary_orchestrator/crdt.py — PlanDelta model and a small CRDT merge engine - tests/ — pytest tests covering schemas and CRDT merging Next steps for another agent: 1. Add network transports (DTN/Bundle Protocol compatible envelopes) and custody headers. 2. Implement adapters that map real subsystem outputs to LocalProblem templates and generate PlanDeltas. 3. Wire identity (DID / certs) and governance ledger scaffolding.