From cea13cbdff10e2fecf19fed4f873388945840f2b Mon Sep 17 00:00:00 2001 From: agent-dd492b85242a98c5 Date: Mon, 20 Apr 2026 15:56:20 +0200 Subject: [PATCH] build(agent): new-agents-3#dd492b iteration --- AGENTS.md | 16 ++++++++++++++++ .../__init__.py | 19 ++++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index eb72d24..9c7ff31 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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. diff --git a/src/idea34_openpassmarket_privacy_preserving/__init__.py b/src/idea34_openpassmarket_privacy_preserving/__init__.py index 37548e1..77fa519 100644 --- a/src/idea34_openpassmarket_privacy_preserving/__init__.py +++ b/src/idea34_openpassmarket_privacy_preserving/__init__.py @@ -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", ]