Add git workspace hygiene and Epoch data tracking rules#5
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0d9f3a37be
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ### Git Workspace Hygiene | ||
| Agents must leave the repository in the same clean state they found it. No exceptions. | ||
|
|
||
| - **Delete feature branches** after merge — whether you merged via PR or locally. A merged branch that still exists is a failure. |
There was a problem hiding this comment.
Exempt pipeline-managed branches from cleanup rule
This new blanket requirement to delete all feature branches after merge conflicts with the existing Pipeline Awareness rule (AGENTS.md earlier section) that says fix/issue-* branches are pipeline-managed and must not be deleted. Keeping both rules will cause agents to follow contradictory guidance, and in the pipeline case can remove branches the automation expects to keep managing.
Useful? React with 👍 / 👎.
Org-wide rules: git cleanup discipline and Epoch data tracking mandate.
Need help on this PR? Tag
@codesmithwith what you need.