Commit 6598b12bf4 for bind
commit 6598b12bf409bf5d217ccbea8850f89b3f98a778
Author: OndÅ™ej Surý <ondrej@isc.org>
Date: Sat Nov 28 09:21:05 2026 +0100
Drop the Assisted-by commit trailer requirement
The trailer cannot express how much of a commit came from the tool and
how much from the person who directed, reviewed and tested the work:
hours spent steering an LLM, a casually skimmed generated test and an
LLM-assisted review either look the same or are not recorded at all.
All it reliably conveys is the impression of a machine-written
project.
Treat LLMs as tools like any other instead: content may be created
with tools, but a human is always responsible for the result. The
checks for AI tools in Co-Authored-By and Signed-off-by stay, as a
tool is neither a co-author nor able to certify the DCO.
diff --git a/.agents/skills/bind-commit/SKILL.md b/.agents/skills/bind-commit/SKILL.md
index 5d8bd89ecf..963e0c1b40 100644
--- a/.agents/skills/bind-commit/SKILL.md
+++ b/.agents/skills/bind-commit/SKILL.md
@@ -1,6 +1,6 @@
---
name: bind-commit
-description: The full commit workflow for BIND 9 repositories — pre-commit clang-format sequence, message shape and 72-column wrapping, trailer rules (Assisted-by and the forbidden ones), amend/fixup discipline, and the never-push boundary. Use EVERY time you are about to create, amend, reword, or fix up a commit in any BIND 9 checkout.
+description: The full commit workflow for BIND 9 repositories — pre-commit clang-format sequence, message shape and 72-column wrapping, trailer rules (which ones are forbidden), amend/fixup discipline, and the never-push boundary. Use EVERY time you are about to create, amend, reword, or fix up a commit in any BIND 9 checkout.
---
# Committing to BIND 9 — the full checklist
@@ -41,16 +41,13 @@ before it is committed.
## Trailers
-- **Always** follow the rules for AI agents in CONTRIBUTING.md: the
- `Assisted-by: <tool>:<model-id>` format, which specialized analysis
- tools to list after the model id (never trivial tooling), no
+- **Always** follow the rules for AI agents in CONTRIBUTING.md: no
`Signed-off-by:` from the agent, no `Co-Authored-By:` or any AI
co-author line.
-- Add `Assisted-by` ONLY when the LLM wrote the load-bearing
- code/test/config content of the commit. NOT for: rewording a
- message, squashing fixups, review-only advice, or a comment/doc
- block added around a user-authored fix — a comment is prose, not the
- fix; do not rationalize "the comment was AI" to keep the trailer.
+- Never add `Assisted-by:` or any other tool-attribution trailer, no
+ matter how much of the commit the LLM wrote. An LLM is a tool like
+ any other and BIND 9 does not attribute commits to tools; the human
+ submitter is responsible for the result.
- Never add tool-generated bookkeeping trailers — `Claude-Session:`
and anything else the harness would like to stamp on the message
(session/conversation ids, transcript links, "generated with"
@@ -69,8 +66,7 @@ before it is committed.
`--amend --reset-author` (or explicit `--author=`) — attribution
follows whoever wrote the NEW code, not whoever wrote the discarded
version. When in doubt about amending someone else's commit, ask
- first. The Assisted-by question is independent — re-derive it from
- who authored the new content.
+ first.
- NOT HEAD: NEVER rebuild the branch with `git reset --hard <older>` +
cherry-pick (this once collided with the user's concurrent rebase and
trashed the branch). Instead add a fixup commit on top:
diff --git a/.agents/skills/bind-mr-description/SKILL.md b/.agents/skills/bind-mr-description/SKILL.md
index f62f76a48e..fc0308d2a5 100644
--- a/.agents/skills/bind-mr-description/SKILL.md
+++ b/.agents/skills/bind-mr-description/SKILL.md
@@ -41,8 +41,9 @@ but the title and description stay just as terse.
## Hard rules
-- NO `Assisted-by:` in MR titles or descriptions — that trailer belongs
- on commits; in release-note material it is noise for sysadmins.
+- NO `Assisted-by:` or other tool-attribution line in MR titles or
+ descriptions — BIND 9 does not use them (see CONTRIBUTING.md), and
+ in release-note material they are noise for sysadmins.
- NEVER create or edit files under `doc/notes/` — those are generated
from merged MRs. A branch without a `doc/notes/` change is not
missing anything; do not flag it in reviews. "Needs a release note"
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e1c9227260..16b169b5f6 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -228,14 +228,16 @@ BIND 9 contributors have long used tooling to assist in development.
These tools can increase the volume and velocity of contributions. At
the same time, reviewer and maintainer bandwidth is a scarce resource,
and the stability of DNS software is critical infrastructure.
-Understanding which portions of a contribution come from humans versus
-tools is helpful to maintain those resources, assess risk, and keep
-BIND 9 development healthy.
+
+BIND 9 treats LLMs (Large Language Models) and generative AI as tools
+like any other, and software development as a process assisted by many
+tools. Content in a contribution may have been created with tools,
+including LLMs, but a human is always responsible for the result.
The goal here is to clarify community expectations around tools,
-particularly LLMs (Large Language Models) and generative AI. This
-lets everyone become more productive while maintaining high degrees of
-trust between submitters and reviewers.
+particularly LLMs and generative AI. This lets everyone become more
+productive while maintaining high degrees of trust between submitters
+and reviewers.
#### Out of Scope
@@ -348,32 +350,18 @@ human submitter is responsible for:
##### Attribution
-When AI tools contribute to BIND 9 development, proper attribution
-helps track the evolving role of AI in the development process.
-Contributions should include an `Assisted-by` tag in the commit
-message trailer, using the format:
-
-> Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]
-
-Where:
-
- - `AGENT_NAME` is the name of the AI tool or framework.
- - `MODEL_VERSION` is the specific model version used.
- - `[TOOL1] [TOOL2]` are optional specialized analysis tools used
- (e.g., coccinelle, clang-tidy, AFL).
-
-Basic development tools (git, compilers, meson, ninja, editors,
-clang-format, black, ruff) should not be listed.
-
-Example:
-
-> Assisted-by: Claude:claude-opus-4-7 coccinelle clang-tidy
+AI coding assistants are tools, and BIND 9 does not attribute commits
+to tools. A commit trailer cannot express how much of a change came
+from the tool and how much from the person who directed, reviewed, and
+tested the work, so commits do not need an `Assisted-by` (or similar)
+trailer, and new commits should not carry one. Where knowing how a
+change was produced helps the reviewer, describe it in prose as
+outlined in the guidelines above.
AI agents MUST NOT add `Co-Authored-By` trailers. `Co-Authored-By`
designates a human co-author who shares responsibility for the
contribution; an AI tool is not a co-author and cannot accept that
-responsibility. Use the `Assisted-by` trailer described above
-instead.
+responsibility.
#### Thanks
diff --git a/dangerfile.py b/dangerfile.py
index e5d04c3ab7..31a0bd7b96 100644
--- a/dangerfile.py
+++ b/dangerfile.py
@@ -158,7 +158,7 @@ PROHIBITED_WORDS_RE = re.compile(
)
# Names of well-known AI coding assistants. CONTRIBUTING.md forbids
# them from being listed in `Co-Authored-By` or `Signed-off-by`
-# trailers; contributors must use the `Assisted-by` trailer instead.
+# trailers.
LLM_AGENT_NAMES_RE = (
r"\b("
r"claude|anthropic|"
@@ -192,33 +192,6 @@ COAUTHORED_BY_RE = re.compile(r"^Co-Authored-By:.*$", re.IGNORECASE | re.MULTILI
HUMAN_COAUTHORED_BY_RE = re.compile(
r"^Co-Authored-By:\s+.*<[^<>@\s]+@isc\.org>$", re.IGNORECASE
)
-# CONTRIBUTING.md documents the trailer format as
-# `Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]`. Match every
-# `Assisted-by:` line, then check it against the expected shape.
-ASSISTED_BY_RE = re.compile(r"^Assisted-by:.*$", re.IGNORECASE | re.MULTILINE)
-ASSISTED_BY_VALID_RE = re.compile(
- r"^Assisted-by:\s+\S+:\S+(?:\s+\S+)*\s*$", re.IGNORECASE
-)
-# Basic development tools that CONTRIBUTING.md excludes from the optional
-# `[TOOL ...]` portion of the Assisted-by trailer. Combines the examples
-# given in CONTRIBUTING.md (git, compilers, meson, ninja, editors,
-# clang-format, black, ruff) with other formatters, generic linters, and
-# build/test runners commonly invoked by .gitlab-ci.yml. Specialized
-# analysis tools (coccinelle, clang-tidy, AFL, cppcheck,
-# valgrind, sanitizers) are intentionally absent.
-ASSISTED_BY_BASIC_TOOL_RE = re.compile(
- r"\b("
- r"git|"
- r"gcc|g\+\+|clang|clang\+\+|cc|"
- r"meson|ninja|make|cmake|autoconf|automake|libtool|"
- r"vim|emacs|"
- r"clang-format|black|ruff|pylint|mypy|flake8|pyflakes|"
- r"pytest|danger|"
- r"shellcheck|"
- r"sphinx"
- r")\b",
- re.IGNORECASE,
-)
fixup_error_logged = False
for commit in danger.git.commits:
message_lines = commit.message.splitlines()
@@ -247,8 +220,7 @@ for commit in danger.git.commits:
f"Commit {commit.sha} contains a `Co-Authored-By` trailer "
f"naming an AI tool (`{match.group(1)}`). Per `CONTRIBUTING.md`, "
"AI agents are not co-authors and must not be listed with "
- "`Co-Authored-By`. Use the `Assisted-by:` trailer instead "
- "(e.g. `Assisted-by: Claude:claude-opus-4-7`)."
+ "`Co-Authored-By`. Remove it."
)
else:
for coauthor_line in COAUTHORED_BY_RE.findall(commit.message):
@@ -257,8 +229,7 @@ for commit in danger.git.commits:
message(
f"Commit {commit.sha} contains a `Co-Authored-By` trailer: "
f"```{coauthor_line}```. Ensure the named co-author is a "
- "human contributor. AI tools must use the `Assisted-by:` "
- "trailer instead."
+ "human contributor. AI tools are not co-authors."
)
match = LLM_SIGNED_OFF_BY_RE.search(commit.message)
if match:
@@ -266,39 +237,13 @@ for commit in danger.git.commits:
f"Commit {commit.sha} contains a `Signed-off-by` trailer "
f"naming an AI tool (`{match.group(1)}`). Per `CONTRIBUTING.md`, "
"only humans can legally certify the Developer Certificate of "
- "Origin; AI agents must not add `Signed-off-by` tags. Use the "
- "`Assisted-by:` trailer instead."
+ "Origin; AI agents must not add `Signed-off-by` tags. Remove it."
)
if CLAUDE_SESSION_TRAILER_RE.search(commit.message):
fail(
f"Commit {commit.sha} contains a `Claude-Session` trailer, "
"which is not allowed. Remove it."
)
- for assisted_line in ASSISTED_BY_RE.findall(commit.message):
- if not ASSISTED_BY_VALID_RE.match(assisted_line):
- warn(
- f"Commit {commit.sha} has a malformed `Assisted-by` trailer: "
- f"```{assisted_line}```. `CONTRIBUTING.md` documents the "
- "format as `Assisted-by: AGENT_NAME:MODEL_VERSION "
- "[TOOL1] [TOOL2]` (e.g. "
- "`Assisted-by: Claude:claude-opus-4-7 coccinelle`)."
- )
- continue
- # Split off the optional tool list (everything after AGENT:VERSION).
- parts = assisted_line.split(None, 2)
- if len(parts) < 3:
- continue
- basic_tools = ASSISTED_BY_BASIC_TOOL_RE.findall(parts[2])
- if basic_tools:
- warn(
- f"Commit {commit.sha} lists basic development tool(s) "
- f"({', '.join(basic_tools)}) in its `Assisted-by` trailer. "
- "Per `CONTRIBUTING.md`, basic dev tools (git, compilers, "
- "build systems, editors, formatters, generic linters, "
- "etc.) should not be listed. Only specialized analysis "
- "tools (e.g. coccinelle, clang-tidy, AFL) "
- "belong in the trailer."
- )
match = MR_TITLE_RE.match(subject)
if match and match.group(5) is not None and not is_merge:
fail(