Skip to main content

Contributing

DaoFlow is open source and welcomes contributions. This section covers how to set up your development environment, understand the architecture, write tests, and follow code conventions.

Getting Started

  1. Fork the repository on GitHub
  2. Clone your fork
  3. Follow the Development Setup guide
  4. Create a feature branch
  5. Make your changes with tests
  6. Submit a pull request

Guides

GuideDescription
Development SetupLocal environment setup
Architecture GuideHow the codebase is organized
TestingWriting and running tests
Code StyleConventions and formatting

Contribution Principles

From the AGENTS.md:

  • Prefer smaller trusted primitives over large magical abstractions
  • Prefer durable records over ephemeral process state
  • Prefer explicit permissions over convenience shortcuts
  • Prefer structured events over parsing raw log strings later
  • Prefer one excellent deployment path over many weak ones

Decision Rule

If a feature increases system complexity, it must clearly improve at least one of:

  • Deployment reliability
  • Operator clarity
  • Backup safety
  • Agent safety
  • Auditability

If it does not, defer it.