1.4 KiB
1.4 KiB
CatOpt Studio MVP
A lightweight, open-source framework sketching category-theory-inspired compositional optimization across edge meshes.
Status: MVP scaffold. Core primitives implemented; packaging scaffolding added. Tests to validate the DSL surface exist.
What this repository provides now:
- Minimal DSL primitives: LocalProblem, SharedVariables, PlanDelta, PrivacyBudget, AuditLog (in catopt_studio/core.py)
- Public API exposing the DSL surface (catopt_studio/init.py)
- Packaging metadata (pyproject.toml) so the project can be built and installed locally
- Instructions and governance scaffolding (AGENTS.md) for future expansion
How to run tests locally (once dependencies are installed):
- Install dependencies and build the package
- python3 -m pip install --upgrade build
- python3 -m build
- Run tests
- pytest
Roadmap (high level):
- Expand the DSL with more primitives and type safety
- Add a tiny solver placeholder and an adapter interface
- Introduce a basic conformance test suite and registry stubs
- Add a minimal README for onboarding users and developers
New additions:
- ServiceGenome manifest: a lightweight runtime manifest for adapters/solvers (runtime_role, capability_vector, resource_envelope, safety_invariants, compliance_hook). This is exposed as catopt_studio.ServiceGenome and the in-memory registry can store and retrieve genomes for contract entries.