Skip to content

refactor(qa-lab): localize utility types#101990

Merged
vincentkoc merged 1 commit into
mainfrom
refactor/deadcode-all-surfaces-20260708-v78
Jul 8, 2026
Merged

refactor(qa-lab): localize utility types#101990
vincentkoc merged 1 commit into
mainfrom
refactor/deadcode-all-surfaces-20260708-v78

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

QA Lab exported four implementation-only type aliases from its child-output and shared-error modules even though they have no repository consumers and are not part of the supported API barrel.

Why This Change Was Made

Keep those utility types private to their owning modules while preserving the exported runtime helpers, error classes, and behavior.

User Impact

None. This is an internal TypeScript API-surface cleanup with no runtime change.

Evidence

  • Codebase-memory graph refreshed from the fresh full worktree: 281,363 nodes / 1,134,333 edges.
  • MCP and repository-wide symbol searches found no external consumers for the four removed exports.
  • pnpm check:changed passed on Blacksmith Testbox tbx_01kwzvadn6tbw54ze3tyzgyft0.
  • Focused patched suites passed: 3 files, 107 tests.
  • A wider four-file run passed 196/197 tests; the lone cli.runtime.test.ts Crabline taxonomy expectation failure reproduces on pristine current origin/main.
  • pnpm build passed on the same Testbox with the patch applied.
  • Fresh local autoreview: clean, confidence 0.90.
  • Fresh branch autoreview: clean, confidence 0.90.

@vincentkoc vincentkoc self-assigned this Jul 8, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

Land-ready proof:

  • Exact PR head: bfbd002db4bcd6b274de120dc0a3b9498a547b10
  • Base verified against current origin/main: a24f15dc4d9ec7b1415993d7fd51ab0098f89a5c
  • Codebase-memory graph refreshed from the fresh full worktree: 281,363 nodes / 1,134,333 edges
  • MCP and repository-wide symbol searches found no external consumers for the four removed type exports
  • Blacksmith Testbox tbx_01kwzvadn6tbw54ze3tyzgyft0:
    • pnpm check:changed passed
    • patched focused suites passed: 3 files, 107 tests
    • wider four-file run passed 196/197 tests
    • the lone cli.runtime.test.ts Crabline taxonomy expectation failure reproduced after restoring pristine current origin/main
    • pnpm build passed with the patch applied
  • Fresh autoreview:
    • local: clean, confidence 0.90
    • branch: clean, confidence 0.90
  • scripts/pr review-validate-artifacts 101990 passed with recommendation READY FOR /prepare-pr
  • OPENCLAW_TESTBOX=1 scripts/pr prepare-run 101990 passed

Known proof gap: one unrelated current-main QA Lab CLI taxonomy expectation remains red; it is not touched by this type-only refactor.

@vincentkoc
vincentkoc marked this pull request as ready for review July 8, 2026 03:20
@vincentkoc
vincentkoc merged commit 082bd45 into main Jul 8, 2026
114 of 118 checks passed
@vincentkoc
vincentkoc deleted the refactor/deadcode-all-surfaces-20260708-v78 branch July 8, 2026 03:20
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant