Skip to content

chore: ignore agent worktrees under .claude/ - #26

Open
kottinov wants to merge 1 commit into
mainfrom
chore/ignore-claude-worktrees
Open

kottinov wants to merge 1 commit into
mainfrom
chore/ignore-claude-worktrees

Conversation

@kottinov

Copy link
Copy Markdown
Collaborator

Why

Every evorca evaluate run records its git state as provenance for the thesis. Today every run on the main checkout says with uncommitted changes, even with no code changed. The only change is the untracked .claude/worktrees/ folder, where coding agents keep their worktrees. A reader of run.json can't tell that apart from a real uncommitted change.

What changed

.gitignore ignores /.claude/worktrees/. An empty changeset is included, as CI requires.

Scope

Only agent worktrees are ignored. Anything else under .claude/, such as shared settings, still shows up in git.

Blast Radius

None for code. Runs started after this merges record dirty: false when nothing else is uncommitted. Runs already recorded keep what they recorded. Their agent image is pinned by imageId either way.

Verification

  • Ignored. On this branch, with a file at .claude/worktrees/probe/x, git status --porcelain lists only the two changed files and nothing under .claude/.
  • Formatting. Prettier passes on the changeset.

Every evaluate run recorded git as dirty, because gitState counts the
untracked .claude/worktrees/ folder as an uncommitted change.
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