TsvAudit
Defined in: src/audit/tsv-log.ts:22
Append-only TSV audit trail: id\taction\tcategory\tsender per line.
Doubles as the resume cursor — only the first column (id) matters for
resume, so the legacy 2-column (id\tfrom) and 3-column
(id\tcategory\tfrom) session logs load fine.
Properties
Section titled “Properties”
readonlypath:string
Defined in: src/audit/tsv-log.ts:27
processedIds
Section titled “processedIds”
readonlyprocessedIds:Set<string>
Defined in: src/audit/tsv-log.ts:26
Methods
Section titled “Methods”append()
Section titled “append()”append(
record):void
Defined in: src/audit/tsv-log.ts:24
Sync append: the line is on disk before the mutation batch continues.
Parameters
Section titled “Parameters”record
Section titled “record”Returns
Section titled “Returns”void
has(
id):boolean
Defined in: src/audit/tsv-log.ts:25
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean