File Summary Test Churn Fix¶
- Audit date:
2026-03-18(Asia/Tbilisi) - Repository root:
/tmp/repo-logfix-step1-20260318 - Base
origin/master:3c4cf29
Scope¶
This audit captures a narrow verification-tooling fix:
- make
tests/test_utilities.py::test_run_file_summary_sync_reports_expected_fieldsrestoreFILES.mdandFILES.csvafter exercisingrun_file_summary_sync(REPO_ROOT) - verify that the coverage path no longer leaves tracked file-inventory churn behind before a commit or log-only push
Executed Commands¶
Executed successfully in this turn:
make hooks-installuv run python -m compileall src testsuv run pytest tests/test_utilities.py tests/test_repository_rag_bdd.pyuv run repo-rag smoke-testcargo build --manifest-path rust-cli/Cargo.tomlmake coverage
Results¶
make hooks-install: passeduv run python -m compileall src tests: passeduv run pytest tests/test_utilities.py tests/test_repository_rag_bdd.py: passed,15testsuv run repo-rag smoke-test: passed with:answer_contains_repository: truemcp_candidate_count: 1manifest_path: artifacts/azure/repo-rag-smoke.jsoncargo build --manifest-path rust-cli/Cargo.toml: passedmake coverage: passed with131tests and87.96%total coverage
Behavioral Check¶
The regression that mattered here was repository churn during verification. After make coverage
completed, git status -sb still reported only the intended test edit:
M tests/test_utilities.py
That means the test no longer leaves FILES.md and FILES.csv modified in the worktree after it
calls the inventory sync utility.
CI Comparison¶
Recent remote evidence in samples/logs/20260318T101939Z-gh-runs-land-each-unlanded.md shows the
latest landed CI run 23239808187 and Hushwheel Quality run 23239808138 both completed
success before this fix. There is no mismatch with the local checks above; this turn only changes
test isolation, not the repo's expected runtime behavior.
Current Verification Status¶
Configured and exercised in this turn:
- hook installation
- Python compile checks
- focused utility and repository BDD pytest coverage
- repository smoke coverage
- Rust wrapper build
- full coverage run, including the path that previously triggered file-inventory churn
Configured but not exercised in this turn:
uv run repo-rag verify-surfacesmake quality- Hushwheel fixture quality checks
- publication PDF build
Verification categories that still do not exist as explicit suites:
- UI checks
- dedicated live Azure integration tests
- full notebook batch execution gates
Notes¶
- The production utility in
src/repo_rag_lab/file_summaries.pystill writes the tracked inventory files as designed. The fix is intentionally limited to test cleanup so repository behavior stays unchanged while verification becomes non-destructive.