feat(compliance): add pii_masker skill using micro-f1-mask#33
Merged
rosspeili merged 1 commit intoARPAHLS:mainfrom Apr 9, 2026
Merged
feat(compliance): add pii_masker skill using micro-f1-mask#33rosspeili merged 1 commit intoARPAHLS:mainfrom
rosspeili merged 1 commit intoARPAHLS:mainfrom
Conversation
8607550 to
8b598bc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces the
compliance/pii_maskerskill, a localized Privacy Firewall component utilizing the 270M parameter edge modelarpacorp/micro-f1-maskover Ollama. It is engineered to transparently intercept, parse, and safely scrub Personally Identifiable Information (Names, Contextual Addresses, Crypto Wallets, Emails, etc.) from prompts before outward transmission to high-latency LLM providers.The skill includes dynamic operational modes (
mask,redact,remove) and operates statelessly, returning detected metadata schema constructs for programmatic session mapping. Included are global library updates, execution flow examples, robust schema testing, and a refined API configuration matrix.Type of Change (Matches Issue Templates)
manifest.yaml,skill.py, andinstructions.md)base_skill.py,loader.py, etc.)Checklist (For the Submitting Agent / Developer)
manifest.yaml(if submitting a new skill).env_varsare explicitly documented in the manifest.SkillLoadersuccessfully loads this module without missing dependency errors.Constitution & Safety (If adding/modifying a Skill)
arpacorp/micro-f1-maskedge-model.maskmode, perfectly preserve the structural tags (e.g.,[PERSON_1]) for downstream replacement without mutating intent.Related Issues
Fixes #32