Skip to content

Repository files navigation

MAFIA

CI

MAFIA is a source-grounded engineering workflow for specification-driven delivery and ad-hoc pull request review. It can turn a GitHub issue or written requirement into an accepted specification, adversarially reviewed implementation plan, and merged pull requests, or independently review an existing pull request with a configurable model pair before adjudicating one publishable result.

Quick start

Prerequisites are Python 3.11-3.13 with uv, Node.js 22+, npm, git, gh, GitHub Copilot CLI, and rootless bwrap. Docker or Podman is required to use repository Dev Containers.

cp .env.example .env
uv sync
npm install
npm install --prefix apps/web
npm install --prefix site
uv run alembic upgrade head
uv run uvicorn mafia.main:app --reload
npm run dev

Open http://127.0.0.1:3000, create a run, and start the workflow.

Documentation

License

MAFIA is available under the MIT License.

About

Source-grounded specification-to-PR and pull-request review workflows

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages