Skip to content

fix: exclude nested Git checkouts from repository analysis - #165

Merged
anhnh2002 merged 1 commit into
mainfrom
fix/157-nested-git-checkouts
Nov 16, 2026
Merged

anhnh2002 merged 1 commit into
mainfrom
fix/157-nested-git-checkouts

Conversation

@anhnh2002

@anhnh2002 anhnh2002 commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Local repositories containing nested worktrees or clones currently contribute duplicate source files and components to documentation analysis. Prune these checkouts before source traversal and fallback .gitignore discovery, while preserving declared submodules, ordinary untracked sources, and explicitly selected checkout roots. Repository boundaries also apply with --no-gitignore and without Git.

Adds regression coverage for real worktrees/clones, nested submodules, subdirectory analysis, declaration parsing, and graph integrity, plus an opt-in live smoke test with isolated configuration.

Validation:

  • All 882 tracked Python tests passed with the CI-pinned language-pack version (1.23.1).
  • 27 filtering regression tests passed.
  • Ruff lint and formatting checks passed.
  • Live documentation generation passed with provider codex and model gpt-6-luna; the saved graph included parent/untracked/submodule sources and excluded nested-checkout copies.

Closes #157.

@anhnh2002
anhnh2002 merged commit 7fcf935 into main Nov 16, 2026
3 checks passed
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.

Nested Git checkouts (agent worktrees, clones) are analyzed as part of the repository

1 participant