Repository navigation
docs: fold the testing records and mutation evidence into the layout - #880
Merged
Merged
Conversation
…its history
Since the last docs pass this repository grew 32 coverage-campaign records
(`docs/testing/`), a mutation-testing evidence tree at the repo root
(`mutation/`), and a few measurement scripts. This lands them where they
belong and removes the history they had accumulated.
`mutation/` -> `scripts/measure/mutation/`: the cargo-mutants runner `.cmd`s,
the four analysis helpers, the `summary.json` roll-up, the attribution/hygiene
evidence and the raw baseline logs, plus the one prose finding. Their internal
references were corrected (runner-relative outputs, no hard-coded private
paths), a `.gitignore` now keeps the multi-GB per-run `out-*/` trees out while
the committed evidence stays tracked, and `mutation/README.md` documents how to
re-run a campaign. `docs/testing/mutation-report.md`'s false claim that the
directory is gitignored is replaced with what is actually true.
`docs/testing/` is an agent's coverage-campaign record (waiver registries,
dimension evidence, gate commands and run identities), not user-facing
documentation, so the bilingual requirement is scoped around it
(`PAIR_EXEMPT`) and it gains a bilingual entry point
(`docs/testing/README{,.zh-CN}.md`) plus an index section in `docs/README*`.
Its body keeps only what still governs the current test suites: the 122
self-declared historical blocks -- previous passes, superseded segments,
"kept for the arc" narratives -- moved verbatim into `docs/archives/testing/`
behind one-line pointers, and the stale pre-reorg `scripts/` paths were
updated. Section numbers that source comments cite by name were preserved.
Also: the mutation directory joins the `scripts/README*` map; a stale
`coalesce.rs` comment and two pre-existing stale references in the testing
records were corrected.
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.
What
A second batch of docs and scripts landed since the last cleanup: 32
coverage-campaign records under
docs/testing/, a mutation-testing evidencetree at the repo root (
mutation/, 21 tracked files including ~1.2 MB of rawlogs), and a handful of measurement scripts. This PR puts them in their place,
fixes the references the moves invalidated, and takes the history back out of
the live pages.
mutation/→scripts/measure/mutation/The tree was sitting at the repo root with no entry in any layout doc, its
runner scripts still carrying a hard-coded private worktree path. Now:
.cmds, four analysis helpers,summary.json, theattribution/hygiene evidence, three baseline logs, the prose finding);
%~dp0out-*),no hard-coded
D:\…paths,analyze-queue.pyresolving its fixtures from itsown directory so it works from any cwd;
.gitignorekeeps the multi-GB per-runout-*/trees out while thecommitted evidence stays tracked (verified in both directions);
scripts/measure/mutation/README.md+.zh-CN.mddocument what is here andhow to re-run a campaign;
scripts/README*gained the directory;docs/testing/mutation-report.mdno longer claims the directory isgitignored (it never was) and points at the new paths.
docs/testing/— an agent record, not user documentationThese pages are a coverage campaign's handoff record (waiver registries,
dimension evidence, gate commands, run identities), not product documentation,
and they are cited from source comments. So, per the agreed approach:
PAIR_EXEMPTscopes the bilingual requirement arounddocs/testing/**anddocs/archives/testing/**— placement, links, scriptpaths and fences are all still enforced (four regression tests pin both the
exemption and its boundaries);
docs/testing/README.md+README.zh-CN.md, plus atesting/section indocs/README{,.zh-CN}.md;historical blocks (previous passes, superseded segments, "kept for the arc"
narratives) moved verbatim into
docs/archives/testing/behind one-linepointers — 7 archived files, ~1 200 lines out of the live pages;
scripts/paths were updated throughout, and the § numbersthat source comments cite by name were preserved.
Verification
python scripts/docs/check-docs.py --strict-pending→ exit 0(
Checked 249 docs … 0 pairs pending bilingualization)python scripts/tests/test-check-docs.py→Ran 34 tests … OKmutation/gone with no old references left; 21/21 moved files present withno loss; every
scripts/path indocs/testingresolves (59 occurrencesacross 9 files); all 22 archive pointers resolve and the moved blocks are
absent from the live pages; the source-comment § citations still resolve