tools: retire the finished views-split tooling and its fixture copy of web/context; stop a tools test pinning live web/context entries
tsk-s8vw1awdjpvy Proposed
Audit round 6 (tsk-hgnbapyw7hnh), read at 046a4d3b. Kind: debt (a one-time migration left in the tree, constraining live files).
What is wrong
- The split of
web/context/views.mdis done (its docstring says so:tools/split_views_context.py:17-18, "The split was a one-time migration"). Still in the tree:tools/split_views_context.py(515 lines),tools/views_context_map.py(397),tools/views_families.tsv(233),tools/views_index_summaries.json,tools/test_split_views_context.py(227),tools/test_views_context_map.py(127), andtools/fixtures/split_views_context/(an 8,480-lineviews.mdand anafter/copy of all 22 web/context files, about 19.6k lines). tools/test_views_context_map.py:55-68runsvcm.load()against the liveweb/context/: every id inviews_families.tsvmust stay in one of the 19 fixed files (views_context_map.py:43-63) and entrya8f4ac34must stay ininbox.md. Moving or removing one of those entries fails the tools tests.- The fixture copies duplicate every web/context entry Id, so every grep for an Id also hits
tools/fixtures/split_views_context/after/. - Nothing outside the changelog names
views_context_map.py.
Proposal
- Delete the two tools, their tests, the TSV, the JSON and the fixtures (recoverable from git). Mark
context/process.md:3056-3088(entry 58f9c09d) superseded, since its revisit condition is met, and the b4ccca85 entry that sees it.
Effort / risk: S. Low; only tools tests change.