Skip to content

spike(test): UI test-layer fixture audit — zero findings (#2528)#2545

Merged
alexey-pelykh merged 1 commit intomainfrom
spike/2528-ui-test-fixture-audit
Apr 24, 2026
Merged

spike(test): UI test-layer fixture audit — zero findings (#2528)#2545
alexey-pelykh merged 1 commit intomainfrom
spike/2528-ui-test-fixture-audit

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Summary

What's in this PR

Single new doc: docs/refactor/ui-test-fixture-audit-2528.md — the audit inventory, method, cross-verification against recent gut sweeps, adjacent non-target reference table, and #2336 Area 7 production-code follow-through spot check.

Typed exception: SPIKE — AC is the audit inventory, not test modifications.

Why zero findings

The UI test suite has no residue because prior sweeps (#2524/#2535, #2536, #2539/#2542, #2480) purged the target tokens at the source, not just in tests. The legacy-migration strip-thinking-level-fields (src/config/legacy.migrations.ts:45) additionally scrubs historical fields from on-disk configs. All 15 UI vi.mock call sites target live modules — no analog to the runPreparedReply shield from #2336 Area 8.

AC

  • Classified inventory (empty inventory is the finding; adjacent-reference + Area 7 tables preempt "did you check X?" review questions)
  • Follow-up issues opened per category — none needed (zero DEAD FIXTURE, zero MOCK SHIELD)

Test plan

  • pnpm format:check green
  • pnpm tsgo green (no TS changes)
  • pnpm lint green (no code changes)
  • pnpm lint:tmp:no-random-messaging green
  • pnpm lint:no-remoteclaw-ai green
  • pnpm lint:ui:no-css-class-drift green
  • Pre-commit pnpm check aggregate passed
  • CI green (waiting)

Closes #2528

🤖 Generated with Claude Code

Audit `ui/src/**/*.test.ts` for fixtures referencing gutted features
(skills marketplace + thinking-level state drivers per #2336 Area 7/8).

Result: zero hits across all 7 target tokens — `skills`, `Skills`,
`agentSkills`, `autoAllowSkills`, `thinkingLevel`, `chatThinkingLevel`,
`thinkLevel`. Cross-verification with case-insensitive sweep of the
full `ui/src/` tree confirms prior gut sweeps (#2524, #2536, #2539,
#2480) purged the tokens at the source, not just in tests.

No DEAD FIXTURE, no MOCK SHIELD, no follow-up issues needed. All 15
UI `vi.mock` call sites target live modules only — no analog to the
`runPreparedReply` shield that motivated this spike.

Typed exception: SPIKE — AC is the audit inventory, not code changes.
Deliverable lives at `docs/refactor/ui-test-fixture-audit-2528.md`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@alexey-pelykh alexey-pelykh merged commit 7aa61e6 into main Apr 24, 2026
16 checks passed
@alexey-pelykh alexey-pelykh deleted the spike/2528-ui-test-fixture-audit branch April 24, 2026 15:02
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.

spike(test): audit UI test-layer for gutted-feature fixtures and mock shields

1 participant