refactor(evidence): remove session ledger quotas

This commit is contained in:
morluto
2026-09-29 10:53:17 +08:00
parent 23e56c517c
commit dca293a446
11 changed files with 61 additions and 189 deletions
+2 -3
View File
@@ -16,7 +16,7 @@ import {
writeEvidenceBundle,
} from "./EvidenceBundleFiles.js";
/** Validate and merge one bundle using the same bounded ledger as MCP. */
/** Validate and merge one bundle using the session Evidence ledger. */
export const importEvidenceBundleCommand = async (
path: string,
policy: EvidenceFilePolicy,
@@ -72,8 +72,7 @@ export const compareEvidenceBundlesCommand = async (input: {
}
};
const createLedger = (): EvidenceLedger =>
new EvidenceLedger({ maxRecords: 10_000, maxBytes: 64 * 1024 * 1024 });
const createLedger = (): EvidenceLedger => new EvidenceLedger();
const projectWrite = (
bundle: EvidenceBundle,