From 656e1e9816d48db6902b757bce96331cf85b78e9 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Fri, 5 Jun 2026 11:59:28 -0700 Subject: [PATCH] fix(text): remove erroneous BSL comments from filter and classifier PIIFilter and ClassifierBackend are privacy infrastructure, not commercial AI features. Gating privacy controls behind a commercial licence contradicts CF's privacy pillar. MIT applies per the repo root LICENSE. --- circuitforge_core/text/backends/classifier.py | 3 +-- circuitforge_core/text/filter.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/circuitforge_core/text/backends/classifier.py b/circuitforge_core/text/backends/classifier.py index 24c3f18..40b2168 100644 --- a/circuitforge_core/text/backends/classifier.py +++ b/circuitforge_core/text/backends/classifier.py @@ -1,6 +1,5 @@ # circuitforge_core/text/backends/classifier.py — HuggingFace token-classification backend -# -# BSL 1.1. Requires torch + transformers. +# Requires torch + transformers. # Install: pip install circuitforge-core[text-transformers] # # Wraps pipeline("token-classification") for PII/entity detection. diff --git a/circuitforge_core/text/filter.py b/circuitforge_core/text/filter.py index 133decc..9223c01 100644 --- a/circuitforge_core/text/filter.py +++ b/circuitforge_core/text/filter.py @@ -1,6 +1,5 @@ # circuitforge_core/text/filter.py — PII detection and redaction -# -# BSL 1.1. Products import PIIFilter for pre-send redaction and audit trails. +# Products import PIIFilter for pre-send redaction and audit trails. # Requires a running cf-filter service (or ClassifierBackend for in-process use). from __future__ import annotations