Skip to content

Changelog

What changed in each release. Changes that can break a workflow are marked Breaking; see Compatibility for what counts.

0.20.1

The fix of the major finding of the independent review of 0.20.0 (reviews/2026-11-22-v0.20.0-codex.md): binary content near the probe boundaries.

  • Fixed: a file with a NUL byte between git's 8,000-byte probe and aisignoff's 16 KiB one is binary to aisignoff, so one unit, but git shows a text patch of it. When a change replaced such a file with text, the lines git saw as unchanged kept the levels of the commit that added the binary file, and diff counted only the lines git changed. Which side of a change is binary now follows aisignoff's rule on both sides, whatever git's patch shows (also for a binary file that .gitattributes gives a text diff); a binary side is one unit, and every line of a text side is removed or added.
  • Fixed: the old side of a change was checked for binary content in its first 16,384 characters, not bytes. A text file with a NUL byte past the first 16 KiB, after multi-byte characters, counted as binary there, so a one-line edit of a -diff file made all its lines the change's. The check now reads bytes, as for the new side.

0.20.0

Syntax colours in the folder report's line view.

  • Added: syntax colours in the line view of report --html --with-source, like GitHub's in light and dark mode. The report inlines a bundle of highlight.js 11.11.1 (about 105 KB) for 24 languages, only when it embeds the files' text; scripts/vendor_highlight.sh rebuilds it.

0.19.4

The fix of the independent review of 0.19.3 (reviews/2026-11-21-history-0193-codex.md): text files whose patch git leaves out.

  • Fixed: a text file marked -diff or binary in .gitattributes, or given a diff driver with binary = true, counted as rewritten as a whole when one line of it changed (since 0.19.3; before, its changed lines could be the wrong ones). Its unchanged lines took the change's levels, and diff counted every line as removed and added. aisignoff now tells binary content from text by the content, as everywhere else, and reads the changed lines of such a text file from a text diff. A binary file replaced with text still counts as all new.
  • Fixed: a textconv diff driver could move the changed lines. The changed lines are read from the file's own content.

0.19.3

The fixes of the independent reviews of 0.19.2 (reviews/2026-11-21-pull57-codex.md) and of history.py (reviews/2026-11-21-history-codex.md): a binary file replaced with text, and the cache.

  • Fixed: when a change replaced a binary file with text, only the first line counted as the change's: the other lines took the levels of the commit that added the binary file. Every line of the text is now the change's, and diff counts all of them as added (and all the lines of a text file that a binary file replaces as removed).
  • Fixed: the cache kept a stale commit for a binary or empty file or a symlink whose name starts with a newline. 0.19.2 dropped that first byte of the changed names.
  • Fixed: after an upgrade to 0.19.2, a commit that 0.19.1 had cached wrongly for a file with a non-ASCII name was still used. The cache format changed: a cache from before 0.19.3 is not used, and the first run blames the whole history once. A CI cache restored by restore-keys needs no change.

0.19.2

The fixes of the independent review of the 0.19.1 codebase (reviews/2026-11-21-full-codebase-codex.md): gc with quoted table headers, the cache and non-ASCII file names, symlinks, and empty files in diff.

  • Fixed: gc could delete the wrong entry of SIGNOFF.toml. It didn't count an [[attestations]] or [[commits]] header with a quoted key, such as [[ "attestations" ]], as an entry, so it deleted the table after it, and its check compared only the levels, so a live review that said the same as the dead one went instead (a reviewed file could drop from H3 to H1). gc now reads every header as TOML does, refuses entries it can't tell apart by line (an inline array) and leaves the file as it is, and checks the path, blob and commit of every entry it keeps before it writes.
  • Fixed: with the cache, an edit of a binary or empty file or a symlink with a non-ASCII name kept the levels of the commit before it. The changed names are read as they are, not as git quotes them. A commit that only renamed such a file is also recognised now, so the file keeps the levels of the commit that last changed its content.
  • Fixed: a symlink couldn't take a review of the whole file. attest hashed what it points to (or failed when that is missing), and lint called a review of a dangling symlink a record that covers no line. A symlink is now hashed as git stores it, its target text, whether or not the target exists.
  • Fixed: diff didn't count an empty file as one unit once git tracked it: an empty file staged, committed or deleted counted as no line. It also counts the unit when an empty file gets lines or a file is emptied.

0.19.1

The fixes of the independent review of 0.19.0: the order of reviews after a revert, quoted table headers in SIGNOFF.toml, and gc with excluded files.

  • Fixed: reverting an unrelated edit could clear a finding. A review saw the file as it was when it was recorded; when an edit was reverted later, the content it saw counted as the current file, so the review counted after a later review of the same lines and replaced its findings (a critical finding could show as F0). A version of the file now counts as new as when it was replaced, for reviews of a commit and of the whole file alike.
  • Fixed: an [[attestations]] or [[commits]] header of SIGNOFF.toml with a quoted key, such as [[ "attestations" ]], made the entries look as if they hadn't landed: a landed AI review from before findings failed lint, and the entries counted before the review folder, so an attest --signoff re-review didn't replace an earlier finding there. Quoted keys are read as TOML reads them. Entries that still can't be told apart by line (an inline array) have landed if the default branch's SIGNOFF.toml has them, and count before the review folder.
  • Fixed: gc deleted the record of a commit that changed only a file that is now excluded, when the file was renamed since or the commit was the repository's first. The record now stays, and the lines keep their findings when the exclusion is lifted.

0.19.0

The fixes of the independent review of 0.18.0 (reviews/2026-11-21-v0.18.md): the order of reviews, the protection of the review folder and the checks of the records. See Upgrading.

  • Breaking: AI reviews count in the order they were recorded, wherever they are: by the commit of the default branch that added the record file, or that added the entry to SIGNOFF.toml. Before, every entry of SIGNOFF.toml counted before every record file, so a re-review recorded with attest --signoff (the signoff request and @signoff workflows) could never clear a finding of the review folder. Levels of existing lines can change where both files review the same lines.
  • Breaking: a review of a commit (attest --commit) no longer counts as the newest review. It saw the file as it was when it was recorded, so a review of the whole file recorded later counts after it. Before, an earlier commit review replaced the findings of a later whole-file review as soon as any other line of the file changed, so a critical finding could disappear.
  • Breaking: [review] dir is protected in the check before the merge, like exclude: a pull request that changes it fails (--allow-policy-change lets it through). It decides which files need no declaration and which are add-only, so a pull request could leave code undeclared or rewrite an earlier review. The review folder of the base branch stays add-only even then.
  • Breaking: only the .toml files directly in the review folder are record files. Files in its subfolders, such as the pyproject.toml of an A3 review's evidence, are never read; lint notes one that looks like a record file. Before, any TOML file below the folder stopped lint and report for the whole repository, and the add-only rule kept it there. attest --to names a file directly in the folder.
  • Breaking: in the check before the merge, a record file the change adds names a report the change adds or modifies, or a link, like a pull request description. An earlier review's report or README.md no longer passes.
  • Breaking: a change that adds a record file to the review folder and changes anything outside it fails the check before the merge. A record file next to the content raised the change's own lines without a review the check could see; a change's own AI review is declared in its description.
  • Breaking: an AI review that a change adds to SIGNOFF.toml (an [[attestations]] entry, or a [[commits]] entry that gives AI-Review) is checked like a record file: A1–A3 give their findings, A2 and A3 a report that exists or a link. Entries that have landed are read as they are.
  • Fixed: gc deleted the records of excluded files (and of commits that changed one), since excluded files are never resolved. They now stay, and keep their levels for when the exclusion is lifted.
  • Fixed: for a record file that has landed, a missing report was reported as "isn't in this change: commit it with the pull request". It now says the report doesn't exist.
  • Fixed: the check before the merge said that a change made by aisignoff gc, which only deletes record files, "only adds files to the review folder". It now says what the change does.
  • The guides say that the check before the merge (not plain lint) fails a change that edits the review folder, that evidence goes into a subfolder, and that the dev agent never adds a record file.

0.18.0

Who writes what: SIGNOFF.toml is the file a person signs off, and the review folder holds the AI reviews. Agents no longer add to SIGNOFF.toml, and records that cover no line any more can be deleted. See Who writes what and Upgrading.

  • Breaking: attest -a without -H writes a new record file in the review folder (reviews/<date>-<commit or file>.toml, or the one --to names) instead of appending to SIGNOFF.toml. --signoff appends it to SIGNOFF.toml, for a person who records it there; the signoff request and @signoff assistant examples pass it.
  • New aisignoff correct REV: appends a [[commits]] entry to SIGNOFF.toml.
  • New aisignoff gc: deletes the entries of SIGNOFF.toml and the record files of the review folder that cover no line any more (a deleted file, content that has changed since, a commit that owns no line). lint notes how many there are. The check before the merge lets a change delete such a record file from the add-only review folder.
  • Fixed: an attestation of a file that was deleted since failed lint. In a record file of the review folder, which no change may edit, that could never be fixed. It now covers no line, which lint notes; an attestation of a path that was never in the history still fails.
  • guide --role dev says that an agent never writes SIGNOFF.toml, and tells a person about a wrong declaration instead of correcting it.

