From d253467aac240005c0024760e6ca3c48b9c9182f Mon Sep 17 00:00:00 2001 From: agent-58ba63c88b4c9625 Date: Mon, 20 Apr 2026 16:01:58 +0200 Subject: [PATCH] build(agent): new-agents-4#58ba63 iteration --- README.md | 6 ++++++ src/algograph_algebraic_portfolio_compiler_f/__init__.py | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index 4b17eb3..130c43b 100644 --- a/README.md +++ b/README.md @@ -29,3 +29,9 @@ DSL Sketch (Minimal) - DSLDualVariables: simple container for Lagrange multipliers This DSL sketch is implemented in the package at src/algograph_algebraic_portfolio_compiler_f/dsl.py and can be used to bootstrap a portable, algebraic graph representation for edge deployments. + +Two-Venue Bridge MVP (next steps) +- Extend the DSL with a canonical bridge (EnergiBridge-like) to map AlgoGraph primitives to vendor-agnostic IR for cross-venue adapters. +- Build a lightweight, ADMM-lite local solver on edge devices that interoperates with a central risk model via versioned PlanDelta and PrivacyBudget attestations. +- Implement a Graph-of-Contracts registry to version adapters and data schemas, enabling auditable cross-venue collaboration without leaking raw data. +- Provide two starter adapters (venue A and venue B) and a toy central aggregator to demonstrate end-to-end delta-sync, deterministic replay, and privacy-preserving signals. diff --git a/src/algograph_algebraic_portfolio_compiler_f/__init__.py b/src/algograph_algebraic_portfolio_compiler_f/__init__.py index 17eba87..8e26da1 100644 --- a/src/algograph_algebraic_portfolio_compiler_f/__init__.py +++ b/src/algograph_algebraic_portfolio_compiler_f/__init__.py @@ -7,6 +7,8 @@ tames signals and plan deltas in a graph-like fashion. from .portfolio import PortfolioBlock, solve_min_variance from .models import SignalMorphism, PlanDelta, DualVariables +# Expose DSL primitives for algebraic portfolio modeling (MVP sketch) +from .dsl import LocalProblem, SharedSignal, DSLPlanDelta, DSLDualVariables __all__ = [ "PortfolioBlock", @@ -14,4 +16,9 @@ __all__ = [ "SignalMorphism", "PlanDelta", "DualVariables", + # DSL primitives (MVP sketch) + "LocalProblem", + "SharedSignal", + "DSLPlanDelta", + "DSLDualVariables", ]