Metadata-Version: 2.4
Name: causari
Version: 0.3.0
Summary: AI-written code has no author. It has causes. Causari measures how many lines from AI-tagged commits are still alive in any git repo and records the prompt, model and files behind every agent edit.
Author-email: Crovia Trust <info@croviatrust.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://causari.dev
Project-URL: Method, https://causari.dev/method
Project-URL: Source, https://github.com/croviatrust/causari
Project-URL: Issues, https://github.com/croviatrust/causari/issues
Project-URL: Changelog, https://github.com/croviatrust/causari/blob/main/CHANGELOG.md
Keywords: ai,provenance,git,agents,mcp,audit,survival
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Version Control :: Git
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# ∵ causari

**AI-written code has no author. It has causes. Causari records them.**

`re audit` reads plain git history, finds the commits that carry
machine-readable AI authorship (`Co-Authored-By` trailers, bot authors, agent
markers) and asks `git blame` how many of their lines are still at HEAD. A
count, not a grade. The same binary records the prompt, model and files behind
every agent edit into a local, append-only ledger.

```sh
pipx run causari audit              # the repo you are in
pipx run causari audit vercel/next.js
pip install causari && re audit     # `re` is the short alias every example uses
```

This package is a launcher, not the program. It holds no binary and does
nothing at `pip install`. On first run it downloads the release archive for
your platform from
`https://github.com/croviatrust/causari/releases/download/v<version>/`,
checks its SHA-256 against the release's `SHA256SUMS.txt`, unpacks `causari`
and `re` into `~/.cache/causari/<version>/<target>/` (`$XDG_CACHE_HOME` or
`%LOCALAPPDATA%` when set) and replaces itself with it (`execv`; a child
process on Windows). Exit code passes through. Standard library only; no
telemetry.

Prebuilt binaries exist for Linux (x86_64, aarch64), macOS (x86_64, Apple
silicon) and Windows (x86_64). Elsewhere, `cargo install causari --locked`.

| Variable | Effect |
|---|---|
| `CAUSARI_VERSION` | run another release than the package version |
| `CAUSARI_BINARY` | path to a binary you already have; nothing is downloaded |
| `CAUSARI_DOWNLOAD_BASE` | mirror of the release directory (same layout, same `SHA256SUMS.txt`) |

Site and method: [causari.dev](https://causari.dev) ·
[causari.dev/method](https://causari.dev/method). Source, other installers and
the full command reference: [github.com/croviatrust/causari](https://github.com/croviatrust/causari).
Apache-2.0.