0.17.0

Every line is worked out from the whole history again, and a cache makes that fast: aisignoff freeze and its snapshot are gone. See Upgrading.

  • Breaking: aisignoff freeze and SIGNOFF.snapshot.json are removed. A snapshot kept the finished levels of every line, not the commit each line came from, so a review recorded after it missed the lines it was about: an attestation of a commit didn't reach them, and a whole-file review recorded before the freeze was applied again on top of it, which could replace newer findings (a major finding could show as F0 after a freeze). lint fails while a SIGNOFF.snapshot.json is there; unfreeze.py moves what it says into SIGNOFF.toml as [[commits]] entries and deletes it.
  • New blame cache in .git/aisignoff: what git blame found at a commit of the default branch, so that the next run only blames the commits since. It holds facts about the history only, never levels, and gives the same results as a run without it; AISIGNOFF_NO_CACHE=1 turns it off. On Django's history (1.1M lines), lint takes 7 s instead of 8 minutes, and 17 s after 300 new commits. Keep it in CI with actions/cache: see The blame cache.
  • A [[commits]] entry for an old commit counts as soon as it lands; no freeze --reset is needed any more.
  • A commit of the default branch whose message has the ticked boxes of the pull request template before version 4 is read as it was meant (its A1 box, the self-check, is A0) instead of failing. A pull request description with that template still fails.
  • [history] require-trailers-since also accepts the commits up to it as they are: lint no longer warns that they look like pull requests and declare nothing. This replaces freeze --allow-warnings for that.
  • A binary file or symlink that a commit only renamed keeps the levels of the commit that last changed its content.
  • convert-to-version-4.py keeps the AI reviews of the commit messages so far with [[commits]] entries, instead of needing a snapshot first.

0.16.0

Reviews get rules of their own: a review is a record about the content, not content, so it lands in the review folder, needs no declaration, and never changes an earlier review. See The review folder.

  • New review folder (reviews/, or [review] dir): its files need no declaration, as if excluded. A pull request that only adds files to it is a review, and its description needs no declaration.
  • Breaking: the review folder is add-only. Before the merge, a change that modifies, deletes or renames a file in it fails, so an earlier review's report can no longer be replaced by a later one; record the later review in a new file. Files in reviews/ that a repository declared are no longer declared; set [review] dir = "" to keep them.
  • New attestation files: .toml files in the review folder with [[attestations]] tables, which record an AI review (A1–A3, its model and findings, nothing else) without touching SIGNOFF.toml. lint checks each entry like a reviewed pull request: its findings, and for A2 and A3 a report that exists or a link. Of two reviews of the same lines, the one added later counts.
  • New attestations of a commit: commit = "<sha>" in place of blob covers only the lines that commit landed on the default branch and that are still there, in one file (path) or all of them. That is what a review of a pull request's diff covers, and a re-review of a fix attests the commit with the finding and the fix together.
  • attest --commit REV writes such an entry, and attest --to reviews/FILE.toml writes a new attestation file instead of appending to SIGNOFF.toml (AI review only, never into a file that exists).
  • aisignoff guide --role review explains the review pull request and the re-review of a fix; --role dev says that the author never touches the review folder and never clears a finding.

0.15.0

