/** * memory_correct accessLevel-forwarding contract (TD-887). * * The fix threads the caller's accessLevel into the getMemory() read of the * memory being corrected, so an over-tier target redacts as not-found (getById, * TD-883) and its summary is never echoed back. The SECURITY OUTCOME is a * composition of two halves, each tested where it lives: * 1. getById(over-tier) → null — TD-883 (classification-ceiling.test.ts) * 2. memory_correct forwards accessLevel — THIS test * So this guard pins (2): the exact wiring the fix adds. It mirrors the CONTRACT * half of TD-885's integration test — assert the arg is passed through, via a * fake, with no DB. Revert the wiring (getMemory(id) with no opts) and the * "accessLevel forwarded" assertion flips to FAIL. * * Hermetic: EMBEDDING_PROVIDER=none + a fake provider whose getById records the * opts it receives and returns null, short-circuiting memory_correct to its * not-found branch (no store/archive path, no DB). Uses the setVectorDB seam * (TD-885) now re-exported from @traqr/memory. * * Run: npx tsx packages/memory-mcp/src/tools.test.ts */ export {}; //# sourceMappingURL=tools.test.d.ts.map