901 B
901 B
AGENTS.md
Architecture
- Python package:
catopt_swarm - Core modules:
models.py: validated IR and audit objectsregistry.py: graph-of-contracts registry and adapter conformance checksadapters.py: drone and rover functor-style adapters into the IRsolver.py: deterministic ADMM-lite distributed solver with delta syncverification.py: invariant and safety verification helperscli.py: demo entrypoint
Tech Stack
- Python 3.10+
- Pydantic for runtime validation
- NetworkX for the contract graph
- Pytest for tests
Testing
bash test.shpython3 -m pytestpython3 -m build
Contribution Rules
- Keep changes minimal and deterministic.
- Prefer validated models over ad-hoc dicts.
- Preserve the top-level compatibility shims unless there is a strong reason to remove them.
- Update
README.mdand this file if the architecture changes.