Contributing¶
Branching Strategy¶
main ← production-ready, protected
develop ← integration branch
feature/* ← new features (branch from develop)
fix/* ← bug fixes
docs/* ← documentation-only changes
Development Workflow¶
-
Create a branch from
develop: -
Make your changes following the code style guidelines below.
-
Write or update tests.
-
Open a pull request against
developwith a clear description.
Code Style¶
- Formatter: Ruff (
ruff format) - Linter: Ruff (
ruff check) - Type checking: mypy (strict mode)
- Docstrings: Google style
- Formatter: Prettier
- Linter: ESLint (Next.js config)
- Strict TypeScript: enabled
Commit Message Convention¶
Follow Conventional Commits:
feat: add hybrid search endpoint
fix: correct balance sheet null handling
docs: update API authentication guide
chore: upgrade fastapi to 0.115
Pull Request Checklist¶
- Tests pass locally (
pytest/npm test) - Linting passes (
ruff check/eslint) - Relevant documentation updated in
docs/ - PR description explains the motivation
- No secrets or credentials committed
Reporting Issues¶
Documentation Contributions¶
All documentation lives in docs/. To contribute:
Submit docs-only changes as a docs/* branch PR.