965 B
965 B
SolFuse Repository Rules
Architecture
- Language: Python 3.11+
- Layout:
src/solfusepackage withpytesttests intests/ - Core modules:
models.py: canonical protocol primitivesidentity.py: DID-style identities and signed envelopesregistry.py: graph-of-contracts registry backed by SQLitesolver.py: ADMM-lite federated plannergovernance.py: audit ledger and privacy-budget trackingdelta_sync.py: islanding-friendly incremental plan journaltransport.py: canonical serialization and TLS context helpers
Testing
- Install editable dependencies:
python3 -m pip install -e .[dev] - Run tests:
pytest - Build package:
python3 -m build - Full validation:
bash test.sh
Contribution Rules
- Keep changes minimal and production-oriented.
- Prefer validated models and deterministic behavior.
- Do not add new dependencies unless they are used directly.
- Keep public APIs documented in
README.md.