|
|
||
|---|---|---|
| energi_bridge | ||
| tests | ||
| .gitignore | ||
| AGENTS.md | ||
| README.md | ||
| pyproject.toml | ||
| test.sh | ||
README.md
GridGuard-Inspired EnergiBridge Skeleton
This repository implements a compact, verifiable telemetry orchestration layer for multi-asset power facilities.
What it provides
- Canonical contract schemas for
LocalProblem,SharedVariables,PlanDelta,DualVariables,AuditLog,PrivacyBudget, andRegistryMetadata - A versioned
ContractRegistryfor Graph-of-Contracts style adapter/schema tracking - A
VerifiableTelemOrchestratorthat collects adapter telemetry, signs plan deltas, and emits audit and registry metadata - Two deterministic starter adapters:
SolarMeterAdapterDERAggregatorAdapter
- Pytest coverage for schema validation, registry versioning, adapter replay behavior, and orchestration output
Layout
energi_bridge/: core packageenergi_bridge/adapters/: starter adapterstests/: pytest suitetest.sh: installs the package, runs tests, and builds the distribution
Run
bash test.sh
python -m build
Notes
- The code is deterministic by default to support replayable tests and audit trails.
- The registry records contract version, adapter identity, schema name, and replay hints for each adapter contract.