NO-ISSUE: Add AGENTS.md and AI convention files - #14
Conversation
Create AGENTS.md as tool-agnostic source of truth (HostLease controller, Ironic integration, build/test commands, architecture). Create CLAUDE.md with @AGENTS.md. Add Copilot instructions. Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Amir Yogev <ayogev@redhat.com>
WalkthroughAdds a new ChangesController Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Amir Yogev <ayogev@redhat.com>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@AGENTS.md`:
- Line 3: Update the short project description to use the compound adjective
“bare-metal hosts” instead of “bare metal hosts.” This is a wording fix in the
AGENTS.md summary text; adjust the description so the modifier before “hosts” is
hyphenated consistently.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: osac-project/coderabbit/.coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: fc2bfb51-0c93-443d-aea7-120db0373ae6
📒 Files selected for processing (1)
AGENTS.md
| @@ -0,0 +1,97 @@ | |||
| # host-management-openstack | |||
|
|
|||
| Kubernetes controller that manages bare metal hosts via OpenStack Ironic. Watches HostLease CRs (defined in bare-metal-fulfillment-operator) and reconciles power state with Ironic nodes. | |||
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Hyphenate "bare-metal" as compound adjective.
"Bare metal" modifies "hosts" and should be hyphenated: "bare-metal hosts."
🧰 Tools
🪛 LanguageTool
[uncategorized] ~3-~3: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...ack Kubernetes controller that manages bare metal hosts via OpenStack Ironic. Watches Hos...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@AGENTS.md` at line 3, Update the short project description to use the
compound adjective “bare-metal hosts” instead of “bare metal hosts.” This is a
wording fix in the AGENTS.md summary text; adjust the description so the
modifier before “hosts” is hyphenated consistently.
Summary
AGENTS.mdas tool-agnostic source of truth (critical rules, dev environment, repo structure, HostLease controller architecture, OpenStack Ironic integration, build/test commands, CI, code quality)CLAUDE.mdwith@AGENTS.mdreference.github/copilot-instructions.mdfor GitHub Copilot supportPart of workspace-wide AI-readiness improvements (osac-workspace#60).
Assisted-by: Claude Code noreply@anthropic.com
Summary by CodeRabbit