1.5 KiB
1.5 KiB
idea176_goc_synth_automated
Automated DSL-to-Adapter synthesis for Graph-of-Contracts cross-domain optimization.
What it does
- Validates a compact DSL for
LocalProblem,SharedVariables,PlanDelta,DualVariables,PrivacyBudget,AuditLog,PolicyBlock, andGraphOfContractsSeed. - Generates Energy and Robotics adapter skeletons with TLS setup, manifest export, deterministic delta application, OpenAPI specs, and protobuf service stubs.
- Emits a deterministic delta-sync simulator and a conformance harness that checks adapter shape and replay stability.
- Persists a registry entry with DID binding, governance anchor metadata, and artifact paths.
Layout
idea176_goc_synth_automated/core Python packageadapters/generated adapter code and specsregistry/persisted GoC registry entrytests/package tests
Usage
- Install and test:
bash test.sh - Generate artifacts from Python:
from idea176_goc_synth_automated import GraphOfContractsSeed, LocalProblem, generate_mvp_adapters
seed = GraphOfContractsSeed(
name="demo",
seeds={"LocalProblem": LocalProblem(domain="Energy", objective="minimize_cost")},
)
generate_mvp_adapters(seed)
Packaging
- Python package name:
idea176_goc_synth_automated - Build metadata lives in
pyproject.toml README.mdis wired into the package metadata for publishing
Notes
- The current codebase focuses on a reproducible foundation for synthesis, registry persistence, and deterministic replay.
- See
AGENTS.mdfor architectural constraints and testing expectations.