MCPcopy Create free account
hub / github.com/EvoMap/evolver / postValidate

Function postValidate

src/gep/cliContracts.js:557–562  ·  view source on GitHub ↗
(message, deps)

Source from the content-addressed store, hash-verified

555}
556
557async function postValidate(message, deps) {
558 if (deps.validate) return normalizeValidateResult(await deps.validate(message));
559 const validateMessage = Object.assign({}, message, { message_type: 'validate' });
560 const result = await postEnvelope('/a2a/validate', validateMessage, deps);
561 return normalizeValidateResult(result);
562}
563
564function normalizeValidateResult(result) {
565 const raw = record(result) || {};

Callers 1

runPublishCommandFunction · 0.85

Calls 2

normalizeValidateResultFunction · 0.85
postEnvelopeFunction · 0.85

Tested by

no test coverage detected