---
name: "Exclude git worktrees from loc command output"
---

# Story 468: Exclude git worktrees from loc command output

## User Story

As a user running the `loc` bot command, I want worktree directories (`.huskies/worktrees/`) to be excluded from the file listing so that the output only shows project source files, not duplicated code from agent worktrees.

## Acceptance Criteria

- [ ] loc command excludes files under .huskies/worktrees/ from line counts
- [ ] loc command excludes files under target/ directories from line counts
- [ ] Unit test verifies worktree paths are filtered out

## Out of Scope

- TBD
