feature/Plugins-hook-revendor · L-261023-f21e88

Merged
LC
4d ago
+7875-3534

The validation hook now reads a refused method's verdict as the hosted problem document carries it, naming each problem item with its location and suggested fix in the block reason. The bundle is vendored from the SDK branch for now and is re-vendored from the released pipelex-sdk before this merges.

Closes L-261023-f21e88

🤖 Generated with Claude Code

https://claude.ai/code/session_01Uzyvwk5dEQLz1LibAnaoNk


Summary by cubic

Re-vendors the validation hook from @pipelex/sdk 0.50.0 so it reads an invalid verdict's errors[] as MTHDS problem items instead of the older validation_errors[]. A block reason now names each problem item by its code, sentence, pipe, and file, with its suggested fix beneath it, without relying on the server's Markdown.

Bug Fixes

  • Entries that are not objects or lack a string code or sentence are skipped; non-conforming locations and suggested fixes are left out of the reason.

Migration

  • A server still answering the old verdict shape (validation_errors[]) is no longer read, so its problems are no longer reported.