/** * Bridge Result Shaper Tests — Core Package * * Direct unit tests for the pure shapeBridgeResult() function. * * This module centralizes the status decision tree for PainSignalBridge, * used by both the fresh diagnosis path and the existing-task idempotent path. * * Tests verify every branch in the decision tree: * - Fresh path: no candidates → failed * - Fresh path: admitted but no ledger → failed * - Fresh path: all gated → degraded * - Fresh path: partial admission → degraded * - Fresh path: success with seed failure note → degraded * - Fresh path: clean success → succeeded * - Existing path: no candidates → failed * - Existing path: no ledger → failed * - Existing path: clean success → succeeded * * ERR checklist: * - ERR-007 / EP-02: single source for status decision (unit test proves all branches) * - ERR-002 / EP-03: every degraded/failed branch carries a structured message * - ERR-004 / ERR-008 / EP-07: lineage fields pass through untouched */ export {}; //# sourceMappingURL=bridge-result-shaper.test.d.ts.map