From 6614944d3de9707b3e36ca66a3cf5fa1b65e0ff0 Mon Sep 17 00:00:00 2001 From: Anton Gulin Date: Fri, 4 Sep 2026 21:47:30 -0700 Subject: [PATCH] docs(repo): require safe session Git synchronization --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 7ffec00..d7d4e6f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,6 +2,9 @@ Project agent rules. +Start every session by inspecting Git status and worktrees, fetching origin with pruning, safely fast-forwarding local main, and verifying main matches origin/main. Only then create a task branch from synchronized main if needed. Preserve existing task branches and unfinished work. Never reset, discard changes, auto-stash, or force-push merely to synchronize. If safe synchronization is blocked, resolve the blocker before editing or branching. + + # DOX framework