Repository navigation
epic: remove proven orphans and obsolete allowances #192
Description
Completion status — 2026-10-15
Completed and merged into main via #282, commit c7f8ac2e8e8f20b4cf89cc1189dda041394e50d9. The observable-result checklist below is updated to reflect the delivered scope and recorded decisions. Final integrated main aaca138d7c3773be662941b4081c8d97ea40019c passed post-merge CI. Final local verification passed pnpm validate, 5,895 frontend/API tests, and five policy-record tests. Browser E2E was skipped.
Epic branch: epic/192-dead-code. Plan checkpoint 5 of 7.
Why
Dead code accumulated across many iterations. The review's unused-file scan was not trustworthy (Knip exited 2 and manifest-loaded design-system data was a false positive), so nothing here is deleted from a generic report. Each batch proves its former entry graph first and removes the island with its exclusive tests, exports, and locale keys in one PR.
Evidence is in 01-findings.md. The sequencing is in 02-development-plan.md. The lessons behind it are in LESSONS.md and 03-lessons-and-contributors.md.
Observable result
- Each deleted island has a recorded former entry graph and no dangling runtime, locale, or config reference.
- The nine allowlist entries whose files already fit the 350-line default are removed.
- Dependency removals are proven unused across CSS, configs, generated builds, and workspace manifests, and the lockfile changes only for the removed packages.
- The live V1 task route, both settings shells, channels, and extension APIs are untouched until their contracts are decided.
Sub-issues
- chore(frontend): delete the old root app island and the nine obsolete size allowances #217 chore(frontend): delete the old root app island and the nine obsolete size allowances
- chore(api): remove proven orphan modules, one at a time #218 chore(api): remove proven orphan modules, one at a time
- chore(frontend): remove the gateway settings island after a route and feature parity check #219 chore(frontend): remove the gateway settings island after a route and feature parity check (blocked by chore(frontend): delete the old root app island and the nine obsolete size allowances #217)
- chore(deps): remove dependencies proven unused after caller removal #220 chore(deps): remove dependencies proven unused after caller removal (blocked by chore(frontend): delete the old root app island and the nine obsolete size allowances #217, chore(api): remove proven orphan modules, one at a time #218, chore(frontend): remove the gateway settings island after a route and feature parity check #219)
- decide: keep, finish, or retire test-only modules and dormant adapters #221 decide: keep, finish, or retire test-only modules and dormant adapters
- refactor(agents): retire approved dormant guards and adapters #271 refactor(agents): retire approved dormant guards and adapters (follow-up from decide: keep, finish, or retire test-only modules and dormant adapters #221)
- docs(agents): clarify parked integrations and actual MCP capabilities #272 docs(agents): clarify parked integrations and actual MCP capabilities (follow-up from decide: keep, finish, or retire test-only modules and dormant adapters #221)
Sub-issues without a blocker can run in parallel, each in its own worktree: #217, #218, #221.
How this epic is worked
- The maintainer creates
epic/192-dead-codefrommainand pushes it. Nobody commits to it directly. - Each sub-issue is implemented by one agent in its own git worktree on
issue/<n>-<slug>, opened as a PR whose base isepic/192-dead-codeand whose body containsCloses #<sub-issue>. - A merged sub-issue PR closes its issue through
.github/workflows/epic-close-issues.yml. Sub-issues merge by squash, one commit each. - When every sub-issue above is closed, open one epic PR from
epic/192-dead-codeintomainwithCloses #192. Runpnpm validate,pnpm test:fast(naming the knownresolve.test.tsfailure until it is fixed), and the surface checks for this epic on the final head, and write that head sha in the PR. - The maintainer reviews and merges the epic PR. No sub-issue PR targets
main.
Shared files that two streams must not edit at once are package.json, pnpm-lock.yaml, locale modules, component-size-allowlist.json, http-daemon.ts, video-edit-server.ts, and the shared video IR schemas. Each sub-issue names the files it owns and what it is blocked by. If you need a file another open sub-issue owns, comment on both issues and wait.
Suggested merge order into main across epics is E1 first, so later epic PRs run the repaired gate, then the rest by priority. Rebase an epic branch onto main before its final PR.
Activity
bravew commentedon Oct 15, 2026
Completed in #282 and merged into main as
c7f8ac2e8e8f20b4cf89cc1189dda041394e50d9. All seven epic changes are integrated ataaca138d7c3773be662941b4081c8d97ea40019c, with successful post-merge CI: https://github.com/bravew/Neumar/actions/runs/38678829734. Updated the completion checklist and status above. Closing as completed.