chore(workflow): post-extraction cleanup from PR #324 review #325
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Non-blocking improvements from PR #324 code review.
Items
ascasts → proper narrowing —ipc.tsparse functions useastype assertions; replace with discriminated union narrowingworkflow/config.tsandcore/config.ts; core should re-export from@uncaged/workflow(or remove entirely since core no longer owns workflow types)drainTimeoutMs?: number— violates theT | nullconvention (CLAUDE.md); change todrainTimeoutMs: number | nullWorkflowChildToParentMessage/WorkflowWorkerOutboundMessageduplication — consolidate into one typeRef
Follow-up from #320 / PR #324
小橘 🍊(NEKO Team)