Skip to content

refactor(cc-203): GROUP-B Batch 4a — migrate test-uninstall + test-dispatch-handover#138

Merged
screenleon merged 2 commits into
mainfrom
cc-203-group-b-batch-4a
May 23, 2026
Merged

refactor(cc-203): GROUP-B Batch 4a — migrate test-uninstall + test-dispatch-handover#138
screenleon merged 2 commits into
mainfrom
cc-203-group-b-batch-4a

Conversation

@screenleon
Copy link
Copy Markdown
Owner

Summary

CC-203 GROUP-B Batch 4a of 3 (4b will do test-pr-gate.sh, 4c will do test-hooks.sh alone — split per user preference for fine-grained review on the largest remaining files).

File Before After Cases
test-uninstall.sh 898 884 23
test-dispatch-handover.sh 911 903 65
Total 1809 1787 88

Net: −22 lines. Both files had format already matching harness default (PASS: $name / FAIL: $name: $detail); no overrides needed. Both are collect-all (no fail-fast).

Per-file

  • test-uninstall.sh: clean migration. pass/fail helpers had harness shape already; just sourced harness + th_init / should_run wrapping / th_summary swap.
  • test-dispatch-handover.sh: renamed all t_pass/t_fail callsites to harness pass/fail. run_case helper updated to use should_run gating. Format already default.

Gate result

/pr-gate standard tier: Final: GO / overall approve — all 3 reviewers (critic + qa-tester + architecture-reviewer) approve with no findings.

Cross-file no-regression

  • bash install.sh --verify — clean
  • bash scripts/test-run-all-tests.sh — 13/13 pass

Commits

  • 7920e51 — test-uninstall.sh
  • 6c957f2 — test-dispatch-handover.sh

Test plan

  • bash scripts/test-uninstall.sh — 23/23 (was 23)
  • bash scripts/test-dispatch-handover.sh — 65/65 (was 65)
  • bash scripts/lint-scripts.sh — 52 OK
  • --list / --filter / --filter NONEXISTENT per harness contract on both files
  • bash install.sh --verify — all preflights pass
  • shellcheck --severity=style — not installed locally; CI will run it (both files already in exclude list)

Remaining for CC-203 closure

  • 4b: test-pr-gate.sh alone (1626 lines, format default, clean migration)
  • 4c: test-hooks.sh alone (3639 lines, complex VERBOSE-gated inline pattern, needs careful brief)

🤖 Generated with Claude Code

screenleon and others added 2 commits May 23, 2026 17:43
CC-203 GROUP-B Batch 4a (1/2). Harness default format matches original (PASS: $name / FAIL: $name: $detail); no override needed. Collect-all preserved. Pre/post: 23 cases, 23 passed locally.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…rness

CC-203 GROUP-B Batch 4a (2/2). Renamed all t_pass/t_fail callsites to harness pass/fail. Format already matched harness default. run_case helper updated to use should_run gating. Pre/post: 65 cases, 65 passed locally.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@screenleon screenleon merged commit 8098817 into main May 23, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant