Skip to content

docs: clarify latest-main requirement for worktrees#44

Merged
chaliy merged 1 commit intomainfrom
docs/agents-latest-main-worktrees
Mar 14, 2026
Merged

docs: clarify latest-main requirement for worktrees#44
chaliy merged 1 commit intomainfrom
docs/agents-latest-main-worktrees

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Mar 14, 2026

What

Add explicit AGENTS guidance to stay on the latest remote main, with detached worktree handling called out near the top of the file and in the pre-PR checklist.

Why

Detached worktrees make it easy to start from a stale commit. The repo guidance should state this requirement plainly where agents will see it before editing or shipping.

How

Updated AGENTS.md with a top-level reminder to fetch origin/main and rebase or branch from it before editing in detached worktrees, and expanded the rebased-branch checklist item to mention the worktree case.

Risk

  • Low
  • Documentation-only change to repo workflow guidance

Checklist

  • Unit tests are passed
  • Smoke tests are passed
  • Documentation is updated
  • Specs are up to date and not in conflict

@chaliy chaliy merged commit 9ef660c into main Mar 14, 2026
10 checks passed
@chaliy chaliy deleted the docs/agents-latest-main-worktrees branch March 14, 2026 01:24
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.

1 participant