name = "soc2-context"
version = "0.1.0"
description = "SOC 2 TSC alignment for the context-pipeline slice: CC6.1 access restriction, CC6.6 boundary protection, C1.1 confidentiality redaction (mapping: compliance/mappings/soc2.toml)"
extends = "strict-redaction"
[context]
max_context_tokens = 16000
audit_retention_days = 365
deny_tools = ["ctx_url_read"]
[redaction]
date_of_birth = '(?i)\b(dob|date[ _-]?of[ _-]?birth)\b[ :=#]*\d{1,4}[-/.]\d{1,2}[-/.]\d{1,4}'
national_id = '\b\d{3}-\d{2}-\d{4}\b'
iban = '\b[A-Z]{2}\d{2}[A-Z0-9]{11,30}\b'
payment_card = '\b\d{4}[ -]?\d{4}[ -]?\d{4}[ -]?\d{1,7}\b'
[filters]
pii = "redact"
injection = "warn"
[egress]
block_secrets = true
max_writes_per_min = 240