git clone https://github.com/thunderstornX/lattice.git
cd lattice
pip install -e ".[dev]"
pytestAll 110 tests should pass before you start.
- Type hints on every function
- Docstrings on every public function and class
- Functions under 20 lines (split if longer)
- Specific exceptions (never bare
except:) - No magic numbers
- Python 3.10+ required
pytest tests/ -vPYTHONPATH=. python3 benchmarks/run_benchmarks.pyAdapter plugins that hook into LangGraph, CrewAI, or AutoGen callback/event systems and automatically generate LATTICE claims. The ideal adapter requires zero changes to existing agent code.
The current effective confidence uses min-propagation (worst-case correct under correlated sources). Pluggable modules for alternative propagation strategies (Bayesian, weighted combination) behind a clean interface would be valuable for different threat models.
Revocation waterfall and cycle detection show super-linear scaling past 1,000 claims. Pre-computed dependency indices or incremental transitive closure maintenance would help. See the paper (Section 6.3) for details.
- Bug reports with reproducible examples
- Documentation improvements
- Performance work (especially for large DAGs)
- Test coverage improvements
- Real-world case studies using LATTICE
- Fork the repo
- Create a branch from
master - Write tests for new functionality
- Make sure all tests pass
- Open a PR with a clear description of what changed and why
By contributing, you agree that your contributions will be licensed under the MIT License.