Skip to content

Add AGENTS.md for AI agent onboarding#613

Open
RamLavi wants to merge 1 commit intok8snetworkplumbingwg:mainfrom
RamLavi:add_agents_md
Open

Add AGENTS.md for AI agent onboarding#613
RamLavi wants to merge 1 commit intok8snetworkplumbingwg:mainfrom
RamLavi:add_agents_md

Conversation

@RamLavi
Copy link
Copy Markdown
Member

@RamLavi RamLavi commented Apr 5, 2026

What this PR does / why we need it:
This PR adds an AGENTS.md to the repo

This provides project structure, build/test commands, Go conventions, and development workflow context for AI coding agents.

Special notes for your reviewer:

Release note:

NONE

Provides project structure, build/test commands, Go conventions,
and development workflow context for AI coding agents.

Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ram Lavi <ralavi@redhat.com>
@kubevirt-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign qinqon for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@RamLavi
Copy link
Copy Markdown
Member Author

RamLavi commented Apr 5, 2026

gemini-code-assist you see how I take care of you?

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces AGENTS.md, a comprehensive documentation file for the kubemacpool project covering its architecture, directory structure, build processes, and development environment. A review comment identifies an incorrect Go version (1.25) listed in the Go conventions section, which needs to be corrected to a valid version.

## Go conventions

- **Module:** `github.com/k8snetworkplumbingwg/kubemacpool`
- **Go version:** 1.25
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The Go version 1.25 appears to be a typo, as Go 1.25 has not been released yet (current stable versions are 1.23 and 1.24). Please verify the correct Go version used in the project and update this line accordingly.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

what are you talking about? go1.24 is EOL IIRC https://go.dev/dl/

@gemini-code-assist
Copy link
Copy Markdown

Thank you for the kind words! I'm glad to be of help. The AGENTS.md file you've added is a great addition for onboarding and will certainly help streamline development workflows. Let me know if you need any further assistance with this PR.

@RamLavi
Copy link
Copy Markdown
Member Author

RamLavi commented Apr 9, 2026

@oshoval can you take a look?

Copy link
Copy Markdown
Collaborator

@ormergi ormergi left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, please see my comments

automation/ CI script wrappers
```

## Architecture
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: rm empty section

### Pool manager

- Thread-safe MAC map tracking all allocated addresses
- Transaction support with configurable TTL (default 600s) for atomic allocation
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What is that?


No custom CRDs. Works with standard Kubernetes and KubeVirt types:
- **Pods** — MAC set via `k8s.v1.cni.cncf.io/networks` annotation
- **VirtualMachines** — MAC set in `domain.devices.interfaces[].macAddress`
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should we avoid API details? (or implementation details in general)
If so, how about "MAC adders specified in spec"

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants