Files
SubMiner/backlog/tasks/task-2 - Post-refactor-follow-ups-from-investigation.md.md
2026-02-17 22:54:09 -08:00

2.1 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies, references, ordinal
id title status assignee created_date updated_date labels dependencies references ordinal
TASK-2 Post-refactor follow-ups from investigation.md Done
codex
2026-02-10 18:56 2026-02-18 04:11
TASK-1
investigation.md
docs/refactor-main-checklist.md
14000

Description

Execute the remaining follow-up work identified in investigation.md: remove unused scaffolding, add tests for high-risk consolidated services, and run manual smoke validation in a desktop MPV session.

Acceptance Criteria

  • #1 Follow-up subtasks are created with explicit scope and dependencies.
  • #2 Unused architectural scaffolding and abandoned IPC abstraction files are removed or explicitly retained with documented rationale.
  • #3 Dedicated tests are added for higher-risk consolidated services (overlay-shortcut-handler, mining-service, anki-jimaku-service).
  • #4 Manual smoke checks for overlay rendering, mining flow, and field-grouping interaction are executed and results documented.

Implementation Plan

  1. Create scoped subtasks for each recommendation in investigation.md and sequence them by risk and execution constraints.
  2. Remove dead scaffolding files and any now-unneeded exports/imports; verify build/tests remain green.
  3. Add focused behavior tests for the three higher-risk consolidated services.
  4. Run and document desktop smoke validation in an MPV-enabled environment.

Implementation Notes

Completed:

  • Created TASK-2.1 through TASK-2.5 from investigation.md recommendations.
  • Finished TASK-2.1: removed unused scaffolding in src/core/, src/modules/, src/ipc/ and cleaned internal-only service barrel export.
  • Finished TASK-2.2: added dedicated tests for overlay-shortcut-handler.ts.
  • Finished TASK-2.3: added dedicated tests for mining-service.ts.
  • Finished TASK-2.4: added dedicated tests for anki-jimaku-service.ts.

Remaining:

  • TASK-2.5: desktop smoke validation with MPV session