Skip to content

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.

readonly path: string

Defined in: src/audit/tsv-log.ts:27


readonly processedIds: Set<string>

Defined in: src/audit/tsv-log.ts:26

append(record): void

Defined in: src/audit/tsv-log.ts:24

Sync append: the line is on disk before the mutation batch continues.

AuditRecord

void


has(id): boolean

Defined in: src/audit/tsv-log.ts:25

string

boolean