- CLAUDE.md: add "Question the question" and "One clarifying question" rules to Tone and Interaction — XY problem detection, false premise checks, and explicit reframe pattern before answering - Add claude/ detail-file directory (topic docs referenced from CLAUDE.md) - Add ABOUT.md, FUTURE.md - Update memory/, scripts/, settings.yaml with accumulated session changes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
Source Control
Hosts and orgs
- All projects on Gitea (
gitea.oreillyit.nz) as primary remote — prefer this hostname overgitea.homelab.internal(same instance, the public name enables external access) - Migrate existing remotes from
gitea.homelab.internaltogitea.oreillyit.nzwhen convenient skynetorg: AI-focused projects. Owned byai_enablement.homelaborg: infrastructure projects (cluster-bootstrap, etc.). Owned bycluster-administrator.oreillyitorg: non-AI internal O'Reilly IT tools. Owned byai_enablement.- Optionally push-mirror to GitHub for public visibility.
SSH aliases
Pattern: gitea.oreillyit.nz-<username>.
gitea.oreillyit.nz-homelab→ authenticates ascluster-administrator(key:~/.ssh/gitea-cluster-admin)gitea.oreillyit.nz-ai-enablement→ authenticates asai_enablement(key:~/.ssh/gitea.ai-enablement)
Git remote URL format: git@gitea.oreillyit.nz-<user>:<org>/<repo>.git
- Example:
git@gitea.oreillyit.nz-ai-enablement:skynet/custom-claude-skills.git
Working rules
- Always pull before planning work — run
git pull --ff-onlywhen entering a project. Work may have been pushed from another machine or by container agents. If the pull fails (diverged history, uncommitted changes), warn the user before proceeding. - Meaningful commit messages; prefer small, focused commits over large batches.
- Enable pre-commit hooks where appropriate (secret detection, linting, formatting).
- Never commit secrets in plaintext — use SOPS + age or equivalent encryption.