Repository navigation
Description
Problem Statement
After Cleanup wave 1, OpenWiz is still mostly not the product. At 879c5da the repository is about 529,000 lines: tests are about 228,700 against about 89,800 lines of product, and the test-selection machinery in ci/select (about 50,700 lines) is more than twice the product's Rust core (about 21,900). Two tools the CI calls, tools/skills-eval (about 19,700) and tools/test-value (about 15,100), live here though they serve other repositories or other work. Every builder and reviewer reads around that weight, and CI runs it. The kernel (#1365) is meant to be the smallest, most stable thing in the organization; today it sits inside the largest.
Solution
Cleanup wave 2 makes the kernel the smallest thing in the repository, by deleting, folding and moving out everything a user or another repository doesn't need from OpenWiz itself.
- Table first. One read-only table lists every folder of 5,000 lines or more not already leaving through another spec, with its lines, files, every caller, and a keep, fold, move or delete call with its reason, where a moved folder goes, and which running spec it collides with.
- Jake says go on the table. Nothing is deleted, folded or moved before that. The wave's other tickets are planned from the table after his go.
- Direction, not a gate: under 250,000 lines once this wave and the specs already removing code (AP11, the WizRoom move, the docs cleanup) are done.
Changelog headline
OpenWiz shrinks toward its kernel: the folders nobody outside needs are mapped, then deleted, folded or moved to the repository that uses them.
User Stories
- As Jake, I want one table of every large folder with a clear call and reason, so that I can say go on the whole wave in one look.
- As a builder or reviewer, I want a smaller repository, so that I read and test less around every ticket.
- As a maintainer, I want each tool to live in the repository that uses it, so that OpenWiz carries only the kernel and the product.
- As the faster-factory work, I want test selection replaced by something path-based and small, so that CI runs only what a change can break without 50,000 lines of machinery.
Implementation Decisions
- The table is the first and, until Jake's go, only ticket (CW2-0). It is read-only: it changes no code and deletes nothing. It lands as
docs/cleanup/wave2-table.md, beside wave 1's tables. - Scope: every folder of 5,000 lines or more, except those already leaving through AP11 (0.1.0 AP11: delete the old web view, the act-from-the-UI pieces, the site copy, and the server, service and store #1264, the old web view and service, about 132,000 lines), the WizRoom move (Infra spec: WizRoom, the war room in its own private repository #979:
tools/collectorandtools/war-room) and the docs cleanup (Infra spec: Docs cleanup: only what agents and users read, in the fewest tokens #1293:docs/evidence). - Each row: lines, files, every caller (CI workflows, hooks, scripts, skills, docs), the call (keep, fold, move or delete) with its reason, the destination for a move (for example
tools/skills-evalto WizSkills), and the running spec it collides with (AP11, FF5 Infra FF5: fast CI: run only what a change can break #1335, Infra spec: Docs cleanup: only what agents and users read, in the fewest tokens #1293, Infra spec: WizRoom, the war room in its own private repository #979). ci/selectgets its own row: replace it with path-based selection, and say exactly what FF5 (Infra FF5: fast CI: run only what a change can break #1335, fast CI) needs from it so the two don't fight.- Totals per action, and the line count the repository would reach.
- After Jake's go, the wave's deletion, fold and move tickets are planned from the table the J203 way.
Testing Decisions
The table changes no code, so it has no tests of its own. Its numbers are checked by the reviewer against main at the commit the table names (a line-count command recorded in the table), and every caller it lists is checked against the repository's workflows, hooks and scripts.
Proof
| Claim | Evidence |
|---|---|
| T1 every folder of 5,000 lines or more outside AP11, #979 and #1293 has a row with lines, files, callers, a call, a reason, a destination and its collision | the table at its named commit, and the reviewer's check against main |
T2 the ci/select row says what FF5 needs |
the row, read against #1335 |
| T3 nothing is deleted before Jake's go | the table's pull request changes only docs/cleanup/wave2-table.md |
Out of Scope
- Any deletion, fold or move before Jake's go on the table.
- Folders already leaving through AP11 (0.1.0 AP11: delete the old web view, the act-from-the-UI pieces, the site copy, and the server, service and store #1264), the WizRoom move (Infra spec: WizRoom, the war room in its own private repository #979) or the docs cleanup (Infra spec: Docs cleanup: only what agents and users read, in the fewest tokens #1293).
- Product behaviour: nothing a user can do changes in this wave.
Further Notes
From Jake's J223 (private record on ClosedWiz), following Cleanup wave 1 (#1141). The 250,000-line figure is a direction, not a gate.
Activity
jparker2006 commentedon Nov 19, 2026
Plan graph approved by Jake, 2026-11-19, revision 1: Jake said yes to Cleanup wave 2 (J223) and asked for it planned the J203 way with one read-only ticket, the wave 2 table, so he can say go on the wave in the morning; the plan passed its own checks (links, relies, owned paths). More tickets are planned only after his go on the table.
Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7008284381
Fingerprint:
7fbb6222c0d3fb432fae0797dd97b088b8c7e3fc01a45cb0b1e451aad01fb71aRevision text
jparker2006 commentedon Nov 19, 2026
Jake's go on the wave 2 table (
docs/cleanup/wave2-table.md) as recommended. Deletion tickets follow. Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7025578079jparker2006 commentedon Nov 20, 2026
Plan graph approved by Jake, 2026-11-20, revision 2: Jake said go on the CW2-0 table as written, every row's recommendation, and asked for its deletion tickets planned the J203 way now and started, scheduled around FF5's CI work; the plan passed its own checks (links, relies, owned paths).
Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7025578079
Changed since revision 1: CW2-1 #1484 (the test-value evidence move; after DS5 #1303), CW2-2 #1485 (the invalid-plan fold), CW2-3 #1486 (path-based selection replaces ci/select; after FF5 #1335), CW2-4 #1487 (skills-eval arrives in WizSkills) and CW2-5 #1489 (OpenWiz repoints and deletes its skills-eval copy; after CW2-4 and the pinned WizSkills release, WS14 #1187) added, one per non-keep row of the table. Builders and fresh reviewers are Claude Code Opus 5.5 Medium (J246).
Fingerprint:
5a8fb08cbae976de3ce6c99573a6df747c832af435912e94e6aba875851eb041Revision text
jparker2006 commentedon Nov 20, 2026
Closed in Jake's stale-spec sweep, 2026-11-20: four of its tickets are done, CW2-5 #1489 closed as superseded, and its last live ticket, CW2-1 #1484, moved to cleanup wave 4 (#1860, revision 7).
Private record: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7048628992