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

Function leakCheck

src/gep/cliContracts.js:522–526  ·  view source on GitHub ↗
(bundle)

Source from the content-addressed store, hash-verified

520}
521
522function leakCheck(bundle) {
523 const result = fullLeakCheck(JSON.stringify(bundle));
524 const hardLeaks = (result.leaks || []).filter(leak => leak && leak.type !== 'local_path');
525 return { blocked: hardLeaks.length > 0 };
526}
527
528function verifyReuseAssetId(asset, requestedId) {
529 if (!asset || asset.asset_id !== requestedId) return { ok: false };

Callers 2

buildPublishBundleFunction · 0.85

Calls 1

fullLeakCheckFunction · 0.85

Tested by

no test coverage detected