Skip to content

[codex] Ignore generated venv symlinks#769

Merged
jpmorard merged 1 commit into
mainfrom
codex/ignore-generated-venv-symlinks
Jul 6, 2026
Merged

[codex] Ignore generated venv symlinks#769
jpmorard merged 1 commit into
mainfrom
codex/ignore-generated-venv-symlinks

Conversation

@jpmorard

@jpmorard jpmorard commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Extend the generated app/page virtual environment ignore rules to cover both .venv/ directories and .venv symlinks.

Repro

In /Users/agi/agilab-src, app-page .venv directories were ignored after PR #768, but src/agilab/apps/builtin/uav_queue_project/.venv still appeared as untracked because it is a symlink.

Root Cause

The previous ignore rule used trailing-slash directory patterns only. Git does not match those patterns for symlink paths.

Regression Test

Manual Git ignore/status checks were used because this is a Git ignore-policy update.

Validation

  • git status --ignored -s src/agilab/apps-pages/app_ui/.venv src/agilab/apps/builtin/uav_queue_project/.venv
  • python3 tools/agent_commit_provenance_guard.py --check-config
  • pre-push guard passed

Review Evidence

Not used.

Agent Metadata

  • Tokki version: tokki 1.0.19
  • Agent/runtime: Codex CLI, version unavailable
  • Model: GPT-5 Codex
  • Reasoning effort: unknown
  • /fast mode: no

@jpmorard jpmorard merged commit 62eb75b into main Jul 6, 2026
8 checks passed
@jpmorard jpmorard deleted the codex/ignore-generated-venv-symlinks branch July 6, 2026 09:58
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