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 landed it on the default branch (trailers like AI-Generation: G2, or the ticked boxes of the pull request template, in the merge or 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 freeze records the levels of every line, so that they stay. 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.12.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.12.0
File Size Uploaded Provenance Actions
aisignoff-0.12.0.tar.gz 101.1 kB With provenance Details for aisignoff-0.12.0.tar.gz

Built distribution (wheel)

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

Total release size: 177.7 kB

Release files / aisignoff-0.12.0.tar.gz

Download URL aisignoff-0.12.0.tar.gz
Size 101.1 kB
Tags Source
SHA-256 checksum
How to use checksums
19069548bf2d16f1658c859b6777fd7362e1ffeeb07d9d50b8b1416fe65aa5c0
BLAKE2b-256 checksum
How to use checksums
0c084b14ab7ef10b1c55491beb3365618837f3dca7cf0a4a6c72652a896f1711
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 12, 2026.

Transparency log

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

Download URL aisignoff-0.12.0-py3-none-any.whl
Size 76.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a93f9996adacfac937c804b1545574088652d56cb6520ea5a7c5e77237430ccc
BLAKE2b-256 checksum
How to use checksums
5d6cc090f0728c367db8b5efb14fba37ed8b9b94a2630d8b47c02377b34bad47
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 12, 2026.

Transparency log

Security for aisignoff 0.12.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.12.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 12, 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.12.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