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
diffcounted 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.gitattributesgives 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
-difffile 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.shrebuilds 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
-difforbinaryin.gitattributes, or given a diff driver withbinary = 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, anddiffcounted 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
textconvdiff 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
diffcounts 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-keysneeds 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:
gccould delete the wrong entry ofSIGNOFF.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).gcnow 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.
attesthashed what it points to (or failed when that is missing), andlintcalled 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:
diffdidn'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 ofSIGNOFF.tomlwith a quoted key, such as[[ "attestations" ]], made the entries look as if they hadn't landed: a landed AI review from before findings failedlint, and the entries counted before the review folder, so anattest --signoffre-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'sSIGNOFF.tomlhas them, and count before the review folder. - Fixed:
gcdeleted 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 ofSIGNOFF.tomlcounted before every record file, so a re-review recorded withattest --signoff(the signoff request and@signoffworkflows) 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] diris protected in the check before the merge, likeexclude: a pull request that changes it fails (--allow-policy-changelets 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
.tomlfiles directly in the review folder are record files. Files in its subfolders, such as thepyproject.tomlof an A3 review's evidence, are never read;lintnotes one that looks like a record file. Before, any TOML file below the folder stoppedlintandreportfor the whole repository, and the add-only rule kept it there.attest --tonames 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.mdno 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 givesAI-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:
gcdeleted 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 -awithout-Hwrites a new record file in the review folder (reviews/<date>-<commit or file>.toml, or the one--tonames) instead of appending toSIGNOFF.toml.--signoffappends it toSIGNOFF.toml, for a person who records it there; the signoff request and@signoffassistant examples pass it. - New
aisignoff correct REV: appends a[[commits]]entry toSIGNOFF.toml. - New
aisignoff gc: deletes the entries ofSIGNOFF.tomland 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).lintnotes 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, whichlintnotes; an attestation of a path that was never in the history still fails. guide --role devsays that an agent never writesSIGNOFF.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 freezeandSIGNOFF.snapshot.jsonare 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).lintfails while aSIGNOFF.snapshot.jsonis there;unfreeze.pymoves what it says intoSIGNOFF.tomlas[[commits]]entries and deletes it. - New blame cache in
.git/aisignoff: whatgit blamefound 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=1turns it off. On Django's history (1.1M lines),linttakes 7 s instead of 8 minutes, and 17 s after 300 new commits. Keep it in CI withactions/cache: see The blame cache. - A
[[commits]]entry for an old commit counts as soon as it lands; nofreeze --resetis 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-sincealso accepts the commits up to it as they are:lintno longer warns that they look like pull requests and declare nothing. This replacesfreeze --allow-warningsfor 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.pykeeps 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:
.tomlfiles in the review folder with[[attestations]]tables, which record an AI review (A1–A3, its model and findings, nothing else) without touchingSIGNOFF.toml.lintchecks 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 ofblobcovers 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 REVwrites such an entry, andattest --to reviews/FILE.tomlwrites a new attestation file instead of appending toSIGNOFF.toml(AI review only, never into a file that exists).aisignoff guide --role reviewexplains the review pull request and the re-review of a fix;--role devsays 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'sSIGNOFF.tomlsets. Seeguide. initadds a short section toAGENTS.md(and toCLAUDE.md, if it exists) that points agents toaisignoff guide;--no-agents-mdskips it, andguide --agents-mdadds it to a repository that already hasSIGNOFF.toml.guide --skillswrites the two briefs as Claude skills,aisignoff-devandaisignoff-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 A1needs--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@signoffassistant 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 withattest --atreplaced 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.ymlandsignoff-assistant.ymland the issue form ask for the findings of an A1, A2 or A3 review and pass them on (--findings, orAI-Review-Findingsin a[[commits]]entry). With 1.0.0rc9 they could no longer attest A2 or A3. difflists the findings of an attestation of A1, A2 or A3 (A2, findings: major;findingsin--json).initrefuses--findings,--assisted-by,--reviewed-byand--ai-reviewed-bywithout the levels; before, they were silently ignored.- Docs: the
report --treeexample shows the Findings column, the attestation example in History gives--findings, andsignoff-badges.ymllists 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),diffandbadge:F0–F3for the highest finding that the last independent AI review (A2 or A3) of a line left open (noneandtrivialare F0,minorF1,majorF2,criticalF3), andF-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 withAI-Review-Findings. A change without a review leaves the other lines as they were, and the lines it touches go back toF-, 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]recheckis 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, andinit --recheck(unreleased) is gone;init --historystays. AI-Review-Findingsis a key of annotations,[[commits]]and[[attestations]]inSIGNOFF.toml(only next toAI-Review), andannotateandattesttake--findings.attest -a A2or-a A3needs it.report --jsongives each file and part itsFindingslevel, andAI-Review-Findingswhere a review gave one.aisignoff badgealso writesaisignoff-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-untilfreeze --resetor an attestation. init --historyturns on[history], so that a workflow can set up a repository with its organisation's defaults in one command (with the levels leftTODO).- Fixed:
diffdidn'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-bynames 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]recheckof theSIGNOFF.tomlit 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 withn/aor-no longer fails an A0 or A1 pull request. With several lines, the most severe value counts (before, the last one did, socriticaland thennonepassed). A trailing full stop and a key in bold or in a list item are accepted.examples/inline-tags-to-toml.pyruns onSIGNOFF.tomlversion 3 and writes the tags on that scale, so that tags are moved first andconvert-to-version-4.pyconverts 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)andClaude Opus 5.5 Thinkingare the model thatClaude Opus (Anthropic)wrote with, and anAssisted-byvalue 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-byand 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
pathis 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
versionfrom 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 --inlineis gone. Move them intoSIGNOFF.tomlwithexamples/inline-tags-to-toml.py, run with 1.0.0rc6, before you upgrade. The sourceinlineno longer appears in reports. - Breaking:
lintno longer reads review reports, and thereportskey 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.mdis 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,majororcritical). In the check before the merge, A2 and A3 need it. A severity from[review]recheckon 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-bynames a file that is in the change, or a link. - Breaking: a pull request can't change
[review]orversionofSIGNOFF.tomlany more, as it can't change[policy]: the base branch'srecheckapplies, and--allow-policy-changecovers 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 sessionandOpusare the model thatClaude 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 = 3reads 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.pyno 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.tomlisversion = 4. A file withversion = 3is 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), andlintadds a note.annotateandattestrefuse until the file is converted, with the newexamples/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:
lintfails on A1–A3 whoseAI-Reviewed-bynames only a self-check, on A2 or A3 whoseAI-Reviewed-bynames only models fromAssisted-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 orTODO. 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 withrecheck(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:
lintfails on a committed review report ([review]reports, by default the Markdown files inreviews/) 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
@signoffassistant use the new wording. The assistant's pull requests declare G1 with A0. - New example: the
@signoffassistant (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 tosignoff-request.yml, which now also runs throughworkflow_call(The @signoff assistant). Optional: needs the secretANTHROPIC_API_KEY.
1.0.0rc5¶
- Breaking:
lintchecks 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 onlySIGNOFF.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,lintsays that the change alters[policy],excludeor[history], or removesSIGNOFF.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 onlySIGNOFF.toml. - Breaking: with
--base, the base branch's[policy]applies, and a change to[policy],excludeor[history], or removingSIGNOFF.toml, fails unless--allow-policy-changeis given. - A pull request opened by a bot (
--authorending in[bot]) must name a human withResponsible person: @login, who is then the reviewer. - In a repository without
SIGNOFF.toml,lint --declare-fromchecks the description alone. report --json --declare-fromaddspull_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 withannotateorattestor as a[[commits]]entry, for the requester to review and merge, without AI, asgithub-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 migrateis gone. Convert old repositories once withuvx aisignoff==1.0.0rc1 migratebefore upgrading (Upgrading). - Breaking:
AIDECL.tomlis no longer read in place ofSIGNOFF.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.tomlof versions 1 and 2 and the old levelA-get the plain errors for an unsupported version and an invalid level, pointing to 1.0.0rc1 instead ofmigrate.
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 --checknotes 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 inSIGNOFF.tomlis a warning instead of an error, so a setting of a later 1.x doesn't stop an older install (lint --strictfails on it). - Breaking:
lintfails in a shallow clone when[history]is enabled, instead of falling back to the file-level declarations: a checkout withoutfetch-depth: 0would 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,--baseand--landedfail instead of checking nothing. - A commit on a pull request's branch that says only a higher
AI-Generationtakes 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
lintagainst the commit below (and every commit of the push on GitHub Actions). lintwarns about an entry of.git-blame-ignore-revsthat declares levels, is a merge or looks like a pull request, and about a pull request merged into another one whose description declares a higherAI-Generationthan the outer one.freezerefuses a commit that isn't onorigin's default branch yet, and says which earlier--resetfiles a second run before committing leaves frozen.report --json | headno longer prints a traceback. git runs withLC_ALL=C.- The keys of the
--jsonoutputs 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
lintwhen a line moved, or came back as it was, between the two.lintnow checks a changedSIGNOFF.snapshot.jsonby 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 --checkruns 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, whichlintnow rejects. - The
[[commits]]and[[attestations]]entries thatfreeze --prunearchived 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. --landedon 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.lintnotes[[commits]]entries for commits from before the snapshot, which change no frozen line by themselves.- Smaller fixes:
freeze --prunekeeps the comment above the next table; a partial[[commits]]entry for a commit that declares nothing says how to raise a review withattest; the warning about undeclared pull requests namesaisignoff 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 --prunearchives 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.
freezecan 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 -gis gone, and anAI-Generationin an existing[[attestations]]entry no longer counts (lintwarns). Correct the generation of a commit with a[[commits]]entry. - New
aisignoff freeze --prunemoves the[[commits]]and[[attestations]]entries ofSIGNOFF.tomlinto anarchiveinSIGNOFF.snapshot.json: the snapshot has their levels, soSIGNOFF.tomlstarts afresh after each freeze. lintfails 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.lintwarns about commits that look like pull requests ("Merge pull request #12 …", "… (#12)") and declare nothing, in one line (--strictfails).
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-Generationfor 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 freezewritesSIGNOFF.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 settingdefault-branchin[history]. - New
lint --declare-from FILE,report --declare-from FILEanddiff --declare-from FILEread a pull request description as its merge or squash commit's message will be read;lintthen checks that it is complete.diffacceptsTODOlevels. A declaration for a pull request into another branch than the default one isn't applied.signoff-pr-diff.ymlno 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 aTODOthatlintreports, 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
--landedforlint,reportandbadge:HEADis 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,diffand the badges count "undeclared" per axis. An error about one axis (a missingAI-Reviewed-by, aTODOhuman 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 REVof content from before the snapshot raises the frozen lines that content had.attestrefuses a file declared withprecedence = "override", where it had no effect.freezerefuses whenlinthas warnings (--allow-warningsoverrides) and prints what stands in its way.lintalso fails when a snapshot's runs don't cover a file's lines. Files the snapshot doesn't have are resolved from history.lintwarns about reverts (also through a pull request) andgit pullmerges that own lines without declaring them, and about[[commits]]entries that give a review to a commit inside a pull request (--strictfails).report --jsonsays where each level of a part comes from (kinds) and whether the part has landed (advisory).- Breaking: the
--jsonoutput ofreportanddiffstarts with"format": 1and"aisignoff"(the version that wrote it).report --jsonis now an object with the files under"files", instead of a bare list. Changejson.load(f)tojson.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 --declareon the branch itself,git logread NUL-separated, the rebase merge preview andpushevents. - A review raised by a commit inside a pull request is kept, and
lintwarns about it (--strictfails).
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-methodandignore-whitespacein[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.tomlno 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-sourceembeds the files,--since BASEmarks what changed.
0.6.0¶
- Line by line declarations from git history:
[history], commit trailers,[[commits]]and[[attestations]]. - New commands
attestanddiff.
0.5.0¶
- Folder report:
report --treeandreport --html. - Example workflows and a pre-commit hook.
- Documentation built with Zensical.
0.4.x¶
- Renamed from
aideclto aisignoff, withSIGNOFF.tomlinstead ofAIDECL.toml, and published on PyPI.aisignoff migraterenames the old file and converts declarations from versions 1 and 2 of the level scale. - Documentation site on GitHub Pages.