Skip to content

Refuse agent scratch directories at any depth - #7

Merged
pablo-tech merged 1 commit into
mainfrom
chore/ignore-agent-scratch
Sep 21, 2026
Merged

pablo-tech merged 1 commit into
mainfrom
chore/ignore-agent-scratch

Conversation

@pablo-tech

Copy link
Copy Markdown
Contributor

An agent working directory can appear at any depth. Without these two lines a stray git add -A commits an ephemeral worktree as a gitlink (it just happened in tinytars/lexi), and agent memory — which belongs only in plover-context — can drift in behind the pre-commit hook.

🤖 Generated with Claude Code

An ephemeral worktree is a nested repository, not content, and a stray `git add -A`
commits it as a gitlink; agent memory belongs only in plover-context.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@pablo-tech
pablo-tech merged commit 7d5d7a1 into main Sep 21, 2026
4 checks passed
@pablo-tech
pablo-tech deleted the chore/ignore-agent-scratch branch September 21, 2026 11:44
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