world_sync/tests/evidence/m11b2d_a3a_script_cleanup_grep.txt

33 lines
2.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CMD: cd modules/world_sync && grep -r 'm11b2c_patch_fixture_ddl' scripts/ pyproject.toml build.sh tests/ world_sync/ ; echo RC=$?
# DATE: 2026-09-23T00:12:26+08:00
# HEAD: ee401fa
# TASK: M11b-2d-A3a 一次性脚本清理取证(响应 QC #7/#20,登记见 §8 规则 8 执行记录)
# NOTE: 输出原样粘贴(含 RC),未做删减。
## (1) 任务书原样命令(含本模块不存在的 build.sh)
$ grep -r "m11b2c_patch_fixture_ddl" scripts/ pyproject.toml build.sh tests/ world_sync/
grep: build.sh: No such file or directory
grep: tests/evidence/m11b2d_a3a_script_cleanup_grep.txt: input file is also the output
RC=2
## (2) 去掉不存在路径后的等价命令(纯代码/配置引用检索)
$ grep -rn "m11b2c_patch_fixture_ddl" scripts/ pyproject.toml tests/ world_sync/
grep: tests/evidence/m11b2d_a3a_script_cleanup_grep.txt: input file is also the output
RC=2
## (3) 删除前全仓检索(排除 .git/.venv/__pycache__)
$ grep -rn --exclude-dir=.git --exclude-dir=.venv --exclude-dir=__pycache__ "m11b2c_patch_fixture_ddl" .
grep: ./tests/evidence/m11b2d_a3a_script_cleanup_grep.txt: input file is also the output
./docs/work-log-2026-09-22-m11b2d-fixture-contract.md:9: `scripts/m11b2c_patch_fixture_ddl.py` 清理,登记见 §8 规则 8 执行记录)
./docs/work-log-2026-09-22-m11b2d-fixture-contract.md:527: - **执行记录(A3a 轮,响应 QC #20)**:同类残留 `scripts/m11b2c_patch_fixture_ddl.py`
./docs/work-log-2026-09-22-m11b2d-fixture-contract.md:529: `grep -rn 'm11b2c_patch_fixture_ddl' scripts/ pyproject.toml tests/ world_sync/ docs/` 与
./docs/work-log-2026-09-22-m11b2d-fixture-contract.md:532: 故按本规则 **`git rm scripts/m11b2c_patch_fixture_ddl.py`** 删除,不申请豁免。
RC=2
## (4) 待删文件实况(git 跟踪中,2139B)
$ ls -la scripts/m11b2c_patch_fixture_ddl.py && git ls-files scripts/ | grep m11b2c_patch
-rw-rw-r-- 1 pipeline pipeline 2139 Sep 22 14:46 scripts/m11b2c_patch_fixture_ddl.py
RC=0
scripts/m11b2c_patch_fixture_ddl.py
RC=0