Skip to content

docs: add instructions for coding agents - #3608

Open
user01010111 wants to merge 3 commits into
networkupstools:masterfrom
user01010111:docs/agent-guidance
Open

docs: add instructions for coding agents#3608
user01010111 wants to merge 3 commits into
networkupstools:masterfrom
user01010111:docs/agent-guidance

Conversation

@user01010111

Copy link
Copy Markdown

Aims to close #3606, pending maintainer review and approval.

This adds a concise root AGENTS.md, registers it for source distribution, and tells contributors using coding agents to ensure their tool reads it.

This is not intended to encourage or increase AI authorship. It aims only to improve the accuracy and value of contributions where these tools are already used, reducing avoidable review work and CI load.

The guide was prepared by comparing current NUT contribution requirements with public maintainer feedback on AI-labelled pull requests. It retains only existing requirements which benefit from machine discovery or recurring publicly evidenced failure modes. Representative examples include driver-layer and sibling-precedent questions in #3502, review feedback about NUT helpers and distribution metadata in #3406, and distinguishing baseline or CI-environment failures from patch failures in #3560 and #3588. Existing project documentation remains authoritative.

Validation:

  • git diff --check passed.
  • The changed files passed the project non-ASCII check, and the focused docs/developers.txt spellcheck passed.
  • The developer guide rendered successfully with AsciiDoc; existing missing-macro warnings were unchanged.
  • ./autogen.sh and an out-of-tree configure with documentation enabled passed.
  • Full completion of make -s -j2 distcheck-light was not confirmed locally. Source archive generation, extracted build progress, and AGENTS.md archive membership were verified.
  • The full project spellcheck failed only on unchanged baseline words in NEWS.adoc and docs/man/apcmicrolink.txt, while the new docs/developers.txt sentence passed its focused check.

AI assistance: OpenAI Codex gpt-5.6-sol was used for research, drafting and review. The human contributor remains responsible for the change.

Add a root AGENTS.md which directs coding agents to existing NUT contribution requirements and recurring project-specific review checks.

Tell contributors using coding agents to ensure their tool reads the file, and register it for source distribution.

AI assistance: OpenAI Codex gpt-5.6-sol was used for research, drafting and review. The human contributor remains responsible for the change.

Signed-off-by: user01010111 <lapses.50.booster@icloud.com>
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

A ZIP file with standard source tarball and another tarball with pre-built docs for commit 9d65221 is temporarily available: NUT-tarballs-PR-3608.zip.

Wrap agent guidance source lines consistently with existing NUT documentation while preserving the rendered text.

AI assistance: OpenAI Codex gpt-5.6-sol was used for drafting and validation. The human contributor remains responsible for the change.

Signed-off-by: user01010111 <lapses.50.booster@icloud.com>
@AppVeyorBot

Copy link
Copy Markdown

Build nut 2.8.5.5179-master completed (commit 491f7664e3 by @)

@AppVeyorBot

Copy link
Copy Markdown

Build nut 2.8.5.5179-master completed (commit 491f7664e3 by @)

@AppVeyorBot

Copy link
Copy Markdown

Build nut 2.8.5.5180-master completed (commit 6627b98fc2 by @)

@jimklimov jimklimov added documentation CI Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes) AI For good or bad, machine tools are upon us. Humans are still the responsible ones. labels Sep 1, 2026
@jimklimov jimklimov added this to the 2.8.6 milestone Sep 1, 2026
jimklimov added a commit to user01010111/nut that referenced this pull request Sep 1, 2026
@AppVeyorBot

Copy link
Copy Markdown

@AppVeyorBot

Copy link
Copy Markdown

@AppVeyorBot

Copy link
Copy Markdown

@AppVeyorBot

Copy link
Copy Markdown

Build nut 2.8.5.5196-master completed (commit 34a58c86c3 by @jimklimov)

@AppVeyorBot

Copy link
Copy Markdown

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

Labels

AI For good or bad, machine tools are upon us. Humans are still the responsible ones. CI Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes) documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: concise guidance for AI-assisted contributions

3 participants