Skip to content

Record develop-staleness and issue-closing learnings in AGENTS.md#478

Open
ptr727 wants to merge 1 commit into
developfrom
docs/agents-learnings
Open

Record develop-staleness and issue-closing learnings in AGENTS.md#478
ptr727 wants to merge 1 commit into
developfrom
docs/agents-learnings

Conversation

@ptr727

@ptr727 ptr727 commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Two durable learnings: mirror main-only fixes to develop (and check git diff origin/develop origin/main before relying on develop), and put Closes #N in the promotion PR. No code changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 30, 2026 04:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates AGENTS.md to capture durable workflow learnings about branch staleness and GitHub issue auto-closing behavior, helping contributors avoid common pitfalls during develop -> main promotions.

Changes:

  • Document that fixes landing on main outside the normal feature flow should be mirrored to develop, and recommend using git diff origin/develop origin/main to detect staleness.
  • Document that issue-closing keywords (e.g., Closes #N) should be placed on the develop -> main promotion PR so they land on the default branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants