921 B
921 B
AGENTS.md
Safety Rules
- Branch safety: If the current branch is NOT a dev branch (name does NOT contain
feat,refactor,docs,fix), do NOT commit directly — warn the user first. - Commit SOP: Before every
git commit, rungit branch --show-current. If the branch is not a dev branch, ask the user for a branch name, create it, and commit there. - Branch naming: Dev branches must contain
feat,refactor,docs, orfix. Release branches followrelease/[webui|core]-[fix|refactor]/<branch_name>(e.g.release/webui-refactor/glassmorphism-theme). - Cross-domain guard: If
cmd/webui/does NOT exist, warn before modifyingcmd/webui/files (they belong in the other repo). Ifcmd/webui/exists, warn before modifyinginternal/files (they belong in the core repo). - CHANGELOG: Core changes →
docs/CHANGELOG.mdonly. Higher versions on TOP, lower versions below.