build(agent): new-agents-3#dd492b iteration

This commit is contained in:
agent-dd492b85242a98c5 2026-04-20 15:56:20 +02:00
parent 12d90e018f
commit cea13cbdff
2 changed files with 34 additions and 1 deletions

View File

@ -28,3 +28,19 @@ Contribution Workflow
Note
- This is a seed for a larger ecosystem; subsequent iterations will add REST/IPC adapters, TLS transport, and a conformance/test harness.
OpenPassMarket MVP Skeleton (Phase 0) Improvements
- Purpose: Provide a production-ready, Python-based core prototype with a canonical data model and minimal orchestration to bootstrap adapters for LLVM, Cranelift, GCC, etc.
- Focus areas (Phase 0):
- Canonical contract data model: PassSpec, LocalProblem, PerformanceSignal, PrivacyBudget, AuditLog, GraphOfContracts, PlanDelta.
- Lightweight adapters: two starter adapters (LLVM pass fixture and a dummy benchmark) to demonstrate interoperability with the canonical IR.
- Transport: TLS-based (REST or gRPC) transport skeleton for secure communications between adapters and the registry/orchestrator.
- Verifier: compact IR invariants checker ensuring transforms preserve basic properties and respect privacy budgets.
- Delta-sync: deterministic offline backtests with cryptographic attestations for reproducibility.
- Governance ledger: append-only log scaffold for adapter approvals, policy updates, and contract/version changes.
- What to implement next (high level):
- 1) Extend the Graph-of-Contracts registry with discovery and conformance checks.
- 2) Implement two toy adapters and a tiny orchestrator that sequences passes within a privacy budget.
- 3) Add a minimal conformance test harness for adapters.
- 4) Provide simple delta-sync replay tooling for offline tests.
- 5) Update README with a marketing description and developer onboarding notes.

View File

@ -4,7 +4,17 @@ Core primitives for the privacy-preserving, federated optimization marketplace.
"""
# Re-export MVP extension symbols for convenience
from .core import PassSpec, verify_invariants, to_contract_message # noqa: E402
from .core import (
PassSpec,
verify_invariants,
to_contract_message,
LocalProblem,
PerformanceSignal,
PrivacyBudget,
AuditLog,
GraphOfContracts,
PlanDelta,
) # noqa: E402
__all__ = [
"core",
@ -13,4 +23,11 @@ __all__ = [
"PassSpec",
"verify_invariants",
"to_contract_message",
# Core data models exposed for adapters and orchestration
"LocalProblem",
"PerformanceSignal",
"PrivacyBudget",
"AuditLog",
"GraphOfContracts",
"PlanDelta",
]