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.
G7 — документация = код
Стек:
goal2-g5(#G5) →goal2-g6(#G6) → этот PR. Diff относительноgoal2-g6.Правило и механика
AGENTS.md §8: каждая изменённая строка документации ссылается на факт кода(
файл:символ), правка «только цифра» без ссылки отклоняется до коммита..github/pull_request_template.md: таблица «изменённая строка docs → файл:символ»;колонка Entry point в «What works today» обязательна (в RU README переименована).
scripts/check_docs_vs_installer.py: каждыйinstall.py --flagи--client XизREADME/docs существует в
install.py/snippets.py; пустой корпус =exit 2.162 → 159ссылок, 0 проблем. На дореформенномdocs/en/INSTALL.mdизmainпечатает
✗ unknown installer flag --uninstall(воспроизведение исходного дефекта).scripts/check_docs_vs_config.py: каждая переменная из таблицdocs/en/CONFIGURATION.mdсуществует в коде (src/,scripts/,.opencode/,.githooks/,.env.example). 66 переменных, 0 проблем; ловит историческийMSCODEBASE_MAX_FILE_SIZE_MB(код читаетMAX_FILE_SIZE_MB,src/config/settings.py:425).Аудит канонических страниц (2026-11-12)
ARCHITECTURE.mdfile_guard,Searcher, профиль 17/69src/main.py::main,src/mcp/server_factory.py::create_mcp_server(156),src/core/artifact_paths.py::*,src/core/indexing/file_guard.py,src/core/search/engine.py::Searcher,src/mcp/server_tools.py::CORE_PROFILESEARCH_PIPELINE.mdsrc/mcp/tools/search_tools.py:288,investigate_tool.py:44,1025,1041,:681,:1191,settings.py:268,:219,:222CONFIGURATION.mdMAX_FILE_SIZE_MBбез префикса; группы настроек; env плагина и хукаsettings.py:425,settings.py::SearchConfig(189–268),.opencode/plugin/mscodebase_gate.ts:25–27,.githooks/pre-commit:33,153FAQ.md,INSTALL_MODELS.md,SYSTEM_REQUIREMENTS.md,CONTRIBUTING.md--with-modelsinstall.py::models_enabled,step_models,step_ggufREADME.mdtools/listзамер: 17 / 69;src/mcp/server_tools.py::CORE_PROFILEКаждая из четырёх страниц получила раздел «Code references» (EN/RU/ZH) с таблицей
«утверждение →
файл:символ». Найденный дрейф исправлен:MSCODEBASE_MAX_FILE_SIZE_MB→
MAX_FILE_SIZE_MB; OpenCode V2 формаmcp.servers(в G5-PR); модель-дефолты ×5файлов;
--uninstall(в G6-PR).Не проверено
утверждения сверены построчно по таблице выше, но не автоматизированы; страницы
docs/blog/**,docs/research/**,docs/archive/**— историческое, не переписываются.DoD «нет секции без кодовой ссылки» — как проверяется
Механически: guard требует, чтобы каждая каноническая страница (
README.md,docs/*/{ARCHITECTURE,SEARCH_PIPELINE,CONFIGURATION,INSTALL,CLIENTS,DATA_MAP,FAQ}.md)содержала хотя бы одну ссылку на код (
src/…py,install.py,.opencode/plugin/…,.githooks/…); страница без ссылок = failure.test_canonical_page_without_code_reference_is_reportedфиксирует поведение,test_every_canonical_page_in_the_repo_cites_code— инвариант репозитория.Внутри страниц ссылки собраны в разделы «Code references» (EN/RU/ZH).
CI (head
6a346bb, run 43101532620): 7/7 jobs success — включая шагClient snippets cold start (G5)иclean-state(полный прогон из чистого клона).Локально: guard'ы
159 flag reference(s) / 0 problem(s),66 variable(s) / 0 problem(s);pytest tests/test_docs_vs_installer.py tests/test_docs_vs_config.py→ 11 passed.Cold start on a clean environment, two non-Zed/OpenCode clients (DoD G5)
Fresh temp roots (
MSCODEBASE_INSTALL_ROOT,MSCODEBASE_DATA_DIR), no pre-existingstate,
--no-zed, no--with-models; commands taken fromdocs/en/CLIENTS.md§3.4/§3.5:One deliberate deviation, stated in the harness: the installer's "kill stale MCP
processes" probe was neutralised with a
powershell.batshim exiting 1, so the runcould not terminate the live MCP host of the session; every other step is the real
installer code path.
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.