Skip to content

[codex] Make repository scans gitignore-aware#1221

Draft
rickardvh wants to merge 1 commit into
codex/1212-windows-static-proof-stabilityfrom
codex/1214-gitignore-aware-scans
Draft

[codex] Make repository scans gitignore-aware#1221
rickardvh wants to merge 1 commit into
codex/1212-windows-static-proof-stabilityfrom
codex/1214-gitignore-aware-scans

Conversation

@rickardvh
Copy link
Copy Markdown
Owner

Summary

  • add a central repository_scan_files helper that uses git ls-files with --exclude-standard when available
  • migrate reuse-pressure, repo-friction, and artifact-footprint scans to the shared helper
  • keep untracked non-ignored files visible, keep managed .agentic-workspace files visible, and skip .agentic-workspace/local/scratch for reuse-pressure

Closes #1214.

Validation

  • uv run pytest tests/test_repository_scanning.py tests/test_workspace_implement_cli.py tests/test_workspace_report_cli.py tests/test_workspace_summary_cli.py::test_external_intent_refresh_applies_stale_candidate_reconciliation_and_preserves_delta -q
  • uv run agentic-workspace summary --target . --format json
  • uv run agentic-workspace doctor --target . --modules planning --format json
  • make test-workspace
  • make lint-workspace

Stack

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