Skip to content

API Reference parrot_tools.legal.librarian.suppression

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.legal.librarian.suppression

View source

Append-only suppression log (FEAT-449 §3 M4).

Persists SuppressionRecords produced by SpanVerifier into the span_suppressions collection declared by the legal ontology (TASK-2494). Why not AuditLedger: its append() requires credential_material and derives KMS fingerprints (security/audit_ledger.py:338) — a span suppression has no credential. The intent (durable, append-only, attributable record) is preserved here via the tenant's own span_suppressions collection instead.

Class SuppressionLog

Append-only writer for SuppressionRecords.

Exposes exactly ONE public method — append — by construction: no update, delete, or list method exists here. Reading the log back is an ops/AQL concern, not part of this API.

Parameter Type Default Description
store ArangoOntologyGraphStore The tenant's graph store.
ctx TenantContext Tenant context to write into.

Method SuppressionLog.append

Persist one suppression record.

append(record: SuppressionRecord) -> None

Parameter Type Default Description
record SuppressionRecord The suppression record to append.

Alias SuppressionRecord

Re-exported from parrot_tools.legal.librarian.models.SuppressionRecord.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally