chore: add mandatory clean-tree and commit-push workflow
This commit is contained in:
15
AGENTS.md
Normal file
15
AGENTS.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# AGENTS.md
|
||||||
|
|
||||||
|
## Mandatory Git Workflow
|
||||||
|
|
||||||
|
Before making any code or file change that results in a diff:
|
||||||
|
- Ensure `git status --porcelain` is empty.
|
||||||
|
- If there are open changes, stop and ask the user how to proceed.
|
||||||
|
|
||||||
|
After completing a requested change:
|
||||||
|
- Create a commit with a clear message.
|
||||||
|
- Push the commit to the current remote branch.
|
||||||
|
|
||||||
|
## Scope
|
||||||
|
|
||||||
|
These rules apply to all tasks in this repository unless the user explicitly requests a different workflow.
|
||||||
Reference in New Issue
Block a user