fix(embeddings): reject invalid metadata and force vector regeneration
loading diff…
Tighten the embeddings pipeline around source metadata and vector regeneration.
--generate-embeddings actually regenerate vectors by ignoring cached Cohere/OpenAI embeddings.update_single_tool.ts.This intentionally avoids spending effort on Redis sidecar-only cleanup because the sidecar paths are being sunset in the current stacked PRs. These checks still matter because the same primary tool fields are written into TP rows/cache artifacts and affect embedding text/vector freshness.
bun test embeddings/src/pipeline/prepare_tool.test.tstsc -p embeddings/tsconfig.json --noEmitgit diff --check