Task · PND-0007

Prune tautological and change-detector unit tests

Description

From the 2026-09-25 fleet test-signal audit (sampled read-only). Delete or consolidate tautological tests (restating the implementation) and change-detector tests (pinning incidental text, markup, counts or internals). Keep parsing, state-machine, retry, security/PII, wire-contract and incident regression tests. Re-verify each candidate before deleting it; the list below comes from a sample and is not exhaustive. Candidates: packages/core/src/ai/tests/config.test.ts:18-33 (restates default-config literals); packages/core/src/jobs/tests/manager.test.ts:29-46 (exact legacy job column key list); packages/core/src/ai/tests/custom-field-discovery-v2.test.ts:627 (two fields of one result asserted equal). Roughly 20% of the sample was trivial default or constructor checks; sweep for more.

Acceptance Criteria

Definition of Done

View the source file on GitHub