From 7371f24708eb7609d165701547e37f886b889a31 Mon Sep 17 00:00:00 2001 From: odinlake-ai Date: Fri, 26 Jun 2026 14:57:56 +0100 Subject: [PATCH] Add AI Contributor Code of Conduct (AGENTS.md) Enshrine the rules for AI contributors: never push directly to main or dev-* branches (human-reviewed PRs only), do work on ai-feature-* branches, never force-push or self-merge. Co-Authored-By: Claude Opus 4.8 (1M context) --- AGENTS.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..bb089ff --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,19 @@ +# AI Contributor Code of Conduct + +These rules apply to **any AI agent or AI-assisted automation** contributing to this repository. +They exist so that automated changes are always reviewed by a human before they land. Humans +contributing in the normal way are unaffected. + +## Rules + +1. **Never commit or push directly to a protected branch.** Do **not** push to `main` or to any + `dev-*` branch. Changes to those branches happen **only** through a pull request that a human + reviews and merges. + +2. **Do your work on a feature branch**, named with the prefix **`ai-feature-`** + (e.g. `ai-feature-fix-ontology-parse`). One logical change per branch. + +3. **Propose changes via pull request.** Open a PR from your `ai-feature-…` branch into `main` and + leave it for human review. **Do not merge your own PR**, and never bypass branch protection. + +4. **Never force-push** a shared branch and never rewrite published history.