Thank you for your interest in contributing to Delibera! This document explains how to set up your environment, our coding standards, and the pull-request workflow.
Be respectful, constructive, and inclusive. We deliberate — we don't dominate. Treat every contributor and idea with the same fairness Delibera brings to AI debates.
Prerequisites
- .NET 8 SDK
- (Optional) Docker, for running Qdrant or PostgreSQL/pgvector locally
# Fork & clone
git clone https://github.com/<your-username>/Delibera.git
cd Delibera
# Restore & build
dotnet restore
dotnet build --configuration Release
# Run the console demo
cd Delibera.ConsoleApp
dotnet run- Target framework: .NET 8.0, C# 12 (
LangVersion 12.0). - Modern C#: file-scoped namespaces,
recordtypes, init-only properties, and global usings. - Nullable reference types are enabled — keep the build warning-free.
- XML documentation is required on public APIs (
GenerateDocumentationFileis on). - Naming:
PascalCasefor types/methods,camelCasefor locals,_camelCasefor private fields. - Formatting: four-space indentation; keep lines reasonably short and readable.
- The solution must build with 0 errors and 0 warnings before a PR is merged.
# Verify a clean build
dotnet clean && dotnet restore && dotnet build --configuration Release- Create a feature branch:
git checkout -b feature/short-description. - Write clear, imperative commit messages (e.g.,
Add consensus debate timeout option). - Reference related issues in the body (e.g.,
Closes #42).
- Ensure your branch is up to date with
main. - Confirm the solution builds clean (0 errors, 0 warnings) and examples run.
- Update documentation (
README.md,QuickStart.md) when behaviour changes. - Open a PR using the pull-request template and fill in all sections.
- A maintainer will review; address feedback by pushing additional commits.
Please use the issue templates under .github/ISSUE_TEMPLATE/:
- Bug report — for unexpected behaviour, with reproduction steps.
- Feature request — for new ideas and enhancements.
By contributing, you agree that your contributions will be licensed under the MIT License.
⚖️ Delibera — Thoughtful AI Decisions
