diff --git a/CLAUDE.md b/CLAUDE.md index 72c7c36..7010135 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,6 +2,35 @@ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. +## Git Commit Policy - IMPORTANT + +**You MUST commit and push changes frequently.** Evaluate after each tool call whether a commit makes sense: + +### Commit immediately after: +- Any Edit or Write to documentation files (docs/*.md, CLAUDE.md) +- Creating or modifying Traefik configs +- Adding new services to infrastructure +- Completing a discrete task or fix + +### Commit in batches for: +- Multiple related file edits (e.g., updating INFRASTRUCTURE.md + CHANGELOG.md together) +- Exploratory changes that may be reverted + +### Commit message format: +``` +: + + + +🤖 Generated with [Claude Code](https://claude.com/claude-code) + +Co-Authored-By: Claude Opus 4.5 +``` + +Types: `add`, `update`, `fix`, `docs`, `config` + +**Remote**: `origin` → http://10.4.2.7:3000/kavren/proxmox-infra.git + ## Repository Purpose Infrastructure documentation and management repository for the **KavCorp** Proxmox cluster - a 5-node homelab cluster running self-hosted services. This repository supports migration from Docker containers to Proxmox LXCs where appropriate.