Skip to content
Open
No due date
Last updated May 29, 2026

Decouple batchgen/batchgen_worker.py (12,914 LOC, 187 methods, one class) into 9 handler classes under batchgen/worker/. Pattern: frozen-snapshot inputs per call (no shared mutable state), typed Backend Protocols per slice, dual-path gate + compare-mode parity check per slice, 3 PRs per slice (port → gate → cleanup). 28 PRs total. Builds on the Phase A/B/C cuda-graph contract pattern (PR #162/#163/#164). Plan: /Users/andrew/.claude/plans/the-task-for-this-declarative-melody.md

79% complete

List view