INNER CODE UNIT · JavaScript
verifyUnified
asklokesh/loki-mode · src/audit/index.js:217
function verifyUnified(opts) {
if (!_initialized) init();
return crosslink.verifyUnified(Object.assign({ projectDir: _projectDir }, opts || {}));
}
/**
* Append-only / external-witness option: write the current unified root
* to an append-only witness file (and optionally an external command).
*/
function writeWitness(opts) {
if (!_initialized) init();
return crosslink.writeWitness(Object.assign({ projectDir: _projectDir }, opts || {}));
}
/**
* Link the run manifest (loki-run.json bill-of-materials) into the agent
* audit chain so it becomes tamper-evident and verifiable against the
* evidence chain. No-op (honest) when the manifest is absent.