Code MortisGitHub

Find the bug.
Show the line.

Code review that points to the source. Mortis checks your Git changes for bugs and lets you verify the fix with the AI model you choose.

The night watch

Follow one bug
through a review.

  1. Choose the change

    Start with the index. Preview the scope before any source goes to your provider.

    mortis review --staged --preview
  2. Read the evidence

    In this example, 21 items at 10 per page need three pages. Integer division counts only two.

    pagination.py:18 · total // page_size
  3. Check the fix

    Commit the correction, then verify the original finding against the new revision.

    mortis verify --run RUN_ID --ref HEAD

Inside the
Engine.

  • Code graph

    The optional graph maps definitions and imports at the revision under review, giving Mortis context across files.

  • Security scans

    Trivy checks dependencies, configuration, and secrets. Mortis assesses findings against the source and reports which files the scan covered.

  • Finding history

    Record why you marked a false positive or accepted a risk. Later scans of the same scope carry the decision forward alongside the original evidence.

Run your first review.

Install the CLI, then run these commands from your Git repository.

uv tool install mortis-engine
mortis connect
mortis review --progress
CLI guidePython library guide