|
|
||
|---|---|---|
| cache | ||
| interplanetary_edge_orchestrator_privacy | ||
| interplanetary_orchestrator | ||
| tests | ||
| .gitignore | ||
| 0_delta.pkl | ||
| 1_delta.pkl | ||
| 2_delta.pkl | ||
| 99_delta.pkl | ||
| AGENTS.md | ||
| README.md | ||
| pyproject.toml | ||
| test.sh | ||
README.md
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:
- Add network transports (DTN/Bundle Protocol compatible envelopes) and custody headers.
- Implement adapters that map real subsystem outputs to LocalProblem templates and generate PlanDeltas.
- Wire identity (DID / certs) and governance ledger scaffolding.