Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Function rebuildTransparencyMerkle

    • Recomputes the whole tree from log.jsonl.

      Still the repair path and still the oracle: updateTransparencyMerkleAfterAppend is tested against this function's output at every leaf count, and falls back to it whenever the incremental resume state cannot be trusted. It is no longer on the per-append hot path.

      Parameters

      • workspace: string

      Returns {
          currentRootPath: string;
          currentRootSigPath: string;
          leafCount: number;
          root: string;
      }