Skip to content

docs: AGENTS.md: clarify agent sign-off and patch scope rules - #11554

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
lgirdwood:topic/fix-agents-md
Nov 28, 2026
Merged

lgirdwood merged 1 commit into
thesofproject:mainfrom
lgirdwood:topic/fix-agents-md

Conversation

@lgirdwood

Copy link
Copy Markdown
Member

Summary

Updates AGENTS.md to fix conflicting commit sign-off instructions and document SOF patch granularity and subject length conventions:

  • Sign-off consistency: Replaces the conflicting "AI agents MUST NOT add Signed-off-by tags" rule with guidance for agents creating or updating commits on a developer's behalf to use git commit -s (the developer's local git config identity) unless instructed otherwise, so PRs do not fail DCO/checkpatch Signed-off-by checks.
  • Patch scope: Documents keeping commits small, bisect-safe, and scoped to one logical change (or tightly bound helpers) instead of bundling unrelated changes into a single commit.
  • Commit subject length: Notes the 75-character limit on commit subject lines.

Resolve the contradiction between requiring Signed-off-by on all commits
and forbidding AI agents from adding Signed-off-by tags. Instruct AI agents
creating or updating commits on the developer's behalf to sign off using
the developer's configured git identity (git commit -s) unless instructed
otherwise.

Also document the 75-character commit subject limit and single logical
change / small bisect-safe patch guidelines expected by SOF maintainers.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
@lgirdwood

Copy link
Copy Markdown
Member Author

Fixes many recent patches that are missing SOBs,

@lgirdwood
lgirdwood merged commit 28cd724 into thesofproject:main Nov 28, 2026
45 of 47 checks passed
@intel-sofci

Copy link
Copy Markdown

PR 11554: test results

Run date: 2026-11-28 11:42 UTC

Tested commit: 6c595698fe6bf5ad56cb967e1753c18ff25b5370

mtl pass rate lnl pass rate ptl pass rate wcl pass rate nvl pass rate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants