Skip to main content

aisignoff

DOI PyPI Docs

AI generation Human review AI review

Declare and check how each file in a repository was created and reviewed: how much an AI generated (G0–G3), how thoroughly a human reviewed it (H0–H3), and how thoroughly an AI reviewed it (A0–A3).

It works like REUSE does for licences: a path-based SIGNOFF.toml, optional tags in file headers, and a lint command for CI. The name is meant both ways: the AI signs off, and so does the human ("ai", said in German, sounds like "I"). It's a declaration, not a cryptographic signature.

Install

pipx install aisignoff        # or: uv tool install aisignoff, or: pip install aisignoff

Requires Python 3.11 or newer; no other dependencies.

Quick start

# a default for everything: written by a human, reviewed line by line, no AI review
aisignoff init -g G0 -H H2 -a A0 --reviewed-by "Jane Doe"

# what is different, by file, folder or glob
aisignoff annotate results/ -g G2 -H H1 -a A1 \
    --assisted-by "Claude Opus 5.5 (Anthropic)" \
    --ai-reviewed-by "Claude Opus 5.5 (Anthropic), same session" --reviewed-by "Jane Doe"

# every file declared correctly?
aisignoff lint

This writes a SIGNOFF.toml like this (init also adds explanatory comments):

version = 3

[[annotations]]
path = "**"
AI-Generation = "G0"
Human-Review = "H2"
AI-Review = "A0"
Reviewed-by = ["Jane Doe"]

[[annotations]]
path = "results/**"
AI-Generation = "G2"
Human-Review = "H1"
AI-Review = "A1"
Assisted-by = ["Claude Opus 5.5 (Anthropic)"]
Reviewed-by = ["Jane Doe"]
AI-Reviewed-by = ["Claude Opus 5.5 (Anthropic), same session"]

Line by line

With [history] in SIGNOFF.toml, aisignoff declares each line by the commit that brought it in (trailers like AI-Generation: G2, or the ticked boxes of the pull request template, in the squash commit of a pull request), keeps the file-level declarations as the fallback, and aisignoff attest re-declares a whole file after a review. aisignoff diff origin/main shows the levels of just the lines a change touches. See Line by line.

Folder report

The badges summarise the whole repository; aisignoff report --tree shows the level mix of every folder, and aisignoff report --html report.html writes an interactive page with a sunburst and a folder table, like a coverage report for AI use. See Folder report and aisignoff's own.

Example workflows

Copy one of these into .github/workflows/ to check the declarations in CI (details in Example workflows):

File What it does
signoff-lint.yml fails when a file has no valid declaration, with the folder tree in the job summary and the folder report as an artifact
signoff-badges.yml the same, plus README badges on a badges branch
signoff-pr-diff.yml shows reviewers the declarations of the lines a pull request changes
signoff-pr-files.yml shows reviewers the declarations of the files a pull request changes
signoff-release.yml attaches the declarations of all files and the folder report to each GitHub release
signoff-pages.yml publishes the folder report to GitHub Pages
pre-commit-config.yaml runs aisignoff lint before each commit, with pre-commit

Repositories of the Industrial Mathematics Group use the organisation's ready-made workflows instead of the first two (Actions → New workflow).

Documentation

industrial-mathematics-group.github.io/aisignoff, with:

License

MIT

Metadata

Release files for aisignoff 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aisignoff 0.9.0
File Size Uploaded Provenance Actions
aisignoff-0.9.0.tar.gz 80.9 kB With provenance Details for aisignoff-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aisignoff 0.9.0
File Interpreter ABI Platform Actions
aisignoff-0.9.0-py3-none-any.whl Python 3 none any Details for aisignoff-0.9.0-py3-none-any.whl

Total release size: 145.9 kB

Release files / aisignoff-0.9.0.tar.gz

Download URL aisignoff-0.9.0.tar.gz
Size 80.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ff3cc2905ebe2f997461cda898c53b70fbdc66b8ecaa4fa4aac508f0f2f275d6
BLAKE2b-256 checksum
How to use checksums
679ab37a79df4fa4c75898880a4d73abaaebf88dcaaaf417823b525c58a11584
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / aisignoff-0.9.0-py3-none-any.whl

Download URL aisignoff-0.9.0-py3-none-any.whl
Size 65.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0592045e07e68747052783fdbf570d589efeec77a323407de40567007eb544a
BLAKE2b-256 checksum
How to use checksums
90ef27532338cf68dce0459db11bdd6a99d1e9829ef1bccf6d0556c6f9408709
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for aisignoff 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aisignoff-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page