Repository navigation
Conversation
Pre-merge checks:
|
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
G6 — гигиена данных и контроль
Стек:
goal2-g5(#G5) → этот PR →goal2-g7(#G7). Diff относительноgoal2-g5.Что делает
install.py --doctor [--json]: python/venv, install root, data root, проектныеартефакты, число чанков в
chunks.db, размеры (os.walk), read-only (каталоги не создаёт).install.py --clean [--dry-run] [--yes] [--json]: удаление по слоям (install root /data root /
.mscodebase/.codebase_indices/.codebase/.codebase_models),guard'ы на исходный чекаут, корень ФС, домашний каталог;
exit 1при остатке(файлы, залоченные работающим хостом).
models_enabled()+--with-models; дефолт text-first, без сети.--skip-models/--no-modelsсовместимы.docs/{en,ru,zh}/DATA_MAP.md— карта данных: путь, владелец, назначение, размер, политика.docs/*/INSTALL.md§6/§7 — doctor/clean/uninstall описаны и совпадают с поведением(вместо несуществующего
--uninstall).Доказательства
Тесты: реальный
--sync-only→--doctor→--clean --yes→remaining_bytes == 0;dry-run ничего не удаляет; без
--yes—exit 2; мутация «не удалять каталог» даётassert 1 == 0.Не проверено
--cleanв реальном профиле удаляет кэши всех проектов (по определению) — нужен--dry-run/--yes.CI (head
f814ba9, run 43101464681): 7/7 jobs success —test(ubuntu + windows),clean-state,manifest-parity,secret-scan,docker-build,transport-equiv-e2e.Локально:
pytest tests/test_install_cli.py tests/test_cli.py→ 25 passed;--doctorна реальной машине показывает слои и 7278 чанков.Base refreshed without rewriting history
feat/g5-universal-installmoved forward; this branch absorbed it with a mergecommit (
dc1a94e, no force-push). Result: the PR diff vs its base now containsinstall.pyonly — the duplicatedscripts/verify_client_snippets.pychange is gone(
gh pr view 121 --json files).Final heads (after the base refresh and the clean-room fixes)
6010443dc1a94ef4cb766Lines about earlier heads (
ea09277,f814ba9,6a346bb) describe previoussnapshots; the table above is the current state.