Repository navigation
Description
Parent
Ticket CW4-P2 of spec #1860 (Infra).
What to build
WizBar's 19,000 lines under wizbar/src/ are about half tests and recorded fixtures. Keep the tests that protect what a user sees or runs: the sidebar cards and their order, the running count and stats panel, settings, mute, the wizbar commands and their JSON, the specs section, the deck's views and actions, and the plugin's identity. Delete source-mirroring, wording, duplicate and internal-only tests, and the fixtures and helpers only they read. Delete a contract under wizbar/contracts/ only when no kept file reads or links it. No runtime source changes: the installed WizBar 0.4 keeps working exactly as it does.
Owned paths
wizbar/src/**/*.test.ts,wizbar/src/**/*.test.tsx,wizbar/identity.test.tsinopenwizdev/WizPluginswizbar/src/fixtures/,wizbar/src/deck/data/fixtures.ts(test-only fixtures; deleted when no kept test reads them) inopenwizdev/WizPluginswizbar/contracts/(deleted only where nothing kept reads or links it) inopenwizdev/WizPluginswizbar/vitest.config.ts(shared: its test globs only) inopenwizdev/WizPlugins
Relies on: nothing
Links
none
Acceptance criteria
- Runtime untouched: the diff changes no file that the plugin loads at runtime (no non-test
.tsor.tsx,app.tsx,package.json,package-lock.json,tsconfig.json), andnpm run typecheckpasses. - Test files that #75: F1: Show the live Ledger fleet tree on desktop and phone WizPlugins#86 or #76: B1: Make every running WizBar thread visible and linked WizPlugins#87 touch stay; list them on this ticket for the follow-up once those merge.
- Keep rule (CW4-1 A): everything deleted is something no user and no factory part runs; anything kept that looks unused names the loop, workflow, skill line or page that runs it in the pull request.
- Deleted tests: the pull request lists each deleted test file or folder with one line: its keeper,
behaviour gone, orno user path. A test that protects a WizBar view, awizbarcommand, settings or the plugin build stays. - Nothing live points at a deleted path: a search of the repository finds no reference, except historical records named in the pull request.
- Open pull requests keep their files: the diff touches no file that an open pull request in openwizdev/WizPlugins touches when this ticket starts (today #75: F1: Show the live Ledger fleet tree on desktop and phone WizPlugins#86 and #76: B1: Make every running WizBar thread visible and linked WizPlugins#87). If a cut needs one, leave it and say so on this ticket.
- CI green: every required check (
wizbar-checks) passes on the exact head, with workflow steps and test lists that named a deleted path removed in the same change. No check is renamed, skipped or weakened. - Count: the pull request gives openwizdev/WizPlugins's lines and files before and after, with the spec's commands (
git ls-files | wc -l;git ls-files -z | xargs -0 cat 2>/dev/null | wc -l). - Evidence stays out of the tree: red and green runs go in the pull request's description or comments, never in a committed file.
- The pull request says
Closes openwizdev/OpenWiz#<this ticket>and merges by openwizdev/WizPlugins'sdocs/agents/fleet.md.
Proof
P1: the count. P2: wizbar-checks. P3: the deleted-test list. P4: the runtime-untouched check.
Activity
jparker2006 commentedon Nov 20, 2026
launch-fleet: start checked, branch room/1862-wizbar-test-cut
Collision checked under the J87 planner's #1187 ruling (2026-11-20): this ticket's owned paths are all in openwizdev/WizPlugins, disjoint from #1187's OpenWiz paths; its unreadable bullet is WizSkills-only.
jparker2006 commentedon Nov 20, 2026
agent: builder
state: done
harness: claude-code
model: claude-opus-5-5
skills: build-ticket@0.2.0
step: Handed back WizPlugins#108 at its green head for review.
time: 2026-11-20T09:59:56Z
pr: openwizdev/WizPlugins#108
jparker2006 commentedon Nov 20, 2026
Builder note for the follow-up (acceptance criteria 2 and 6): WizPlugins#108 leaves these alone because WizPlugins#86 or #87 touches them.
wizbar/src/FooterCounter.test.tsx: still importsdocs/evidence/wz5/fixtures. Point it at./fixtures/wz5(added in Infra spec: skills eval, then smaller skills (CF4) #108) before OpenWiz#1861 deletesdocs/evidence/wz5/fixtures.ts.wizbar/src/StatsPanel.test.tsx,wizbar/src/ThreadCard.test.tsx,wizbar/src/ThreadInbox.test.tsx,wizbar/src/cli-parity.test.ts,wizbar/src/deck/home/Home.test.tsx: review them under the keep rule once those PRs merge.wizbar/src/fixtures/v3-fixtures.test.ts: a fixture self-check (no user path). It stays only becausewizbar/contracts/sidebar-v3.v1.md(a Proposal: test fractional per-builder memory budgets at the capacity boundary #87 file) links it. Cut the file and that link together.factory-contract.test.ts:wizbar/src/factory-contract/fixtures.ts.jparker2006 commentedon Nov 20, 2026
launch-fleet: archived
Verified merge: openwizdev/WizPlugins#108 merged as cf93814 at the approved head 1a5ff1f (APPROVE comment 7036734396); its Closes line closed this ticket.