From cd6dd3d1082371bd677034fcb1e2dfb2d1c94bab Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Sun, 5 Apr 2026 11:12:35 -0400 Subject: [PATCH] Update AGENTS.md: starting work workflow and never push to master Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- AGENTS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 8258320..498cbd8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,15 @@ # AI Agent Instructions +## Starting Work + +Before creating a new branch, always sync and clean up: + +``` +git checkout master +git pull +git branch --merged master | grep -v '^\* \|^ master$' | xargs -r git branch -d +``` + ## After Making Code Changes Always run the following commands before committing: @@ -29,4 +39,5 @@ Update [CHANGELOG.md](CHANGELOG.md) for any user-facing change. Add a line at th ## Commits and PRs +- Never push directly to master — always work on a branch and open a PR. - Squash commits before merging — one logical commit per PR.