Metadata-Version: 2.4
Name: lineward
Version: 0.1.1
Summary: Find the AI-assisted lines in a pull request, enforce path-scoped human review, and emit in-toto evidence (runs the signed lineward binary)
Author: Breaktrough
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/Breaktroughf1/lineward
Project-URL: Source, https://github.com/Breaktroughf1/lineward
Project-URL: Issues, https://github.com/Breaktroughf1/lineward/issues
Keywords: ai,ai-code,code-review,provenance,in-toto,git,github-actions,governance
Classifier: Environment :: Console
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# lineward (PyPI)

Runs [lineward](https://github.com/Breaktroughf1/lineward), which attributes the AI-assisted lines in a pull request and enforces path-scoped human review on them, then emits an in-toto attestation.

```sh
uvx lineward init
uvx lineward check --base origin/main
uvx lineward stats --since 2026-01-01
```

or `pipx install lineward` / `pip install lineward`.

This package contains no binary and runs nothing at install time. On first run it downloads the lineward release archive for your platform from GitHub, checks it against the SHA-256 baked into this package (copied from the release's Sigstore-verified `checksums.txt` when the package was built in CI, and published to PyPI with trusted publishing and attestations), extracts only the `lineward` binary into your user cache, and re-checks the binary's hash on every run. A mismatch stops it before anything runs.

The package version matches the lineward version it installs. Exit codes are lineward's: 0 ok, 1 policy failure, 2 usage error, 3 runtime error (including a failed download or checksum mismatch). Other ways to install: Homebrew (`brew install breaktroughf1/tap/lineward`), `go install`, the container image and signed release downloads; see the [README](https://github.com/Breaktroughf1/lineward#install).
