Skip to content

feat: Create AGENTS.md file#607

Open
TerryHowe wants to merge 3 commits intoNVIDIA:mainfrom
TerryHowe:copilot/create-agents-md-file
Open

feat: Create AGENTS.md file#607
TerryHowe wants to merge 3 commits intoNVIDIA:mainfrom
TerryHowe:copilot/create-agents-md-file

Conversation

@TerryHowe
Copy link

Description

Adds a root-level AGENTS.md per the agents.md spec to give AI coding agents structured, scannable context about this repo.

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

N/A

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Additional Notes

@TerryHowe TerryHowe requested a review from a team as a code owner March 17, 2026 23:54
Copilot AI review requested due to automatic review settings March 17, 2026 23:54
@copy-pr-bot
Copy link

copy-pr-bot bot commented Mar 17, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

AGENTS.md Outdated
## Coding Conventions

See [`STYLE_GUIDE.md`](STYLE_GUIDE.md) for detailed conventions. Key points:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we omit repeating the details, will it lead to a lower quality of help?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could ask AI if it makes a difference and see what it says. 😆 It should "just work" if we say "make sure to look at STYLE_GUIDE.md to ensure changes meet the expected style of the codebase".

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a root-level AGENTS.md following the agents.md spec to provide AI coding agents with structured repository context (architecture summary, repo layout, common commands, and key conventions).

Changes:

  • Introduces AGENTS.md with an overview of NICo, repo structure, and technology stack.
  • Documents common build/test/lint workflows (primarily cargo-make tasks).
  • Summarizes coding conventions and operational/CI expectations with links to existing docs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

AGENTS.md Outdated
- Hardware inventory management and orchestration
- Redfish-based hardware management
- Hardware testing and firmware updates
- IPv4 address allocation and DNS services
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might throw an agent off if it sees IPv4 here, but also sees I'm deep into IPv6 support. It might be good to say "IP address allocation" here so agents have awareness that changes it makes should take IPv6 into consideration (if it doesn't find it, anyway),

AGENTS.md Outdated
git commit -s -m "Your commit message"
```

DCO compliance is enforced automatically; unsigned commits block merging.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also commits must be GPG or SSH key signed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

squashed and one verified ssh signed commit

Copy link
Contributor

@ianderson-nvidia ianderson-nvidia Mar 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GPG Signing only applies to Nvidia folks? That would not apply to community contributions.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I imagine not many people have proper gpg signing configuration.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3b028b0 last commit addresses this

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
@TerryHowe TerryHowe force-pushed the copilot/create-agents-md-file branch from 11c2a07 to d75d130 Compare March 19, 2026 01:24
@ianderson-nvidia
Copy link
Contributor

I don't want to hold up the merge or this MR, so we can add this after the merge.

Here are a few I picked up from other open source projects

Git workflow

When writing git commit messages, follow the conventions below:

Make sure you use git mv to move any files that are already checked into
git.

When writing commit messages, ensure that you explain any non-obvious
trade-offs we've made in the design or implementation.

Wrap any prose (but not code) in the commit message to match git commit
conventions, including the title. Also, follow semantic commit
conventions for the commit title.

When you refer to types or very short code snippets, place them in
backticks. When you have a full line of code or more than one line of
code, put them in indented code blocks.

Code style preferences

Document when you have intentionally omitted code that the reader might
otherwise expect to be present.

Add TODO comments for features or nuances that were deemed not important
to add, support, or implement right away.

The per-crate directory listing in the tree would require ongoing
maintenance as crates are added or removed. Replace it with a note
directing agents to discover crates dynamically via `ls crates/` or
the workspace members in `Cargo.toml`.

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
@TerryHowe TerryHowe force-pushed the copilot/create-agents-md-file branch from 12915ea to ec043e0 Compare March 19, 2026 20:02
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
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.

6 participants