Back to 0.x: the format still changes almost every release, and 1.0 is kept for when it has stopped. 0.15.0 follows 1.0.0rc10 and has everything the release candidates have; they are yanked on PyPI. Pin 0.15.0 where you pinned a release candidate (a range such as >=1.0.0rc6 doesn't include it). See Versions.

  • New aisignoff guide --role dev|review: a one-page brief for an AI agent that writes a change (what to declare, and that it never declares a review or findings for itself) or reviews one (read-only, the A1–A3 levels, the severity scale, the findings line and how it becomes F0–F3). The text comes with the installed version and ends with what the repository's SIGNOFF.toml sets. See guide.
  • init adds a short section to AGENTS.md (and to CLAUDE.md, if it exists) that points agents to aisignoff guide; --no-agents-md skips it, and guide --agents-md adds it to a repository that already has SIGNOFF.toml.
  • guide --skills writes the two briefs as Claude skills, aisignoff-dev and aisignoff-review.

1.0.0rc10

Fixes from an independent review of 1.0.0rc9, and A1 gives its findings.

  • Breaking: A1 gives its findings too, so that a context-free check by the same model is a reference for what a different model finds at A2 and A3. Before the merge, a description that declares A1 needs the line AI-Review-Findings: (but no report), attest -a A1 needs --findings, and an A1 review sets the findings level of the lines it covered like A2 and A3. A landed A1 commit without the line leaves its lines at F-. The signoff request form and the @signoff assistant need the findings for A1 too. See Upgrading.
  • Fixed: where two reviews cover a line, the findings (and the reviewer, on a tie of levels) came from the attestation written last in SIGNOFF.toml. An older review recorded later with attest --at replaced the findings of a newer review, so a major finding could disappear. Now the review of the newer content counts.
  • The example workflows signoff-request.yml and signoff-assistant.yml and the issue form ask for the findings of an A1, A2 or A3 review and pass them on (--findings, or AI-Review-Findings in a [[commits]] entry). With 1.0.0rc9 they could no longer attest A2 or A3.
  • diff lists the findings of an attestation of A1, A2 or A3 (A2, findings: major; findings in --json).
  • init refuses --findings, --assisted-by, --reviewed-by and --ai-reviewed-by without the levels; before, they were silently ignored.
  • Docs: the report --tree example shows the Findings column, the attestation example in History gives --findings, and signoff-badges.yml lists the findings badge.

1.0.0rc9

A review's findings are recorded, not a threshold: the reviewer only reviews and changes nothing, and reports show what the last independent review of each line found as a fourth axis, in place of the review gap. See Upgrading.

  • New findings axis in report (summary, --tree, --json, --html), diff and badge: F0–F3 for the highest finding that the last independent AI review (A2 or A3) of a line left open (none and trivial are F0, minor F1, major F2, critical F3), and F- where no such review has covered the line since it last changed. A review sets the lines it covered: the commit that lands a reviewed change, an attestation of A2 or A3 for its whole file, a [[commits]] entry with AI-Review-Findings. A change without a review leaves the other lines as they were, and the lines it touches go back to F-, so a fix is unreviewed until the next review. See Findings.
  • The HTML report's Review gap axis is replaced by Findings, and its header shows two flags: the share of lines without independent AI review (F-) and the share with an open major or critical finding (F2, F3). The gap followed from generation and human review anyway.
  • Breaking: a finding of any severity passes lint, before the merge and in a landed commit. [review] recheck is no longer read (a warning until it is removed), a pull request no longer counts a change of [review] as a change of the rules, and init --recheck (unreleased) is gone; init --history stays.
  • AI-Review-Findings is a key of annotations, [[commits]] and [[attestations]] in SIGNOFF.toml (only next to AI-Review), and annotate and attest take --findings. attest -a A2 or -a A3 needs it.
  • report --json gives each file and part its Findings level, and AI-Review-Findings where a review gave one. aisignoff badge also writes aisignoff-findings.json.
  • Snapshots are written under rules 3, with the findings of each line. A snapshot of rules 2 is accepted as it is; its frozen lines are at F- until freeze --reset or an attestation.
  • init --history turns on [history], so that a workflow can set up a repository with its organisation's defaults in one command (with the levels left TODO).
  • Fixed: diff didn't list a new attestation of a file whose content was attested already at BASE, such as an AI review added after a human review of the same content. Attestations are now compared by path, blob and declaration, and a repeated entry counts once per copy.

1.0.0rc8

Fixes from two independent reviews of 1.0.0rc7, mostly in the record of an A2 or A3 review. See Upgrading.

  • Breaking: in the check before the merge, the report that AI-Reviewed-by names must be a file that the pull request adds or modifies, inside the repository, or a link. Before, any file that existed passed: an earlier review's report, README.md, or a path outside the repository. A report path may contain spaces, and A2 or A3 that names a report but no model before it fails.
  • A severe AI-Review-Findings: in a landed commit no longer needs a [[commits]] entry to clear it: a later change that modifies one of that commit's files and declares a new review of A2 or A3, with a lower finding, clears it, and so does an attestation for the lines it covers. The error says so.
  • A landed commit's AI-Review-Findings: is judged by the [review] recheck of the SIGNOFF.toml it landed on (its first parent's). Tightening the threshold on the default branch, also in the pull request that does it, no longer fails earlier commits.
  • AI-Review-Findings: is read only next to A2 and A3, so a template's line filled in with n/a or - no longer fails an A0 or A1 pull request. With several lines, the most severe value counts (before, the last one did, so critical and then none passed). A trailing full stop and a key in bold or in a list item are accepted.
  • examples/inline-tags-to-toml.py runs on SIGNOFF.toml version 3 and writes the tags on that scale, so that tags are moved first and convert-to-version-4.py converts them with the rest. The documented order of 1.0.0rc7 (convert first) raised A1 and A2 tags of version 3 by one level.
  • Breaking: a pull request can't change the entries of .git-blame-ignore-revs (or [history] ignore-revs-file) without --allow-policy-change: they give lines back to other commits, as [history] does.
  • The different-model check splits names at hyphens and slashes and ignores vendors, tools and modes, so claude-opus-5-5, anthropic/claude-opus-5.5, Claude Code (Opus 5.5) and Claude Opus 5.5 Thinking are the model that Claude Opus (Anthropic) wrote with, and an Assisted-by value can list several models. A family name alone (Claude) doesn't make a reviewer the same model.
  • Fixed: "independent of the generating session", "not the same session" and similar words counted as a self-check, in AI-Reviewed-by and in a customised A1 box.
  • The check that a change to version 4 converts its entries compares the AI review each file gets before and after, so it also finds an annotation whose path is written another way (src/** for **), and a [[commits]] entry whose hash has another number of digits.
  • The pull request description is read on the AI review scale of the base branch, like its other rules: a pull request that changes version from 4 to 3 is still checked for its findings line and report.
  • A landed A2 or A3 commit with a line that looks like AI-Review-Findings: but isn't (AI-Review-Finding: major) gets a warning, since the line isn't read.
  • In a repository still on version = 3, A2 and A3 from the ticked boxes of today's template give their findings line and report before the merge.
  • The README and the front page of the documentation no longer mention declarations in header comments.

1.0.0rc7

aisignoff now takes everything it knows from SIGNOFF.toml and from git (commit messages, pull request descriptions, blame), and never from the content of a file. That ends two things: the report check of 1.0.0rc6, which read the findings out of review reports, and inline tags. See Upgrading.

  • A ticked human review box above an unticked one is no longer an error in the check before the merge (it was since 1.0.0rc6): the highest ticked box counts, as for the other axes.
  • Breaking: inline tags (a declaration in a header comment of the file) are no longer read, and annotate --inline is gone. Move them into SIGNOFF.toml with examples/inline-tags-to-toml.py, run with 1.0.0rc6, before you upgrade. The source inline no longer appears in reports.
  • Breaking: lint no longer reads review reports, and the reports key of [review] is gone (an unknown key now: a warning). How a report looks, and whether it is in order, is up to the repository; examples/review-report.md is a template to start from, with problems outside the change kept in a section of their own.
  • Breaking: a commit message or pull request description gives the highest severity that a review found in the change itself in a line AI-Review-Findings: (none, trivial, minor, major or critical). In the check before the merge, A2 and A3 need it. A severity from [review] recheck on fails, also in a landed commit: such a finding needs a new review.
  • Breaking: in the check before the merge, A2 and A3 need their report attached: AI-Reviewed-by names a file that is in the change, or a link.
  • Breaking: a pull request can't change [review] or version of SIGNOFF.toml any more, as it can't change [policy]: the base branch's recheck applies, and --allow-policy-change covers both. A change to version 4 that leaves the AI review of an existing entry as it was written fails in any case, since it would raise that level without a review.
  • Breaking: model names are compared by their words, without vendor and version, for "A2 and A3 need a different model": Claude Opus 5.5 (Anthropic), new session and Opus are the model that Claude Opus (Anthropic) wrote with. Before, only the same text counted, which the names of the template's model boxes almost never were. "Same session" and "generating session" count as a self-check.
  • A repository with version = 3 reads the ticked boxes of today's pull request template on today's scale, so the template can change before the repository changes over. Before, its A1 box was read as A0.
  • Fixed: a model name typed after Model: that contained "selfcheck" made the box count as the old template's.
  • Fixed: convert-to-version-4.py no longer lists files with inline tags. Fixed: it refused a file with # or ] inside a reviewer's name, or stopped with a traceback.

1.0.0rc6

The AI review scale changes, so that both review scales are cumulative and the AI review counts only review that is independent of the session that wrote the content (Levels and rules, with definitions for code and for research and writing). Existing repositories keep working and keep their levels: Upgrading.

  • Breaking: the AI review levels mean something else. A0 is no independent AI review (the self-check of the generating session is part of generating), A1 a context-free check by a new session, A2 that check by a different, capable model, with one committed review report, A3 a validation by a different, capable model with new evidence, committed with the report. Before, A1 was the self-check, A2 the new session and A3 an extensive review by a different model.
  • Breaking: SIGNOFF.toml is version = 4. A file with version = 3 is still read, as the scale before: its levels, and those of inline tags, commit messages, pull request descriptions and snapshots of earlier rules, are taken over (A1 to A0 without a reviewer, A2 to A1), and lint adds a note. annotate and attest refuse until the file is converted, with the new examples/convert-to-version-4.py. Snapshots are written under rules 2.
  • Breaking: the built-in rules "G1–G3 need at least A1" and "G0 can't be A1" are gone, and with them the special cases of [policy] (A1 for G0 meant A2) and of lines (A1 didn't reach hand-written lines). A policy minimum now means the same for every generation level.
  • Breaking: lint fails on A1–A3 whose AI-Reviewed-by names only a self-check, on A2 or A3 whose AI-Reviewed-by names only models from Assisted-by, and, with version 4, on a ticked A1 box of the old pull request template.
  • Breaking: in the check before the merge (lint --declare-from, with version 4), a ticked human review box above an unticked one is an error: the levels build on each other.
  • Breaking: the "*" minimum of [policy] also applies to a declaration whose generation is missing or TODO. Before, such a declaration was checked against no minimum.
  • Fixed: an attestation could lower a review. For lines whose commit declares nothing, an attestation replaced the review of the file-level declaration, also with a lower one. Now the higher counts.
  • New [review] table with recheck (default "major"): the severity from which a review's finding needs a new review after its fix, on a scale of trivial, minor, major and critical defined in Severity.
  • Breaking: lint fails on a committed review report ([review] reports, by default the Markdown files in reviews/) that lists a finding from that severity on: the finding is fixed, the change reviewed again, and the new report replaces the old one. A report lists its findings as list items or headings that start with the severity, such as - **minor:** ….
  • In a ticked template, A2 and A3 need the reviewing model after Model:; A1 without one names the models that wrote the change, as a new session.
  • The issue form of the signoff request and the @signoff assistant use the new wording. The assistant's pull requests declare G1 with A0.
  • New example: the @signoff assistant (signoff-assistant.yml), which turns a request in plain words in an issue or comment into the answers of the signoff request form with the Claude API, asks in a comment for what is missing, and hands complete answers to signoff-request.yml, which now also runs through workflow_call (The @signoff assistant). Optional: needs the secret ANTHROPIC_API_KEY.

1.0.0rc5

  • Breaking: lint checks every [[commits]] entry against the built-in rules and the [policy], as the declaration of its commit corrected by the entry, also when that commit owns no line that is checked. Before, an entry was only checked through the lines it owns, so one for a commit that changed only SIGNOFF.toml, or whose lines are gone, passed whatever it said (seen in a signoff request that recorded G3/H0/A1 under a policy that needs H1 and A2 for G3).

1.0.0rc4

  • Breaking: with --allow-policy-change, the pull request is still checked under the base branch's [policy], not its own, so a pull request can't lower the bar for itself; the new policy applies to the pull requests after it. In 1.0.0rc3 a maintainer's pull request that lowered the policy was checked under the lowered one and passed.
  • With --allow-policy-change, lint says that the change alters [policy], exclude or [history], or removes SIGNOFF.toml, instead of saying nothing.

1.0.0rc3

lint --declare-from becomes the whole check of a pull request before its merge, so a separate check of the description isn't needed (Checking the pull request description). How landed commits are read is unchanged.

  • Breaking: with --declare-from, the description must be complete on its own (levels, names, built-in rules, policy), also for a pull request that changes no declared line, such as one that changes only SIGNOFF.toml.
  • Breaking: with --base, the base branch's [policy] applies, and a change to [policy], exclude or [history], or removing SIGNOFF.toml, fails unless --allow-policy-change is given.
  • A pull request opened by a bot (--author ending in [bot]) must name a human with Responsible person: @login, who is then the reviewer.
  • In a repository without SIGNOFF.toml, lint --declare-from checks the description alone.
  • report --json --declare-from adds pull_request: what the description declares and what is wrong with it.
  • New example: an issue form and workflow that turn a request into a pull request that changes SIGNOFF.toml, written with annotate or attest or as a [[commits]] entry, for the requester to review and merge, without AI, as github-actions[bot] or your own GitHub App (Signoff requests from issues).

1.0.0rc2

Removes what was kept for repositories from before version 3 of the format, so 1.0 reads only the current one. Allowed in a release candidate by the compatibility promise, which starts with 1.0.0.

  • Breaking: aisignoff migrate is gone. Convert old repositories once with uvx aisignoff==1.0.0rc1 migrate before upgrading (Upgrading).
  • Breaking: AIDECL.toml is no longer read in place of SIGNOFF.toml. While one exists, every command stops with an error that says how to convert it.
  • Breaking: inline tags of format version 1 (AI-Verification, Tested-by, Verified-by) are no longer recognised, so a file tagged only with them has no inline declaration.
  • SIGNOFF.toml of versions 1 and 2 and the old level A- get the plain errors for an unsupported version and an invalid level, pointing to 1.0.0rc1 instead of migrate.

1.0.0rc1

The first release candidate for 1.0. It fixes what the 1.0 readiness review found; 1.0.0 is meant to follow from the same code once it has run unchanged for a while.

  • A snapshot records the "rules" it was written under: a number raised only by a release that changes the levels some line gets. A snapshot of other rules, such as one written by 0.11 to 0.13, is accepted as it is on the default branch (freeze --check notes it, instead of failing), and fails as a change. Archives compare with full commit hashes, so 0.13's short ones pass. Land a snapshot of an older version before raising the version CI pins (Migrating).
  • Breaking: an unknown top-level or [history] key in SIGNOFF.toml is a warning instead of an error, so a setting of a later 1.x doesn't stop an older install (lint --strict fails on it).
  • Breaking: lint fails in a shallow clone when [history] is enabled, instead of falling back to the file-level declarations: a checkout without fetch-depth: 0 would pass without the line-by-line check.
  • In CI, the default branch is also found by the name GitHub Actions' event gives. When none is found, lint --declare-from, --base and --landed fail instead of checking nothing.
  • A commit on a pull request's branch that says only a higher AI-Generation takes the model the pull request names. When nothing names one, the error names the commit.
  • On the default branch, a snapshot deleted or put back to an older one fails lint against the commit below (and every commit of the push on GitHub Actions).
  • lint warns about an entry of .git-blame-ignore-revs that declares levels, is a merge or looks like a pull request, and about a pull request merged into another one whose description declares a higher AI-Generation than the outer one.
  • freeze refuses a commit that isn't on origin's default branch yet, and says which earlier --reset files a second run before committing leaves frozen.
  • report --json | head no longer prints a traceback. git runs with LC_ALL=C.
  • The keys of the --json outputs are documented and pinned by a test.
  • This repository's snapshot is written again under the current rules.

0.14.0

  • A second snapshot no longer fails lint when a line moved, or came back as it was, between the two. lint now checks a changed SIGNOFF.snapshot.json by working it out again at its commit, in a temporary worktree, instead of comparing it with the snapshot before it. This catches any hand edit, including names, new lines and the archive.
  • New aisignoff freeze --check runs that check on its own.
  • New aisignoff freeze --reset FILE... works files out from history again instead of keeping their frozen levels: to correct a frozen generation with a [[commits]] entry, or to apply a changed annotation. It replaces removing a file's entry from the snapshot by hand, which lint now rejects.
  • The [[commits]] and [[attestations]] entries that freeze --prune archived count wherever levels are worked out from history: files the snapshot doesn't have (also ones included later), files worked out again, and files whose blob doesn't match.
  • --landed on a release branch that merged the default branch keeps the levels of the lines that came from it, instead of giving them to the merge.
  • lint notes [[commits]] entries for commits from before the snapshot, which change no frozen line by themselves.
  • Smaller fixes: freeze --prune keeps the comment above the next table; a partial [[commits]] entry for a commit that declares nothing says how to raise a review with attest; the warning about undeclared pull requests names aisignoff freeze --allow-warnings.
  • The check compares levels and names, and checks a snapshot whatever version wrote it: another version that works levels out differently fails. A snapshot that can't be checked fails too, also in freeze --check.
  • A changed snapshot can't go back: an older commit than the default branch's snapshot, or dropped archived entries (by an older snapshot put back, a deleted one, or one taken afresh) fail lint.
  • git runs with the settings that change levels pinned, and blame clears a personal blame.ignoreRevsFile, so a personal git config can't make an honest snapshot fail the check.
  • freeze --prune archives each commit with its full hash; an archived hash that is ambiguous is reported.
  • On GitHub Actions, a snapshot changed by any commit of a push is checked, not only by the last one.
  • freeze can run again before the snapshot is committed, and starts from the committed one.
  • The note about [[commits]] entries from before the snapshot counts only entries added since it was taken.

0.13.0

  • Breaking: an attestation records reviews only. attest -g is gone, and an AI-Generation in an existing [[attestations]] entry no longer counts (lint warns). Correct the generation of a commit with a [[commits]] entry.
  • New aisignoff freeze --prune moves the [[commits]] and [[attestations]] entries of SIGNOFF.toml into an archive in SIGNOFF.snapshot.json: the snapshot has their levels, so SIGNOFF.toml starts afresh after each freeze.
  • lint fails when a snapshot changes lines that the snapshot before it already had, other than raising a review that an attestation gives. This catches a snapshot edited by hand.
  • lint warns about commits that look like pull requests ("Merge pull request #12 …", "… (#12)") and declare nothing, in one line (--strict fails).

0.12.0

  • Breaking: one owner per line. The commit that lands a line on the default branch (a direct commit, a squash commit, or a pull request's merge commit) declares it. Commits and pull requests inside it no longer declare reviews. A commit inside a merge can still say a higher AI-Generation for its lines; a lower one, such as G0 in a pull request declared G3, needs a [[commits]] entry, since it takes the AI review requirement off the lines. This replaces "generation from the most specific declaration, reviews from the highest" of 0.10, the warnings about raised reviews, and the special handling of pull requests merged into each other. See Upgrading to keep the levels of existing code.
  • New aisignoff freeze writes SIGNOFF.snapshot.json, the levels of every line as of a commit of the default branch. Lines that don't change keep them, whatever later versions or settings would work out, and history is only read from that commit on.
  • Breaking: lines that aren't on the default branch yet (a feature branch, a pull request's merge preview, uncommitted changes) are the diff against it, and fail nothing on their own. Without a declaration for the change they show the generation their commits say, and their reviews as undeclared. The merge preview is no longer recognised by its subject and GITHUB_EVENT_NAME. New setting default-branch in [history].
  • New lint --declare-from FILE, report --declare-from FILE and diff --declare-from FILE read a pull request description as its merge or squash commit's message will be read; lint then checks that it is complete. diff accepts TODO levels. A declaration for a pull request into another branch than the default one isn't applied. signoff-pr-diff.yml no longer imports aisignoff's Python modules.
  • Breaking: a pull request template with no generation or human review box ticked, and a level line left empty (Human-Review:), are a TODO that lint reports, instead of silently taking the file-level declaration.
  • New setting undeclared = "error" in [history]: every commit that lands lines on the default branch must declare them.
  • New --landed for lint, report and badge: HEAD is checked as a commit of the default branch. A merge queue's run on GitHub Actions (merge_group) is recognised by itself, so the commit that will land is checked as in 0.11; release branches need the option.
  • Breaking: report, diff and the badges count "undeclared" per axis. An error about one axis (a missing AI-Reviewed-by, a TODO human review, a level below the policy) no longer makes the other two axes undeclared. The numbers of repositories with invalid declarations change accordingly.
  • attest --at REV of content from before the snapshot raises the frozen lines that content had. attest refuses a file declared with precedence = "override", where it had no effect.
  • freeze refuses when lint has warnings (--allow-warnings overrides) and prints what stands in its way. lint also fails when a snapshot's runs don't cover a file's lines. Files the snapshot doesn't have are resolved from history.
  • lint warns about reverts (also through a pull request) and git pull merges that own lines without declaring them, and about [[commits]] entries that give a review to a commit inside a pull request (--strict fails).
  • report --json says where each level of a part comes from (kinds) and whether the part has landed (advisory).
  • Breaking: the --json output of report and diff starts with "format": 1 and "aisignoff" (the version that wrote it). report --json is now an object with the files under "files", instead of a bare list. Change json.load(f) to json.load(f)["files"]; the example workflow does this already.
  • New Compatibility page: what is meant to stay stable and what may still change.
  • This changelog.

0.11.0

  • Folder report: each axis has its own colour ramp, whose hue shifts as it darkens, the same in light and dark mode.
  • The review gap is a fourth axis in the sunburst, the line view and the table.
  • The new Average folder colour is the default: a folder is coloured between the steps by its weighted average level.
  • Fixes from the review of 0.10.1.

0.10.1

  • Fixes from the review of 0.10.0, among them A1 on human-written lines, Markdown that hid a declaration, diff --declare on the branch itself, git log read NUL-separated, the rebase merge preview and push events.
  • A review raised by a commit inside a pull request is kept, and lint warns about it (--strict fails).

0.10.0

  • Declarations per axis: generation comes from the most specific declaration (attestation, branch commit, inner merge, landing commit), reviews take the highest.
  • A commit that declares some axes but leaves one out is an error.
  • New settings merge-method and ignore-whitespace in [history].

0.9.0

  • A merge commit declares the lines of its branch; the branch's own commits override it per axis.
  • A commit uses either trailers or checkboxes, not both.

0.8.0

  • Line by line declarations read the ticked boxes of the pull request template in squash commits, so SIGNOFF.toml no longer needs an annotation per pull request.

0.7.1

  • Fixes from the review of 0.7.0.

0.7.0

  • Line view in the HTML report: --with-source embeds the files, --since BASE marks what changed.

0.6.0

  • Line by line declarations from git history: [history], commit trailers, [[commits]] and [[attestations]].
  • New commands attest and diff.

0.5.0

0.4.x

  • Renamed from aidecl to aisignoff, with SIGNOFF.toml instead of AIDECL.toml, and published on PyPI. aisignoff migrate renames the old file and converts declarations from versions 1 and 2 of the level scale.
  • Documentation site on GitHub Pages.