Context
Found by the repo-wide /code-tidying:batch-simplify sweep (62 groups / 986 files, branch claude/repo-code-tidying-batch-twhddw). Deferred from the sweep as dedicated-PR-shaped work: the consolidation crosses file or contract boundaries a behavior-preserving sweep must not cross.
plugins/source-control/skills/babysit-prs/scripts/babysit_util.py:29 — converting the is_* helpers to TypeGuard returns deletes ~12 casts in babysit_merge/babysit_gh. One-diff change owned by the util module.
Proposed work
- Convert to typing.TypeGuard and drop the now-redundant casts.
Acceptance criteria
References
plugins/source-control/skills/babysit-prs/scripts/babysit_util.py:29
Filed by the /code-tidying:batch-simplify closeout (Phase 8).
Context
Found by the repo-wide
/code-tidying:batch-simplifysweep (62 groups / 986 files, branchclaude/repo-code-tidying-batch-twhddw). Deferred from the sweep as dedicated-PR-shaped work: the consolidation crosses file or contract boundaries a behavior-preserving sweep must not cross.plugins/source-control/skills/babysit-prs/scripts/babysit_util.py:29— converting the is_* helpers to TypeGuard returns deletes ~12 casts in babysit_merge/babysit_gh. One-diff change owned by the util module.Proposed work
Acceptance criteria
References
plugins/source-control/skills/babysit-prs/scripts/babysit_util.py:29Filed by the /code-tidying:batch-simplify closeout (Phase 8).