Skip to content

AGENTS.md: branch & memory hygiene — never push to merged branches; lessons ship inside the PR #215

Description

@JoshuaVSherman

Flash/agy pushed a commit to gemini/1168-admin-add-venue-restore AFTER its PR (JaMmusic#1171) merged, stranding a docs lesson on a dead branch and forcing manual remote-branch cleanup.

Add a "Branch & memory hygiene" section to AGENTS.md (create a minimal AGENTS.md if the repo has none):

  • one branch per task; never push any other branch
  • a merged/closed PR's branch is DEAD — follow-ups start on a new branch off latest dev
  • lessons learned (/learn-style notes) are committed on the SAME task branch while the PR is open, so they ship inside the PR — never as a post-merge push

Docs-only + one patch version bump.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions