Skip to content

Drop the regular-branch list from the public/agents worktree guide (#7453) - #3577

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Oct 23, 2026
Merged

inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

Copybara-translated 1 Inkeep OSS change. Rebase-merge this PR so the prepared commit lands directly on public main.

…7453)

The "When to Use Worktrees" section of public/agents/AGENTS.md ended
with a list of cases for regular branches instead: working on a single
feature, or making a quick hotfix or small change. In agents-private
that tells an agent to switch branches in the shared main checkout,
which the root AGENTS.md and CLAUDE.md forbid ("Never switch branches
or stash in the main checkout"), and it contradicts this file's own
branch step, which says to create the branch in a new worktree there.

For readers of the public inkeep/agents repository the list restated
the default: the workflow's first step already creates a regular
branch, and the list of cases where a worktree helps stays.

The worktree recipe in this file still names no pnpm install or pnpm
setup:env. That was weighed and left out. In agents-private, the root
AGENTS.md gives both steps to the sessions that load it, and the root
pnpm test:agents names the fix when a worktree has no .env; the
suggestion to repeat them here came from a review of
inkeep/agents-private#6957, not from an observed failure. When the .env
step is missed, public/agents tests stop at collection with "Invalid
environment variables". The public repository has no setup:env script,
so a line here would also need agents-private scoping.

The file goes from 39,591 to 39,411 bytes, under its 39,600 pin.

GitOrigin-RevId: fb7b183a86c955e66307e7ebaeb07f4c1fae53f3
@inkeep-oss-sync
inkeep-oss-sync Bot merged commit f54c513 into main Oct 23, 2026
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch October 23, 2026 10:35
@changeset-bot

changeset-bot Bot commented Oct 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d72ffb8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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