From 74277f8ef21722ee0e5c953b13ff9d696f63f4ab Mon Sep 17 00:00:00 2001 From: Amit Arora Date: Sun, 5 Jul 2026 19:47:00 +0000 Subject: [PATCH] Add git workflow rules to AGENTS.md Document that changes must go through a feature branch + PR review rather than committing or merging directly to main. Co-Authored-By: Claude Opus 4.8 (1M context) --- AGENTS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 704c61f..6c15ee6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -30,3 +30,8 @@ When a task is unscoped, the source worth reading lives under: - **Markdown:** do not hard-wrap prose. Write each paragraph as a single line and let the renderer soft-wrap. Tables, code fences, and lists are unaffected. - Match the style of surrounding code; keep changes minimal and scoped to the task. + +## Git rules + +- **Never commit directly to `main`.** Always create a feature branch and open a PR. +- **Never merge PRs directly to `main`.** Use a PR review workflow with an approved merge.