Skip to content
Alfred is archived and no longer maintained. Read why and see alternatives.

Contributing

Full guide at CONTRIBUTING.md. The shape:

PRs that fit get reviewed. PRs that broaden scope get politely declined.

Terminal window
git clone https://github.com/luminik-io/alfred.git
cd alfred
uv run --extra dev pytest tests/ -q # full suite, several minutes
uv run --with 'ruff==0.15.22' ruff check .
uv run --with 'ruff==0.15.22' ruff format --check .
uv run --with 'mypy==2.3.0' mypy lib/
bash bin/scrub-check.sh

The ruff and mypy pins match CI (.github/workflows/ci.yml), which runs pytest on Python 3.11, 3.12, and 3.13.

Pre-commit (recommended):

Terminal window
brew install pre-commit
pre-commit install
  • Bug fixes: always welcome. File the bug first if you didn’t.
  • Test coverage: always welcome, especially for lib/agent_runner/.
  • Doc fixes / clarifications: always welcome.
  • New examples under examples/bin/: welcome if they show a useful pattern not already covered.
  • In-flight roadmap items: welcome if you’ve sketched the design in the related issue first.
  • New agent_runner primitives: welcome if there’s a clear pattern in real fleets that justifies framework-level support.
  • Multi-tenant patterns. No.
  • Hosted web UI or dashboard. No. Alfred ships a local desktop client (clients/desktop) and the localhost alfred serve API; both stay local to your machine.
  • Long-running orchestration loops. No.
  • Hosted-service hooks. No.
  • Renaming / moving things for aesthetic reasons without a migration story.
  • Adding Python deps to pyproject.toml without justifying why the stdlib doesn’t do it.
  • Conventional Commits: feat:, fix:, docs:, chore:, refactor:, test:.
  • One topic per PR. Stack PRs for related changes.
  • Update CHANGELOG.md under Unreleased for any user-visible change.
  • Update docs/ and site/ for any user-visible change.
  • The PR template in .github/PULL_REQUEST_TEMPLATE.md has the verification checklist.

For a production codename that is specific to your own fleet, keep it in your fleet repo. Alfred is the framework; codenames are fleet-specific unless they demonstrate a reusable pattern.

For a new example codename in examples/bin/, open a feature request issue with the codename + role + 100-line sketch. We’ll respond with the design call before you write the PR.

PRs go through:

  1. CI on every push: pytest, ruff check, ruff format check, mypy, shellcheck, and scrub-check, plus separate CodeQL and gitleaks workflows.
  2. Codex for code-level review.
  3. Maintainer review for scope alignment and design.

By submitting a PR you agree your contribution is licensed under the project’s MIT license. No CLA, no DCO sign-off required (we may add one if the project ever grows beyond solo-maintainer).