INNER CODE UNIT · JavaScript
linkManifest
asklokesh/loki-mode · src/audit/index.js:237
function linkManifest(opts) {
if (!_initialized) init();
return crosslink.linkManifest(Object.assign({ projectDir: _projectDir }, opts || {}));
}
/**
* Verify the run-manifest link: agent chain integrity AND the on-disk
* manifest still matching the hash pinned by the most recent
* manifest-link anchor. See src/audit/crosslink.js (verifyManifestLink).
*/
function verifyManifestLink(opts) {
if (!_initialized) init();
return crosslink.verifyManifestLink(Object.assign({ projectDir: _projectDir }, opts || {}));
}
/**
* Destroy audit trail (for testing).
*/