INNER CODE UNIT · JavaScript

flush

asklokesh/loki-mode · src/audit/index.js:199

function flush() {
  if (_log) _log.flush();
}

/**
 * Cross-link the dashboard (Python) audit chain into the agent (JS)
 * audit chain, producing a single verifiable tamper-evident trail.
 * See src/audit/crosslink.js.
 */
function crossLink(opts) {
  if (!_initialized) init();
  return crosslink.crossLink(Object.assign({ projectDir: _projectDir }, opts || {}));
}

/**
 * Verify the unified (agent + dashboard) audit trail as one logical
 * chain: both sub-chains valid AND every cross-link anchor reconciled.
 */

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…