Skip to content

[codex-security] Support nested Git repositories in scan snapshots - #116

Merged
ianw-oai merged 3 commits into
mainfrom
dev/ianw/codex-security-nested-worktree-snapshot
Jul 30, 2026
Merged

[codex-security] Support nested Git repositories in scan snapshots#116
ianw-oai merged 3 commits into
mainfrom
dev/ianw/codex-security-nested-worktree-snapshot

Conversation

@ianw-oai

Copy link
Copy Markdown
Collaborator

Summary

Fix scans of repositories containing an untracked nested Git checkout. Git reports the nested checkout as a directory, which previously made scan registration fail with Unsupported untracked file type.

Expand nested repositories using their Git-visible files, include directory entries in the snapshot digest, and retain each nested repository's ignore rules. Add an SDK integration test that registers a repository containing an untracked nested checkout.

Validation

  • All 16 scan-recovery integration tests passed.
  • pnpm run types passed under Node 22.
  • The changed TypeScript test passes Prettier validation.

@ianw-oai
ianw-oai requested a review from mldangelo-oai July 30, 2026 06:51
@ianw-oai
ianw-oai merged commit 9c7634b into main Jul 30, 2026
8 checks passed
@ianw-oai
ianw-oai deleted the dev/ianw/codex-security-nested-worktree-snapshot branch July 30, 2026 07:00
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.

2 participants