Skip to content

docs: add AGENTS.md as canonical contributor + agent guide#297

Open
dcmcand wants to merge 1 commit into
mainfrom
worktree-add-agents-md
Open

docs: add AGENTS.md as canonical contributor + agent guide#297
dcmcand wants to merge 1 commit into
mainfrom
worktree-add-agents-md

Conversation

@dcmcand
Copy link
Copy Markdown
Contributor

@dcmcand dcmcand commented May 12, 2026

Summary

  • Adds AGENTS.md at the repo root as the canonical, committed guide for human contributors and any AI coding agent (agents.md convention, picked up by Claude Code, Codex, Cursor, Aider, Jules, ...).
  • Content audited against actual code, not copied from the stale local CLAUDE.md. Notable corrections: cluster + DNS provider categories (not just cluster), real Provider interface methods (GetKubeconfig/Summary, no Status), correct OTEL_EXPORTER default (none), Hetzner uses hetzner-k3s (not OpenTofu), InfraSettings.SupportsLocalGitOps, accurate pkg/ layout including dnsprovider, registry, helm, kubeconfig, git. Points readers at ADR-0004 for the direction-of-travel.
  • Fixes stale "Backed by OpenTofu" doc comments on Provider.Deploy / Provider.Destroy. The interface itself is tool-agnostic - Hetzner doesn't use Tofu - and the doc shouldn't claim otherwise.

CLAUDE.md stays gitignored. Developers who want Claude Code's pickup behavior can keep a local one-line CLAUDE.md pointing at AGENTS.md; the team source of truth is the committed AGENTS.md.

Closes #296

Test plan

  • make lint passes (ran via pre-commit hook)
  • make test-unit passes (ran via pre-commit hook)
  • go vet / go fmt clean
  • Reviewer skims AGENTS.md for any remaining inaccuracies they spot from lived knowledge of the codebase
  • Reviewer confirms the Provider interface doc change reads correctly

Adds AGENTS.md at the repo root as the canonical, committed guide for
human contributors and any AI coding agent (Claude Code, Codex, Cursor,
Aider, etc.). Content audited against actual code: cluster + DNS
provider categories, registry layout, real Provider interface methods,
correct OTEL defaults, ADR-0004 as the direction-of-travel reference.

Also fixes stale "Backed by OpenTofu" doc comments on Provider.Deploy
and Provider.Destroy - those predate the Hetzner provider and read as
if the interface mandates Tofu, which it does not.

Closes #296
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.

docs: add AGENTS.md as the canonical contributor + agent guide

1 participant