Skip to content

docs(clustertool): add shared AI agent instructions - #665

Merged
alfi0812 merged 1 commit into
mainfrom
codex/add-agent-instructions
Nov 1, 2026
Merged

alfi0812 merged 1 commit into
mainfrom
codex/add-agent-instructions

Conversation

@Boemeltrein

Copy link
Copy Markdown
Member

Description

Add repository instructions for AI coding agents working on ClusterTool.

AGENTS.md provides shared guidance on project structure, focused changes, templates, secrets, validation, and contribution requirements. CLAUDE.md imports it so Claude Code uses the same instructions without duplicating them.

The structure follows the TrueCharts and ContainerForge sister repositories.

⚙️ Type of change

Documentation only; no runtime behavior changes.

  • 🆕 New feature (e.g., bootstrap, cluster config, or automation)
  • 🐛 Bugfix (e.g., node setup, config generation)
  • 🔃 Chart Updates/Changes included with clustertool
  • 🔃 Refactor (internal changes, no functional impact)
  • ⚠️ Breaking change (changes Talos cluster behavior)

🧪 How Has This Been Tested?

Checked the Claude instruction import and compared the guidance with the current repository README, PR template, and test-build workflow.

No runtime tests or cluster operations were performed because this change only adds documentation.

  • Run clustertool commands locally
  • Verified cluster bootstrap on Talos nodes
  • Checked generated configs are valid
  • Validated cluster state after changes

📃 Notes:

🤖 This PR is AI generated.

✔️ Checklist:

  • ⚖️ Followed project style and contribution guidelines
  • 👀 Self-reviewed my changes
  • 🧪 Documented testing steps
  • 🏷️ PR title follows convention:
    • feat(clustertool):
    • fix(clustertool):
    • chore(clustertool):

@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 5b77419c-1a0d-4480-bc89-4a132b72e8ba
Commits

Reviewing files that changed from the base of the PR and between 8a6bf5b and a2a4323.

Files selected for processing: 2
  • AGENTS.md
  • CLAUDE.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Summary

Summary by CodeRabbit

  • Documentation
    • Added guidance covering project structure, implementation workflows, validation, credential safety, and contribution conventions.
    • Updated Claude Code instructions to point to the shared guidance and include it.

Adds canonical, tool-agnostic guidance for AI coding agents in AGENTS.md. Updates CLAUDE.md to identify it as Claude Code guidance and include the shared instructions.

Changes: Repository agent guidance

Layer / File(s) Summary
Repository scope and shared instructions
AGENTS.md, CLAUDE.md
AGENTS.md describes the project, repository responsibilities, and general change practices. CLAUDE.md identifies the shared guidance and includes it.
Cluster and template workflows
AGENTS.md
Adds guidance for template and Helm validation, cluster resource ordering, secrets, Git hooks, and authorization for real-cluster operations.
Validation and contribution process
AGENTS.md
Adds validation and reporting expectations, commit and pull request requirements, AI attribution, and CLA notice.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: crow-control

Merge Risk: Minimal · up to a2a43

This documentation-only change introduces no identified runtime or deployment risk and is ready to merge.

Architecture risk: Low · up to a2a43

The change affects 2 systems.

Changed systems: AGENTS.md, CLAUDE.md

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — AGENTS.md (service) was modified; 1 changed file maps to changed impact.
  • observed — CLAUDE.md (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in AGENTS.md: Adds the repository-wide agent-instructions scope, project description, path responsibilities, and guidance to consult dependencies and workflows while keeping source and generated repositories separate.
  • observed — Modified behavior in AGENTS.md: Adds general change practices covering focused edits, repository conventions, error handling, formatting, and preservation of uncommitted work and generated artifacts.
  • observed — Modified behavior in AGENTS.md: Adds instructions for validating template output and Helm values, preserving placeholders, respecting Flux and CRD ordering, and maintaining bootstrap dependencies and resume behavior unless explicitly changing them.
  • observed — Modified behavior in AGENTS.md: Adds secret-handling and Git-hook guidance, including failure handling, Windows and Linux path considerations, and a requirement for explicit authorization before real-cluster operations.
Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title names the main change: adding shared AI agent instructions for the ClusterTool repository. The changeset adds AGENTS.md with that guidance and CLAUDE.md, which imports it. The title follows …
Description check Passed The description states that the PR adds repository instructions for AI coding agents for ClusterTool. It explains that AGENTS.md holds the shared guidance and that CLAUDE.md imports it. It also descri…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: adding shared AI agent instructions for the ClusterTool repository. The changeset adds AGENTS.md with that guidance and CLAUDE.md, which imports it. The title follows the conventional commit format with the docs type and the clustertool scope, and it is concise and specific.

Full details: Description check

Explanation

The description states that the PR adds repository instructions for AI coding agents for ClusterTool. It explains that AGENTS.md holds the shared guidance and that CLAUDE.md imports it. It also describes the documentation-only scope and the testing performed, so it relates directly to the changeset.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@trueforge-bot

trueforge-bot Bot commented Nov 1, 2026

Copy link
Copy Markdown

🚀 HelmRelease CI Report

Overall Status

Stage Result
🔍 Detect HelmReleases success
🧪 Helm Tests skipped

🧪 HelmReleases Tested


⏭️ HelmReleases Skipped


Result

ℹ️ No HelmReleases required testing

@alfi0812
alfi0812 merged commit 8dbcb82 into main Nov 1, 2026
9 of 11 checks passed
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.

1 participant